Till now we created tape files with 5,10 and maximum 20 years using RETPD directly in jcl while creating tape
We never came up to create for 99 years.
I tried with Retpd, but its supporting upto 24 years only.
sganja wrote:Step to copy flat file to tape file
//JS001 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DSN=XYZ.TEMP.FILE.COPY,DISP=SHR
//SYSUT2 DD DSN=XYZ.TAPE.TEMP.FILE,
// DISP=(NEW,CATLG,DELETE),
// RECFM=VB,
// LRECL=10144,
// UNIT=TAPEC,
// EXPDT=99001
I didn't know that! I then went to the z/OS 1.13 JCL Reference manual and confirmed it. There are some interesting other comments there one should read. Dynamic allocation allows the longer retention period, too.Blackthorn wrote:What release of z/OS are you on?
I believe in 1.13 the maximum value for RETPD is increased to 93,000 which is approximately 254 years.