Data sets

Data sets

There are three required DD names for the Cobol compiler:

Cobol
DD Description Access Method LRECL BLKSIZE RECFM
SYSIN An input data set containing the source statements to be processed. This is an input data set which is normally a zFolder data set. QSAM 80 SMS1 FB
SYSLIN A data set containing object module output normally for the linkage editor, loader, or binder. This is an output data set created by the build which can be a zFolder/zDataset using the data set prefix from the build. QSAM 802 SMS1 FB
SYSPRINT A data set containing the compiler listing. This is an output data set created by the build which can be a zFolder/zDataset using the data set prefix from the build. QSAM 133 SMS1 FBA
1 The data set is allocated with BLKSIZE=0 allowing SMS to determine the optimal block size for the device.
2 If you specify the OBJECT option the logical record length must be 80. If you specify the GOFF option the object module can be generated with either fixed-length records of 80 bytes, or variable-length records up to BLKSIZE of 32720. The default is 80, which can be overridden in the resource definition.