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

Commands to route job to specified queue


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
Reply with quote

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

Global Moderator


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

PostPosted: Tue Jun 21, 2005 9:12 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts MQ response when MQGET of a stopped q... Java & MQSeries 2
No new posts IOF Output Queue & REXX(?) All Other Mainframe Topics 2
No new posts Console Commands All Other Mainframe Topics 4
No new posts commands missing in JESMSGLG JCL & VSAM 3
No new posts ZOS Console commands through USS REXX? CLIST & REXX 5
Search our Forums:

Back to Top