DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 67
FUP Command
!
purges the contents of an existing FUP source file before opening the file. If the
specified file does not exist, DDL ignores the exclamation point.
NOFUP
closes the currently open FUP source file and thus stops the translation of record
file attributes into FUP file-creation commands. NOFUP is the default.
FUP Command Guidelines
The following points are guidelines for using the FUP command:
•
The specified FUP source file must be an EDIT file, an unstructured file, or a
sequential device such as a terminal, a spooler, or a process. If the file exists but is
not one of these types, DDL issues an error message and does not open the file.
•
Only one FUP source file can be open at a time. If you use the FUP command
when you already have a FUP source file open, DDL closes the current source file
before opening the new source file.
•
If the FUP source file already exists and the exclamation point is omitted, DDL
appends the new FUP file-creation commands to the end of the file. DDL does not
replace any existing commands in the file.
•
You can change any file-creation command after it is written to the FUP source file
by closing the file and then editing it using the EDIT program. You might need to
edit either of the following attributes:
°
File names
The file names generated for ALTFILE and CREATE commands might be
unacceptable.
°
Alternate-key files
DDL generates one file for all keys that are not unique and one file for each
unique alternate key. You can change this mapping of keys to files.
•
If you specify a file attribute with a value equal to the default in FUP, DDL will not
specify the attribute in the generated FUP source code.
•
DDL names alternate key files by appending a number, starting with 0, to the data
file name. If necessary, DDL truncates the file name so that the composite name
does not exceed eight ASCII characters. Thus, if a file named LONGFILE has 11
unique alternate keys, DDL generates 11 alternate key files named LONGFIL0,
LONGFIL1, and so forth through LONGFIL0.
Содержание DDL D40
Страница 36: ...Introduction to DDL Data Definition Language DDL Reference Manual 426798 002 1 14 Examining a Dictionary ...
Страница 66: ...Named Constants Data Definition Language DDL Reference Manual 426798 002 4 10 Standard SPI Constants ...
Страница 230: ...Dictionary Manipulation Statements Data Definition Language DDL Reference Manual 426798 002 8 14 SHOW USE OF Statement ...
Страница 370: ...Dictionary Maintenance Data Definition Language DDL Reference Manual 426798 002 10 24 Converting a Dictionary ...
Страница 456: ...Sample Schemas Data Definition Language DDL Reference Manual 426798 002 B 12 ASSNDDL Statements ...
Страница 470: ...DDL Data Translation Data Definition Language DDL Reference Manual 426798 002 C 14 ...
Страница 528: ...Dictionary Reports Data Definition Language DDL Reference Manual 426798 002 E 8 Requesting Reports ...
Страница 552: ...DDL Alignment Rules Data Definition Language DDL Reference Manual 426798 002 H 4 FIELDALIGN_SHARED8 Alignment Rules ...
Страница 576: ...Index Data Definition Language DDL Reference Manual 426798 002 Index 22 Special Characters ...