Comparison of JES3 and JES2 commands
This appendix contains a reference to the differences in the commands provided by JES3 and JES2. It assists a team who is considering the migration from JES3 to JES2. Changes to OPERCMDS profiles are referenced where applicable. It is not a complete list of all possible commands but it provides examples of each type of command.
List of commonly used JES3 and JES2 commands
Table B-1 contains a list of the JES commands that the operators are most likely to use frequently. The table shows the JES3 command and the JES2 equivalent. Also, if you use SAF to protect your operator commands, the table shows the OPERCMDS profile that protects the commands.
Table B-1 Commands and OPERCMDS profiles
Type of command
JES3
JES2
OPERCMDS profile
Shutdown
*RETURN
*DUMP
 
$P JES2
$P JES2,ABEND
$P JES2,ABEND,FORCE
JES3.STOP.RETURN
JES3.STOP.DUMP
JES2.STOP.SYS
Printer devices
*S PRT
$S PRTn
JES3.START.DEV.dev
JES2.START.DEV
Job queue
*F Q H
$HA
JES3.MODIFY.Q
JES2.MODIFYHOLD.JOB
Initiator
*F G main G inits
 
*I G main G init
$S INnn-nn
$P INnn-nn
$D INnn-nn
JES3.MODIFY.G
JES2.START.INITIATOR
JES2.STOP.INITIATOR
MVS
*I D D=dddd
MVS D U,,,dddd,1
JES3.DISPLAY.D
MVS.DISPLAY.*
Device related
*X CR,IN=RMT01RD1,K
$S R1.RD1
JES3.CALL.dspname
JES2.START.RMT
Remote console
*I O
no equivalent
JES3.DISPLAY.O
Remote printer
*S RMT01PR1
$S R1.PR1
JES3.START.name
JES2.START.RMT
Spool related
*I Q S
*I J=jobname
*I A
$D Q
$D’jobname
$D A
JES3.DISPLAY.Q
JES3.DISPLAY.JOB
JES3.DISPLAY.A
JES2.DISPLAY.JOB
Restart
*R J=nnnn
$E Jnnnn
JES3.RESTART.name
JES2.RESTART.BAT
Job modify
*F J=nnnn,C
$C Jnnnn,P
JES3.MODIFY.JOB
JES2.CANCEL.BAT
Job output
*I U J=nnnn
$L Jn
$L Tn
$L Sn
JES3.DISPLAY.U
JES2.DISPLAY.BATOUT
JES2.DISPLAY.TSUOUT
JES2.DISPLAY.STCOUT
Reroute job
*F U J=nnnn,ND=dest
$R ALL,J=nnnn,R
JES3.MODIFY.U
JES2.ROUTE.JOBOUT
SPOOL
 
$S SPOOL
JES2.START.SPOOL
Unknown commands
 
 
JES3.UNKNOWN
JES2.UNKNOWN
 
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset