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


Example 11: Three tapes with NUMBTAPE specified

z/OS DFSMSdfp Utilities
SC23-6864-00

In this example, three tape volumes 001200, 001201, and 001202 are to be rekeyed with the same key labels.
  //TAPEJOB	JOB	…
  //STEP1	EXEC	PGM=IEHINITT
  //SYSPRINT	DD	SYSOUT=A
  //REKEY3	DD	UNIT=(TAPE,1,DEFER)
  //SYSIN	DD	*
    REKEY3	REKEY	SER=001200,NUMBTAPE=3,
				KEYLABL1=firstkeylabel,KEYENCD1=L,
				KEYLABL2=secondkeylabel,KEYENCD2=H
  /*
                                                                                              

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014