View previous topic :: View next topic
|
Author |
Message |
John Poulakos
Active User
Joined: 13 Jun 2012 Posts: 178 Location: United States
|
|
|
|
This has probably been answered somewhere, but I haven't been able to word a short question well enough to get good search results. I have a batch program that will build JCL that I would subsequently like to execute, as part of the same or a separate job. I don't recall how to do that. I thought of using DMBATCH, but I don't think that quite fits. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Search the forum for internal reader.
Basically, you define a sequential file that is written to INTRDR. Your code, the sort, some other utility can write a "job" to the input queue. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
INTRDR would be a good search term. Or write the JCL to a dataset and use SUBMIT.
Or even talk you your "Production Control" people. If something similar is already being done, they'll want you to do it the same way. If not already being done, they'll probably want you to do it "their way" anyway :-) |
|
Back to top |
|
|
John Poulakos
Active User
Joined: 13 Jun 2012 Posts: 178 Location: United States
|
|
|
|
Duh, I can't believe I forgot about INTRDR. Thanks a lot! |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
I too have those moments . . . You're most welcome
d |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
Some shops have restrictions concerning INTRDR, so don't be surprised. |
|
Back to top |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
Whatever you do, don't set up a batch job to do the submission of certain PDS members, then FORGET to put the member name.
This will submit all jobs in your PDS.
Don't ask me how I know...I still break out in a cold sweat over it. |
|
Back to top |
|
|
|