Introduction to zOS MVS Commands JES 2 Commands

  • Slides: 24
Download presentation
Introduction to z/OS MVS Commands JES 2 Commands © Copyright IBM Corp. , 2008.

Introduction to z/OS MVS Commands JES 2 Commands © Copyright IBM Corp. , 2008. All rights reserved.

Introduction to System z Operating System – z/OS MVS Commands - Summary ACTIVATE CANCEL

Introduction to System z Operating System – z/OS MVS Commands - Summary ACTIVATE CANCEL (C) CHNGDUMP (CD) CMDS CONFIG (CF) CONTROL (K) DEVSERV (DS) DISPLAY (D) DUMPDS (DD) FORCE HALT (Z) IOACTION (IO) LIBRARY (LI) LOG (L) LOGOFF LOGON 2/25/2021 MODE MODIFY (F) MONITOR (MN) MOUNT (M) MSGRT (MR) PAGEADD (PA) PAGEDEL (PD) QUIESCE REPLY (R) RESET (E) ROUTE (RO) SEND (SE) SET (T) SLIP (SL) SETAPPC START (S) SETCEE STOP (P) SETCON STOPMN (PM) SETDMN STOPTR SETETR SWAP (G) SETGRS SWITCH (I) SETIOS TRACE SETLOAD TRACK SETLOGR UNLOAD (U) SETLOGRC VARY (V) SETOMVS WRITELOG (W) SETPROG SETRRS CANCEL SETSMF (SS) SETSMS SETSSI red – frequent SETUNI green – less frequent SETXCF black – least frequent © Copyright IBM Corp. , 2008. All rights reserved. 2

Introduction to System z Operating System – z/OS MVS Commands – CANCEL Ø Use

Introduction to System z Operating System – z/OS MVS Commands – CANCEL Ø Use the CANCEL command to end an active job, started task, or timesharing user immediately. The table that follows summarizes the tasks that the CANCEL command can perform. Following the table are usage notes, the complete command syntax, definition of parameters, and examples of use. Ø If the program that supports the job or started task was designed to recognize the STOP command, use the STOP command before using the CANCEL command. If the CANCEL command fails several times, consider using the FORCE command. 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 3

Introduction to System z Operating System – z/OS MVS Commands - CANCEL Ø CANCEL

Introduction to System z Operating System – z/OS MVS Commands - CANCEL Ø CANCEL jobname § a job in execution § a running Advanced Program-to. Program. Communication/MVS (APPC/MVS) transaction program § a started task Ø CANCEL identifier § a started task § a MOUNT command § an external writer allocation § the output processing for a job § a z/OS UNIX process Ø CANCEL U=userid § a time-sharing user 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 4

Introduction to System z Operating System – z/OS MVS Commands - DISPLAY Use the

Introduction to System z Operating System – z/OS MVS Commands - DISPLAY Use the DISPLAY system command to display information about the operating system, the jobs and application programs that are running, the processor, devices that are online and offline, central storage, workload management service policy status, and the time of day. The display command is has a large number of variations. We will cover only the most commonly used variations. z/OS MVS System Commands SA 22 -7627 -13 Chapter 4 - Section 4. 10 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 5

Introduction to System z Operating System – z/OS MVS Commands – Display System Activity

Introduction to System z Operating System – z/OS MVS Commands – Display System Activity Ø D A, L (List active tasks excluding BCP components) Ø D A, taskname (List detailed information about a specific active task) Ø D A, ALL (List all active tasks including BCP components) Ø D J, jobname (List detailed information about a specific batch job) Ø D TS, L (List TSO users) Ø D TS, username (List information about a specific TSO user) Ø D TS, ALL (List detailed information about all TSO users) 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 6

Introduction to System z Operating System – z/OS MVS Commands – Display System Library

Introduction to System z Operating System – z/OS MVS Commands – Display System Library Information Ø D PARMLIB (List system libraries searched for system parameters) Ø D PROG, LNKLST (List system libraries searched for executable programs) Ø D PROG, APF (List system libraries authorized for restricted program execution) 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 7

Introduction to System z Operating System – z/OS MVS Commands – Display system hardware

Introduction to System z Operating System – z/OS MVS Commands – Display system hardware configuration Ø D ASM (List auxiliary storage – page data set information) Ø D IPLINFO (List system initial program load information) Ø D IOS, CONFIG(ALL) (List I/O Configuration information) Ø D M (List machine, memory, channel and device information) Ø D M=CPU (List machine type information) Ø D M=STOR (List memory storage information) Ø D M=DEV(#) (List detailed device information) Ø D M=CHP(#) (List detailed channel information) 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 8

Introduction to System z Operating System – z/OS MVS Commands – Display unix system

Introduction to System z Operating System – z/OS MVS Commands – Display unix system service information Ø D OMVS, A=ALL (List all Unix System Services Processes) Ø D OMVS, O (List Unix System Services Options/Parameter Settings) Ø D OMVS, LIMITS (List Unix System Services Thresholds) Ø D OMVS, F (List Unix System Services Mounted Filesystems) 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 9

Introduction to System z Operating System – z/OS MVS Commands – Display disk storage

Introduction to System z Operating System – z/OS MVS Commands – Display disk storage information Ø DEVSERV QD, TYPE=ALL (List information about all DASD devices) Ø D U, , , #, 1 (List detailed information about a specific DASD unit address) Ø D U, , ALLOC (List user allocations against DASD devices) Ø D U, VOL=volser (List DASD unit address of a specific volume serial label) 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 10

Introduction to System z Operating System – z/OS MVS Commands – Display Communications Server

Introduction to System z Operating System – z/OS MVS Commands – Display Communications Server resources Ø D TCPIP, , NETSTAT, HOME Ø D TCPIP, , NETSTAT, DEVICE Ø D TCPIP, , NETSTAT, BYTE Ø D NET, APPLS Ø D NET, MAJNODES Ø D NET, TRL Ø D NET, STATIONS Ø D NET, PENDING 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 11

Introduction to System z Operating System – z/OS MVS Commands – Display miscellaneous Ø

Introduction to System z Operating System – z/OS MVS Commands – Display miscellaneous Ø D R, L (List outstanding system requests for operator responses) Ø D T (List system time) Ø D C, K (List useful operator console commands) Ø D IKJTSO, ALL (List TSO/E parameter settings) Ø D OPDATA (List subsystem command recognition characters) Ø D SYMBOLS (List system symbolics) Ø D SMF (List system management facility information) Ø D SSI (List subsystem information) Ø D WLM, APPLENV=* (List workload manager application environment status) 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 12

Introduction to System z Operating System – z/OS MVS Commands – MODIFY (F) Ø

Introduction to System z Operating System – z/OS MVS Commands – MODIFY (F) Ø Modify can be executed against many system environments: § Jobnames & Started Tasks § TSO F TCAS, USERMAX=# § Unix System Services § Catalog F CATALOG, OPEN 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 13

Introduction to System z Operating System – z/OS MVS Commands – VARY (V) Ø

Introduction to System z Operating System – z/OS MVS Commands – VARY (V) Ø VARY can alter the status of specific resources owned by the operating system or optional system tasks. § § § § 2/25/2021 Disk storage devices can be varied online/offline System Consoles can be varied online/offline System Manage Storage (SMS) resources Communication Server (TCPIP & VTAM) resources Any channel path or device in I/O configuration can be altered Workload Manager (WLM) resources Parallel Sysplex defined resources © Copyright IBM Corp. , 2008. All rights reserved. 14

Introduction to System z Operating System – z/OS MVS Commands – REPLY You can

Introduction to System z Operating System – z/OS MVS Commands – REPLY You can use the REPLY command to respond to system requests. To review outstanding requests before replying, issue DISPLAY R. R id, text • where id is the message id number and text is an operator choice of valid responses to the outstanding request. • look up message issuing the request for reply in Look. At when uncertain about response text syntax and consequences. 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 15

Introduction to System z Operating System – z/OS MVS Commands – START (S) and

Introduction to System z Operating System – z/OS MVS Commands – START (S) and STOP (P) Ø Use the START (S) command to started tasks, which support system functions such as IMS, CICS, and RACF. Started tasks are defined in cataloged procedures (residing in procedure libraries or through jobs residing in a partitioned data set defined in master JCL. Ø Use the STOP (P) command to stop system functions and jobs in execution. 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 16

Introduction to System z Operating System – z/OS JES 2 – Job Entry Subsystem

Introduction to System z Operating System – z/OS JES 2 – Job Entry Subsystem Ø The most critical z/OS subsystem. Ø Highly customizable environment with extensive parameter options. Ø JES is required to start VTAM, TCPIP, TSO, Batch Jobs, all other major subsystems (DB 2, CICS, etc. ) Ø z/OS JES 2 Commands SA 22 -7526 -06 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 17

Introduction to System z Operating System – z/OS JES 2 Commands – Summary…page 1

Introduction to System z Operating System – z/OS JES 2 Commands – Summary…page 1 of 4 Ø Ø Ø 2/25/2021 $A - Release held jobs $ADD - dynamically add JES resources $B - Backup device output $C - Cancel job and other JES resources $D - Display JES resources $DEL - dynamically delete JES resources $E - Reset/Restart JES resources $F - Forward device output $G - Modify resource in remote JES environment $H - Hold JES jobs $I - Interrupt a JES controlled resource © Copyright IBM Corp. , 2008. All rights reserved. 18

Introduction to System z Operating System – z/OS JES 2 Commands – Summary…page 2

Introduction to System z Operating System – z/OS JES 2 Commands – Summary…page 2 of 4 Ø $JDDETAILS - Display details summary of jobs Ø $JDHISTORY - Display history of JES 2 resource usage Ø $JDMONITOR - Display current status of JES 2 monitor subtasks Ø $JDSTATUS - Display current status Ø $JSTOP - Terminate monitor address space 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 19

Introduction to System z Operating System – z/OS JES 2 Commands – Summary…page 3

Introduction to System z Operating System – z/OS JES 2 Commands – Summary…page 3 of 4 Ø $L - List job output information Ø $M - Send command to other tight coupled JES systems Ø $N - Send commands through network to remotely connected JES Ø $O - Release or cancel held output groups Ø $P - Stop or Purge any further processing of JES 2 controlled resource Ø $R - Route JES job output 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 20

Introduction to System z Operating System – z/OS JES 2 Commands – Summary…page 4

Introduction to System z Operating System – z/OS JES 2 Commands – Summary…page 4 of 4 Ø $S - Start a JES 2 controlled resource Ø $T - Alter JES 2 controlled parameters, rules and resources Ø $VS - Enter MVS system commands through JES 2 Ø $Z - Halt JES 2 resource activity Ø $ZAPJOB - Remove job structure from job queue 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 21

Introduction to System z Operating System – z/OS JES 2 Commands – Common Commands

Introduction to System z Operating System – z/OS JES 2 Commands – Common Commands Ø $D SPL - display JES 2 spool information Ø $D A – display JES 2 active jobs Ø $D I – display JES 2 job initiator information Ø $T A, ALL – display information about all active JES 2 automatic commands 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 22

Introduction to System z Operating System – z/OS MVS & JES 2 Command Input

Introduction to System z Operating System – z/OS MVS & JES 2 Command Input Sources Ø System Console Ø SDSF Console Facility – using / prefix Ø TSO Console Facility – oper command Ø JCL command statement // COMMAND ‘mvs_command’ Ø JCL JES command statement /*$jes 2_command /*$VS, ’mvs_command’ Ø FTP quote site filetype=jes put ‘a file containing /*$ or /*$VS command syntax’ 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 23

Introduction to System z Operating System – z/OS Subsystem Commands Ø Subsystems such as

Introduction to System z Operating System – z/OS Subsystem Commands Ø Subsystems such as JES, RACF, DB 2, Web. Sphere MQSeries have system programmer assigned command recognition characters used to prefix subsystem commands. This assigned prefix instructs z/OS which subsystem is to be passed the command. Ø Several methods for determining assigned subsystem command prefix § D OPDATA (will provide DB 2, JES 2 and Web. Sphere MQSeries info) § Search for all occurrences of IEE 252 I in SYSLOG ü ‘MEMBER IEFSSN## FOUND IN ‘system parameter library name’ ü Inspect each IEFSSN## entry for subsystem command recognition prefix 2/25/2021 © Copyright IBM Corp. , 2008. All rights reserved. 24