IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How do I insert a job in JES input queue?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
John Poulakos

Active User


Joined: 13 Jun 2012
Posts: 178
Location: United States

PostPosted: Thu Jun 13, 2013 9:47 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jun 13, 2013 10:02 pm
Reply with quote

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
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu Jun 13, 2013 10:04 pm
Reply with quote

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
View user's profile Send private message
John Poulakos

Active User


Joined: 13 Jun 2012
Posts: 178
Location: United States

PostPosted: Thu Jun 13, 2013 10:49 pm
Reply with quote

Duh, I can't believe I forgot about INTRDR. Thanks a lot!
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jun 13, 2013 11:34 pm
Reply with quote

I too have those moments . . . You're most welcome icon_smile.gif

d
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Fri Jun 14, 2013 8:32 pm
Reply with quote

Some shops have restrictions concerning INTRDR, so don't be surprised.
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Mon Jun 17, 2013 7:53 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts force tablespace using LISTDEF input DB2 1
No new posts Two input files & writing counter... DFSORT/ICETOOL 12
No new posts Use input file with OMIT rcd keys? DFSORT/ICETOOL 15
No new posts replace word 'MONTH' with current mon... SYNCSORT 11
Search our Forums:

Back to Top