all mainframe & ca7commands

35
 MVS COMMA 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 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

Upload: prakash-cool

Post on 09-Oct-2015

90 views

Category:

Documents


0 download

DESCRIPTION

jj

TRANSCRIPT

  • 5/19/2018 All Mainframe & CA7Commands

    1/35

    MVS COMMA

    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 bufferTo 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 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 consoleTo 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

  • 5/19/2018 All Mainframe & CA7Commands

    2/35

    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 onlineTo 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 writerTo 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

    DFHSM Command

    F DFHSM,STOP To stop DFHSM or

    p DFHSM

  • 5/19/2018 All Mainframe & CA7Commands

    3/35

    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

  • 5/19/2018 All Mainframe & CA7Commands

    4/35

    DS

    D A,L

    D A,ALL

    D R,L" or D R,ALL

    D R,R

    D ASM"

    D C

    D M=DEV(device name)

    DCM

    D C

    D GRS,C

    K QK Q,L=id

    D C,B

    D C,CA

    D TCPIP,,NETSTAT,HOME

    D U,TAPE,ONLINE

    D SMF"

    SMF,S"

    D C,K

    D TS,L

    D J,L

    D PFK"

    D T

    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"

    D CD XCF

    K S

    DUMP COMM=(text)

    SE 'message

    SE 'message',USER=(user id)

    SE LIST

    SE message id,DELETE

  • 5/19/2018 All Mainframe & CA7Commands

    5/35

    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

  • 5/19/2018 All Mainframe & CA7Commands

    6/35

    F VPS,DIS,Rmt2

    F VPS,STO, RMT2

    F VPS,STA, RMT2

    F VPS,ACT,RMT2

    INIT and ctrl

  • 5/19/2018 All Mainframe & CA7Commands

    7/35

    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 jobTo 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 classTo 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 jobTo 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

  • 5/19/2018 All Mainframe & CA7Commands

    8/35

    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 interfaceTo 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 destinationto 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 jobTo Purge the jobs for last 5 days

    Shutting Down JES2

    normal pausing of JES2forcing JES2 to shutdown

  • 5/19/2018 All Mainframe & CA7Commands

    9/35

  • 5/19/2018 All Mainframe & CA7Commands

    10/35

    $S I or "$S I(ii-ii)"

    $P I

    $Z I

    $D I

    $TI,classes

    $D Q,ALL

    $C job name $Cxxxx (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'''To display all automatic commands:$TA,ALL"

    $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

  • 5/19/2018 All Mainframe & CA7Commands

    11/35

    $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$D JOBQ, SPOOL=(PERCENT>n)

    $POJQ,ALL,DAYS>n

    $pojobq,ready,all,a>5

    $PJES2$PJES2,ABEND

  • 5/19/2018 All Mainframe & CA7Commands

    12/35

  • 5/19/2018 All Mainframe & CA7Commands

    13/35

  • 5/19/2018 All Mainframe & CA7Commands

    14/35

    Mannualy starting the CICS Region

    Acquiring connection

    Displaying Transactions

    Displaying Files

    Mannualy Shuting down the CICS region

  • 5/19/2018 All Mainframe & CA7Commands

    15/35

    CICS COMMANDS

    F REGIONNAME, CEMT I TAS -HERE I STANDS FOR INQUIRE AND T STANDS FOR TAS

    F REGIONNAME, CEMT P SHUT

    If the region has not come down after the above command , Please issue

    F REGIONNAME,CEMT PE SHUT I -this command will shutdown rgion immediately

    S CICSTART,REGIONNAME=CICSXX

    F REGIONNAME, CEMT S CONN (****) ACQ -this command will acquires the Connection to CICS

    F REGIONNAME, CEMT I TRAN -this command will display the transactions of CICS

    F REGIONNAME, CEMT I FI (*) -this command will displays all the files in the regions.

    F REGIONNAME,CEMT FI(****),OPN -this command lets you to open a file.

    F REGIONNAME,CEMT FIL(****),ENA -this needs to be done once the file is opened .

    F REGIONNAME,CEMT FI(****),CLO -this command lets you to close a file.

    F REGIONNAME,CEMT FIL(****),DIS -this command will disable and it will be needed once the file is

  • 5/19/2018 All Mainframe & CA7Commands

    16/35

    closed.

  • 5/19/2018 All Mainframe & CA7Commands

    17/35

    Command Operand

    (ssmchk

    (ssmdisp

    (stateset Application

    (stateset App Current(xxx)

    (stateset App Desired(xxx)

    (stateset App Mode(xxx)

    (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 nodeact vtam node

    act vtam node ALL

    act vtam node U

    omcsa

    omcpu

    ombatch Job/stc

    omdasd

    (ssmshut

    (startsysasdump regionname

    (ssmdisp Application

    (ssmtask Application

  • 5/19/2018 All Mainframe & CA7Commands

    18/35

    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 applicationsExample: (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,FV 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 (Take

    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 baseTo take dump of various regions

  • 5/19/2018 All Mainframe & CA7Commands

    19/35

    n from Omegamon)

  • 5/19/2018 All Mainframe & CA7Commands

    20/35

    MIM COMMANDS

    To make the device globaly OFFLINE for mim* ,i

    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 bel

    F MIMGTAF,VARY devno,NOTOVER,G

    F MIMGTAF,VARY devno,AVL,G

    f mimgtaf,d,g,xxxx,1:-

    F MIMGTAF,FREE xxxx

  • 5/19/2018 All Mainframe & CA7Commands

    21/35

    sue the below two commands

    SWAP DRIVES

    w two commands

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

    To free the LPAR messages from plex

  • 5/19/2018 All Mainframe & CA7Commands

    22/35

    @D G,XXX,#@V XXX,NOTAVL,L

    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

  • 5/19/2018 All Mainframe & CA7Commands

    23/35

    TAPE COMMANDS

    Display status of drivesVary 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

  • 5/19/2018 All Mainframe & CA7Commands

    24/35

    LPAR NAMES

    LPAR NAMES SHORT IDS

    AZURE GE1ABLUE SYSG

    CINNAMON GE1C

    DANDELION GETSMVS1

    ENGBLUE ESAB

    FUCHSIA PRODUCTION SYSTEM IMAGE IS THE ID

    GOLD AESA

    HEATHER EDC1

    IVORY SY3

    JADE TCFC

    LIME GEIL

    MAHOGANY GE1M

    NAVY SYSA

    PLUM LMC1

    SABLE SAB1

    SY5 SY5

    TEAL IPO1

    UMBER SIG

    VIOLET IPO1

    XANTH GE1X

    YMS YMS

    ZINC GE1Z

  • 5/19/2018 All Mainframe & CA7Commands

    25/35

    Color -Production SystemColor -Test System

    Color -Network System

    I

  • 5/19/2018 All Mainframe & CA7Commands

    26/35

    Websites: Important Links

    QMX

    http://d01db034.pok.ibm.com/q_dir/qmx/asd/qk7pl3.nsf/DocByA?OpenView

    onecontact:

    https://onecontact.ibm.com/pager/pager.pl

    HMC

    https://9.25.244.20/preloginmonitor/index.jsp

    User ID: geops

    Password:alphops

    Quick Ref

    http://www-03.ibm.com/systems/z/os/zos/bkserv/lookat/

    Oneview

    https://oneview.ibm.com/oneview-prod/oneview.pl?keywords=&after_login=1

    https://9.25.244.20/preloginmonitor/index.jsphttps://9.25.244.20/preloginmonitor/index.jsp
  • 5/19/2018 All Mainframe & CA7Commands

    27/35

    @START DB2@STOP DB2

    @DIS THD(*)

    @DIS UTIL(*)

    @CANCEL THD(threads)

    @TERN UTIL(util id)

    Mount Command:

    M XXX,,VOL=(SL,volser),USE=STORAGE

  • 5/19/2018 All Mainframe & CA7Commands

    28/35

    DB2 COMMANDS

    Start DB2STOP DB2

    Display threads

    Display utilities

    Cancel threads

    List threads

    To mount a volume for use or USE=PRIVATE

  • 5/19/2018 All Mainframe & CA7Commands

    29/35

    IMS COMMANDS

    /DIS A Display active tasks on IMS

    /STA DB XXXX Starts database

    /DIS OLDS Display log files

    /DIS PGM XXX Display programs

    /STA REG XXXX Start regions

    /STA SUBSYS ALL Display DB2 connections

    /RCL Logoff

    S IMSVS,SYSTEM=PROD/TEST,AUTO=Y/N Strat IMS

    IDMS COMMANDS

    SIGNON userID password To sign on IDMS

    BYE --- To signoff IDMS

    DCMT V ACT TASK TERM TASK NNN To terminate a hung task in IDMS

    DCMT DIS ACT TASKS To display the active tasks on IDMS

    DCMT D PRI To display the printer

  • 5/19/2018 All Mainframe & CA7Commands

    30/35

    MATRIX COMMANDS

    D M=CPU display CPU statusD M=CHP(x) display paths on channel x

    D M=DEV display all paths to all devices

    D M=STOR display storage

  • 5/19/2018 All Mainframe & CA7Commands

    31/35

    CA7

    TO BRING DOWN:

    P CA7ONLN

    P CA7ICOM

    To BRING UP:

    S CA7ICOM

    S CA7ONLN

  • 5/19/2018 All Mainframe & CA7Commands

    32/35

    Z NET,QUICK/CANCELD 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

  • 5/19/2018 All Mainframe & CA7Commands

    33/35

    VTAM COMMANDS

    Stop VTAMDisplay 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

  • 5/19/2018 All Mainframe & CA7Commands

    34/35

    FOCAL POINT COMMANDS

    COMMANDS

    NRSxx DISPSTAT

    NRSxx DISPINFO

    NRSxx TAKEDWN

    NRSxx STARTR

    NRSxx CYCLE

    NRSxx MVS C

    NRSxx SETSTATE AUTODOWN

    NRSxx SETSTATE CTLDOWN

    NRSxx MVS D U,,,,1

    NRSxx MVS D U,,ALLOC,,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 ,ONLINE

    NRSxx MVS V ,OFFLINE

    NRSxx MVS CANCEL

    NRSxx MVS C U=

    NRSxx MVS FORCE

    NRSxx MVS $DJ

    NRSxx MVS $DST

    NRSxx MVS $DTS< id>

    NRSxx MVS ,reply

    NRSxx CHKDEV

    NRSxx CHKCPU

    NRSxx LODDEV

    NRSxx LODCPU

    NRSxx LODCHP

    NRSxx CHKCHP

  • 5/19/2018 All Mainframe & CA7Commands

    35/35

    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 commandTo 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

    devicesCompare 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