Page 1 of 1

Giving the expiry date also as a parameter while allocating

Posted: Tue Mar 02, 2010 9:47 pm
by nagesh divvela
Hi all,

Can some one suggest me how to give the expiry date in the DCB parameters which we give for a dataset creation in the JCL.

I need to give the expiry date while allocating the dataset, so like giving the LRECL how to give the expiry date ?

Regards,
Nagesh D

Posted: Tue Mar 02, 2010 10:48 pm
by Frank Yaeger
I believe you can use the EXPDT keyword for that.

//ddname DD EXPDT=yyddd,...

Posted: Fri Mar 05, 2010 2:33 pm
by Anuj Dhawan
You've other thread also on this, what happened - did you lost the track of that thread?

Posted: Fri Mar 05, 2010 3:22 pm
by nagesh divvela
Hi Anuj,

In the other thread I was searching for the COBOL utility, Here under the JCL section I just requested for the parameter which we give in the JCL.

@ Frank, thanks for the reply. It was the thing which I was actually looking for.

Regards,
Nagesh

Posted: Fri Mar 05, 2010 11:20 pm
by Anuj Dhawan
Fine. What Frank has told you is correct. However, it should be noted if your shop is SMS managed and ACS routine are correctly tailored-- any date on EXPDT might not be regarded because of the rules defined under MGMTCLAS usually govern the DSN expiration etc.