Use date as qualifier.

Other Mainframe related questions which attracts you and there is no suitable Forum you find for it and related FAQs.

Topic author
Ajit Shah
Registered Member
Posts: 13
Joined: Mon Oct 14, 2013 5:17 pm

Use date as qualifier.

Postby Ajit Shah » Fri Feb 10, 2017 2:45 pm

Hi,

I have two JCLS. After submitting the JCL1, if the return code is 4 then JCL2 needs to be submitted. Actualy once JCL1 step is submitted a data set name with the current date, as one of its qualifier should get created as the output. Because this is for test, I can take care of the first requirement, but for getting the data as a qulalifer I'm not sure what to do. Can someone please help. Someone has told to use FileAid but I do not find a googd example for it. Can someone please help.




nicc
Global Moderator
Global Moderator
Posts: 544
Joined: Wed Apr 23, 2014 8:45 pm
Been thanked: 11 times

Re: Use date as qualifier.

Postby nicc » Fri Feb 10, 2017 3:44 pm

In production your scheduling system can provide that information but...what if job 1 runs before midnight and job2 is submitted after midnight? LRemember, also, that all parts of the data set name must begin with a character - digits not allowed.
Your better bet is to use a gdg.


Regards
Nic


Topic author
Ajit Shah
Registered Member
Posts: 13
Joined: Mon Oct 14, 2013 5:17 pm

Re: Use date as qualifier.

Postby Ajit Shah » Mon Jul 10, 2017 4:47 pm

We made use of CA-7 for this. Thanks for the help.




Return to “Other Mainframe Topics, Off-Topics, FAQs.”

Who is online

Users browsing this forum: Baidu [Spider], CommonCrawl [Bot] and 2 guests