The program file description specified a record length that did not match the record length of the data set associated with the ASSIGN clause. The OPEN statement failed.
If a file status was specified, no system action is performed. If a file status field was not specified, the program is terminated and message IGZ0035S is generated.
For Format-V and Format-S files the maximum record length specified in your program must be exactly 4 bytes smaller than the length attribute of the data set. For Format-F files, the record length specified in your program must exactly match the length attribute of the data set. For Format-U files, the maximum record length specified in your program must exactly match the length attribute of the data set. If your file is a printer file, the compiler may add one byte to the file description for carriage control character, depending on the ADV compiler option and the COBOL statements used in your program. In which case, the added byte must be included in the data set length attribute. For VSAM files, the record length must not be greater than the maximum length attribute of the data set. For VSAM simulated RRDS (SIMVRD run-time option) the record length specified in the ASSIGN clause is incremented by 4 bytes before comparison with the length attribute of the data set.
IGZ069