2010年6月14日 星期一

JES2 Commands

$DSPL,JOBS=5
this will display all jobs using 5% or more of the spool
. . . very useful when you have panic spool problems.

$A A
To release all jobs

$ACTIVATE
To activate new functions at the current release level of JES2.

$ADD APPL
To dynamically define a VTAM application to JES2 at the specified JES2 node.

$ADD DESTID
To dynamically define a symbolic name for a JES2 route code.
Use the $D DESTID command to view the actual destination for a destid.

$ADD FSS
To dynamically define a functional subsystem (FSS) to JES2.

$ADD LINE(nnnn)
To dynamically add a line.

$ADD LOGON (nn)
Creates a new LOGON pseudo-device, which defines JES2 as an application program to VTAM

$ADD PRT
To dynamically add a local printer.

$ADD REDIRECT
To specify redirection for commands entered at the entry console. The operator should use $ADD REDIRECT if redirection was not specified already by the initialization statement or a previous $ADD REDIRect for this console.

$ADD RMT(nnnn)
To add one or more RJE workstations. You cannot use this command to add an RJE workstation with a number higher than that either previously defined by RMTNUM= on the TPDEF initialization statement or the highest numbered RJE workstation defined through RMT(nnnn) initialization statements.

$C A
To cancel the processing of all or specified automatic command entries and delete those entries.

$C A 3
To cancel auto job id=3 (no comma)

$C job
Immediately cancel jobs or TSU sessions currently executing on any member of the MAS and, if desired, provide a storage dump.

$D A,L
Display information about currently active jobs

$D BUFDEF
To display the current values of all parameters defined on the BUFDEF initialization statement or command.

$DQ
$HASP647 3 XEQ C 1100
$HASP647 5 XEQ E 1100
$HASP643 6 PPU NYS2 ANY
$HASP643 742 PPU JES23 ANY
$HASP643 636 PPU LOCAL ANY
$HASP646 22.9416 PERCENT SPOOL UTILIZATION

$D SPOOL
Display the Status of Spool Volumes

$D SPOOLDEF
To display the JES2 spooling environment characteristics.

$D U,LOGON1

$D U,volser= to find the dasd address

$SSPL(MPSPL2),FORMAT

$T LOGON1,LOG=NO

$T OFF1.ST,DISP=KEEP
You can change OFF1.ST to OFF2.ST to off load the same spool files

$T NODE(SSAJES2),PATHMGR=NO

$T A,ALL
As an example the commands displays:
$HASP604 ID 1 T= 13.50 I= 900 L=INTERNAL $VS,'D A,L'
$HASP604 ID 4 T= 14.46 I= 3600 L=SYSMS $VS,'W X'
$HASP604 ID 5 T= 14.47 I= 3600 L=SYSMS $VS,'S LOGWTR'
$HASP604 ID 3 T= 23.55 I=86400 L=INTERNAL $VS,'S BACKUP'
$HASP604 ID 2 T= 37.18 I=86400 L=INTERNAL $VS,'S TMSDAILY'

Within JESPARMs

$TA,I=900,T=11.15,'$VS,''D A,L'''
Displays active list every 15 minutes

$TA,I=86400,T=04.15,'$VS,''S TMSDAILY'''
Starts job TMSDAILY every 24 hours starting at 0415 hours

$TA,I=86400,T=01.15,'$VS,''S BACKUP'''
Starts job BACKUP every 24 hours starting at 0115 hours

$TA,I=900,T=11.15,'$VS,''D A,L'''
(900 = display every 15 minutes)

$vs, 'v (234,235,236),offline','d a'
Varys offline devices 234,235,236 and dispalys all at JES2 startup

沒有留言:

張貼留言