Joined: 14 May 2021 Posts: 1 Location: United States
Hi everyone! I'm pretty new to mainframes and so it's still taking time getting used to, and I tried searching for the answer to the question up above on Google and these forums but can't seem to find the right one for my needs.
The problem is there are 58 jobs that need to be submitted. They are not currently set up as PROCs, and they all relatively look similar except for the first job which has a few extra steps. They each have TXYY property which is a year value. I was attempting to do this using ICEGENER but didn't know how to SET the TXYY variable within each job properly (or if it's even possible).
1) You must use the code tags when posting any code samples
2) Your example does not include “multiple jobs”, but rather “multiple job steps”
3) You can easily use a local // PROC definition at the top of your (actual) job, to // EXEC this procedure multiple times in the same job
4) Any JCL, before it has been SUBMITted, is just a plain text, nothing else. If only you have any experience with text handling tools (hundreds of them are available, from REXX to SORT utilities, and beyond), then you can easily generate your either jobs, or job steps, or whatever else, and then to SUBMIT it using internal reader.
5) It is unclear, what is your TXYY parameter, and where it is supposed to go? If you clarified this issue, you would get some advice.
6) It seems to be a one-time-task - how to create this “huge”(?) JCL? If so, the best way to do this must be: using ISPF editor to create such JCL once, and then to submit it millions of times.
Now to your parameter question, as sergeyken writes, we need some more info. You might be able to use JCL symbols, but you will need to modify the jobs somehow, unless you use a program to read the jobs and write the result to INTRDR.
And don't post the same question in multiple sections, it is bad form and likely to get you banned