Previous Topic: Dump Encrypted Data

Next Topic: Dump Tape and File Labels

Sample IDCAMS JCL to Dump Encrypted Data

//*                                                               
//STEP1    EXEC PGM=IDCAMS,REGION=4096K                           
//SYSUT1   DD  DISP=OLD,DSN=your.data.set.name,                   
//         RECFM=U,BLKSIZE=32760,                                 
//         LABEL=(1,SUL,EXPDT=98000),                             
//         UNIT=uuuuuuuu,VOL=(,RETAIN,SER=vvvvvv)                 
//SYSPRINT DD   SYSOUT=*                                          
//SYSIN    DD   *                                                 
  PRINT INFILE(SYSUT1) COUNT(nnn)                                 
/*                                                                

//

Note: While the tape was originally created as an SL tape, SUL is specified to direct IDCAMS to process the User Header Labels (UHLs) correctly.

To dump encrypted data

  1. Replace your.data.set.name with the name of the encrypted file on the tape that you want to dump.
  2. Replace uuuuuuuu with a valid unit address or generic unit name in use at your site.
  3. Replace vvvvvv with the volser of the tape containing the encrypted file specified in STEP1 of the sample.

Note: You can use the COUNT parameter to control the number of data blocks printed in dump format. To do this, change nnn to an appropriate numeric value to limit excessive print output.