![]() | ![]() | ![]() | ![]() | ![]() |
In SAS 9.2, an output tape file is created with a different LRECL than what is produced in SAS 8.2. In SAS 8.2, the LRECL value is 1920; in SAS 9.2, the LRECL value is 80.
This problem occurs under the following circumstances:
The difference in the LRECL value is illustrated in the output that is produced in the SAS 8.2 and SAS 9.2 logs:
/* SAS 8.2 log */ NOTE: The infile DATAIN is: Dsname=userid.DATA.DATAIN, Unit=3590,Volume=xxxxxx,Disp=SHR,Blksize=1920, Lrecl=1920,Recfm=FB NOTE: The file DATAOUT is: Dsname=userid.DATA.DATAOUT, Unit=3480,Volume=xxxxxx,Disp=MOD,Blksize=32640, Lrecl=1920,Recfm=FB /* SAS 9.2 log */ NOTE: The infile DATAIN is: Dsname=userid.DATA.DATAIN, Unit=3590,Volume=xxxxxx,Disp=SHR,Blksize=1920, Lrecl=1920,Recfm=FB,Creation=2010/07/19 NOTE: The file DATAOUT is: Dsname=userid.DATA.DATAOUT, Unit=3480,Volume=xxxxxx,Disp=MOD,Blksize=32720, Lrecl=80,Recfm=FB,Creation=2010/07/19
Specifying DISP=NEW in the JCL and then using a SAS FILE statement with a MOD option is the root cause of the problem.
To circumvent this issue, hardcode the LRECL= and the BLKSIZE= options in the FILE statement.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | Base SAS | z/OS | 9.21_M1 | 9.2 TS2M0 |