z/OS DFSMSdfp Utilities
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 10: Multiple tapes specified for SER keyword

z/OS DFSMSdfp Utilities
SC23-6864-00

In this example, five tape volumes are to be rekeyed with the same key labels.
  //TAPEJOB	JOB	…
  //STEP1	EXEC	PGM=IEHINITT
  //SYSPRINT	DD	SYSOUT=A
  //REKEY2	DD	UNIT=(TAPE,1,DEFER)
  //SYSIN	DD	*
    REKEY2	REKEY	SER=( AL1000,AL2000,AL3000,AL4000,AL5000),
				KEYLABL1=firstkeylabel,KEYENCD1=L,
				KEYLABL2=secondkeylabel,KEYENCD2=H
  /*
                                                                                              

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014