Monday, September 26, 2011

JCL: Sample job to change the retention period of a dataset



The following job will change the retetion period (RETPD) of the dataset to 2012/123(Julian date) 

//STEP EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
ALTER TST.MY.FILE TO(2012123)
//*

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.