Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 49
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: 7236

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: 49
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: 1238
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 Performing arithmetic on input field zh_lad DFSORT/ICETOOL 24 Tue Dec 06, 2016 8:04 pm
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 8 Thu Dec 01, 2016 8:28 pm
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
No new posts Insert Lines in JCL with Rexx after a... Willy Jensen CLIST & REXX 3 Tue Aug 30, 2016 4:18 pm
No new posts How to insert a lengthy string havin... vidyaa DB2 7 Thu Aug 25, 2016 5:20 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us