Use date as qualifier.

Other Mainframe related questions which attracts you and there is no suitable Forum you find for it and related FAQs.
Ajit Shah
Registered Member
Posts: 13
Joined: Mon Oct 14, 2013 5:17 pm

Use date as qualifier.

Post by Ajit Shah »

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: 690
Joined: Wed Apr 23, 2014 8:45 pm

Re: Use date as qualifier.

Post by nicc »

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
Ajit Shah
Registered Member
Posts: 13
Joined: Mon Oct 14, 2013 5:17 pm

Re: Use date as qualifier.

Post by Ajit Shah »

We made use of CA-7 for this. Thanks for the help.
Post Reply Previous topicNext topic

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

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