IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

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: 180
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: 19251
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: 7312
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: 180
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: 19251
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

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts JOINKEYS to match two input files on ... DFSORT/ICETOOL 3
No new posts Can we Insert duplicates in Primary U... DB2 0
No new posts Creating a single-record file with CO... DFSORT/ICETOOL 8
No new posts Dynamically read input files using BP... COBOL Programming 20
No new posts insert into session tables with UR DB2 0

Back to Top