The GENERATE statement is required when: output is to be partitioned;
editing is to be performed; or user routines are provided or label
processing is specified. The GENERATE statement must appear before
any other IEBGENER utility statements. If it contains errors or is
inconsistent with other statements, IEBGENER is ended.
The syntax of the GENERATE statement is:
Label |
Statement |
Parameters |
---|
[label]
|
GENERATE
|
[,MAXNAME=n]
[,MAXFLDS=n]
[,MAXGPS=n]
[,MAXLITS=n]
[,DBCS={YES|NO}]
|
where:
- MAXNAME=n
- specifies a number, from 1 to 3276, that is greater than or
equal to the total number of member names and aliases appearing in
subsequent MEMBER statements. MAXNAME is required if there are one
or more MEMBER statements.
- MAXFLDS=n
- specifies a number, from 1 to 4095, that is greater than or
equal to the total number of FIELD parameters appearing in subsequent
RECORD statements. MAXFLDS is required if there are any FIELD parameters
in subsequent RECORD statements.
- MAXGPS=n
- specifies a number, from 1 to 2520, that is greater than or
equal to the total number of IDENT or IDENTG parameters appearing
in subsequent RECORD statements. MAXGPS is required if there are any
IDENT or IDENTG parameters in subsequent RECORD statements.
- MAXLITS=n
- specifies a number, from 1 to 2730, that is greater than or
equal to the total number of characters contained in the FIELD literals
of subsequent RECORD statements. Any DBCS characters used as literals
on FIELD parameters count as two characters each.
MAXLITS is required
if the FIELD parameters of subsequent RECORD statements contain literals.
MAXLITS does not apply to literals used in IDENT or IDENTG parameters.
- DBCS={YES|NO}
- specifies if the input data set contains double-byte character
set data.