

Runtime Considerations › Specifying File Characteristics › Default File Characteristics
Default File Characteristics
If you do not specify a file's record format, logical record length, and/or block size, CA ADS Batch supplies defaults for the omitted characteristics.
If the record format is not specified, CA ADS Batch supplies one of the following characteristics:
- U (undefined), for a physical sequential file
- F (fixed), for a SYSIN file
- FA (fixed, with control characters), for a SYSOUT file
Once the record format is determined, CA ADS Batch supplies defaults for block size and logical record length based on the record format:
Fixed or Fixed-block Record Format
- If the logical record length and the block size are zero (not specified), CA ADS Batch uses a block size of 6233 for physical sequential files, 80 for SYSIN files, and 133 for SYSOUT files, and uses a logical record length equal to the block size.
- If the logical record length is not zero and the block size is zero, CA ADS Batch uses a block size equal to the logical record length.
- If the logical record length is zero and the block size is not zero, CA ADS Batch uses a logical record size equal to the block size.
Variable or Variable-blocked Record Format
- If the logical record length and the block size are zero (not specified), CA ADS Batch uses a block size of 6233 for physical sequential files, 80 for SYSIN files, and 133 for SYSOUT files, and uses a logical record length equal to the block size minus 4.
- If the logical record length is not zero and the block size is zero, CA ADS Batch uses a block size equal to the logical record length plus 4.
- If the logical record length is zero and the block size is not zero, CA ADS Batch uses a logical record size equal to the block size minus 4.
Undefined Record Format
- If the logical record length is not zero and the block size is zero, CA ADS Batch uses a block size equal to the logical record length.
- If the block size is zero, CA ADS Batch uses a block size of 6233 for physical sequential files, 80 for SYSIN files, and 133 for SYSOUT files.
Copyright © 2013 CA.
All rights reserved.
 
|
|