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
 

 

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: 4648
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
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts Invoking CA 7 commands through REXX kenshin CLIST & REXX 10 Fri Aug 12, 2016 9:33 pm
No new posts Execute multiple DB2 Load commands in... faizm DB2 4 Wed Aug 03, 2016 12:53 pm
No new posts Issuing IMS-Commands from a program w... SWP COBOL Programming 1 Fri Jun 03, 2016 4:31 pm
No new posts Cancelling $T A JES commands vasanthz JCL & VSAM 4 Tue Feb 16, 2016 10:48 pm


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