Beginning in SAS® 9.4M8 (TS1M8) on z/OS, Pervasive Encryption of SAS libraries is supported.
After you implement Pervasive Encryption in SAS 9.4M8, you can no longer use the IBM IEBGENER utility to copy SAS libraries. As a result, IEBGENER fails with an error similar to the following when you try to use it:
IEB351I I/O ERROR ,OYACIXMD,JS04 ,CF10,D,SYSUT1 ,READ ,WRNG.LEN.RECORD,000011FE000102,BSAM
To allow an encrypted SAS Library with RECFM=FS to be copied with the IEBGENER Utility, complete the following two-step approach. Note that this method works only if you copy the encrypted Library data set to another encrypted Library data set.
The first step copies the Library data set as if it were RECFM=U. The second step changes the data set DSCB to indicate RECFM=FS.
//COPYLIB EXEC PGM=IEBGENER
//SYSUT1 DD DISP=SHR,DSN=library.name,
// RECFM=U
//SYSUT2 DD DSN=library.copy.name,
// DISP=(NEW,CATLG,DELETE),SPACE=(space_specs),
// STORCLAS=class,DATACLAS=class,MGMTCLAS=class,
// RECFM=U,DSNTYPE=type,DSKEYLABEL=key_label
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//*
//*
//FIXLIB6 EXEC PGM=IEBGENER
//SYSUT1 DD DUMMY,
// RECFM=FS,BLKSIZE=block_size,LRECL=rec_length
//SYSUT2 DD DISP=MOD,DSN=library.copy.name,
// RECFM=FS
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY