Mvs commands
Upcoming SlideShare
Loading in...5
×
 

Mvs commands

on

  • 3,577 views

Maintec Technologies provides affordable access to latest Mainframe infrastructure for development, training, additional short term capacity increases and outsourcing needs. Leverage our Mainframe ...

Maintec Technologies provides affordable access to latest Mainframe infrastructure for development, training, additional short term capacity increases and outsourcing needs. Leverage our Mainframe infrastructure, without investing the time, expense and manpower it would take to build your own!.

Statistics

Views

Total Views
3,577
Views on SlideShare
3,572
Embed Views
5

Actions

Likes
1
Downloads
75
Comments
0

1 Embed 5

http://www.linkedin.com 5

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Mvs commands Mvs commands Document Transcript

    • MVS COMMANDSMVS System Software Control and most of the hardware installations like processors, I/ODevices and Channel paths involve set of tasks like starting, running and stopping MVSOperating System. Below listed are the syntax and respective functions of frequently usedMVS System Commands.Who Should Use:Below listed MVS System Commands are for System operators / Console Operators whoneed reference material to perform:- Daily operations,- MVS Control and sometimes change few of the Console‟s characteristic1. DISPLAY COMMANDS D U,,,380,2 Display two devices, starting at address 380 D U,DASD,ONLINE Display all online DASD volumes DT Display time and date To display the usage of Auxiliary storage D ASM manager D SMF To display the SMF usage D SMF,S To display the SMF status D SMF,O To display the current SMF options D U,TAPE,ONLINE,,number of tapes to be To display the status of the tape volumes displayed To display the status of the allocated D U,ALLOC,,number of devices to be displayed resources D U,DASD,,,number of devices to be displayed To display the all the DASD volumes DM To display the configuration of the system To display all the chips connected to the D M=CHP system D M=DEV To display all the devices connected D M=DEV(device name)" To display a particular device D M=CHP(chip id) To display a particular chip DC To display console status information D C,K To display control command functions D TS,L To display the users logged on to the system D R,L or D R,ALL To display the system requests To display the commands defined for PFK D PFK keys DD CLEAR,DSN=ALL To clear a dump data set DD ADD,DSN=number of SYS1.DUMP data set To add a dump data set required DD DEL,DSN=number of SYS1.DUMP data set To deleted a dump data set required D IPLINFO To display the IPL information D SMS,STORGRP(ALL),LISTVOL To display the storage groups and volumes
    • To display all the active jobs including timeD A,L sharing To display all the active jobs and otherD A,ALL informationD C,N Display information about inactive consoleD DUMP Display the status of all sys1.dump datasetDJ Display how many active jobs in the systemD J,L Display list of all active jobsD TS,L Display list of TSO usersD A,L Display information about all active jobsD C, K Display available control commandsD ETR To display ETR statusD NET,PENDING,ID=id name To display the ids that are pending activationD NET SESSIONS,LIST=ALL,MAX=500,E To display the list of all sessions To display the stations connected to theD NET STATIONS systemD NET,TSOUSER,ID=user id To display the TSO usersD NET,NETSRVR,E To display the net serverD NET,MAJNODES,MAX=500 To display all the major nodes To display the clusters connected to theD NET,CLSTRS systemD NET,APPLS To display the applicationsD NET,ADJSSCPS,ADJLIST=* To display the adjacent nodesD NET,ADJCP,ID=adjacent id,E To display a particular adjacent nodeD NET,ADJCLUST,NETID=cluster name To display the adjacent clusterF NET,TRACE,TYPE=IO,ID=name To trace the I/O of the lineD NET,ID=line id,E To display a status of a lineD NET,ROUTE,DESTSUB=ncp To display the route of the destinationnumber,TEST=YESD NET,ROUTE,DESTSUB=remote NCP To display the route of the NCP from the hostno,ORIGIN=host NCPD A,BBO* Active jobs starting with “BBO”D PARMLIB SYS1.PARMLIB settings used for this IPLD PROG,LNKLST Programs defined to Link ListD ASM,PAGE=ALL Page data sets & utilization of page spaceD GRS,C Global resource serialization – contentionD M=STOR Number of bytes of storage the system ownsD WLM,IRD Status of IRD features usedD WLM,SYSTEMS Systems in Goal ModeD WLM,APPLENV=* Which Application Environments are activeD LOGGER,L Logger Log Streams
    • D OMVS,A=ALL zOS UNIX address space processesD OMVS,F HFS file systems currently in use or mountedD OMVS,O zOS Unix current configuration setting PFS (physical file system) configurationD OMVS.P informationD OMVS,WAITERS What Unix threads are waiting onD OMVS,SOCKETS UNIX Sockets All spwaned and forked initiator BPXASD A,BPXAS address spacesD OPDATA Operator Command PrefixesD SMF SMF recording dataset statusD SYMBOLS System symbolicsD TCPIP,,N,PORT1 TCP/IP ports being listened onD TCPIP,,N,ROUTES TCP/IP routesD TCPIP,,N,HOME TCP/IP HomeV TCPIP,,O,SYS1.TCPPARMS(PROFILE) Refresh TCP/IP Profile parmsD PROG,APF List all authorized programsD TRACE All trace settingsDU Track device allocationsD XCF,CPL XCF parameters and coupled data sets2. CANCEL COMMANDSC jobname The named job to end, which can be a batch job, started task, or APPC/MVS transaction program.C U=userid Cancel the specified userC DUMP Take a user dumpC A=asid The hexadecimal address space identifier of the work unit you want to cancel.C ARMRESTART Indicates the batch job or started task should be automatically restarted3. FORCE COMMANDSForce jobname The named job to end, which can be a batch job, started task, or APPC/MVS transaction program.Force U=userid Terminate the specified user IDForce ARM End the specified user, job, or started task if it is non-cancellable.Force A=asid The hexadecimal address space identifier of the work unit to terminate.Force ARMRESTART Indicates the batch job or started task should be automatically restarted
    • 4. CONTROL COMMANDSK E,D Erase bottom display area an consoleK A,NONE Undefined the display area at bottom of screenK E,1 Delete line 1 (top of screen, usually)K E,SEG Delete contents of message segmentK N, PFK=(5,CMD=S GTF,580),CON=N Define a PFKK S,REF Display current console modeK S,DEL=RD Set "roll delete" mode (most common mode)K S,REF Display all specification valuesK V,REF Display all vary definitions Display all message Traffic routed to theK V,LEVEL=ALL consoleK V,LEVEL=R Display WTORS at the consoleK V,LEVEL=IN Display informational messages at the consoleK Q To clear Buffer SpoolK Q,L=< CONSOLE ID> To clear the Buffer Shortage5. HALT COMMAND Close the system log, and put it on the printZ EOD queue.6. SEND COMMAND Delete the specified message from theSE msgno,DELETE broadcast data setSE [msgno,]LIST List the requested message or all messages The message or number of a message inSE „message‟ or msgno SYS1.BRODCAST to be sent. The message be sent immediately only to allSE message, NOW currently logged-on users. Send the message to all users logged onto allSE message, ROUTE = *ALL systems participating in the sysplex Send the message only to users logged ontoSE message,ROUTE=systemname systemname Send the message to all users logged onto theSE message,ROUTE=groupname sysplex subset defined by groupname7. START COMMANDS (START or S)To start JES2 S JES2START the APPC/MVS address space with S APPC,SUB=MSTRparmlib member APPCPM00START the APPC/MVS address space with S APPC,SUB=MSTR,APPC=01parmlib member APPCPM01To starts the SOM subsystem S SOM
    • To start an external writer with the identifier A S XWTR.A,282Starting the Generalized Trace Facility START GTFStarting the Library Lookaside (LLA) Address START LLASpaceStarting the Object Access Method (OAM) START OAMStarting Resource Recovery Services (RRS) START RRS8. STOP COMMANDS (STOP or P)To stop the job SYSDA STOP SYSDATo stop writer 00E after it processes the currentdata set P XWTR.00ETo stop the GTF session started with anidentifier of ABCD P ABCDTo stop writer ABCD after it processes thecurrent data set P XWTR./ABCDTo stop the GTF session with an identifier ofEXAMPLE P EXAMPLETo stop the ASCH initiator address space,whose asid is E P ASCHINT,A=EStopping the Data Lookaside Facility (DLF) P DLFStopping the Library Lookaside (LLA) AddressSpace P LLATo stop the SOM daemon address space P SOMStopping the Virtual Lookaside Facility (VLF) P VLF9. VARY COMMANDS (VARY or V)Controlling Problem Determination Mode for VARY CN,ACTIVATEthe System ConsolControlling Problem Determination Mode for VARY CN,DEACTIVATEthe System ConsoleTo have the hardcopy message set recorded on VARY SYSLOG,HARDCPYthe system logTo include all operator commands, responses, V ,HARDCPY,STCMDSand status displays in the hardcopy message setTo have the hardcopy message set recorded on VARY OPERLOG,HARDCPYthe operations logTo take consoles 003 and 001 offline VARY (003,001),OFFLINETo turn on the AUTOSWITCH attribute for tape VARY (282,283,287),AS,ONdevices 282, 283, and 287
    • To make devices 282, 283, and 287 available for VARY (282,283,287),ONLINEsystem useTo make device 282 available for system use VARY 282,ONLINE,UNCONDeven if there is no path to the device,To terminate I/O to device 282 VARY 282,OFFLINE,FORCETo tell SMS not to allow allocation of new data VARYsets from storage group SG1 onsystem MVS2 SMS,STORGRP(SG1,MVS2),DISABLE,NTo tell SMS to allow allocation of both new and VARY SMS,STORGRP(SG1,ALL),ENABLEold data sets from storage groupSG1 on all MVS systemsTo tell SMS to allow allocation of both new and VARYold data sets from volume SMS001 SMS,VOLUME(SMS001,MVS3),ENABLEon system MVS3To vary port 60 of switch B000 offline on the VARY SWITCH(b000,60),DCM=OFFLINEtwo systems in a logical partition clusterTo quiesce application environment db2pay V WLM,APPLENV=db2pay,QTo activate a service policy named SHIFT1 V WLM,POLICY=shift110. MODIFY COMMANDS (MODIFY or F) To increase Maximum no. of Users in theF TSO, USERMAX=40 System To cause the data Look aside facility (DLF) toF DLF,NN=xx use specified COFDLFxx member of the logical parmlib. To change from compatibility mode to GOALF WLM,MODE=GOAL modeF ROSCOE,SHUTDOWN NOW Terminates ROSCOE immediatelyF ROSCOE,STATUS Displays number of ROSCOE usersF DATASRVR,APPL=threadlimit=5 To modify the jobname DATASRVR Need more information, Have Maintec Experts Contact You! For information on other topics visit our Knowledge Base! Connect with Us: