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
 
Commands to route job to specified queue

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

New User


Joined: 21 May 2005
Posts: 2
Location: chennai

PostPosted: Tue Jun 21, 2005 9:03 pm    Post subject: Commands to route job to specified queue
Reply with quote

Please tell me commands to route job to specified queue?
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Tue Jun 21, 2005 9:12 pm    Post subject: Re: job handling
Reply with quote

The word route is the key. Do a search in the JCL Reference Manual on it and you'll find your answer.
Back to top
View user's profile Send private message
pkmainframe

New User


Joined: 14 Jun 2005
Posts: 16
Location: India

PostPosted: Wed Jun 22, 2005 11:42 am    Post subject:
Reply with quote

Hi Superk,
aftet the job card.. code the below one

/*Route <queue name>

this will work let me know if you any probelm

Tx
kumar
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Wed Jun 22, 2005 2:24 pm    Post subject:
Reply with quote

In my opinion the command /*ROUTE is a call to a JES2 command that allow you to execute/print/punch a job in a particular NODE.
For JCL this is the link:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/IEA1B640/27.9?DT=20000718114500
But to change a class(that in jcl is in job card) you must use a JES2 command as you can see below:

Quote:
JES2 changes the class of batch job 3 to class B and increases its priority by 4 (to 13). Note that, if this increase had adjusted the priority to a value greater than 15, JES2 would have assigned a maximum priority to batch job 3.


Code:
 $t jq,/userid=ibmuser,/q=xeq,class=d
       JOB00022  $HASP890 JOB(IJOB1)
       $HASP890 JOB(IJOB1)     STATUS=(EXECUTING/IBM1),CLASS=D,
       $HASP890                PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE),
       $HASP890                USERID=IBMUSER

Sample 4 of link:
http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/has2a240/5.195?DT=20040114165842
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
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 2 Tue May 09, 2017 6:31 pm
No new posts Route a product's job to specific lpar vasanthz All Other Mainframe Topics 9 Thu Mar 02, 2017 2:22 am

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