RECPAD (non-CICS)
This option is only enabled if Fortran is specified on the General tab.
RECPAD specifies whether a formatted input record is padded with blanks.
RECPAD has the following suboptions :
- OFF, NONE : specifies that no blank padding be applied when an input list and format
specifiation requires more data from an input record than the record contains. If more data are
required, the error described by condition FOR1002 is detected.
- ON, ALL : specifies that a formatted input record wihtin an internal file, or a
varying or undefined lenght record (RECFM=U or V) ecternal file, be padded with blanks when an
input list and format specification require more data from the record than the record contains.
Blanks added for padding are interpreted as though the input record actually contains blanks in
those fields.
- VAR : applies blank padding to any of the following types of files :
- an external, non-VSAM file with a record format that allows the lengths of records to differ
within the file. Such record formats are variable (V), variable blocked (VB), undefined (U),
variable spanned (VS), and variable blocked spanned (VBS); this excludes fixed (F), fixed
blocked (FB), and fixed blocked standard (FBS).
- an external, VSAM entry-sequenced data set (ESDS) or key-sequenced data set (KSDS).
- an internal file
Note :
- The PAD specifier of the OPEN statement can be used to indicate padding for individual
files.