0% found this document useful (0 votes)
23 views

All Commands New

all commands new

Uploaded by

Manasa Bantu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

All Commands New

all commands new

Uploaded by

Manasa Bantu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 89

da

DISPLAY COMMANDS
D D,T
DT
DC
D SMF
D R,L
D R,R
D J,A
D R,U
D TS,L
D A,L
D GRS, C
D GRS,RES=(sysdsn,datasetname)
D XCF
DCM
D U,TAPE,ONLINE
D U,TAPE,OFFLINE
D U,,,XXX,1
D U,,ALLOC,XXX,1
D U,DASD,ALLOC,XXX,1

CMDS SHOW
D TCPIP,,NETSTAT,HOME

MATRIX COMMANDS

D M=DEV
D M=DEV(XXXX)
D M=CHP(X)
D M=CPU
D M=STOR

CONSOLE COMMANDS
D C,L Display consoles
D C,B Display console buffer
D C,CA Display console addresses
V XXX,CONSOLE Vary device 'XXX' online as a console
V XXX,MSTCONS - gives master console authority to XXX (must be done from the MASTER
D PFK Display PFK structure for the console
KQ Will clear messages off console if backed up(Clear the buffer)
K Q,L=ID Will clear the buffer of different console from master console
K N,PFK=(XX,CMD='YYYYY'),CON=Y/N To set up a PFK key
K E,1 To remove the one line from the console
V XXX,CONSOLE,AUTH=ALL,ROUT=(1,2,3,4) - vary XXX as a console & assign authority all &rout

VARY COMMANDS

V XXX,OFFLINE
V XXX,ONLINE
V XXX,CONSOLE
V XXX,MSTCONS
V PATH(XXX,0)ONLINE
V PATH(XXX,0)OFFLINE
V XXX,OFFLINE,UNCOND
V XXX,ONLINE,UNCOND
CF CHP(xx),OFFLINE
CF CHP(xx),ONLINE
V NET,ACT,ID=xxxxxxxx,SCOPE=ALL
V NET,INACT,ID=xxxxxxx,F/ I
V NET,RES,ID=xxxxxxx
V XCF,sysname,OFFLINE /ONLINE

JOB MANIPULATION

CANCEL jobname (OR) C JOBNAME


CANCEL jobname,dump
C U=USERID
C JOBNAME,A=ADDRESS ID
FORCE JOBNAME
FORCE JOBNAME,A=ADDRESS ID
C STARTING,U=LOGON
C STARTING,A=NN

JES COMMANDS

$DSPL
$DQ
$POJQ,ALL,DAYS>5
$POJQ,READY,A>5
$POJQ,READY,ALL,A>5
$DJOBQ, SPOOL=(PERCENT>n)
$S
$A
$C
$E
$H
$L
$O
$P
$T
$To
$DMRxxx,'message'
$DI
$DF
$DF,J=JNNNN
$DJNNNN
$D'XXXXXXXX'
$DQ
$T JOBCLASS(*),QHELD=Y
$T JOBCLASS(*),QHELD=(N)
$DA,X,J
$DN,Q=XEQ
$DSNNNN
$DTNNNN
$DU
$DU,PRTS,ACT
$DU,PRTX
$DU,RX.pry
$DSPL,V=SPOOL(0)(2),JOBS=1 Display held jobs holding more than 1% spool
$DSPL,ALL
$DSPL,JOB=1
$SPRTx
$PPRTx
$TPRTx
$PRxx.PR1
$SRxx.PR1
$DRxxx.PR1
$TRxxx.PR1,LIMIT=(0,xxxxx) Change output line limit
$ATxxxx (tsu number)
$A A
$PIX
$TIX,Y
$TJNNNN,P=YY
$TJNNNN,C=Y
$DU,LGN2
$S LGN1
$S LNEnn
$S N,LNEnn,A=destination-node-name For Destination
$E LNExx

AUTOMATION COMMANDS

(STARTSYS
(SSMSHUT
(SSMCHK
(SSMDISP
(SSMDISP

(SSMTASK

(STATESET
(STATESET task name,current(Up/Down)
(STATESET task name,desire(Up/Down)
(STATESET task name,mode(Active/Passive
(SSMBASE
CHKDEV
CHKCPU
CHKCHP
LODDEV
LODCPU
LODCHP
ASDUMP
P
S
DA
INACT
INACTI
INACTF
ACT
ACT
ACT
OMCSA
OMCPU

OMBATCH
OMDASD

VTAM COMMANDS

D NET,PENDING,ID=IDNAME
D NET SESSIONS,LIST=ALL,MAX=500,E
D NET STATIONS
D NET,TSOUSER,ID=user id
D NET,NETSRVR,E
D NET,MAJNODES,MAX=500
D NET,CLSTRS
D NET,APPLS
D NET,ADJSSCPS,ADJLIST=*
D NET,ADJCP,ID=adjacent id,E
D NET,ADJCLUST,NETID=cluster name
F NET,TRACE,TYPE=IO,ID=name
D NET,ID=line id,E
F net name,ID=host name,CDRM=host cdrm,IMMED
D NET,ROUTE,DESTSUB=ncp number,TEST=YES

D NET,ROUTE,DESTSUB=remote NCP no ,ORIGIN=host NCP,TEST=YES To display the route of the

V NET,ID=line id,ACT,ALL
V NET,ID=line id,INACT,F
D NET,CDRMS
D NET,ADJSSCPS
D NET BFRUSE
D NET,COS
D NET,GROUPS
D NET,LINES
LI DD,LIBRARY NAME
d sms,lib(all),detail
COMMANDS

Display DUMP datasets, refer to 'SYSTEM DUMPS'


Display System Time
Display status of console
Display SMF datasets, refer to 'SMF PROCEDURES'
Display outstanding requests
Display the details of pending action messages
Display status of all active tasks which are defined to system.
Display outstanding mounts/machine interventions
Display TSO USERS currently logged on
Display active - JOBS, STARTED TASKS, TSO USERS
Display system contention
Display who has the dataset
Display systems in the sysplex
Display the master in sysplex
Display tape drives online to the system
Display tape drives offline to the system
Display current status of device XXX
Display jobs allocated to device XXX
Display jobs allocated to device XXX

Display the commands which are executing and which are waiting for execution
To know the IP address of the system

Display all paths to all devices


Display status of the device XXXX
Display the status of the chip X
Display CPU status
Display storage
onsoles
onsole buffer
onsole addresses
ice 'XXX' online as a console
ster console authority to XXX (must be done from the MASTER
FK structure for the console
messages off console if backed up(Clear the buffer)
the buffer of different console from master console
ON=Y/N To set up a PFK key
e the one line from the console
OUT=(1,2,3,4) - vary XXX as a console & assign authority all &route codes 1-4

vary device XXX offline


vary device XXX online
Vary device xxx as console
Vary device xxx as master console
vary path to device XXX (on channel set 0) online
vary path to device XXX on channel set 0 offline
Vary the device XXX offline unconditionally
Vary the device XXX online unconditionally
vary channel path xx offline
vary channel path xx online

Force or Immediate
Release LU or PU
Take system out of the sysplex at IPL time

TO cancel a job on the system


To cancel a job with a dump
To cancel TSO user ID
To Cancel a job from address ID
To force a user job
To force a user job from address space ID
cancel a TSO logon (D TS,L)
cancel a "STARTING" task (D J,A - to find NN, it is the ASID

To Disaply Spool Usage


To Display JOB Queue
To Purge n day's old job
To Purge the jobs for last 5 days
To Purge the jobs for last 5 days
to check as to what jobs are occupying spool more than n percent
Start a device such as an initiaTor or printer $SIXX $SPRTXX
Release a job from hold $AJxxxx $a‘JOBNAME’
Cancel an executing job $cjxxxx $c‘JOBNAME’
Restart an executing job $ejxxxx $e‘JOBNAME’
Hold a job $hjxxxx $h‘JOBNAME’
List a job $ljxxxx $l‘JOBNAME’
Release held output $ojxxxx $o‘JOBNAME’
Drain a device such as an initiaTor or printer $piXX $pprtXX
Change an initiator or job $tjxxxx $t‘JOBNAME’
Change attributes of held output $Tojxxxx, c=x
send a message To remote xxx
Display initiaTors
Display forms awaiting print
Display forms awaiting print for job NNNN
Display status of job number NNNN
Display status of job name
Display all queues
hold all queues
Release all the queues
Display all jobs executing
Display all jobs waiting To execute
Display started task number NNNN.
Display TSO USER number NNNNN
Display status of all units
Display active printers
Display status of printer 'X'
Display a remote printer
Display held jobs holding more than 1% spool
Display all SPOOL volumes
start printer 'X'
Drain printer 'X'
Set printer 'X'.
drain remote 'xx'
Start remote 'xx'
Display remote printer
Change output line limit
Release output in JHOLD status
Release all output in JHOLD status
drain initiaTor 'X'
change initiator 'X' To class 'Y'
Modify priority for job number NNNN, 'YY' is the new priority (0-15)
Modify job number NNNN execution class To Y
Display's lines & remotes
To activate origin node name
To activate the JES2 SNA line
me For Destination
To reset a line

Bring system up from base


Initiate automated system shutdown
List applications whose current and desired states do not match
List all applications being monitored by Stateman
List the status of specific Stateman monitored applications
Example: (SSMDISP MQ will list the status of all MQ/Series tasks

List the Desired_State, Current_State, Mode, IPL_State, IPL_Prerequisite,Start command and Stop command for

List the Desired_State, Current_State and Mode of the application.


Change the Current_State for App in the STCTBL (usually UP or Down)
Change the Desired_State for App in the STCTBL (usually UP or Down)
Change the Mode for App in the STCTBL (Active or Passive)
List jobs that are considered Base system jobs. (For shutdown or IPL)
Compare DASD against last snap shot – Show any newly online or offline devices
Compare CPU against last snap shot
Compare Channels against last snap shot
Take snap shot of current DASD config – done after changing the environment (online/offline)
Take snap shot of current CPU config
Take snap shot for current Channel config
Initiate address space dump of job/stc
Change the Desired_State of job/stc to DOWN for Stateman monitored resource
Change the Desired_State of job/stc to UP for Stateman monitored resource
D NET,ID=vtamnode,E
V NET,INACT,ID=vtamnode
V NET,INACT,I,ID=vtamnode
V NET,INACT,ID=vtamnode,F
V NET,ACT,ID=vtamnode
V NET,ACT,ID=vtamnode,SCOPE=ALL
V NET,ACT,ID=vtamnode,SCOPE=U
Display CSA ECSA SQA and ESQA (Taken from Omegamon)
Display Avg CPU%, Partition LCPD%, PCPD%, OVHD%, TCB%, SRB% and tasks/jobs using the most CPU (T
Omegamon)
Display job details (CPU%, waits, etc..) (Taken from Omegamon)
Display DASD response and %busy by UCB and Volser

To display the ids that are pending activation


To display the list of all sessions
To display the stations connected to the system
To display the TSO users
To display the net server
To display all the major nodes
To display the clusters connected to the system
To display the applications
To display the adjacent nodes
To display a particular adjacent node
To display the adjacent cluster
To trace the I/O of the line
To display a status of a line
To dynamically modify the net connectivity
To display the route of the destination

o ,ORIGIN=host NCP,TEST=YES To display the route of the NCP from the host NCP

To activate a line
To deactivate a line
To display status of all the CDRMs
To display status of all the adjacent nodes
To display the buffer usage of modules
To display the class of service (COS) table
To display the groups in the net
To display all the lines
To chk the device in which library
to chk which library
CA7 Command lists.
LQ |LISTS ALL JOBS IN CA-7'S QUEUES AND
|WILL TELL WHICH QUE EACH JOB IS IN.
|
LQ,JOB=JOBNAME |WILL TELL YOU WHICH QUE A JOB IS IN
|
LQ,JOB=JOBNAME,LIST=RQMT |WILL LIST THE REQUIREMENTS THE JOB
|IS WAITING ON.
|
LQ,JOB=JOBNAME,LIST=Q |WILL SHOW IF THE JCL CAME FROM THE
|OVERRIDE LIBRARY. WILL SHOW LAST
|STEP EXECUTED IF THE JOB IS ACTIVE.
|
LQ,JOB=JOBNAME,LIST=JCL |WILL LIST THE JCL LOADED FOR THE
|JOB FOR THIS RUN ONLY.
|
LQ,ST=LATE |LISTS JOBS THAT ARE LATE IN ALL
|QUEUES.
|
LQ,ST=RSTR |LISTS ABENDED JOBS WHICH HAVEN'T
|BEEN REQUED AND LISTS ABEND CODE.
|
XQ |LISTS ALL JOBS IN THE REQUEST QUE
|WAITING ON REQUIREMENTS TO BE MET.
|
XQ,JOB=JOBNAME |USED TO EDIT A JOB, POST A REQUIRE-
|MENT, RESTART A JOB, PUT A HOLD ON
|A JOB, RELEASE A JOB, CANCEL A JOB,
|OR FORCE COMPLETE A JOB.
|
XRQ,JOB=JOBNAME,LIST=ALL |IF JOB HAS ABENDED BECAUSE THE
|RQMTS WERE POSTED AND YOU WANT TO
|PUT THE RQMTS BACK ON IT, USE THIS
|COMMAND THEN PUT A 'U' TO UNPOST
|THE RQMTS.
|
LACT |LISTS ACTIVE JOBS.
|
LACTR |LISTS ACTIVE JOBS,CLASS & RESOURCES
|
LJES |LISTS ALL ACTIVE JOBS AND LAST STEP
|EXECUTED.
|
LRDY |LISTS ALL JOBS IN RDY QUE WAITING
|ON RESOURCES SUCH AS A TAPE DRIVE,
|INITIATOR OR HIGHER PRIORITY JOBS.
|ALSO LISTS WHETHER A JOB IS LATE.
|
LRDYP |LISTS ALL JOBS IN RDY QUE. LISTS
|PRIORITY AND TAPE DRIVES NEEDED FOR
|EACH JOB.
|
LRDYP,JOB=JOBNAME |EXPLAINS WHAT RESOURCES JOB IS WAIT
|ING ON: TAPE DRIVES, CLASS BARRIER.
|
XUPD,JOB=JOBNAME |THIS SCREEN SHOWS THE CLASS, TAPE
|DRIVES NEEDED AND PRIORITY OF A
|JOB. CAN BE UPDATED TO MOVE A JOB
|THRU THE RDY QUE TO THE ACT QUE
|FASTER BY INCREASING THE PRIORITY
|AND DECREASING THE TAPE DRIVES.
|
XWLB |WORKLOAD BALANCING SHOWS TOTAL JOBS
|ACTIVE, TOTAL INITIATORS AVAILABLE,
|TOTAL MAX TAPE DRIVES ALLOWED, AND
|NUMBER OF INITIATORS OPEN PER CLASS
|
LQ,SEQ=DOTM,LIST=STATUS |LISTS ALL THE JOBS IN REQUEST QUE,
|ACTIVE QUE, READY QUE AND ABENDED
|JOBS WITH THEIR ABEND CODES. LISTS
|ALL REQUIREMENTS NOT YET MET.
|
LIST,JOB=JOBNAME |LISTS ALL STEPS IN AN ABENDED JOB
|AND FLAGS THE ABENDED STEP.
|
LJOBR,JOB=JOBNAME |SHOWS THE AVERAGE RUN TIME OF A JOB
|BY AVERAGING THE LAST 6 RUNS. LISTS
|CPU TIME AND CLOCK TIME IN HHMM AND
|LAST RUN DATE AND TIME.
|
LJOB,JOB=JOBNAME,LIST=RQMT |LISTS ALL REQUIREMENTS THAT NEED TO
|BE MET: DSN, USR, JOB. A / IN FRONT
|OF A JOB MEANS IT CAN'T RUN WITH AT
|THE SAME TIME AS THIS JOB. THIS IS
|CALLED A NEGATIVE DEPENDANCY.
|
LJOB,JOB=JOBNAME,LIST=DEPJ |LISTS ALL JOBS DEPENDANT ON THIS
|JOB AND ALL JOBS YOUR JOB IS DEPEND
|ANT ON. CHECK THIS BEFORE CANCELING
|OR FORCE COMPLETING A JOB.
|
LJOB,JOB=JOBNAME,LIST=TRIG |LISTS ALL JOBS TRIGGERED BY THIS
|JOB AND ALL JOBS THAT TRIGGER THIS
|JOB. CHECK THIS BEFORE CANCELING OR
|FORCE COMPLETING A JOB.
|
LJOB,JOB=JOBNAME,LIST=ALL |LISTS ALL INFORMATION ON THIS JOB:
|SCHEDULING, RESTART PROCEDURES,
|DATA SETS, AND ALL REQUIREMENTS.
|
LJOB,JOB=JOBNAME,LIST=NODD |LISTS ALL INFORMATION ON THIS JOB
|EXCEPT FOR DD STATEMENTS.
|
|
LJOB,JOB=*,JOBNET=WACC |THESE ARE EXAMPLES OF FIELDS FROM
LJOB,JOB=XXXX*,MAINT=Y |THE "JOB" SCREEN. WILL LIST THESE
LJOB,JOB=XX*,HOLD=Y |FIELDS AND WHATEVER YOU SPECIFY
LJOB,JOB=*,EXEC=N |FOR THE PARAMETER.
LJOB,JOB=X*,SCAL=XX |
|
LPROS,JOB=JOBNAME |LISTS ALL RESTART INFORMATION FOR
|THIS JOB.
|
LJCL,JOB=JOBNAME |LISTS THE PRODUCTION JCL FOR JOB.
|
LPRRN,JOB=JOBNAME |LISTS THE LAST SUCCESSFULL RUN OF
|THE JOB. LISTS START AND END TIMES
|DATE AND HIGHEST COND CODE.
|
LPRRN,JOB=JOBNAME,LIST=Q |LISTS THE LAST SUCCESSFULL RUN OF
|THE JOB. LISTS START AND END TIMES
|DATE AND HIGHEST COND CODE. ALSO
|SHOWS IF JOB RAN FROM OVERRIDE
|LIBRARY.
|
LRLOG,JOB=JOBNAME, |LISTS A JOB FOR THAT JULIAN DATE
DATE=*JULIAN DATE |TO SEE IF IT RAN, WAS CANCELED OR
|ABENDED.
|
LRLOG,JOB=*,DATE=*JULIAN DATE |LISTS ALL JOBS FOR THAT JULIAN
|DATE TO SEE IF THEY RAN, OR WERE
|CANCELED, OR ABENDED.
|
LRLOG,SEQ=JOB,LIST=RSTR,DATE=* |LISTS JOBS THAT ABENDED IN LAST 5
|DAYS.
|
LRLOG,SEQ=JOB,ST=CANC,DATE=* |LISTS JOBS CANCELED IN LAST 5 DAYS
|
LDSN,DSN=DATASET NAME,LIST=USERS |LISTS ALL JOBS USING THIS DATA SET
|AND THE DISPOSITION FOR EACH JOB.
|JOB WITH NEW DISP CREATES THE DSN.
|
SSCAN |SHOWS THE NEXT SCHEDULE SCAN OF
|CA-7. SHOWS THE NEXT WAKE UP TIME.
|
SUBTM,JOB=JOBNUMBER,TIME=HHMM |TO CHANGE THE SUBMIT TIME FOR A
|JOB ALREADY IN THE REQUEST QUE.
|MUST USE MILITARY TIME IN HOURS
|AND MINUTES. USE THE JOB NUMBER.
|
ADDRQ,JOB=JOBNAME,DEPJOB=JOBNAME |USED TO ADD A JOB DEPENDANCY TO
|YOUR JOB. WHEN THE DEPJOB ENDS
|RUNNING SUCCESSFULLY, THEN YOUR
|JOB WILL BECOME ACTIVE.
|
ADDRQ,JOB=JOBNAME,USR=COMMENTS |TO ADD A COMMENTS DEPENDANCY TO
|YOUR JOB SUCH AS 'HOLD FOR PGMR
|TO LOOK AT IN THE MORNING'. MUST
|BE POSTED BEFORE YOUR JOB WILL RUN
CANCEL,JOB=JOBNUMBER,REASON=XXX |TO CANCEL AN ABENDED JOB AND STOP
|THE TRIGGERING OF SUBSEQUENT JOBS.
|ALSO USED FOR A SKELETON JCL.
|
DEMAND,JOB=JOBNAME,SCHID=XXX |PUTS A JOB IN THE CA-7 REQ QUE.
|IF THERE ARE NO REQUIREMENTS TO
|BE POSTED, JOB WILL AUTOMATICALLY
|BECOME ACTIVE.
|
DEMANDH,JOB=JOBNAME,SCHID=XXX |DEMANDS A JOB INTO THE CA-7 AND
|PUTS IT IN THE REQUEST QUE. USED
|TO EDIT A JOB. WILL NEED TO POST
|THE HOLD REQUIREMENT BEFORE JOB
|WILL BECOME ACTIVE. RECOMMENDED.
|
DEMANDH,JOB=JOBNAME,SET=NTR, |DEMANDS A JOB INTO CA-7 AND TELLS
SCHID=XXX |CA-7 NOT TO TRIGGER SUBSEQUENT
|JOBS WHEN THIS JOB ENDS.
|
DEMANDH,JOB=JOBNAME,SET=SKP, |DEMANDS A JOB INTO CA-7 AND TELLS
SCHID=XXX |CA-7 TO SKIP THE NEXT SCHEDULED
|RUN OF THIS JOB.
|
DEMANDH,JOB=JOBNAME,TYPE=RES, |DEMANDS A JOB INTO CA-7 AND TELLS
SCHID=XXX |CA-7 THIS IS A RESTART OF THE JOB.
|RMS IS RESET TO BRING IN ALL DSN
|GENERATIONS OF THE LAST RUN.
|
DEMANDH,JOB=JOBNAME,TIME=HHMM, |DEMANDS A JOB INTO CA-7 WITH A
SCHID=XXX |TIME REQUIREMENT. USE MILITARY
|TIME, HOURS AND MINUTES.
|
REQUEUE,Q=RDY,JOB=JOBNAME |TO REMOVE A JOB FROM THE RDY QUE
|AND PUT IT BACK IN THE REQUEST Q.
|
REQUEUE,Q=ACT,JOB=JOBNAME |TO REMOVE A JOB FROM THE ACT QUE
|AND PUT IT BACK IN THE REQUEST Q.
|USED WHEN SYSTEM CRASHES!!!!!
|
FJOB,FROM=(MMDDYY,HHMM), |TO FORECAST WHEN A JOB IS SCHEDUL-
TO=(MMDDYY,HHMM),JOB=JOBNAME |ED TO RUN. USE MONTH DAY YEAR FOR
|MMDDYY & HOURS & MINUTES FOR HHMM.
|
FJOB,FROM=(MMDDYY,HHMM), |TO FORECAST WHEN A JOB IS SCHEDUL-
TO=(MMDDYY,HHMM),JOB=XXXX* |ED TO RUN. USE MONTH DAY YEAR FOR
|MMDDYY AND HOURS AND MINUTES FOR
|HHMM. JOB=XXXX* WILL SHOW ALL JOBS
|THAT BEGIN WITH THE FIRST FOUR
|LETTERS OF THAT JOB.
|
FJOB,FROM=(MMDDYY,HHMM),SPAN=HH, |TO FORECAST WHEN A JOB IS SCHEDUL-
JOB=JOBNAME |ED TO RUN. USE MONTH DAY YEAR FOR
|MMDDYY AND HOURS AND MINUTES FOR
|HHMM. SPAN=HH WHERE HH IS THE NUM-
|BER OF HOURS YOU WISH TO SPAN FOR
| THE JOB. SHOWS TRIGGERED JOBS.
|
FQJOB,TO=(MMDDYY,HHMM), |FORECASTS SCHEDULE JOB AND IT'S
JOB=JOBNAME,TRIG=JD |TRIGGERED JOBS.
|
FSTRUC,JOB=JOBNAME,SCHID=NNN |USED TO TRACK A JOBSTREAM FLOW.
|SCHID=NNN WHERE NNN IS THE NUMBER
|OF THE SCHEDULED ID. THIS WILL
|LIST ALL JOBS TRIGGERED IN THAT
|JOBSTREAM. TO UNDERSTAND THE ORDER
|OF THE FLOW, CHECK THE LEVEL NUM-
|BERS AND THE TRIGGERING JOBS.
|
FRJOB,JOB=JOBNAME,SCHID=NNN |REVERSE FORECAST. USED TO TRACK A
|JOBSTREAM FLOW BACKWARDS.
|SCHID=NNN WHERE NNN IS THE NUMBER
|OF THE SCHEDULED ID. THIS WILL
|LIST JOBS IN THAT JOBSTREAM FROM
|THE JOB SPECIFIED BACK TO THE
|ORIGINAL SCHEDULED JOB. CAN BRING
|IN MULTIPLE JOBSTREAMS FOR A SCHID.
|
LCTLG,DSN=DATASET NAME |LISTS THE GENERATIONS, VOLSERS,
|DATES AND TIMES FOR A CATALOGED
|DATA SET.
|
CAT,DSN=DSNAME,VOL=XXXX,UNIT=XXX |CATALOG DSN. USE VOLSER AND UNIT.
|
UNC,DSN=DSNAME,VOL=XXXXXX, |UNCATALOG A DATA SET, SPECIFY DSN
UNIT=XXXX |VOLSER & UNIT. WON'T DELETE DSN.
|
/SHUTDOWN,Z1 |SHUTDOWN CA-7 NETWORK WITH A FAST
|SHUTDOWN. LOGS ALL USERS OFF FIRST
|USED ONLY ON CA-7 MASTER TERMINAL.
|
NXTCYC,JOB=JOBNAME,SET=OFF |STOPS ALL SCHEDULED RUNS OF THIS
|JOB UNTIL SET=ON IS SPECIFIED.
|
NXTCYC,JOB=JOBNAME,SET=ON |STARTS SCHEDULED RUNS OF JOB AGAIN
|
NXTCYC,JOB=JOBNAME,SET=SKP |SKIPS THE NEXT SCHEDULED RUN OF JOB
|
JOBCONN, USR, JOB=XXXXXXX |WHERE XXXXXXX IS THE JOBNAME. THIS
|COMMAND WILL ALLOW YOU TO ADD A
|USR REQUIREMENT BEFORE THE JOB IS
|IN THE REQUEST QUEUE.
|
JOBCONN,JDEP,JOB=XXXXXXX |WHERE XXXXXXX IS THE JOBNAME. THIS
|COMMAND WILL ALLOW YOU TO ADD A
|JOB DEPENDENCY ON A JOB BEFORE THE JOB
|IS IN THE REQUEST QUEUE.
|
HOLD,JOB=jobname |HOLDS A SINGLE JOB CURRENTLY IN
|THE REQUEST QUEUE.
|
HOLD,Q=REQ |HOLDS ALL JOBS CURRENTLY IN THE
|REQUEST QUEUE. IF NEW JOBS COME
|INTO THE QUEUE IT DOESN'T HOLD THEM.
|
SCHDMOD |THIS COMMAND WILL SHOW YOU IF THE
|SCHEDULED JOB IS SCHEDULED. A '1'
|MEANS IT WILL RUN AND A '0' MEANS
|IT WON'T RUN.
|
LSCHD,JOB=XXXXXXXX,LIST=CALS |THIS COMMAND WILL SHOW YOU THE
|SCHEDULE FOR A JOB AND IT'S
|CALENDARS. IT WILL SHOW IF A JOB
|IS SCHEDULED, TRIGGERED OR TRIGGERS
|OTHER JOBS.
|
LSCHD,JOB=XXXXXXXX,LIST=SIDxxx |THIS COMMAND WILL SHOW YOU A
(Where xxx is the schid) |PARTICULAR SCHID AND IT'S CALENDAR
|FOR A JOB. IT WILL SHOW IF THAT
|SCHID TRIGGERS OTHER JOBS.
|
LSCHD,JOB=*,SCAL=XX |THIS COMMAND WILL SHOW YOU WHICH
(Where xx is the last 2 |JOBS USE A PARTICULAR CALENDAR.
characters of a calendar name) |
|
/DISPLAY,ST=KEY |DISPLAYS YOUR PFKEY SETTINGS
|
/DISPLAY,ST=JCL |DISPLAYS THE LIBRARIES WHERE ALL
|THE DIFFERENT JCL RESIDES.
|
LOADH,JOB=JOBNAME,SCHID=XXX, |LOADS NEW JCL ONTO THE CA7 DATABASE
SET=NTR |BUT DOES NOT EXECUTE THE JOB.
|
RUNH,JOB=JOBNAME,SCHID=XXX |RUNS THE JOB WITHOUT UPDATING THE
|LPRRN.
|
LLOCK,JOB=* |SHOWS ALL JOBS THAT ARE LOCKED FOR
|WHATEVER REASON. JOBS CAN BE LOCKED
|BY SETTING THE NEXT CYCLE TO OFF, OR
|A JOB MAY BE SET TO SKIP THE NEXT RUN.
|
SCHD,DTRG |BRINGS UP A MENU WHERE YOU CAN SETUP
|DATASET TRIGGERING.
|
SCHD,JTRG |BRINGS UP A MENU WHERE YOU CAN SETUP
|JOB TRIGGERING.

LIST
LACT
LRDY
LREQ
LQ
XQM,JOB=<Jobname>
LRLOG,JOB=<Jobname>
LPRRN,JOB=<Jobname>
CANCEL,JOB=<Job
name>,FORCE=YES,
REASON=’ ‘
DEMANDH,JOB=<Jobname>,SCHID
=nnn
REQUEUE,JOB=<Jobname>,Q=RDY
/ACT
/DISPLAY,ST=JCL
/DISPLAY,CPU=ALL
LJCL,JOB=<Jobname>
LJOB,JOB=<Jobname>,LIST=ALL

LJOB,JOB=<Jobname>,LIST=TRIG
LJOB,JOB=<Jobname>,LIST=DEPJ
JOB,<Jobname>
LSCHD,JOB=<Jobname>,LIST=CAL
S
FRQJOB,JOB=<Jobname>
FSTRUC,JOB=<Jobname>
/ASSIGN,CPU=<CPU
Name>,BARR=nnn
JOBCONN,USR
ADDRQ,JOB=<Jobname>,DEPJ=<Jo
bname>
ADDRQ,JOB=<Jobname>,USR=<co
mments>
Uses of database maintenance panels

To define jobs, networks, data sets, and predecessors;


schedule jobs and networks; add documentation to the CA-7 database; maintain JCL; and
access and clear the CA-7 text editor.
To display the Database Maintenance Menu, type
DB on any CA-7 panel.

DB.1
DB.2
DB.2.1
DB.2.1-E
DB.2.2
DB.2.2-E
DB.2.3
DB.2.3-E
DB.2.4
DB.2.5
DB.2.6
DB.2.7
DB.2.8
DB.3
DB.3.1
DB.3.2
DB.3.4
DB.3.6
DB.3.7
DB.4
DB.4.1
DB.4.2
DB.4.3
DB.4.4
DB.4.5
DB.4.6
DB.5
DB.6
DB.7
CA7 Command lists.
|LISTS ALL JOBS IN CA-7'S QUEUES AND
|WILL TELL WHICH QUE EACH JOB IS IN.
|
|WILL TELL YOU WHICH QUE A JOB IS IN
|
QMT |WILL LIST THE REQUIREMENTS THE JOB
|IS WAITING ON.
|
|WILL SHOW IF THE JCL CAME FROM THE
|OVERRIDE LIBRARY. WILL SHOW LAST
|STEP EXECUTED IF THE JOB IS ACTIVE.
|
CL |WILL LIST THE JCL LOADED FOR THE
|JOB FOR THIS RUN ONLY.
|
|LISTS JOBS THAT ARE LATE IN ALL
|QUEUES.
|
|LISTS ABENDED JOBS WHICH HAVEN'T
|BEEN REQUED AND LISTS ABEND CODE.
|
|LISTS ALL JOBS IN THE REQUEST QUE
|WAITING ON REQUIREMENTS TO BE MET.
|
|USED TO EDIT A JOB, POST A REQUIRE-
|MENT, RESTART A JOB, PUT A HOLD ON
|A JOB, RELEASE A JOB, CANCEL A JOB,
|OR FORCE COMPLETE A JOB.
|
ALL |IF JOB HAS ABENDED BECAUSE THE
|RQMTS WERE POSTED AND YOU WANT TO
|PUT THE RQMTS BACK ON IT, USE THIS
|COMMAND THEN PUT A 'U' TO UNPOST
|THE RQMTS.
|
|LISTS ACTIVE JOBS.
|
|LISTS ACTIVE JOBS,CLASS & RESOURCES
|
|LISTS ALL ACTIVE JOBS AND LAST STEP
|EXECUTED.
|
|LISTS ALL JOBS IN RDY QUE WAITING
|ON RESOURCES SUCH AS A TAPE DRIVE,
|INITIATOR OR HIGHER PRIORITY JOBS.
|ALSO LISTS WHETHER A JOB IS LATE.
|
|LISTS ALL JOBS IN RDY QUE. LISTS
|PRIORITY AND TAPE DRIVES NEEDED FOR
|EACH JOB.
|
|EXPLAINS WHAT RESOURCES JOB IS WAIT
|ING ON: TAPE DRIVES, CLASS BARRIER.
|
|THIS SCREEN SHOWS THE CLASS, TAPE
|DRIVES NEEDED AND PRIORITY OF A
|JOB. CAN BE UPDATED TO MOVE A JOB
|THRU THE RDY QUE TO THE ACT QUE
|FASTER BY INCREASING THE PRIORITY
|AND DECREASING THE TAPE DRIVES.
|
|WORKLOAD BALANCING SHOWS TOTAL JOBS
|ACTIVE, TOTAL INITIATORS AVAILABLE,
|TOTAL MAX TAPE DRIVES ALLOWED, AND
|NUMBER OF INITIATORS OPEN PER CLASS
|
US |LISTS ALL THE JOBS IN REQUEST QUE,
|ACTIVE QUE, READY QUE AND ABENDED
|JOBS WITH THEIR ABEND CODES. LISTS
|ALL REQUIREMENTS NOT YET MET.
|
|LISTS ALL STEPS IN AN ABENDED JOB
|AND FLAGS THE ABENDED STEP.
|
|SHOWS THE AVERAGE RUN TIME OF A JOB
|BY AVERAGING THE LAST 6 RUNS. LISTS
|CPU TIME AND CLOCK TIME IN HHMM AND
|LAST RUN DATE AND TIME.
|
=RQMT |LISTS ALL REQUIREMENTS THAT NEED TO
|BE MET: DSN, USR, JOB. A / IN FRONT
|OF A JOB MEANS IT CAN'T RUN WITH AT
|THE SAME TIME AS THIS JOB. THIS IS
|CALLED A NEGATIVE DEPENDANCY.
|
=DEPJ |LISTS ALL JOBS DEPENDANT ON THIS
|JOB AND ALL JOBS YOUR JOB IS DEPEND
|ANT ON. CHECK THIS BEFORE CANCELING
|OR FORCE COMPLETING A JOB.
|
=TRIG |LISTS ALL JOBS TRIGGERED BY THIS
|JOB AND ALL JOBS THAT TRIGGER THIS
|JOB. CHECK THIS BEFORE CANCELING OR
|FORCE COMPLETING A JOB.
|
=ALL |LISTS ALL INFORMATION ON THIS JOB:
|SCHEDULING, RESTART PROCEDURES,
|DATA SETS, AND ALL REQUIREMENTS.
|
=NODD |LISTS ALL INFORMATION ON THIS JOB
|EXCEPT FOR DD STATEMENTS.
|
|
C |THESE ARE EXAMPLES OF FIELDS FROM
Y |THE "JOB" SCREEN. WILL LIST THESE
|FIELDS AND WHATEVER YOU SPECIFY
|FOR THE PARAMETER.
|
|
|LISTS ALL RESTART INFORMATION FOR
|THIS JOB.
|
|LISTS THE PRODUCTION JCL FOR JOB.
|
|LISTS THE LAST SUCCESSFULL RUN OF
|THE JOB. LISTS START AND END TIMES
|DATE AND HIGHEST COND CODE.
|
T=Q |LISTS THE LAST SUCCESSFULL RUN OF
|THE JOB. LISTS START AND END TIMES
|DATE AND HIGHEST COND CODE. ALSO
|SHOWS IF JOB RAN FROM OVERRIDE
|LIBRARY.
|
|LISTS A JOB FOR THAT JULIAN DATE
|TO SEE IF IT RAN, WAS CANCELED OR
|ABENDED.
|
IAN DATE |LISTS ALL JOBS FOR THAT JULIAN
|DATE TO SEE IF THEY RAN, OR WERE
|CANCELED, OR ABENDED.
|
TR,DATE=* |LISTS JOBS THAT ABENDED IN LAST 5
|DAYS.
|
,DATE=* |LISTS JOBS CANCELED IN LAST 5 DAYS
|
,LIST=USERS |LISTS ALL JOBS USING THIS DATA SET
|AND THE DISPOSITION FOR EACH JOB.
|JOB WITH NEW DISP CREATES THE DSN.
|
|SHOWS THE NEXT SCHEDULE SCAN OF
|CA-7. SHOWS THE NEXT WAKE UP TIME.
|
IME=HHMM |TO CHANGE THE SUBMIT TIME FOR A
|JOB ALREADY IN THE REQUEST QUE.
|MUST USE MILITARY TIME IN HOURS
|AND MINUTES. USE THE JOB NUMBER.
|
JOB=JOBNAME |USED TO ADD A JOB DEPENDANCY TO
|YOUR JOB. WHEN THE DEPJOB ENDS
|RUNNING SUCCESSFULLY, THEN YOUR
|JOB WILL BECOME ACTIVE.
|
=COMMENTS |TO ADD A COMMENTS DEPENDANCY TO
|YOUR JOB SUCH AS 'HOLD FOR PGMR
|TO LOOK AT IN THE MORNING'. MUST
|BE POSTED BEFORE YOUR JOB WILL RUN
REASON=XXX |TO CANCEL AN ABENDED JOB AND STOP
|THE TRIGGERING OF SUBSEQUENT JOBS.
|ALSO USED FOR A SKELETON JCL.
|
HID=XXX |PUTS A JOB IN THE CA-7 REQ QUE.
|IF THERE ARE NO REQUIREMENTS TO
|BE POSTED, JOB WILL AUTOMATICALLY
|BECOME ACTIVE.
|
CHID=XXX |DEMANDS A JOB INTO THE CA-7 AND
|PUTS IT IN THE REQUEST QUE. USED
|TO EDIT A JOB. WILL NEED TO POST
|THE HOLD REQUIREMENT BEFORE JOB
|WILL BECOME ACTIVE. RECOMMENDED.
|
ET=NTR, |DEMANDS A JOB INTO CA-7 AND TELLS
|CA-7 NOT TO TRIGGER SUBSEQUENT
|JOBS WHEN THIS JOB ENDS.
|
ET=SKP, |DEMANDS A JOB INTO CA-7 AND TELLS
|CA-7 TO SKIP THE NEXT SCHEDULED
|RUN OF THIS JOB.
|
YPE=RES, |DEMANDS A JOB INTO CA-7 AND TELLS
|CA-7 THIS IS A RESTART OF THE JOB.
|RMS IS RESET TO BRING IN ALL DSN
|GENERATIONS OF THE LAST RUN.
|
IME=HHMM, |DEMANDS A JOB INTO CA-7 WITH A
|TIME REQUIREMENT. USE MILITARY
|TIME, HOURS AND MINUTES.
|
NAME |TO REMOVE A JOB FROM THE RDY QUE
|AND PUT IT BACK IN THE REQUEST Q.
|
NAME |TO REMOVE A JOB FROM THE ACT QUE
|AND PUT IT BACK IN THE REQUEST Q.
|USED WHEN SYSTEM CRASHES!!!!!
|
M), |TO FORECAST WHEN A JOB IS SCHEDUL-
JOBNAME |ED TO RUN. USE MONTH DAY YEAR FOR
|MMDDYY & HOURS & MINUTES FOR HHMM.
|
M), |TO FORECAST WHEN A JOB IS SCHEDUL-
XXXX* |ED TO RUN. USE MONTH DAY YEAR FOR
|MMDDYY AND HOURS AND MINUTES FOR
|HHMM. JOB=XXXX* WILL SHOW ALL JOBS
|THAT BEGIN WITH THE FIRST FOUR
|LETTERS OF THAT JOB.
|
M),SPAN=HH, |TO FORECAST WHEN A JOB IS SCHEDUL-
|ED TO RUN. USE MONTH DAY YEAR FOR
|MMDDYY AND HOURS AND MINUTES FOR
|HHMM. SPAN=HH WHERE HH IS THE NUM-
|BER OF HOURS YOU WISH TO SPAN FOR
| THE JOB. SHOWS TRIGGERED JOBS.
|
), |FORECASTS SCHEDULE JOB AND IT'S
|TRIGGERED JOBS.
|
HID=NNN |USED TO TRACK A JOBSTREAM FLOW.
|SCHID=NNN WHERE NNN IS THE NUMBER
|OF THE SCHEDULED ID. THIS WILL
|LIST ALL JOBS TRIGGERED IN THAT
|JOBSTREAM. TO UNDERSTAND THE ORDER
|OF THE FLOW, CHECK THE LEVEL NUM-
|BERS AND THE TRIGGERING JOBS.
|
ID=NNN |REVERSE FORECAST. USED TO TRACK A
|JOBSTREAM FLOW BACKWARDS.
|SCHID=NNN WHERE NNN IS THE NUMBER
|OF THE SCHEDULED ID. THIS WILL
|LIST JOBS IN THAT JOBSTREAM FROM
|THE JOB SPECIFIED BACK TO THE
|ORIGINAL SCHEDULED JOB. CAN BRING
|IN MULTIPLE JOBSTREAMS FOR A SCHID.
|
E |LISTS THE GENERATIONS, VOLSERS,
|DATES AND TIMES FOR A CATALOGED
|DATA SET.
|
XX,UNIT=XXX |CATALOG DSN. USE VOLSER AND UNIT.
|
XXXX, |UNCATALOG A DATA SET, SPECIFY DSN
|VOLSER & UNIT. WON'T DELETE DSN.
|
|SHUTDOWN CA-7 NETWORK WITH A FAST
|SHUTDOWN. LOGS ALL USERS OFF FIRST
|USED ONLY ON CA-7 MASTER TERMINAL.
|
T=OFF |STOPS ALL SCHEDULED RUNS OF THIS
|JOB UNTIL SET=ON IS SPECIFIED.
|
T=ON |STARTS SCHEDULED RUNS OF JOB AGAIN
|
T=SKP |SKIPS THE NEXT SCHEDULED RUN OF JOB
|
XXXX |WHERE XXXXXXX IS THE JOBNAME. THIS
|COMMAND WILL ALLOW YOU TO ADD A
|USR REQUIREMENT BEFORE THE JOB IS
|IN THE REQUEST QUEUE.
|
XXX |WHERE XXXXXXX IS THE JOBNAME. THIS
|COMMAND WILL ALLOW YOU TO ADD A
|JOB DEPENDENCY ON A JOB BEFORE THE JOB
|IS IN THE REQUEST QUEUE.
|
|HOLDS A SINGLE JOB CURRENTLY IN
|THE REQUEST QUEUE.
|
|HOLDS ALL JOBS CURRENTLY IN THE
|REQUEST QUEUE. IF NEW JOBS COME
|INTO THE QUEUE IT DOESN'T HOLD THEM.
|
|THIS COMMAND WILL SHOW YOU IF THE
|SCHEDULED JOB IS SCHEDULED. A '1'
|MEANS IT WILL RUN AND A '0' MEANS
|IT WON'T RUN.
|
ST=CALS |THIS COMMAND WILL SHOW YOU THE
|SCHEDULE FOR A JOB AND IT'S
|CALENDARS. IT WILL SHOW IF A JOB
|IS SCHEDULED, TRIGGERED OR TRIGGERS
|OTHER JOBS.
|
ST=SIDxxx |THIS COMMAND WILL SHOW YOU A
id) |PARTICULAR SCHID AND IT'S CALENDAR
|FOR A JOB. IT WILL SHOW IF THAT
|SCHID TRIGGERS OTHER JOBS.
|
|THIS COMMAND WILL SHOW YOU WHICH
2 |JOBS USE A PARTICULAR CALENDAR.
ndar name) |
|
|DISPLAYS YOUR PFKEY SETTINGS
|
|DISPLAYS THE LIBRARIES WHERE ALL
|THE DIFFERENT JCL RESIDES.
|
D=XXX, |LOADS NEW JCL ONTO THE CA7 DATABASE
|BUT DOES NOT EXECUTE THE JOB.
|
=XXX |RUNS THE JOB WITHOUT UPDATING THE
|LPRRN.
|
|SHOWS ALL JOBS THAT ARE LOCKED FOR
|WHATEVER REASON. JOBS CAN BE LOCKED
|BY SETTING THE NEXT CYCLE TO OFF, OR
|A JOB MAY BE SET TO SKIP THE NEXT RUN.
|
|BRINGS UP A MENU WHERE YOU CAN SETUP
|DATASET TRIGGERING.
|
|BRINGS UP A MENU WHERE YOU CAN SETUP
|JOB TRIGGERING.

To List the jobs that are in abend status


To List the jobs that are in Active queue
To List the jobs that are in Ready Queue
To List the jobs that are in Request queue
To List the jobs that are in Active, ready & Request Queue
To Display the job along with its requirements
To Display the log of a job
To Display the Last Run of a job
To Cancel a job in the queue[FORCE=YES is to clear the CMT]

To Demand a job to run in CA-7

To Requeue a job that struck up in Ready Queue / Active Queue

To List the JCL Libraries & their associated ID’s


To view the Barriers assigned to a system
To List the JCL of a job
To List the Information of a job like Step & DD information, requirements and network connections etc.,

To List all the jobs triggered by this job and all jobs that triggers this job
To List all the jobs dependant on this job and all jobs this job is dependant on.
To Check whether the job is a production / user job
To Display the schedule for a job & its calendars. It will show if a job is scheduled, triggered or triggers
other jobs.
To List the reverse job flow structure of a job.
To List the forward job flow structure of a job
To assign the barriers for a system

To add a requirement for a job before it enters into the queue


To add an internal job requirement for a job which is in the queue

To add a User requirement for a job which is in the queue


obs, networks, data sets, and predecessors;
add documentation to the CA-7 database; maintain JCL; and

the Database Maintenance Menu, type

DB Database Maintenance Menu


DB.1 CPU Job Definition
DB.2 Scheduling Menu
DB.2.1 CPU Job Scheduling
DB.2.1-E CPU Job Scheduling Parameter Edit
DB.2.2 Input Network Scheduling
DB.2.2-E Input Network Scheduling Parameter Edit
DB.2.3 Output Network Scheduling
DB.2.3-E Output Network Scheduling Parameter Edit
DB.2.4 Job Triggering
DB.2.5 Input Network Triggering
DB.2.6 Data Set Triggering
DB.2.7 Modification to Resolved Schedule Dates
DB.2.8 Base Calendar Maintenance
DB.3 Job Predecessor/Successor Menu
DB.3.1 Data Set Predecessors
DB.3.2 CPU Job Predecessors
DB.3.4 Input/Output Network Tasks
DB.3.6 User Memo-Form Predecessors
DB.3.7 Report IDs Created
DB.4 Workload Documentation Menu
DB.4.1 CPU Job Documentation
DB.4.2 Input/Output Network Documentation
DB.4.3 User-Defined Item Documentation
DB.4.4 Dataset Documentation
DB.4.5 DD Statement Documentation
DB.4.6 Application System Documentation
DB.5 Input/Output Network Definition
DB.6 Data Set Definition
DB.7 JCL Library Maintenance
FOCAL POINT COMMANDS
COMMANDS
NRSxx DISPSTAT <Region name>
NRSxx DISPINFO <Region name>
NRSxx TAKEDWN <Region name>
NRSxx STARTR <Region name>
NRSxx CYCLE <Region name>
NRSxx MVS C <Region name>
NRSxx SETSTATE <Region name> AUTODOWN
NRSxx SETSTATE <Region name> CTLDOWN
NRSxx MVS D U,,,<Drive name>,1
NRSxx MVS D U,,ALLOC,<Drive name>,1
NRSxx MVS D M=DEV(Drive name)
NRSxx MVS D R,R
NRSxx MVS D A,L
NRSxx MVS D GRS,C
NRSxx MVS V <Drive name>,ONLINE
NRSxx MVS V <Drive name>,OFFLINE
NRSxx MVS CANCEL <Job name>
NRSxx MVS C U=<Userid>
NRSxx MVS FORCE <Job name>

NRSxx MVS $DJ<Jobname>


NRSxx MVS $DST<Started task id>
NRSxx MVS $DTS< id>
NRSxx MVS <Hook no>,reply
NRSxx CHKDEV

NRSxx CHKCPU
NRSxx LODDEV

NRSxx LODCPU
NRSxx LODCHP
NRSxx CHKCHP
FUNCTION
To get the current status of the region

To bring down a region


To bring up a region
To recycle a region
To cancel out a region
To restart a region which is in broken state
To acknowledge a region when it appears red in SDF panel
To Display the current status of the drive
To Display the jobs allocated to the drive
To Display the paths of a Drive
To Display the outstanding replies
To Display the active jobs, started tasks, TSO users
To Display the system contention
To vary the drive online
To vary the drive offline
To cancel a job
To cancel a TSO User id
To force a job. All cancel options should be attempted prior to issuing a
force command
To Display the jobname by using its id
To Display the started task using its id
To Display the User id using its job id
To reply for the hook messages
Compare DASD against last snap shot – Show any newly online or
offline devices
Compare CPU against last snap shot
Take snap shot of current DASD config – done after changing the
environment (online/offline)
Take snap shot of current CPU config
Take snap shot for current Channel config
Compare Channels against last snap shot
MVS COMMANDS

To display Active -Started Task,Tso Users,jobs including time sharing.


To display all the active jobs with address ids and other information
To display the system requests
To list the details of pending action messages
To display the usage of Auxiliary storage manager
To display console status information
To display a particular device
To see the master console in sysplex environment
To display console
To check contention
To clear the console buffer
To clear the buffer of different console from master console
To display console buffer
To display the console details
To know the IP of the system
To display active tape
To display the SMF usage
To display the SMF status
To display control command functions
To display the TIME
To display the users logged on to the system
To display system activity
To display the commands defined for PFK keys
To display local time and GMT time and date
To make a channel path online
To make a channel path offline
To make a device online
To make a device offline
To display the status the DASD volumes
To display the status of the tape volumes
To display the status of the allocated resources
To display the all the DASD volumes in including offline volumes
To check the status of the console
To display the current cross coupling facility or sysplex
To change the console specification
To take system / user dump
To send a message to all users logging on to the system
To send a message to a particular user
To list the logon messages
To delete a logon messages
To activate the master console
To activate all the defined consoles
To force a user job
To cancel a user
To force a user
To make a chip online
To make a chip offline
To display a particular chip
To clear a dump data set
To add a dump data set
To deleted a dump data set
To halt the MVS and SMF
To modify the maximum number of users logging on to system
To modify the catalog list
To change the system timing dynamically (some conditions apply)
To reset the performance of the job currently running
To refresh Library look aside
To activate system log
To display the text and message identification no of all outstanding msgs
To unload a tape or cart from its drive
To reconfigure the real storage
To alter the WTO / WTOR message buffer
To assign PFK keys to console
To display the processor status
To check the real storage status
To check the installed resources
To modify the criteria for external writer
To delete a page data set from paging activity
To drain a page data set
To bring down any device unconditionally
To display the current IPL information
Status of dump data sets
Clear all dump data sets
displaying the titles of the dumps
To clear a single dump data set
To clear multiple data sets

To list all the Library used in Tapes


To chk which library
DFHSM Command

F DFHSM,STOP To stop DFHSM or


p DFHSM
F DFHSM,q wait

Procedure we follow when device is in BOXED status

v path(deviceno,chpid),online
v deviceno,online,uncond

VPS PRINTER COMMANDS

Printer stop and activate procedure

To display the printer status


To stop the printer
To start the printer
To activate
To initatior Display Queue
MVS COMMANDS

D A,L
D A,ALL
D R,L" or D R,ALL
D R,R
D ASM"
DC
D M=DEV(device name)
DCM
DC
D GRS,C
KQ
K Q,L=id
D C,B
D C,CA
D TCPIP,,NETSTAT,HOME
D U,TAPE,ONLINE
D SMF"
SMF,S"
D C,K
DT
D TS,L
D J,L
D PFK"
DT
V PATH(ddd,cc),ONLINE"
V PATH(ddd,cc),OFFLINE"
V device number,ONLINE"
V device number,OFFLINE"
D U,DASD,ONLINE,,number of devices to be displayed"
D U,TAPE,ONLINE,,number of tapes to be displayed"
D U,ALLOC,,number of devices to be displayed"
D U,DASD,,,number of devices to be displayed"
DC
D XCF
KS
DUMP COMM=(text)
SE 'message
SE 'message',USER=(user id)
SE LIST
SE message id,DELETE
V device number of the master console,ACTIVATE"
V CN(*),ACTIVATE
FORCE jobname" or FORCE jobname,A=Address id"
C U=user id or "C U=user id,A=address id"
FORCE U=user id or FORCE U=user id,A=address id"
CF CHP(cc),ONLINE"
CF CHP(cc),OFFLINE"
D M=CHP(chip id)
DD CLEAR,DSN=ALL
DD ADD,DSN=number of SYS1.DUMP data set required"
DD DEL,DSN=number of SYS1.DUMP data set required"
Z EOD"
F TSO,USERMAX=required number"
F CATALOG,LIST"
T CLOCK=hh.mm.ss
E jobname,PERFORM=performance number
F LLA,REFRESH
V SYSLOG,HARDCOPY,ROUT=ALL
D R,I
U drive name"
CF STOR(xxxxx-xxxxx),ONLINE / OFFLINE
K M,MLIM=the specified limit,RLIM=the specified limit"
K N,PFK=(key number,CMD='command'),CON=Y"
D M=CPU(processor)
D M=STOR
D M=SIDE(ID)
F proc name,IDENTIFIER,DEST/CLASS/JOBID/FORMS"
PD DELETE,page data set
PD DRAIN,page data set
V device name,OFFLINE,UNCOND"
D IPLINFO
D DUMP
DD CLEAR,DSN=ALL
DISPLAY DUMP,TITLE
DUMPDS CLEAR,DSN=nn
DD CLEAR,DSN=(nn,nn)
DD CLEAR,DSN=ALL

D SMS,LIB(ALL),DETAIL
LI DD,Lib or device name

F VPS,DIS,Rmt2
F VPS,STO, RMT2
F VPS,STA, RMT2
F VPS,ACT,RMT2
INIT and ctrl
IPL DOWN

No action from Ops

Brought Down by Ops

S JOB,N=CICSDOWN
(only during IPL)

Brought down by Ops

P regionname
Brought down by Ops

P regionname

Brought Down by Ops,


by issuing
SHUTCICS ALL
No action from Ops

These two regions are


decommissioned as per
change ticket CM54313

No action from Ops

Brought down by
Ops,by issuing
SHUTPROD &
SHUTTEST
Brought down by
Ops,by issuing
SHUTPROD &
SHUTTEST

No action from Ops

No action from Ops

No action from Ops

Ops brings down the


regions manually
Ops brings down the
regions manually

Brought Down by Ops


by issuing SHUTCICS
ALL

No action from Ops


IPL UP Start/Stop by jobs or commands

By commands
Brought up by Ops,by
comnads given in IPL doc. P regionname
S regionname

By Jobs/commands
Prodmon
P regionname
S regionname

By jobs,when the job fails manual commands


are used.
Brought up by Ops by giving
STARTONLS
P regionname
S regionname
By jobs,when the job fails manual commands
are used.
Brought up by Ops by giving
STARTONLS
P regionname
S regionname

By command

(SHUTCICS
Automation brings up the
(To bring all cics at once)
regions
P regionname
S regionname
No actions from Ops By Jobs

decommissioned decommissioned . No cics regions on Lime

By commands
Brought up by automation
P regionname
S regionname

Prodmon brings CICSPIMS down/up by


running non CA7 jobs, all other regions are
brought down by commands.
Prodmon starts them

P regionname
S regionname
Prodmon brings CICSPIMS down/up by
running non CA7 jobs, all other regions are
brought down by commands.
Prodmon starts them

P regionname
S regionname
Step 1 : Make sure the region is in ACTIVE
mode. If not, put it in ACTIVE mode with
below command
(STATESET regionname MODE(ACTIVE)

Step 2 :
Bring down command :
Brought up by automation
(STATESET regionname
By commands DESIRED(DOWN)
S CICSTART,REGNAME=region
we will get theStart up command
WTOR,we : reply for the
need to
(STATESET regionname
WTOR as DESIRED(UP)
No action from Ops 00xx,START=AUTO,.END
Note:
the do not
number issuethe
being S 'region' or P 'regions'
region reply on
number and
sable
the start same as that in the SIT table.

F regionname,CEMT P SHUT

By Commands
Brought up by automation
P regionname
S regionname

One stop regions are recycled by Ops manually,


CICS production regions are recycled by JOBS.
No action from Ops
P regionname
S regionname
One stop regions are recycled by Ops manually,
CICS production regions are recycled by JOBS.
No action from Ops
P regionname
S regionname

No action from Ops By commands

No action from Ops By Jobs


IPL DOWN

If up bring down
manually

No action from
Ops

Ops brings them


down

No action from
Ops

No action from
Ops

No action from
Ops
No action from
Ops

No action from
Ops

No action from
Ops

No action from Ops


IPL UP Start/Stop by jobs or commands
Brought Up by By jobs/commands
Ops
Brought up by P regionname
Automation S regionname

By Automation & Commands


Brought UP by
automation P regionname
S regionname

By jobs/commands
No action by Ops
prodmon starts
P regionname
them
S regionname

By jobs/commands
Started by
automation P regionname
S regionname

Started by ssm p,regionname ssm


automation s,regionname

By Jobs/commands
Started manually
by Ops after DB2 Need to rreply for the WTOR to bring
starts down the region.
To start issue - S regionname
By Jobs/commands
Step 1 : Make sure the region is in
Started manually
ACTIVE mode, if put it in ACTIVE
by Ops after DB2 Need to rreply for the WTOR to bring
mode with below command
starts down the region.
(STATESET regionname
To start issue - S regionname
MODE(ACTIVE)

Step 2 :
Bring down command :
Started by (STATESET regionname
automation DESIRED(DOWN)

Start up command :
(STATESET regionname
DESIRED(UP)

Note: do not issue S 'region' or P


'regions' on sable
By Jobs/commands

Started by Need to rreply for the WTOR to bring


automation down the region as,
nn,shutdown immed
To start issue - S CVSTART

By jobs
No action by Ops
prodmon starts
them
IMS REGIONS
IMS COMMANDS

/DIS A
/STA DB XXXX
/DIS OLDS
/DIS PGM XXX
/STA REG XXXX
/STA SUBSYS ALL
/RCL
S IMSVS,SYSTEM=P
GIONS

IPL UP Start/Stop by jobs or commands

No action from Ops By Automation and commands

No action from Ops By Automation and commands


Step 1 : Make sure the region is in
ACTIVE mode, if put it in ACTIVE mode
with below command
(STATESET regionname
MODE(ACTIVE)

Step 2 :
Bring down command :
No action from Ops (STATESET regionname
DESIRED(DOWN)
No action from Ops By Automation and commands
Start up command :
(STATESET regionname DESIRED(UP)

Note: do not issue S 'region' or P 'regions'


on sable
Display active tasks on IMS
Starts database
Display log files
Display programs
Start regions
Display DB2 connections
Logoff
Strat IMS
DB2 REGIONS
DB2 COMMANDS

@START DB2 Start DB2


@STOP DB2 STOP DB2
@DIS THD(*) Display threads
@DIS UTIL(*) Display utilities
@CANCEL THD( Cancel threads
@TERN UTIL(utiList threads

Mount Command:

M XXX,,VOL=(S
To mount a volume for use or USE=PRIVATE
GIONS

DB2 stop and start commands


Start/Stop by jobs or commands
DB2 Start
DSP2 - DSP2 START DB2
DSP3 - DSP3 START DB2
DST2 - DST2 START DB2
By commands DSI2 - DSI2 START DB2
DSD2 - DSD2 START DB2
DB2P - DB2P START DB2
DB2V -DB2V START DB2
DSP1 - DSP1 START DB2
By commands
DST1 - DST1 START DB2
D2PF - D2PF START DB2
D2PS - D2PS START DB2
By commands
DSN - DSN1 START DB2
DSNP - DSNP START DB2
DSNA -dsna start db2
DSNB -dsnb start db2
By commands DSNI -dsni start db2
Step 1 : Make sure the region is in DSNP -dsnp start db2
ACTIVE mode, if put it in DSNZ -dsnz start db2
ACTIVE mode with below
DB2P #start db2
Bycommand
commands
(STATESET regionname DB2D -start db2
MODE(ACTIVE) DB2P - DB2P START DB2
By commands
DB2T - DB2T START DB2
Step 2 :
DB2D - DB2D START DB2
Bring down command :
(STATESET regionname DB2P - DB2P START DB2
DESIRED(DOWN) DB2X - DB2X START DB2
Start DSNP - DSNP START DB2
Byup command :
commands
(STATESET regionname DSNT - DSNT START DB2
DESIRED(UP) DB2A - DB2A START DB2
Note: do By
not commands
issue S 'region' or P DB2I - DB2I START DB2
'regions' on sable
By commands
DB2B - DB2B START DB2

SE=PRIVATE
and start commands
Stop
- DSP2 STOP DB2
- DSP3 STOP DB2
- DST2 STOP DB2
- DSI2 STOP DB2
- DSD2 STOP DB2
- DB2P STOP DB2
- DB2V STOP DB2
- DSP1 STOP DB2
- DST1 STOP DB2
- D2PF STOP DB2
- D2PS STOP DB2
- DSN1 STOP DB2
- DSNP STOP DB2
-dsna stop db2
-dsnb stop db2
-dsni stop db2
-dsnp stop db2
-dsnz stop db2
#stop db2
-stop db2
- DB2P STOP DB2
- DB2T STOP DB2
- DB2D STOP DB2
- DB2P STOP DB2
- DB2X STOP DB2
- DSNP STOP DB2
- DSNT STOP DB2
- DB2A STOP DB2
- DB2I STOP DB2
- DB2B STOP DB2
CA7 TASKS
CA7ICOM should come UP first & CA7ONLN should come DOWN first

LPAR Region Start command


CA7ONLN S CA7ICOM
CA7ICOM S CA7ONLN
CA7ONL
CA7ICOM
CA7ONL S CA7ONL

UCC7 S UCC7
UCC7ICOM S UCC7ICOM
UCC7ONL S UCC7ONL

CA7

TO BRING DOWN:

P CA7ONLN
P CA7ICOM

To BRING UP:

S CA7ICOM
S CA7ONLN

Please read this note below which is useful for recycling Online and ICOM tasks in CA7
CA7ONLN has a formal prerequestite of CA7ICOM, and automation will not start CA7ONLN until CA7
Whenever you recycle CA7ONLN / CA7ICOM.. following should be the sequence.
Down Order
1/ P CA7ONLN
2/ P CA7ICOM
Up Order
3/ S CA7ICOM (ICOM should be started first, not ONLN)
4/ S CA7ONLN
Never try to start manually (out of automation) using the Start Command unless directed by autom
Always use SSMDISP
SSMDISP CA7ONLN
OPS3092H RESOURCE DESIRED CURRENT MODE MISSING
OPS3092H --NAME--- -STATE-- -STATE-- -------- -PREREQS-
OPS3092H CA7ONLN UP DOWN ACTIVE CA7ICOM
Please note the pre-requisite of that CA7ONLN which indicates ICOM should be up before CA7ONLN
S
OWN first

Stop command
P CA7ONLN
P CA7ICOM

P CA7ONL

P UCC7
P UCC7ONL
P UCC7ICOM

COM tasks in CA7


not start CA7ONLN until CA7ICOM is up.
and unless directed by automation group.

ould be up before CA7ONLN


Command Operand

(ssmchk
(ssmdisp
(ssmdisp Application

(ssmtask Application

(stateset Application
(STATESET task App Current(xxx)
name,current(Up/Down)

(STATESET task App Desired(xxx)


name,desire(Up/Down)
(STATESET task App Mode(xxx)
name,mode(Active/Pass
ive
(ssmbase
chkdev
chkcpu
chkchp
loddev
lodcpu
lodchp
asdump Job/stc
p Job/stc
s Job/stc
da vtam node
inact vtam node
inacti vtam node
inactf vtam node
act vtam node
act vtam node ALL
act vtam node U
omcsa
omcpu
ombatch Job/stc
omdasd
(ssmshut
(startsys
asdump regionname
Function

List applications whose current and desired states do not match


List all applications being monitored by Stateman
List the status of specific Stateman monitored applications
Example: (SSMDISP MQ will list the status of all MQ/Series tasks
List the Desired_State, Current_State, Mode, IPL_State, IPL_Prerequisite,
Start command and Stop command for the application
List the Desired_State, Current_State and Mode of the application.
Change the Current_State for App in the STCTBL (usually UP or Down)

Change the Desired_State for App in the STCTBL (usually UP or Down)

Change the Mode for App in the STCTBL (Active or Passive)

List jobs that are considered Base system jobs. (For shutdown or IPL)
Compare DASD against last snap shot – Show any newly online or offline devices
Compare CPU against last snap shot
Compare Channels against last snap shot
Take snap shot of current DASD config – done after changing the environment (online/offline)
Take snap shot of current CPU config
Take snap shot for current Channel config
Initiate address space dump of job/stc
Change the Desired_State of job/stc to DOWN for Stateman monitored resource
Change the Desired_State of job/stc to UP for Stateman monitored resource
D NET,ID=vtamnode,E
V NET,INACT,ID=vtamnode
V NET,INACT,I,ID=vtamnode
V NET,INACT,ID=vtamnode,F
V NET,ACT,ID=vtamnode
V NET,ACT,ID=vtamnode,SCOPE=ALL
V NET,ACT,ID=vtamnode,SCOPE=U
Display CSA ECSA SQA and ESQA (Taken from Omegamon)
Display Avg CPU%, Partition LCPD%, PCPD%, OVHD%, TCB%, SRB% and tasks/jobs using the most CPU (Tak
Display job details (CPU%, waits, etc..) (Taken from Omegamon)
Display DASD response and %busy by UCB and Volser
Initiate automated system shutdown
Bring system up from base
To take dump of various regions
JES COMMANDS

To start the initiators


To stop initiators
To halt initiators
To display the status of the initiators
To assign job classes to initiators
To display number of jobs and the % of spool disk usage
To cancel a JES2 job
To purge a JES2 job
To restart a JES2 job
To hold a JES2 job
To release a JES2 job
To list output information about a job
To change a jobs' execution class and priority
To display the status of JES2 controlled devices
To display all active jobs
To display the spool volume usage
To display the jobs that occupy more than 1 % of spool volume
To print a job using the JES2 command
To display job queue
To purge all the outputs in a particular class
To purge the outputs from a particular class that is five days old
To purge the held outputs that are some specified days old
To establish an automatic command
To cancel a particular automatic command
To purge all automatic commands
To start all automatic commands
To start a JES2 node
drain initiator 'X'
change initiator 'X' to class 'Y'
To cancel an executing job
To display the current usage and the limit Of CMDS
To start a local printer
To display a printer status
To halt a printer
To restart a printer
To interrupt a printer
To cancel a printer
To repeat a printer
To backspace a printer
To forward a printer
To start the JES2/VTAM interface
To stop the JES2/VTAM interface
To restart JES2/VTAM interface
To start the RJE lines
To stop the RJE lines
To restart the RJE lines
To change the spool warning percentage
modify priority for job number NNNN, 'YY' is the new priority (0-15)
modify job number NNNN execution class to Y
display's lines & remotes
to activate origin node name
to activate the JES2 SNA line
for destination
to reset a line

Spool Commands in JES


To Display Spool
to check as to what jobs are occupying spool more than n percent
To Purge n day's old job
To Purge the jobs for last 5 days

Shutting Down JES2

normal pausing of JES2


forcing JES2 to shutdown
$S I or "$S I(ii-ii)"
$P I
$Z I
$D I
$TI,classes
$D Q,ALL
$C job name $C’xxxx’ (For multiple instances)
$P jobname
$E job name
$H job name
$A job name
$L job name
$T job name,C=the new class,P=priority
$D U,ALL
$D A,ALL
$D SPL,ALL
$D SPL,JOBS=1
$TQ,jobnumber,ALL,Q=printer class,D=destination,P=priority
$dq
$PQ,Q=particular class name
$PQ,Q=output class,A=number of days to be retained
$OQ,Q=held output class,A=no of days,CANCEL
$TA,I=time in seconds,'$VS,''command'''
$CA,task number
$CA
$SA
$SN,A=jes2 node
$PIX
$TIX,Y
$cjxxxx or $c ‘jobname’
$JDDETAILS
$Sprinter name
$D printer name - $D U,PRT6
$Z printer name
$E printer name
$I printer name
$C printer name
$N printer name
$B printer name,number of pages
$F printer name,number of pages
$S LGN(*) or "$S LOGON(*)"
$P LGN(*) or "$P LOGON(*)"
$E LGN(*) or "$E LOGON(*)"
$S LINE(*) or "$S LNE(*)"
$P LINE(*) or "$P LNE(*)"
$E LINE(*) or "$E LNE(*)"
$T SPOOLDEF,TGWARN=percentage
$TJNNNN,P=YY
$TJNNNN,C=Y
$DU,LGN2
$S LGN1
$S LNEnn
$S N,LNEnn,A=destination-node-name
$E LNExx

$DSPL
$DJOBQ, SPOOL=(PERCENT>n)
$POJQ,ALL,DAYS>n
$pojobq,ready,all,a>5
$pojq,all,days>5

$PJES2
$PJES2,ABEND
MIM COMMANDS

To make the device globaly OFFLINE for mim* ,issue the below two commands

F MIMGTAF,VARY devno,NOTAVL,G
F MIMGTAF,VARY devno,OVER,G

G Fxxx,Fxxx G (OLD,NEW)

To make the device globaly online ,,issue the below two commands

F MIMGTAF,VARY devno,NOTOVER,G
F MIMGTAF,VARY devno,AVL,G

f mimgtaf,d,g,xxxx,1:-
F MIMGTAF,FREE xxxx
NE for mim* ,issue the below two commands

SWAP DRIVES

issue the below two commands

to check for a device(xxxx)status on all the console at a time.


To free the LPAR messages from plex
@D G,XXX,#
@V XXX,NOTAVL,L
VXXX,NOTAVL,G
v ---
@V XXX,AVL,G
@V XXX,OVER,L
@V XXX,OVER,G
@V XXX,NOTOVER,L
@V XXX,NOTOVER,G

Vary Commands:

V XXX,OFFLINE
V XXX,ONLINE

V PATH(XXX,0)ONLINE
V PATH(XXX,0)OFFLINE

CF CHP(xx),OFFLINE
CF CHP(xx),ONLINE -

V NET,RES,ID=xxxxxxx

V XCF,SYSTEM NAME,OFFLINE
V XCF,SYSTEM NAME,OFFLINE

V SYSTEM NAME, MSTCONS

VNET ID=LINE ID,ACT,ALL


VNET ID=LINE ID,INACT,F
TAPE COMMANDS

Display status of drives


Vary drive specified not available on local system,also offline to MVS
Vary drives not vailable on all LPARS
Vary drive specified available on local system,also online to MVS
Vary drive available on all LPARS
Resets device status to undefined on the local system
Resets device status to undefined on all LPARS
Resets device status to defined on the local system
Resets device status to defined on all LPARS

vary device XXX offline


vary device XXX online

vary path to device XXX (on channel set 0) online


vary path to device XXX on channel set 0 offline

vary channel path xx offline


vary channel path xx online

Release LU or PU

Take system out of the sysplex at IPL time or shutdown


To see the out of sysplex during IPL

To vary the master console

To activate the line


To inactivate the line
Z NET,QUICK/CANCEL
D NET,APPLS
D NET,CDRMS
D NET,LINES
DNET,ID=LINE ID
D NET,PENDING
D NET,TERMS
D NET,STATIONS
F REGIONNAME, CEMT I VTA
VTAM COMMANDS
Stop VTAM
Display applications
Display crossdomains
Display the status of lines

Display nodes which are in pending


Display device types and terminals
Display stations ascosiated with the VTAM Network
Displaying VTAM status
MATRIX COMMANDS

D M=CPU display CPU status


D M=CHP(x) display paths on channel x
D M=DEV display all paths to all devices
D M=STOR display storage

You might also like