Submit a JCL multiple times or run JCL in loop.
-
- Registered Member
- Posts: 14
- Joined: Tue Sep 02, 2014 8:13 pm
Submit a JCL multiple times or run JCL in loop.
There is a JCL which needs to be executed many number of times each time but by changing the parameter being passed to the JCL. I am not sure if it is possible but if I could somehow submit the JCL in loop, I would be able to get what we want. Can anyone help me out please.
-
- Global Moderator
- Posts: 826
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Submit a JCL multiple times or run JCL in loop.
how do You plan to change them - are they computable ?but by changing the parameter being passed
if they are ,
You could write a rexx script - using the ISPF file tailoring facilities - to customise and submit them
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
Re: Submit a JCL multiple times or run JCL in loop.
If the parameter is not computable then store each one in its own member which has a name that can be computed e.g. MEM1, MEM2 etc and read the appropriate member into your rexx program.
Regards
Nic
Nic
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