Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How do I insert a job in JES input queue?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
John Poulakos

New User


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

PostPosted: Thu Jun 13, 2013 9:47 pm    Post subject: How do I insert a job in JES input queue?
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

Site Director


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

PostPosted: Thu Jun 13, 2013 10:02 pm    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Thu Jun 13, 2013 10:04 pm    Post subject: Reply to: How do I insert a job in JES input queue?
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

New User


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

PostPosted: Thu Jun 13, 2013 10:49 pm    Post subject: Reply to: How do I insert a job in JES input queue?
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

Site Director


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

PostPosted: Thu Jun 13, 2013 11:34 pm    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Facing issue while executing multi ro... aagarwal88 DB2 6 Tue Oct 02, 2018 8:11 am
No new posts Send data from a CICS TS program to M... spiThingy CICS 2 Wed Aug 08, 2018 8:58 am
No new posts Need Help on sending email by includi... wik123 JCL & VSAM 9 Mon Jul 30, 2018 2:59 pm
No new posts Need Help to Create 4 Output Records ... satish.ms10 DFSORT/ICETOOL 5 Thu Jul 19, 2018 1:55 am
No new posts Can we use a file both as input and o... Chiku kumar COBOL Programming 6 Thu Jun 28, 2018 3:30 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us