USEGMAX control statement
This optional control statement specifies the number of bytes to be reserved for the segment data field within the HSSR call I/O area.
0........1.........2.........3.........4.........5.........6.........7.........8 12345678901234567890123456789012345678901234567890123456789012345678901234567890 USEGMAX usegmax
- Code the USEGMAX keyword to identify this statement as a USEGMAX statement.
- Specify the number of bytes to be reserved for the segment data field within the HSSR call I/O area. This reserved space is used by a record-formatting routine for the unload format *HD, *CS, *F1, or *F2. This length must be larger than or equal to the length of the longest database segment. The length of the HSSR call I/O area, which is called the OUTPUT-AREA, is the sum of the length specified by this statement and the length of the record header determined by each format. The length specified does not need to contain leading zeros, or it does not need to be aligned.
- If you specified a value less than the length of the longest database segment, the usegmax value is adjusted to the length of the longest segment. The message FABH0276I is issued.
- If a user record-formatting routine or the standard record format *F3 is specified, the USEGMAX control statement is ignored. The message FABH0276I is issued.
- If no optional user exit routine is specified, this control statement is ignored. The message FABH0276I is issued.
- If the SYSUT2 DD statement is present, its block size must be large enough to contain the record
header and the segment data field expanded by the USEGMAX statement:
BLKSIZE ≥ 4 + record_header_length + usegmax
- If no USEGMAX is specified or if the USEGMAX statement is ignored because of the reason previously stated, the default length (that is, the length of the longest segment in the database) is used as the length of the user data field.
- If you specify a control statement such as MIGRATE or FALLBACK, you cannot specify this statement.