Data Definition Language (DDL) Reference Manual

DDL Compiler Commands
Data Definition Language (DDL) Reference Manual529431-004
9-75
NEWFUP_FILEFORMAT
NEWFUP_FILEFORMAT
The NEWFUP_FILEFORMAT command specifies file format 2 for all FUP source code
files and all FUP alternate key files.
Default: NOFILEFORMAT on page 9-77
The format specification of a file for a record will not be stored in the DDL dictionary. If
the user compiles the records with a particular format command (using the
OLDFUP_FILEFORMAT, NEWFUP_FILEFORMAT, or NOFILEFORMAT command)
and stores the records in the dictionary, then the user must use the same commands
while requesting FUP output of those records.
The format specification for both alternate key and main file is the same (file format 2 in
this case).
The DDL compiler does not allow you to define record length more than the maximum
allowed length for the particular type of file.
For format 2 files, the maximum allowed record length (assuming the block size as
4096 bytes) is:.
If you attempt to define a record size greater than the above specified record sizes the
DDL compiler issues an error message.
In Example 9-37
on page 9-76, the DDL compiler generates a statement in FUP
source code files to create a format 2 file.
{ NEWFUP_FILEFORMAT | OLDFUP_FILEFORMAT | NOFILEFORMAT }
File type Record size (format 2 file)
Unstructured 4096 bytes
Entry-sequenced 4048 bytes
Relative 4048 bytes
Key-sequenced 4040 bytes*
*
In H06.28/J06.17 RVUs with specific SPRs and later RVUs,
the supported maximum record length (assuming the block
size as 32768 bytes) for a format 2 key-sequenced file is
27648 bytes.
For a list of the required H06.28/J06.17 SPRs, see SPR
Requirements for Increased Enscribe Limits for the
H06.28/J06.17 Release.
Note: In H06.28/J06.17 RVUs with specific SPRs and later RVUs, you must explicitly specify
the block size as 32,768 bytes for a record length exceeding 4,040 bytes.