Jes2 Commands - z17 - Has2a250
Jes2 Commands - z17 - Has2a250
JES2 Commands
SA22-7526-05
z/OS
JES2 Commands
SA22-7526-05
Note Before using this information and the product it supports, be sure to read the general information under Notices on page 949.
Sixth Edition, September 2005 This is a major revision of SA22-7526-04. This edition applies to Version 1 Release 7 of z/OS (5694-A01), Version 1 Release 7 of z/OS.e (5655-G52), and to all subsequent releases and modifications until otherwise indicated in new editions. IBM welcomes your comments. A form for readers comments may be provided at the back of this document, or you may address your comments to the following address: International Business Machines Corporation Department 55JA, Mail Station P384 2455 South Road Poughkeepsie, NY 12601-5400 United States of America FAX (United States & Canada): 1+845+432-9405 FAX (Other Countries): Your International Access Code +1+845+432-9405 IBMLink (United States customers only): IBMUSM10(MHVRCFS) Internet e-mail: [email protected] World Wide Web: www.ibm.com/servers/eserver/zseries/zos/webqs.html If you would like a reply, be sure to include your name, address, telephone number, or FAX number. Make sure to include the following in your comment or note: v Title and order number of this document v Page number or topic related to your comment When you send information to IBM, you grant IBM a nonexclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you. Copyright International Business Machines Corporation 1988, 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Contents
Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii About this document . . . . . . . . . . . Who should use this document . . . . . . . . Where to find more information . . . . . . . . Additional information . . . . . . . . . . . Using LookAt to look up message explanations . Using IBM Health Checker for z/OS . . . . . Determining If a Publication Is Current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv . xv . xv . xv . xvi . xvi . xvii
Summary of changes . . . . . . . . . . . . . . . . . . . . . . xix Chapter 1. Controlling JES2 . . . . . . . Controlling the JES2 environment . . . . . Specifying the Start Options . . . . . . Displaying JES2 status . . . . . . . . Restarting JES2 . . . . . . . . . . Stopping JES2 . . . . . . . . . . . Withdrawing JES2 from the system . . . Specifying JES2 exit point characteristics . Monitoring buffers . . . . . . . . . . Controlling your MAS environment . . . . . Using independentmode processing . . . Displaying MAS status and settings . . . Using JES2 and MVS commands together . Changing MAS settings . . . . . . . . Making jobs eligible to restart . . . . . Controlling automatic command processing . Controlling JES2 diagnostics . . . . . . . Controlling JES2 tracing . . . . . . . Recovering from errors . . . . . . . . Debugging errors . . . . . . . . . . Displaying module information . . . . . Controlling JES2 spooling . . . . . . . . Spool addressing modes . . . . . . . Considerations for draining a spool volume Controlling spool partitioning . . . . . . Spool volume states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 . 5 . 6 . 11 . 11 . 13 . 14 . 14 . 15 . 15 . 15 . 15 . 16 . 17 . 18 . 19 . 19 . 20 . 20 . 20 . 21 . 21 . 21 . 21 . 22 . 22 . . . . . . . . . . . . 25 31 33 34 34 35 36 37 38 38 40 46
Chapter 2. Controlling JES2 devices and functional Device overview . . . . . . . . . . . . . . Controlling the device environment . . . . . . JES2 input processing . . . . . . . . . . . . Controlling readers . . . . . . . . . . . . JES2 output processing . . . . . . . . . . . Controlling printers . . . . . . . . . . . . Controlling punches . . . . . . . . . . . . Remote job entry (RJE) . . . . . . . . . . . . Specifying JES2 teleprocessing characteristics . . Remote entry restrictions . . . . . . . . . . Controlling spool offload and reload functions . . .
Copyright IBM Corp. 1988, 2005
subsystems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
iii
Controlling offload devices . . . . . . . . . . . . . . . . . . . . 46 Controlling offload transmitters and receivers . . . . . . . . . . . . . 47 Chapter 3. Controlling jobs and output . . . . . Controlling jobs . . . . . . . . . . . . . . . Controlling the scope of commands . . . . . . Displaying job information . . . . . . . . . . Controlling job execution . . . . . . . . . . . Controlling JES2 initiators . . . . . . . . . . Controlling WLM initiators . . . . . . . . . . Specifying JES2 job characteristics . . . . . . JES2 job execution commands . . . . . . . . Holding and releasing jobs . . . . . . . . . Controlling jobs at another node . . . . . . . Controlling job output . . . . . . . . . . . . Specifying job output characteristics . . . . . . JES2 job output commands . . . . . . . . . Controlling output groups and job output elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 54 54 55 57 57 58 59 59 60 61 62 62 66 67 69 74 75 75 75 75 75 76 76 77 77 77 78 79 80 81 81 81 83 83 84 85
| |
Chapter 4. Controlling a network . . . . . . . . . . . Controlling the NJE environment . . . . . . . . . . . . Specifying node characteristics . . . . . . . . . . . . . Modifying transmission delays and excessive looping through a Modifying sign-on tolerance . . . . . . . . . . . . . Defining a symbolic destination name . . . . . . . . . Deleting a symbolic destination name . . . . . . . . . Displaying subnets and their paths across a network . . . . Displaying node attributes . . . . . . . . . . . . . . Setting node attributes . . . . . . . . . . . . . . . Starting NJE communications . . . . . . . . . . . . . Starting node communication on a BSC line . . . . . . . Starting node communication using SNA/VTAM . . . . . . Starting node communication using TCP/IP . . . . . . . Controlling the JES2/VTAM interface . . . . . . . . . . Controlling the JES2-TCP/IP interface . . . . . . . . . Defining and changing applications . . . . . . . . . . Controlling NJE lines . . . . . . . . . . . . . . . . . Controlling NJE static connections . . . . . . . . . . . . Controlling JES2 transmitting and receiving devices . . . . . Sending messages and commands through the network. . . . Displaying and controlling jobs at other nodes . . . . . . Chapter 5. Command Reference Section . . . . . . Command reference section . . . . . . . . . . . . Command syntax conventions . . . . . . . . . . How to read syntax diagrams . . . . . . . . . . Keywords defined . . . . . . . . . . . . . . $A A - Release all jobs . . . . . . . . . . . . . $A Job - Release held jobs . . . . . . . . . . . . $ADD APPL - Define a VTAM application to JES2 . . . $ADD CONNECT - Dynamically add network connections $ADD DESTID - Define a symbolic destination . . . . . $ADD FSS - Define a functional subsystem . . . . . . $ADD LINE(nnnn) - Add line . . . . . . . . . . . $ADD LOGON(nn) - Add a logon . . . . . . . . . . $ADD NETSRV(nnn) - Add a network server . . . . .
. . . . . . . . . . . . network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 87 . . . . 87 . . . . 87 . . . . 105 . . . . 107 . . . . 109 . . . . 110 . . . . 116 . . . . 118 . . . . 121 . . . . 126 . . . . 128 . . . . 133 . . . . 135
iv
$ADD PROCLIB(xxxxxxxx) - Define a new dynamic PROCLIB concatenation $ADD PRT - Define a local printer . . . . . . . . . . . . . . . . $ADD REDIRECT - Set redirection for commands . . . . . . . . . . $ADD RMT(nnnn) - Add an RJE workstation . . . . . . . . . . . . $ADD SOCKET (xxxxxxxx) - Add a socket . . . . . . . . . . . . . $B PRTnnnn and $B Rnnnn.PRm - Logically backspace printer output . . . $B PUNnn and $B Rnnnn.PUm - Logically backspace punch output . . . . $C A - Cancel automatic commands . . . . . . . . . . . . . . . $C Job - Cancel a job . . . . . . . . . . . . . . . . . . . . . $C Lnnnn.xxn - Cancel NJE device activity . . . . . . . . . . . . . $C O Job - Cancel output . . . . . . . . . . . . . . . . . . . $C OFFn.xx - Cancel a spool offload transmitter/receiver . . . . . . . . $C PRTnnnn and $C Rnnnn.PRm - Cancel printer output . . . . . . . . $C PUNnn and $C Rnnnn.PUm - Cancel punch output. . . . . . . . . $C RDR and $C Rnnnn.RDm - Cancel reader activity . . . . . . . . . $D A - Display information about currently active jobs . . . . . . . . . $D ACTIVATE - Display current JES2 checkpoint set by $ACTIVATE . . . $D ACTRMT - Display Active RJE Workstations in a MAS . . . . . . . $D APPL - Display JES2 SNA NJE application(s) . . . . . . . . . . . $D BUFDEF - Display JES2 buffer definitions . . . . . . . . . . . . $D CKPTDEF - Display the checkpoint definition . . . . . . . . . . . $D CKPTSPACE - Display checkpoint spaces . . . . . . . . . . . . $D COMPACT - Display JES2 compaction tables . . . . . . . . . . . $D CONDEF - Display console communication characteristics . . . . . . $D CONNECT - Display network connections . . . . . . . . . . . . $D DESTDEF - Display symbolic destination settings . . . . . . . . . $D DEStid - Display a JES2 symbolic destination . . . . . . . . . . . $D ESTBYTE - Display Number of Bytes Set for Jobs and their Output . . $D ESTLNCT - Display number of lines for jobs and their output . . . . . $D ESTPAGE - Display number of pages set for jobs and their output . . . $D ESTPUN - Display number of punch pages set for jobs and their output $D ESTIME - Display amount of time set for jobs and their output . . . . $D EXIT - Display current characteristics of specified JES2 exit points . . . $D F - Display the job output forms queue . . . . . . . . . . . . . $D FSS - Display the characteristics of the specified functional subsystems $D INITDEF - Display the number of logical initiators currently defined . . . $D I[nnmm] - Display initiator information . . . . . . . . . . . . . . $D INTRDR - Display the current INTRDR initialization statement characteristics . . . . . . . . . . . . . . . . . . . . . . . $D Job - Display information about specified jobs . . . . . . . . . . . $D JOBCLASS(n) - Display job class characteristics . . . . . . . . . $D JOBDEF - Display characteristics assigned to jobs . . . . . . . . . $D JOBPRTY - Display Current Job Priority Characteristics . . . . . . . $D L(nnnn).JR(n) - Display line and job receiver status. . . . . . . . . $D L(nnnn).JT(n) - Display the job transmitter status . . . . . . . . . $D L(nnnn).SR(n) - Display SYSOUT receiver status . . . . . . . . . $D L(nnnn).ST(n) - Display SYSOUT transmitter status . . . . . . . . $D LINE(nnnn) - Display a line . . . . . . . . . . . . . . . . . $D LOADmod(jxxxxxxx) - Display load module Information . . . . . . . $D LOGON - Display the status of JES2/VTAM interface(s) and their characteristics . . . . . . . . . . . . . . . . . . . . . . . $D M - Send a message . . . . . . . . . . . . . . . . . . . . $D MASDEF - Display the multi-access spool environment . . . . . . . $D MEMBer - Display information about MAS members . . . . . . . . $D MODule(jxxxxxxx) - Display assembled module information . . . . . . $D N - Display job queue information . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
137 140 154 157 167 169 172 174 176 185 187 195 197 198 199 200 204 205 207 210 212 217 219 221 224 229 231 234 235 236 237 238 239 242 246 248 249 254 256 268 275 278 280 283 286 289 292 299 302 305 309 313 319 326
Contents
$D NETACCT - Display networking account numbers . . . . . . . . . $D NETSRV(nnn) - Display a network server . . . . . . . . . . . . $D NJEDEF - Display the JES2 Network Environment . . . . . . . . . $D NODE(nnnn) - Display a nodes characteristics . . . . . . . . . . $D O Job - Display output characteristics . . . . . . . . . . . . . . $D OFF.JR - Display offload job receiver . . . . . . . . . . . . . . $D OFF.JT - Display offload job transmitter . . . . . . . . . . . . . $D OFF.SR - Display offload SYSOUT receiver . . . . . . . . . . . $D OFF.ST - Display offload SYSOUT transmitter . . . . . . . . . . $D OFFLOAD - Display offload devices . . . . . . . . . . . . . . $D OPTsdef - Display start options processing definitions . . . . . . . . $D OUTCLASS(n) - Display output classes . . . . . . . . . . . . . $D OUTDEF - Display output definition options . . . . . . . . . . . $D OUTPRTY - Display job output priority . . . . . . . . . . . . . $D PATH - Display paths from node to node . . . . . . . . . . . . $D PCE - Display tracing status for JES2 processors . . . . . . . . . $D PCEDEF - Display PCE definitions . . . . . . . . . . . . . . . $D PRINTDEF - Display print environment characteristics . . . . . . . $D PROCLIB(xxxxxxxx) - Display a dynamic PROCLIB concatenation . . . $D PRTnnnn and $D R(nnnn).PR(m) - Display printers. . . . . . . . . $D PUNCHDEF - Display punch environment characteristics . . . . . . $D PUN(nn) and $D R(nnnn).PU(m) - Display a remote punch . . . . . . $D Q - Display the number of jobs queued . . . . . . . . . . . . . $D R(nn).CON(mm) - Display the specified remote console . . . . . . . $D RDI - Display the status of JES2-controlled internal reader . . . . . . $D RDR(nn) and $D R(nn).RD(mm) - Display command authority for a reader $D REBLD - Display rebuild queue information . . . . . . . . . . . $D RECVopts - Display current RECVOPTS settings . . . . . . . . . $D REDIRect - Redirect command responses . . . . . . . . . . . . $D REQJOBID - Display attributes of JOBID address spaces . . . . . . $D SMFDEF - Display status of SMF buffers . . . . . . . . . . . . $D SOCKET (xxxxxxxx) - Display the status of a socket . . . . . . . . $D SPOOL - Display the status of spool volumes . . . . . . . . . . . $D SPOOLDEF - Display the JES2 spooling environment . . . . . . . . $D SSI(nnn) - Display subsystem interface function information . . . . . $D SUBTDEF - Display subtask definitions . . . . . . . . . . . . . $D SUBNET - Display subnet connections . . . . . . . . . . . . . $D TPDEF - Display current teleprocessing characteristics . . . . . . . $D TRace(nnn) - Display current status of trace IDs . . . . . . . . . . $D TRACEDEF - Display current trace environment characteristics . . . . $D U - Display the status of JES2-controlled devices . . . . . . . . . $DEL CONNect - Delete network connections . . . . . . . . . . . . $DEL DEStid - Delete a symbolic destination . . . . . . . . . . . . $DEL PROCLIB(xxxxxxxx) - Delete a dynamic PROCLIB concatenation . . $E CKPTLOCK - Reset the checkpoint lock . . . . . . . . . . . . . $E Job - Restart a job . . . . . . . . . . . . . . . . . . . . . $E Lnnnn.xxn - Restart NJE device activity . . . . . . . . . . . . . $E LINE(nnnn) - Restart line activity . . . . . . . . . . . . . . . $E LOGON(nn) - Restart the JES2/VTAM interface . . . . . . . . . . $E MEMBer - Perform cleanup for a failed MAS member . . . . . . . . $E NETSRV(nnn) - Restart a network server . . . . . . . . . . . . $E OFFn.xx - Restart a spool offload transmitter . . . . . . . . . . . $E PRTnnnn and $E Rnnnn.PRm - Restart Printer Activity . . . . . . . $E PUNnn and $E Rnnnn.PUm - Restart punch activity . . . . . . . . $F PRTnnnn and $F Rnnnn.PRm - Logically advance printer output . . . . $F PUNnn and $F Rnnnn.PUm - Logically advance punch output . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
331 333 336 339 345 355 360 364 373 379 382 384 386 389 391 393 399 401 403 406 417 419 423 428 430 433 438 440 442 444 446 448 451 456 460 462 463 465 468 470 472 478 480 482 485 488 493 495 497 498 501 503 504 505 506 509
vi
| |
$G A - Release a job at another node . . . . . . . . . . . . $G C - Cancel a job at another node . . . . . . . . . . . . $G D - Display job information for a job at another node . . . . . $G H - Hold a job at another node . . . . . . . . . . . . . $G R, OUT - Request another node to route job output . . . . . $G R, XEQ - Request another node to route a job for execution . . $H A - Hold all jobs . . . . . . . . . . . . . . . . . . . $H Job - Hold specific jobs . . . . . . . . . . . . . . . . $I PRTnnnn and $I Rnnnn.PRm - Interrupt printer activity . . . . . $I PUNnn and $I Rnnnn.PUm - Interrupt punch activity. . . . . . $JDDETAILS - Display details summary of jobs . . . . . . . . $JDHISTORY - Display history of JES2 resource usage . . . . . $JDJES - Display non-severe incident report . . . . . . . . . $JDMONITOR - Display current status of JES2 monitor subtasks . . $JDSTATUS - Display current status . . . . . . . . . . . . $JSTOP - Terminate monitor address space . . . . . . . . . . $L Job - List job output information . . . . . . . . . . . . . $Mnn - Send commands to other MAS members . . . . . . . . $Nnnnn - Send commands through the network . . . . . . . . $N PRTnnnn and $N Rnnnn.PRm - Repeat printer output . . . . $N PUNnn and $N Rnnnn.PUm - Repeat punch output . . . . . $O Job - Release or cancel held output groups . . . . . . . . $P - Stop JES2 processing . . . . . . . . . . . . . . . . $P I[nnmm] - Stop an initiator . . . . . . . . . . . . . . . $P JES2 - Withdraw JES2 from the system . . . . . . . . . . $P Job - Purge a job . . . . . . . . . . . . . . . . . . $P Lnnnn.xxn - Stop an NJE device. . . . . . . . . . . . . $P LINE(nnnn) - Stop a line. . . . . . . . . . . . . . . . $P LOGON(nn) - Stop the JES2/VTAM interface . . . . . . . . $P NETSRV(nnn) - Stop a network server . . . . . . . . . . $P O Job - Purge a jobs output . . . . . . . . . . . . . . $P OFFn.xx - Stop an offload transmitter/receiver. . . . . . . . $P OFFLOADn - Stop an offload device . . . . . . . . . . . $P PRTnnnn and $P Rnnnn.PRm - Stop a printer . . . . . . . $P PUNnn and $P Rnnnn.PUm - Stop a punch . . . . . . . . $P RDRnn and $P Rnnnn.RDm - Stop a reader . . . . . . . . $P RMT(nnnn) - Terminate a remote terminal connection . . . . . $P SPOOL - Drain a spool volume . . . . . . . . . . . . . $P TRace - Stop a trace ID . . . . . . . . . . . . . . . . $P XEQ - Prevents JES2 and WLM-controlled initiators from selecting $R - Route job output . . . . . . . . . . . . . . . . . . $R XEQ - Route specific jobs for execution . . . . . . . . . . $S - Start system activity . . . . . . . . . . . . . . . . . $S A - Start automatic command processing . . . . . . . . . $S I[vvvv] - Start an initiator. . . . . . . . . . . . . . . . $S Job - Initiate a batch job into execution . . . . . . . . . . $S Lnnnn.xxn - Start an NJE device . . . . . . . . . . . . $S LINE(nnnn) - Start a line . . . . . . . . . . . . . . . $S LOGON - Start the JES2/VTAM interface . . . . . . . . . $S N - Start node communication on a BSC line . . . . . . . . $S N - Start node communication on an SNA line . . . . . . . $S N - Start node communication on a TCP/IP line . . . . . . . $S NETSRV(nnn) - Start a network server . . . . . . . . . . $S OFFn.xxn - Start offload transmitters and receivers . . . . . . $S OFFLOADn - Start an offload device . . . . . . . . . . . $S PRTnnnn and $S Rnnnn.PRm - Start a printer . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
511 513 515 517 519 522 525 527 533 535 536 539 544 546 548 550 552 556 557 559 560 561 567 568 571 574 582 584 586 587 589 598 600 601 603 604 605 606 609 610 611 616 618 619 620 622 624 626 628 630 633 635 637 639 641 643
Contents
vii
$S PUNnn and $S Rnnnn.PUm - Start a punch . . . . . . . . . . . $S RDRnn and $Rnnnn.RDm - Start a reader . . . . . . . . . . . . $S RMT(nn) - Automatically connect a remote terminal . . . . . . . . . $S SPOOL - Start a spool volume . . . . . . . . . . . . . . . . $S TRACE(nn) - Start a trace ID . . . . . . . . . . . . . . . . . $S XEQ - Allow JES2 and WLM-controlled initiators to select work . . . . $T A - Display, specify, and modify automatic commands . . . . . . . . $T APPL - Control JES2 applications . . . . . . . . . . . . . . . $T BUFDEF - Control local buffers . . . . . . . . . . . . . . . . $T CKPTDEF - Set the checkpoint definition . . . . . . . . . . . . $T CKPTSPACE - Set the checkpoint space . . . . . . . . . . . . $T CONDEF - Set console communication characteristics . . . . . . . $T CONNect - Change static network connections . . . . . . . . . . $T DEBUG - Set the JES2 DEBUG option . . . . . . . . . . . . . $T DESTDEF - Control JES2 symbolic destination displays . . . . . . . $T DEStid - Control a JES2 symbolic destination . . . . . . . . . . . $T ESTBYTE - Control the default spool space utilization per job . . . . . $T ESTIME - Control the default execution time . . . . . . . . . . . $T ESTLNCT - Control the default print line count per job. . . . . . . . $T ESTPAGE - Control the default page count per job . . . . . . . . . $T ESTPUN - Control the default punched card output per job . . . . . . $T EXIT(nn) - Control JES2 installation exit points . . . . . . . . . . $T FSS - Control a functional subsystem . . . . . . . . . . . . . . $T Init(nnmm) - Control initiators . . . . . . . . . . . . . . . . . $T INTRDR - Control internal readers . . . . . . . . . . . . . . . $T Job - Change a jobs class, scheduling priority, or affinity . . . . . . . $T JOBCLASS - Set job class characteristics . . . . . . . . . . . . $T JOBDEF - Set job processing characteristics . . . . . . . . . . . $T JOBPRTY(n) - Set job scheduling characteristics. . . . . . . . . . $T L(nn).JT(nn) - Specify network job transmitter characteristics . . . . . $T L(nnnn).ST(n) - Specify network SYSOUT transmitter characteristics . . $T LINE(nnnn) - Control a line . . . . . . . . . . . . . . . . . . $T LOGON(n) - Control the JES2/VTAM interface . . . . . . . . . . $T MASDEF - Control the multi-access spool environment . . . . . . . $T MEMBer - Change a members operational mode . . . . . . . . . $T NETSRV(nnn) - Modify the attributes of a network server . . . . . . $T NJEDEF - Control JES2 network environment . . . . . . . . . . . $T NODE(nnnn) - Set a nodes characteristics . . . . . . . . . . . . $T NUM - Set the JES2 internal job numbers . . . . . . . . . . . . $T O Job - Set output characteristics . . . . . . . . . . . . . . . $T OFF(nn).JR - Set offload job receiver characteristics . . . . . . . . $T OFF(nn).JT - Set offload job transmitter characteristics . . . . . . . $T OFF(n).SR - Set offload SYSOUT receiver characteristics . . . . . . $T OFF(n).ST - Set offload SYSOUT transmitter characteristics . . . . . $T OFFLOAD(n) - Set offload device characteristics . . . . . . . . . . $T OUTCLASS(n) - Set SYSOUT class characteristics . . . . . . . . . $T OUTDEF - Set job output characteristics . . . . . . . . . . . . . $T OUTPRTY(n) - Set output scheduling priorities . . . . . . . . . . $T PCE - Control JES2 processors . . . . . . . . . . . . . . . . $T PRINTDEF - Control the JES2 print environment . . . . . . . . . . $T PROCLIB(xxxxxxxx) - Modify an existing dynamic PROCLIB concatenation $T PRTnnnn and $T Rnnnn.PRm - Control a printer . . . . . . . . . . $T PUNnn and $T Rnnnn.PUm - Control a punch . . . . . . . . . . $T RDI - Control an internal reader . . . . . . . . . . . . . . . . $T RDRnn and $T Rnnnn.RDm - Control a reader . . . . . . . . . . $T RECVopts - Set JES2 recovery options . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
645 647 648 650 654 656 657 662 665 667 674 675 678 681 684 686 692 694 696 698 700 702 704 706 709 713 723 734 739 741 744 748 755 758 761 765 768 772 783 784 795 801 809 818 828 832 835 839 841 845 848 852 873 885 889 896
viii
$T REDIRect - Redirect command responses . . . . $T RMT(nn) - Change an RJE workstation . . . . . $T REQJOBID - Set JOBID attributes . . . . . . . $T SMFDEF - Control SMF buffers . . . . . . . . $T SOCKET (xxxxxxxx) - Control a socket . . . . . $T SPOOL - Modify a spool volume . . . . . . . . $T SPOOLDEF - Set the JES2 spooling environment . $T SSI(nnn) - Control the subsystem interface definition $T TPDEF - Set JES2 teleprocessing characteristics . $T TRACEDEF - Control the trace facility . . . . . . $VS - Enter MVS system commands through JES2 . . $Z A - Halt automatic command processing . . . . . $ZAPJOB - Remove job structure from job queue . . $Z I[vvvv] - Halt initiator activity . . . . . . . . . $Z OFFLOADn - Halt offload activity . . . . . . . $Z PRTnnnn and $Z Rnnnn.PRm - Halt printer activity . $Z PUNnn and $Z Rnnnn.PUm - Halt punch activity . . $Z RDRnn - Halt reader activity . . . . . . . . . $Z SPOOL - Halt a spool volume . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
898 901 914 916 917 919 921 925 927 930 932 933 935 937 939 940 941 942 943
Appendix A. Notes About the Publication Index . . . . . . . . . . . 945 Appendix B. Accessibility . . Using assistive technologies . Keyboard navigation of the user z/OS information . . . . . . . . . . . . . . interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 947 947 947 947
Contents
ix
Figures
1. Specify Output Dispositions . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
xi
xii
Tables
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. | 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. 50. 51. 52. 53. Controlling the JES2 Environment . . . . . . . . . . . . . . . . . . . . . . . . . 1 Controlling Your Multi-access Spool (MAS) Environment . . . . . . . . . . . . . . . . . 2 Controlling Automatic Command Processing . . . . . . . . . . . . . . . . . . . . . 3 Controlling JES2 Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Controlling JES2 Spooling . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 JES2/MVS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 JES2 Start Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Types of JES2 Warm Start . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Controlling the Device Environment . . . . . . . . . . . . . . . . . . . . . . . . 25 Controlling Readers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Controlling Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Controlling Punches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Controlling the JES2/VTAM Interface . . . . . . . . . . . . . . . . . . . . . . . 28 Controlling the JES2 TCP/IP interface . . . . . . . . . . . . . . . . . . . . . . . 29 Controlling RJE Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Controlling RJE Workstations . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Controlling Offload Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Remote Entry Restrictions ($A-$D) . . . . . . . . . . . . . . . . . . . . . . . . 40 Remote Entry Restrictions ($E-$O) . . . . . . . . . . . . . . . . . . . . . . . . 42 Remote Entry Restrictions ($P-$S) . . . . . . . . . . . . . . . . . . . . . . . . 43 Remote Entry Restrictions ($S-$T) . . . . . . . . . . . . . . . . . . . . . . . . 44 Remote Entry Restrictions ($T-$Z) . . . . . . . . . . . . . . . . . . . . . . . . 45 Displaying JES2 Job Information . . . . . . . . . . . . . . . . . . . . . . . . . 49 Specifying Job Execution Characteristics . . . . . . . . . . . . . . . . . . . . . . 50 Controlling Initiators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Controlling Job Execution. . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Holding and Releasing Jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Controlling Jobs at Another Node . . . . . . . . . . . . . . . . . . . . . . . . . 52 Specifying Job Output Characteristics . . . . . . . . . . . . . . . . . . . . . . . 53 Controlling Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Changing Output Characteristics for SYSOUT Data . . . . . . . . . . . . . . . . . . 63 Specifying Node Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 69 Starting BSC Node Communications . . . . . . . . . . . . . . . . . . . . . . . 70 Starting SNA Node Communications . . . . . . . . . . . . . . . . . . . . . . . 70 Starting TCP/IP Node Communications . . . . . . . . . . . . . . . . . . . . . . 70 Controlling the JES2/VTAM Interface . . . . . . . . . . . . . . . . . . . . . . . 71 Controlling the JES2-TCP/IP Interface . . . . . . . . . . . . . . . . . . . . . . . 71 Defining and Changing Applications . . . . . . . . . . . . . . . . . . . . . . . . 72 Defining and Changing TCP/IP sockets . . . . . . . . . . . . . . . . . . . . . . 72 Controlling NJE Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Controlling NJE Static Connections . . . . . . . . . . . . . . . . . . . . . . . . 73 Controlling NJE Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 Sending Messages and Commands Through the Network . . . . . . . . . . . . . . . . 74 Command Syntax Character Meanings . . . . . . . . . . . . . . . . . . . . . . . 87 Command Syntax Conventions . . . . . . . . . . . . . . . . . . . . . . . . . 87 Coding Asterisks on Initialization Statements . . . . . . . . . . . . . . . . . . . . 96 Numeric Only (used for most devices, such as PRT, PUN, LINE, RMT) . . . . . . . . . . . 99 Symbolic Only (REDIRECT, APPL, JOBCLASS, OUTCLASS, SPOOL) . . . . . . . . . . 100 Numeric and Symbolic (NODE, MEMBER, INIT.) . . . . . . . . . . . . . . . . . . . 100 JES2 Processing of Initiators . . . . . . . . . . . . . . . . . . . . . . . . . . 102 Syntax examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 Printer Work Selection Values . . . . . . . . . . . . . . . . . . . . . . . . . 152 JES2 BUFSIZE Defaults for RJE Workstations . . . . . . . . . . . . . . . . . . . 159
xiii
$D U Messages . . . . . . . . . . . . . . . . . . . . . . . . SYSOUT Transmitter Work Selection Criteria . . . . . . . . . . . . . . SYSOUT Transmitter Work Selection and Output Criteria . . . . . . . . . Offload Job Transmitter Work Selection Criteria . . . . . . . . . . . . . Offload SYSOUT Transmitter Work Selection Criteria . . . . . . . . . . . Interaction of PRINTDEF and PRT(n) parameters that JES2 uses to calculate the checkpoint interval . . . . . . . . . . . . . . . . . . . . . . . . 60. Printer Work Selection Criteria . . . . . . . . . . . . . . . . . . . 61. Punch Work Selection Criteria . . . . . . . . . . . . . . . . . . . 62. JES2 BUFSIZE Minimum Buffer Size Requirements for RJE Workstations . . .
. . . . . . . . . . . . . . . output . . . . . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
xiv
Most licensed documents were declassified in OS/390 V2R4 and are now included on the z/OS Online Library Collection, SK2T-6700. The remaining licensed documents appear in unencrypted documentManager softcopy and PDF form on the z/OS Licensed Product Library, LK2T-2499.
Additional information
Additional information about z/OS elements can be found in the following documents.
Title z/OS Introduction and Release Guide z/OS and z/OS.e Planning for Installation Order Number GA22-7502 GA22-7504 Description Describes the contents and benefits of z/OS as well as the planned packaging and delivery of this new product. Contains information that lets users: v Understand the content of z/OS v Plan to get z/OS up and running v Install the code v Take the appropriate migration actions v Test the z/OS system
xv
Description Describes the information associated with z/OS including z/OS documents and documents for the participating elements. Describes the changes to messages for individual elements of z/OS. Note: This document is provided in softcopy only on the message bookshelf of the z/OS collection kit.
SA22-7505
xvi
For additional information about checks and about IBM Health Checker for z/OS, see IBM Health Checker for z/OS: Users Guide. z/OS V1R4, V1R5, and V1R6 users can obtain the IBM Health Checker for z/OS from the z/OS Downloads page at http://www.ibm.com/servers/eserver/zseries/zos/downloads/. SDSF also provides functions to simplify the management of checks. See z/OS SDSF Operation and Customization for additional information.
xvii
xviii
Summary of changes
Summary of changes for SA22-7526-05 z/OS Version 1 Release 7 This document contains information previously presented in z/OS JES2 Commands, SA22-7526-04, which supports z/OS Version 1 Release 5. New information v $ADD NETSRV(nnn) - See $ADD NETSRV(nnn) - Add a network server on page 135. v $D NETSRV(nnn) - See $D NETSRV(nnn) - Display a network server on page 333. v $E NETSRV(nnn) - See $E NETSRV(nnn) - Restart a network server on page 501. v $P NETSRV(nnn) - See $P NETSRV(nnn) - Stop a network server on page 587. v $T NETSRV(nnn) - See $T NETSRV(nnn) - Modify the attributes of a network server on page 765. v $S NETSRV(nnn) - See $S NETSRV(nnn) - Start a network server on page 637. v $ADD SOCKET(xxxxxxxx) - See $ADD SOCKET (xxxxxxxx) - Add a socket on page 167. v $T SOCKET(xxxxxxxx) - See $T SOCKET (xxxxxxxx) - Control a socket on page 917. v $D SOCKET(xxxxxxxx) - See $D SOCKET (xxxxxxxx) - Display the status of a socket on page 448. v $SN - See $S N - Start node communication on a TCP/IP line on page 635. Changed information v Added a note to $D PATH. See $D PATH - Display paths from node to node on page 391. v Added a note to $D NODE. See $D NODE(nnnn) - Display a nodes characteristics on page 339. v Added a note to $T SPOOLDEF. See $T SPOOLDEF - Set the JES2 spooling environment on page 921. v Updated definition for Cancel parameter for $P SPOOL - Drain a spool volume. See $P SPOOL - Drain a spool volume on page 606. v Updated range for LINE parameter for $T APPL - Control JES2 applications. See $T APPL - Control JES2 applications on page 662. v Added NODENUM parameter for $T NJEDEF - Control JES2 network environment. See $T NJEDEF - Control JES2 network environment on page 768. v Added Ready, Held and Outgrps filters for $L JOB - List job output information. See $L Job - List job output information on page 552. v Updated $JDDETAILS - Display details summary of jobs. See $JDDETAILS Display details summary of jobs on page 536. v Updated $JDHISTORY - Display history of JES2 resource usage. See $JDHISTORY - Display history of JES2 resource usage on page 539.
Copyright IBM Corp. 1988, 2005
xix
v Updated range for subscript for $S TRACE(nn) - Start a Trace ID. See $S TRACE(nn) - Start a trace ID on page 654. v Updated range for subscript for $P TRACE(nn) - Stop a Trace ID. See $P TRace - Stop a trace ID on page 609. v Updated $D LINE(nnnn) - Display a Line. See $D LINE(nnnn) - Display a line on page 292. v Updated $T LINE(nnnn) - Control a Line. See $T LINE(nnnn) - Control a line on page 748. v Added NODES parameter for $D Lnnn.JTn - Display the job transmitter status and $D Lnnn.STn - Display SHSOUT transmitter status. See $D L(nnnn).JT(n) Display the job transmitter status on page 283 and $D L(nnnn).ST(n) - Display SYSOUT transmitter status on page 289. v Added NODES parameter for $T Lnnn.JTn - Specify network job transmitter characteristics and $T Lnnn.STn - Specify network SYSOUT transmitter status. See $T L(nn).JT(nn) - Specify network job transmitter characteristics on page 741 and $T L(nnnn).ST(n) - Specify network SYSOUT transmitter characteristics on page 744. v Updated $TNODE(nnnn) - Set a nodes characteristics. See $T NODE(nnnn) Set a nodes characteristics on page 772. v Added SOCKET parameter to $S N(BSC) - Start node communication on a BSC line and $S N(SNA) - Start node communication on an SNA line. See $S N Start node communication on a BSC line on page 630 and $S N - Start node communication on an SNA line on page 633. v Updated QUEUE=XEQ parameter for $C JOB - Cancel a job. v Added TYPE=OS parameter for $D LOADmod(jxxxxxxx) - Display load module information. See $D LOADmod(jxxxxxxx) - Display load module Information on page 299. v Updated $JDDETAILS - Display details summary of jobs. See $JDDETAILS Display details summary of jobs on page 536. v Updated $JDHISTORY - Display history of JES2 resource usage. See $JDHISTORY - Display history of JES2 resource usage on page 539. v Updated Parameter Ranges section in Command Reference Section. See Parameter ranges on page 95. v Added LARGEDS to $T SPOOLDEF. See $T SPOOLDEF - Set the JES2 spooling environment on page 921. v Added LARGEDS to $D SPOOLDEF. See $D SPOOLDEF - Display the JES2 spooling environment on page 456. v Added NODENUM to $T NJEDEF. See $T NJEDEF - Control JES2 network environment on page 768. v Updated $TNODE(nnn). See $T NODE(nnnn) - Set a nodes characteristics on page 772. v Updated $DNODE(nnn). See $D NODE(nnnn) - Display a nodes characteristics on page 339. v Added UNIT and TRaceio to $TLINE(nnn). See $T LINE(nnnn) - Control a line on page 748. v Added CRTIME to $TOFFLOADn. See $T OFFLOAD(n) - Set offload device characteristics on page 828. v Added BUSY and CRTIME to $DJOBQ. See $D Job - Display information about specified jobs on page 256. v Updated $AJOBQ. See $A Job - Release held jobs on page 110.
xx
v Updated $CJOBQ. See $C Job - Cancel a job on page 176. v Updated $CO JOBQ. See $C O Job - Cancel output on page 187. v Updated $DO JOBQ. See $D O Job - Display output characteristics on page 345. v Updated $EJOBQ. See $E Job - Restart a job on page 488. v Updated $HJOBQ. See $H Job - Hold specific jobs on page 527. v Updated $OJOBQ. See $O Job - Release or cancel held output groups on page 561. v Updated $PJOBQ. See $P O Job - Purge a jobs output on page 589. v Updated $PO JOBQ. See $P O Job - Purge a jobs output on page 589. v Updated $TJOBQ. See $T Job - Change a jobs class, scheduling priority, or affinity on page 713. v Updated $LJOBQ. See $L Job - List job output information on page 552. v Updated $T PRTnnnn and $T Rnnnn.PRm. See $T PRTnnnn and $T Rnnnn.PRm - Control a printer on page 852. v Updated $D PRTnnnn and $D R(nnnn).PR(m). See $D PRTnnnn and $D R(nnnn).PR(m) - Display printers on page 406. v Updated $S I ww. See $S I[vvvv] - Start an initiator on page 620. v Updated $T OFF(nn).JT. See $T OFF(nn).JT - Set offload job transmitter characteristics on page 801. v Updated $T OFF(nn).ST. See $T OFF(n).ST - Set offload SYSOUT transmitter characteristics on page 818. v Updated $ADD DESTID. See $ADD DESTID - Define a symbolic destination on page 121. v Updated $ADD RMT(nnnn). See $ADD RMT(nnnn) - Add an RJE workstation on page 157. Deleted information v $ACTIVATE v RELADDR for $T SPOOLDEF v RELADDR for $D SPOOLDEF This document has been enabled for the following types of advanced searches in the online z/OS Library Centre: commands. This document contains terminology, maintenance, and editorial changes. Technical changes or additions to the text and illustrations are indicated by a vertical line to the left of the change. Starting with z/OS V1R2, you may notice changes in the style and structure of some content in this documentfor example, headings that use uppercase for the first letter of initial words only, and procedures that have a different look and format. The changes are ongoing improvements to the consistency and retrievability of information in our documents. Summary of changes for SA22-7526-04 z/OS Version 1 Release 5 This document contains information previously presented in z/OS JES2 Commands, SA22752603, which supports z/OS Version 1 Release 4.
Summary of changes
xxi
New information v $D JOB DELAY=SECLABEL new filtering specification DELAY=QUEUE_ERROR new filtering specification SECLABEL_AFF= new filtering keyword v $D MEMBER v $D SPOOLDEF GCRATE= displays garbage collection rate v $T SPOOLDEF GCRATE= sets garbage collection rate This book has been enabled for the following z/OS library center advanced searches: commands. This document contains terminology, maintenance, and editorial changes. Technical changes or additions to the text and illustrations are indicated by a vertical line to the left of the change. Summary of changes for SA22-7526-03 z/OS Version 1 Release 4 This document contains information previously presented in z/OS JES2 Commands, SA22752602, which supports z/OS Version 1 Release 3. New information v Information has been added to indicate this document supports z/OS.e. v New section Keywords defined added to Chapter 5 to explain displaylimiting, modificationlimiting, and selectionlimiting keywords. v New commands for the JES2 Monitor: $JDMONITOR $JDSTATUS $JDJES $JDDETAILS $JDHISTORY $JDSTOP $D Job EOM= new keyword added. $D OFFLOAD TRACE= new keyword added. $D JOBDEF BAD_JOBNAME_CHAR new keyword added.. $D OPTSDEF MEMBER= new keyword added. $T OFFLOAD TRACE= new keyword added.
v v v v v
Changed information v Chapter 1 Clarified the singlemember warmstart conditions. v $C Job Function description and examples have been updated. v $DF command function has been clarified. v $E CKPTLOCK, HELDBY has updated function description. v $P, $PXEQ $DMEMBER command will tell you if a $P, $PXEQ, or both are in effect. Deleted information
xxii
v Information on $TA command indicating the maximum length is 80 characters. This document contains terminology, maintenance, and editorial changes, including changes to improve consistency and retrievability. Summary of changes for SA22-7526-02 z/OS Version 1 Release 3 This document contains information previously presented in z/OS JES2 Commands, SA22752601, which supports z/OS Version 1 Release 2. New information v An appendix with z/OS product accessibility information has been added. Changed information v TIMEtol= keyword parameter on $T NJEDEF has been modified. Deleted information This document contains terminology, maintenance, and editorial changes, including changes to improve consistency and retrievability.
Summary of changes
xxiii
xxiv
$P
$P JES2
$T EXIT(nnn)
$T BUFDEF
$T SMFDEF
Table 2. Controlling Your Multi-access Spool (MAS) Environment Task Change a members operational mode Command $T MEMBER(memname),IND= Location $T MEMBer Change a members operational mode on page 761 $D MASDEF Display the multi-access spool environment on page 309 $D MEMBer Display information about MAS members on page 313 $T REDIRect Redirect command responses on page 898 $T MASDEF Control the multi-access spool environment on page 758 $D CKPTDEF Display the checkpoint definition on page 212 $T CKPTDEF Set the checkpoint definition on page 667 $E MEMBer Perform cleanup for a failed MAS member on page 498 $E CKPTLOCK Reset the checkpoint lock on page 485
$D MASDEF
$D MEMBER
$T REDIRECT
$T MASDEF
$D CKPTDEF
$T CKPTDEF
$E MEMBER(member)
$E CKPTLOCK, HELDBY=
Table 3. Controlling Automatic Command Processing Task Display, specify, and modify automatic commands Command $T A Location $T A - Display, specify, and modify automatic commands on page 657 $S A - Start automatic command processing on page 619 $Z A - Halt automatic command processing on page 933 $C A - Cancel automatic commands on page 174
$S A
$Z A
$C A
Table 4. Controlling JES2 Diagnostics Task Specify the JES2 trace environment characteristics Command $T TRACEDEF Location $T TRACEDEF Control the trace facility on page 930 $S TRACE(nn) Start a trace ID on page 654 $P TRace - Stop a trace ID on page 609 $T PCE - Control JES2 processors on page 841 $D PCE - Display tracing status for JES2 processors on page 393 $T SSI(nnn) Control the subsystem interface definition on page 925 $T RECVopts Set JES2 recovery options on page 896 $T DEBUG - Set the JES2 DEBUG option on page 681 $D MODule(jxxxxxxx) - Display assembled module information on page 319 $D L(nnnn).SR(n) - Display SYSOUT receiver status on page 286 $D SSI(nnn) Display subsystem interface function information on page 460
$S TRACE(n)
$P TRACE(n)
Trace all JES2 processors of a given type (start/stop tracing) Display tracing status for JES2 processors
$T PCE
$D PCE
$T SSI(n)
$T RECVopts
$T DEBUG
$D MODULE
$D LOADMOD
$D SSI
Table 5. Controlling JES2 Spooling Task Display spool volume usage Command $D SPOOL Location $D SPOOL Display the status of spool volumes on page 451 $S SPOOL - Start a spool volume on page 650 $T SPOOL Modify a spool volume on page 919 $T SPOOLDEF Set the JES2 spooling environment on page 921 $P SPOOL Drain a spool volume on page 606 $Z SPOOL - Halt a spool volume on page 943
$S SPOOL
$T SPOOL
$T SPOOLDEF
$P SPOOL
$Z SPOOL
Table 6. JES2/MVS Commands Task Enter MVS system commands through JES2 Command $VS Location $VS - Enter MVS system commands through JES2 on page 932 16 5 14
Display operator requests Start JES2 Halt the system and preserve MVS statistics and data records
Once the options are specified (from the JCL procedure or on the MVS START command), JES2 does some initial verification, then issues the $HASP493 message indicating that initialization has started. After it has accepted the options, JES2 reads the specified initialization data set. Message $HASP492 indicates that initialization is complete. JES2 is then ready to start processing jobs. If the NOREQ options was specified, JES2 automatically starts processing. Otherwise, you will receive the following messages:
$HASP400 ENTER REQUESTS
This message requests the operator to use the $S command to start JES2 processing. JES2 issues the $HASP492 message to indicate whether initialization was performed for all members of the MAS configuration or only for the member indicated by memname (the member name). $HASP492 also indicates the type of start performed to start member activity.
You should respond using the MVS REPLY command to specify the JES2 options determined by your installation procedures. (See z/OS MVS System Commands for a complete description of the REPLY command.)
REPLY id,options
For example, if the id for a reply is 003, the $HASP426 message is:
003 $HASP426 SPECIFY OPTIONS..... message
Notes: 1. You only are allowed one line on the operator console to provide the JES2 options in your reply. 2. The reply to supply options must follow the rules for JES2 initialization statements. The examples below illustrate correct responses:
REPLY 003,a,b,c,d,e REPLY 003,a,b,c,d,e REPLY 003,a,b,x=144,d,e
The option table that follows, Table 7, lists the JES2 start options and an explanation of each. If you respond to message $HASP426 with the $PJES2 command, JES2 will terminate. If this is the first start of JES2, then the following sequence applies: 1. You should specify the COLD (or FORMAT) option. If COLD (or FORMAT) is not specified, JES2 issues the following messages:
$HASP479 UNABLE TO OBTAIN CKPT DATA SET LOCK - I/O ERROR $HASP454 SHOULD JES2 BYPASS THE MULTI-MEMBER INTEGRITY LOCK? (Y OR N)
Reply TERM to the $HASP289/$HASP272 message pair. You will then have to restart JES2 specifying the COLD (or FORMAT) option. 2. All options may be entered in uppercase or lowercase and must be separated by commas. 3. If two options are entered that are considered opposite, for example (WARM,COLD), the last option specified is the one JES uses. 4. If FORMAT is specified, the system will perform a cold start even though WARM is also specified. The operator then enters the options using the standard reply format. JES2 must be started and completely initialized before initiators will accept work.
Explanation FORMAT specifies that JES2 is to format all existing spool volumes. If you add unformatted spool volumes, JES2 automatically formats them whether FORMAT is specified or not. When you specify FORMAT, JES2 will automatically be cold started. Note: The FORMAT option is denied if this is a multi-access spool configuration, and JES2 is processing in one or more of the other members. Default: NOFMT specifies that JES2 is not to format existing spool volumes unless JES2 determines that formatting is required. COLD specifies that JES2 is to be cold started. All jobs in the member are lost. Notes: 1. The COLD option is denied if this is a multi-access spool configuration and JES2 is processing in one or more of the other members. 2. If the member to be warm started is in a multi-access spool configuration with any other active members, only this member is warm started. 3. When JES2 is cold started, it will by default start with z2 functions activated unless the UNACT parameter is also specified. Default: WARM specifies that JES2 is to be warm started. JES2 will continue processing jobs from where they were stopped. If the FORMAT option was also coded, then JES2 will ignore the WARM specification and will cold start. NOREQ specifies that the $HASP400 (ENTER REQUESTS) message is to be suppressed and that JES2 is to automatically start processing when initialization is complete. Default: REQ specifies that the $HASP400 (ENTER REQUESTS) message is to be written at the console. This message allows the operator to restore the MVS environment (VTAM, for example) to what it was before the preceding shutdown and start JES2 processing with the $S command. This can be overridden with OPTSDEF. NOLIST specifies that JES2 is not to print the contents of the initialization data set or any error flags that occur during initialization. If you specify NOLIST, JES2 ignores any LIST control statements in the initialization data set. The z/OS JES2 Initialization and Tuning Reference presents an example of an initialization data set listing produced by using the list option. Default: LIST specifies that JES2 is to print all the statements in the initialization data set and any error flags that occur during initialization. (JES2 prints these statements if a printer is defined for that purpose when JES2 is started.) LIST will not print any statements that follow a NOLIST control statement in the initialization data set. This can be overridden with OPTSDEF.
COLD WARM
NOREQ REQ
NOLIST LIST
Table 7. JES2 Start Options (continued) Option Explanation NOLOG NOLOG specifies that JES2 is not to copy initialization statements or initialization errors to the HARDCPY console. LOG If you specify NOLOG, JES2 ignores LOG control statements in the initialization data set. Default: LOG specifies that JES2 is to honor any LOG statements in the initialization data set. This can be overridden with OPTSDEF. VALIDATE specifies that the track group map is validated on a JES2 all-member warm start in addition to the 7day, ongoing track group validation cycle. This option when used in conjunction with job queue validation is useful for several special situations that require immediate track group map validation. Refer to thez/OS JES2 Initialization and Tuning Guide for a further discussion of using SPOOL=VALIDATE. Default: SPOOL=NOVALIDATE specifies that the track group map is not validated when JES2 restarts (single-member and all-member warm start and hot start). CKPT1 specifies that JES2 reads the CKPT1 data set as the source of the checkpoint data for building the JES2 work queues.CKPT2 specifies that JES2 reads the CKPT2 data set as the source of checkpoint data for building the JES2 work queues. Note: This option is valid only on an all-member warm start. Default: If you do not specify this option, JES2 determines which checkpoint data set to initially read based on information in the checkpoint data set. This can be overridden with OPTSDEF or CKPTDEF. RECONFIG specifies that JES2 will use the checkpoint data set definitions as specified on the CKPTDEF statement in the initialization data set. JES2 overrides any modifications to the checkpoint data set definitions previously made either by the $T CKPTDEF command or through the use of the checkpoint reconfiguration dialog. Specifying RECONFIG will also cause JES2 to enter the reconfiguration dialog during initialization; and issue message $HASP289 CKPT1 AND/OR CKPT2 SPECIFICATIONS ARE REQUIRED. The CKPTDEF statement definition cannot contain the most current checkpoint definition if you have previously reconfigured your checkpoint configuration through the checkpoint reconfiguration dialog because changes made through the dialog are not saved in the input stream data set. Notes: 1. This option is valid only on an all-member warm start. 2. Specifying PARM=RECONFIG has the same affect as specifying RECONFIG=YES on the CKPTDEF initialization statement.
SPOOL=VALIDATE SPOOL=NOVALIDATE
CKPT1 CKPT2
RECONFIG
Table 7. JES2 Start Options (continued) Option Explanation HASPPARM=ddname HASPPARM=ddname specifies the name of the data definition (DD) statement that defines the data set containing HASPPARM=HASPPARM the initialization statements that JES2 is to use for this initialization. Default:HASPPARM=HASPPARM specifies that JES2 is to be initialized using the initialization statements in the data set defined by the HASPPARM DD statement in the JES2 procedure. Mutually exclusive with MEMBER=. MEMBER=membname specifies the member of the default PARMLIB concatination containing the initialization statments that JES2 is to use for this initialization. PARMLIB_MEMBER= is a synonym for MEMBER=. MEMBER is mutually exclusive with HASPPARM=. The order of processing is: 1. MEMBER= if specified 2. HASPPARM= if specified 3. default HASPPARM=HASPPARM if DD can be opened 4. default MEMBER=HASjesx member of the default PARMLIB concatination Causes JES2 to simulate receiving a CONSOLE initialization statement after all initialization statements are processed. That is, if CONSOLE is specified, JES2 will divert to the operator console for further parameter input after all PARMLIB parameter input is exhausted. (Refer to the CONSOLE initialization control statement, above, for further information.) This can be overridden with OPTSDEF. NONE U N NONE, U, or N character specifies that JES2 is to use all the default start options. There is no difference between these three options. These options are equivalent. When NONE, U, Or N is specifie, JES2 uses the default start options which are: v NOFMT v WARM v REQ v LIST v LOG $P JES2 UNACT If specified, instructs JES2 to terminate immediately. Unactivates the new JES2 functions introduced in Release z/OS 1.2. This parameter unactivates an ACTIVATE level=z2. This option can be used on an all-member HOT start or COLD start.
CONSOLE
10
Restarting JES2
JES2 may be either cold started or warm started, depending on the current environment. You can specify the type of start (COLD or WARM) on the MVS START command, or in response to the $HASP426 SPECIFY OPTIONS message. (See Specifying the Start Options on page 6 for information about how to specify JES2 options.) Specifying WARM can result in a hot start or quick start, as described below and summarized in Table 8 on page 12.
Cold start
If you want to specify the COLD and/or FORMAT initialization options (both of which result in a cold start of JES2), you must IPL the system before you issue the MVS START command, unless you stopped the previous JES2 with a $P JES2 operator command. Implement a cold start with caution because it results in the re-initialization of all JES2 job and output queues. This means all job queue entries and job output elements are cleared and formatted. If you specify the FORMAT initialization option, JES2 formats all existing spool volumes. Otherwise, JES2 formats any spool volumes it determines are unformatted. No other member in a MAS configuration can be active during a cold start or JES2 will terminate with an error message. You invoke one of the remaining initialization processes as a result of specifying the WARM initialization option without the FORMAT option. If you specify the FORMAT option, JES2 automatically performs a cold start.
Warm start
The warm start initialization process applies to: v Single member v All members in a MAS configuration. When you use the warm start initialization process to start a single member the warm start is referred to as a single-member warm start. During a single-member warm start, JES2 only re-queues jobs that were previously active on the member. A single-member warm start occurs if all of the following is true: v This member abnormally terminated. v This member is not the first member in the MAS configuration to be started. v You IPL the system before issuing the MVS START command for JES2. When you start the first member in a MAS configuration that is being initialized after an IPL or clean shutdown of JES2 ($P JES2), the warm start is referred to as an all-member warm start. An all-member warm start applies to every member of the MAS configuration. Because no other member is currently using the checkpoint data set, this is the only
11
time that activities such as verifying internal control blocks for all jobs in the MAS configuration may occur. All jobs that were previously active on any processor are re-queued to their respective queues. Hot start: A hot start is a warm start of an abnormally terminated JES2 member without an intervening IPL. JES2 performs a hot start when a particular JES2 member has stopped but other systems have continued to function and have not experienced problems. When JES2 hot starts, all address spaces continue to execute as if JES2 had never terminated. Jobs that were processing on output devices are re-queued as if a $I command had been issued. Jobs on input devices must be resubmitted and lines must be restarted. Hot starts have no affect on other members in a MAS configuration. Quick start: A quick start occurs if you request a warm start and JES2 determines that job queue and job output table updating is not necessary. This can occur in these cases: v The previous JES2 was stopped by a $P JES2 command and this is not the first member (or only member) in the MAS configuration to start. Because all work is quiesced, there is no need to update the job queue or job output table before restarting. v An all-member warm start has been performed (which processes all jobs) and this member is already defined to the MAS configuration. There is no need to update the job queues or job output table. v This member abnormally terminated and a $E MEMBER(member) command was issued from another member in the MAS configuration. This gives the issuing member the ability to: Process any jobs that had a specific affinity for the member being reset. Process any output for the reset member. Restart any jobs that were interrupted on the reset member. Dynamically add a new member to a multi-access spool configuration. A new member is defined as a member that has a NAME (on the MEMBER statement) that has not been previously defined to the MAS. $E MEMBER command start: In addition to the above method of restarting JES2, a restart of work on the failed member can be performed on any other active member in the configuration by the AUTOEMEM facility or by entering the $E MEMBER command. In-process work on the specified member is recovered and made available for selection by other members of the configuration, subject to affinity for execution restart. The following table summarizes the type of start performed in a given environment and situation when you request a warm start. In the table, JES2 Terminates Normally infers that the operator enters a $P JES2 command; JES2 Terminates Abnormally infers that the operator enters a $P JES2,ABEND[,FORCE] command or JES2 terminates abnormally.
Table 8. Types of JES2 Warm Start Environment: Normally with IPL First member starting (single member or MAS complex) All-member warm start JES2 Terminates: Normally without IPL All-member warm start Abnormally with IPL All-member warm start Abnormally without IPL Hot start
12
Table 8. Types of JES2 Warm Start (continued) Another member joining an already-running MAS complex Quick start Quick start Single-member warm start ** Hot start *
* Assuming no $E MEMBER from another member. If $E MEMBER was issued, a hot start will be denied ($HASP490) and an IPL is required. ** Assuming no $E MEMBER from another member (or AUTOEMEM option) from another member. If $E MEMBER was issued, a quick start results.
If you reply: YES The job is restarted. NO The job is queued for output or queued for re-execution (if the RESTART option was specified on the jobs /*JOBPARM statement). HOLD The job is placed in hold status, to be restarted when it is released. Once you have determined that the system is ready to resume processing, enter the $S command (unless NOREQ was specified).
Stopping JES2
Before stopping JES2, issue the $P command to stop all JES2 processing. System initiators, printers, punches, job transmitters, and SYSOUT transmitters will not accept any new work and will become inactive after completing their current activity.
Chapter 1. Controlling JES2
13
However, new jobs will be accepted through input devices; JES2 issues message $HASP099 ALL AVAILABLE FUNCTIONS COMPLETE when JES2 has stopped processing.
14
Monitoring buffers
All JES2 buffers are maintained in a dynamic pool until required by an active function. The BUFDEF initialization statement defines the number of local I/O buffers to be acquired by JES2 (10 to 2000). To help you tune your system, you may wish to closely monitor local buffer usage during JES2 processing by issuing the $T BUFDEF command. (For performance considerations associated with buffer usage, see z/OS JES2 Initialization and Tuning Reference.) Use the $T BUFDEF command to specify the percentage of local buffers used at which JES2 alerts you of a local buffer shortage. The $HASP840 message displays the number of local buffers in use, the number currently free, and the percentage of usage at which you are alerted. Use the $T SMFDEF command to monitor SMF buffers in the same manner. The $HASP841 message displays the current values of all the parameters on the SMFDEF initialization statement when you enter the $T SMFDEF command. The $HASP050 message alerts you of a shortage of either SMF buffers or local buffers. JES2 deletes this message when the resource shortage is relieved (by a decrease in resource use or an increase in the threshold).
15
the MAS configuration. The $HASP843 message displays information including the time limits on maintaining control of the checkpoint data set, and whether a member can reset the checkpoint data set automatically. The $D MASDEF command also provides a means of determining what member owns the checkpoint data set lock, and if a member is actively updating the checkpoint data set. The RSVHELD parameter displays the member that has access to the checkpoint data set, but is not actively updating the data set; the QUESHELD parameter displays the member that has access to the checkpoint data set, and is actively updating the data set. Use the $D MEMBER command to list the status of the members in the MAS configuration. The $HASP673 message displays information including the member name, the MVS system name, and the status of each member. You can use the $D command at any time during processing to display the current settings of JES2 initialization statement parameters. If you specify only the statement name, JES2 will display all of the parameters defined on that statement. If you want to display only certain parameters, you must specify the statement name followed by the parameters requested, separated by commas. Because the $D command allows you to examine the controls in effect, it is recommended that you use this command before making any modifications with the $T command. You can route the output of certain $D commands to an alternate area and/or console. The $ADD REDIRECT command allows you to specify on which consoles such output can be displayed. For a list of the supported parameters for this command, see the description of the $ADD REDIRECT command. The $D REDIRECT command allows you to display the redirection that is already in effect on the member. For a list of the supported parameters for this command, see the description of the $D REDIRECT command. You can alter the REDIRECT initialization statement and specify different consoles for output by issuing the $T REDIRECT command. For a list of the supported parameters for this command, see the description of the $T REDIRECT command. z/OS JES2 Initialization and Tuning Reference contains a complete description of the REDIRECT initialization statement.
Note that if the installation changes the console character (as defined on CONDEF CONCHAR), that value must be used instead. See z/OS MVS System Commands for a description of other operands you may specify on this command. You can use the MVS ROUTE command to send a JES2 command to one or more systems in a sysplex. Use the ROUTE command, for example, to change
16
initialization definitions, to control JES2 installation exit points ($T EXIT) or to define a VTAM application to JES2 ($ADD APPL). To route a JES2 command (such as $ADD APPL) to all systems in a sysplex, enter the following:
ROUTE *ALL,$ADD APPL
In some cases, however, you should not route commands to more than one system. For example, you would not route a command v If the routed command results in a WTOR. v If the routed command displays an excessive amount of data. For more information about the ROUTE command, see z/OS MVS System Commands .
17
If one or both checkpoint data sets at your installation reside on a coupling facility structure instead of on DASD, you cannot use DUAL mode; JES2 processing forces the mode to DUPLEX. For a more detailed discussion of both DUPLEX and DUAL mode processing, refer to z/OS JES2 Initialization and Tuning Guide. Specifying MAS definition parameters and initiating a checkpoint reconfiguration dialog: You control the use of the checkpoint data set by specifying parameters on the $T MASDEF and $T CKPTDEF commands. The $T MASDEF command allows you to specify MAS definition and tuning parameters. You can specify the minimum and maximum time a MAS member must wait to regain control of the checkpoint data set, how long that member can have control, and at what time interval JES2 determines that a lockout condition exists. You can also specify whether direct access volumes should be marked shared or non-shared, and at what time interval JES2 assumes that a MAS member is inoperative. You can use the $T CKPTDEF command to specify the checkpoint definition and to initiate a checkpoint reconfiguration dialog with JES2. Specify ON or OFF on the DUPLEX parameter to tell JES2 whether CKPT2 is used as a backup of the CKPT1 data set. You may specify that alternate data sets be used in place of the CKPT1 and CKPT2 data sets. The RECONFIG=Y parameter puts JES2 in a dialog so that you can supply the information necessary to reconfigure the checkpoint data set specifications. z/OS JES2 Initialization and Tuning Guide provides several examples of JES2- and operator-initiated checkpoint failure and recovery procedures. It is highly recommended that you familiarize yourself with these dialogs and procedures before attempting to reconfigure the checkpoint environment.
To make jobs from a failed JES2 member eligible for restart on another member when both the MVS system and the JES2 subsystem fail, the hardware lock (if held) must be reset and the software checkpoint lock must be reset. If the JES2 subsystem fails and the MVS system continues to run jobs, reset the software lock and restart the JES2 subsystem. After resetting both the hardware and the software checkpoint lock, jobs become eligible for restart: v Through the use of operator commands. v Through the use of the AUTOEMEM option. Using operator commands: To make jobs eligible for restart without the AUTOEMEM option (when the JES2 checkpoint data set resides on DASD) an operator must: v Reset the hardware checkpoint lock. v Enter the $E CKPTLOCK, HELDBY= command to reset the software checkpoint lock, if it is held by the failed member.
18
v Enter the $E MEMBER(member) to requeue jobs for restart on another JES2 MAS member. Note: When a checkpoint resides on a coupling facility structure, you must still enter the $E MEMBER(member) to requeue jobs. Using the AUTOEMEM Option: In a sysplex, JES2 members of a MAS can take advantage of the AUTOEMEM option to make jobs eligible for restart, with minimal operator intervention. The option can be specified on the MASDEF initialization statement (or dynamically through the $T MASDEF command): v AUTOEMEM=YES v RESTART=YES|NO For a more complete understanding of the AUTOEMEM option, see z/OS JES2 Initialization and Tuning Guide.
19
Debugging errors
The DEBUG facility can be used to trap incorrect alterations of checkpoint data (using DEBUG=Y|N), and it can be used (if additional parameters are included with the command) to record certain JES2 events and activities. For example, you can specify whether to count certain events, provide certain $HASP095 error information to the operator, verify the integrity of a newly created checkpoint version, or, start or stop monitoring updates made to the checkpoint data set. The information collected from the monitoring can be made available through a dump of the JES2 address space.
20
Note: The CKPT option on the DEBUG facility should not be used in production due to significant performance overhead.
21
automatically within 7 days as provided by the automatic spool reclamation function, whichever occurs first. If the volume can be remounted, you may start it to prevent the loss of spool space by issuing the $S SPOOL,CANCEL,P command.
22
The following table summarizes the characteristics of the six status classifications of spool volumes:
STATUS STARTING ACTIVE DRAINING DRAINED HALTING INACTIVE IN USE NO YES YES NO YES NO ALLOCATABLE NO YES NO NO NO NO SELECTABLE NO YES YES NO NO NO
v IN USE - Active jobs may be using spool space on the volume. v ALLOCATABLE - Spool space may be allocated on the volume. v SELECTABLE - Jobs that have spool space on the volume may be selected for JES2 processing. When an inactive volume isnt available to be started again (for example, the volume may be damaged and cannot be remounted) and the loss of spool space is acceptable, you should cancel all jobs residing on the volume and subsequently drain the volume. Because jobs associated with this volume may also have spool space allocated on other volumes, spool space on other spool volumes may be lost with all currently defined spool volumes active (excluding spool volumes that have been drained). JES2 recovers these lost track groups at the next all-member warm start if you also specify the SPOOL=VALIDATE start option or automatically within 7 days as provided by the automatic spool reclamation function, whichever occurs first. Other JES2 resources, such as job queue elements and job output elements, will be recovered. For more information on recovering from a JES2 spool failure see Recovering from Spool Volume Failure in z/OS JES2 Initialization and Tuning Guide.
23
24
$D U
$ADD FSS
$T FSS
Table 10. Controlling Readers Task Assign reader characteristics, hold all jobs, and control tracing Command $T RDRnn Rnnnn.RDm Start a reader $S RDRnn Rnnnn.RDm Display a reader $D RDRnn Rnnnn.RDm Location $T RDRnn and $T Rnnnn.RDm Control a reader on page 889 $S RDRnn and $Rnnnn.RDm Start a reader on page 647 $D RDR(nn) and $D R(nn).RD(mm) - Display command authority for a reader on page 433
25
Table 10. Controlling Readers (continued) Task Cancel reader activity Command $C RDRnn Rnnnn.RDm Location $C RDR and $C Rnnnn.RDm Cancel reader activity on page 199 $Z RDRnn - Halt reader activity on page 942 $P RDRnn and $P Rnnnn.RDm Stop a reader on page 604 $T INTRDR Control internal readers on page 709
Halt a reader
$Z RDRnn
Stop a reader
$P RDRnn Rnnnn.RDm
$T INTRDR
Table 11. Controlling Printers Task Specify printer characteristics and options Command $T PRTnnnn Rnnnn.PRm Specify JES2 printer characteristics $T PRINTDEF Location $T PRTnnnn and $T Rnnnn.PRm Control a printer on page 852 $T PRINTDEF Control the JES2 print environment on page 845 $S PRTnnnn and $S Rnnnn.PRm Start a printer on page 643 $ADD PRT Define a local printer on page 140 $D PRTnnnn and $D R(nnnn).PR(m) - Display printers on page 406 $I PRTnnnn and $I Rnnnn.PRm Interrupt printer activity on page 533 $F PRTnnnn and $F Rnnnn.PRm Logically advance printer output on page 506
Start a printer
$S PRTnnnn Rnnnn.PRm
$ADD PRTnnnn
Display printers
$D PRT Rnnnn.PRTm
$I PRTnnnn Rnnnn.PRm
$F PRTnnnn Rnnnn.PRm
26
Table 11. Controlling Printers (continued) Task Backspace printer output Command $B PRTnnnn Rnnnn.PRm Location $B PRTnnnn and $B Rnnnn.PRm Logically backspace printer output on page 169 $T PRTnnnn and $T Rnnnn.PRm Control a printer on page 852 $E PRTnnnn and $E Rnnnn.PRm Restart Printer Activity on page 504 $C PRTnnnn and $C Rnnnn.PRm Cancel printer output on page 197 $Z PRTnnnn and $Z Rnnnn.PRm Halt printer activity on page 940 $P PRTnnnn and $P Rnnnn.PRm Stop a printer on page 601
$N PRTnnnn Rnnnn.PRm
$E PRTnnnn Rnnnn.PRm
$C PRTnnnn Rnnnn.PRm
$Z PRTnnnn Rnnnn.PRm
Stop a printer
$P PRTnnnn Rnnnn.PRm
Table 12. Controlling Punches Task Specify punch characteristics and options Command $T PUNnn Rnnnn.PUm Start a punch $S PUNnn Rnnnn.PUm Display punches. $D PUNnn Rnnnn.PUm Location $T PUNnn and $T Rnnnn.PUm Control a punch on page 873 $S PUNnn and $S Rnnnn.PUm Start a punch on page 645 $D PUN(nn) and $D R(nnnn).PU(m) - Display a remote punch on page 419 $I PUNnn and $I Rnnnn.PUm Interrupt punch activity on page 535
$I PUNnn Rnnnn.PUm
27
Table 12. Controlling Punches (continued) Task Advance punch output Command $F PUNnn Rnnnn.PUm Location $F PRTnnnn and $F Rnnnn.PRm Logically advance printer output on page 506 $B PUNnn and $B Rnnnn.PUm Logically backspace punch output on page 172 $N PUNnn and $N Rnnnn.PUm Repeat punch output on page 560 $E PUNnn and $E Rnnnn.PUm Restart punch activity on page 505 $C PUNnn and $C Rnnnn.PUm Cancel punch output on page 198 $Z PUNnn and $Z Rnnnn.PUm - Halt punch activity on page 941 $P PUNnn and $P Rnnnn.PUm Stop a punch on page 603
$B PUNnn Rnnnn.PUm
$N PUNnn Rnnnn.PUm
$E PUNnn Rnnnn.PUm
$C PUNnn Rnnnn.PUm
$Z PUNnn Rnnnn.PUm
Stop a punch
$P PUNnn Rnnnn.PUm
Table 13. Controlling the JES2/VTAM Interface Task Define the JES2/VTAM interface Command $ADD LOGON(n) Location $ADD LOGON(nn) - Add a logon on page 133 $S LOGON Start the JES2/VTAM interface on page 628 $P LOGON(nn) Stop the JES2/VTAM interface on page 586
$S LOGON(n)
$P LOGON(n)
28
Table 13. Controlling the JES2/VTAM Interface (continued) Task Restart the JES2/VTAM interface Command $E LOGON(n) Location $E LOGON(nn) Restart the JES2/VTAM interface on page 497 $T LOGON(n) Control the JES2/VTAM interface on page 755
$T LOGON(n)
| | | | | | | | | | | | | | | | | | | | | | | | |
Table 14. Controlling the JES2 TCP/IP interface Task Define the JES2 TCP/IP interface Command $ADD NETSERV(n) Location $ADD NETSRV(nnn) Add a network server on page 135 $S NETSRV(nnn) - Start a network server on page 637 $P NETSRV(nnn) - Stop a network server on page 587 $E NETSRV(nnn) - Restart a network server on page 501 $T NETSRV(nnn) - Modify the attributes of a network server on page 765
$S NETSERV(n)
$P NETSERV(n)
$E NETSERV(n)
Assign related TCP/IP stack and JES2 SOCKET and diagnose NJE/TCP problems
$T NETSERV(n)
Table 15. Controlling RJE Lines Task Define a RJE line Command $ADD LINE(nnn) Location $ADD LINE(nnnn) - Add line on page 128 $S LINE(nnnn) Start a line on page 626 $P LINE(nnnn) Stop a line on page 584 $E LINE(nnnn) Restart line activity on page 495
$S LINE(nnnn)
$P LINE(nnnn)
$E LINE(nnnn)
29
Table 15. Controlling RJE Lines (continued) Task Command Location $T LINE(nnnn) Control a line on page 748
Disconnect an RJE line, assign a password, or diagnose $T LINE(nnnn) RJE line problems
Table 16. Controlling RJE Workstations Task Specify JES2 teleprocessing characteristics Command $T TPDEF Location $T TPDEF - Set JES2 teleprocessing characteristics on page 927 $T RMT(nn) Change an RJE workstation on page 901 $T RMT(nn) Change an RJE workstation on page 901 $S N - Start node communication on an SNA line on page 633 $D ACTRMT Display Active RJE Workstations in a MAS on page 205 $P RMT(nnnn) Terminate a remote terminal connection on page 605
$ADD RMT(nnnn)
$T RMT(nnnn)
$S RMT(nnnn)
$D ACTRMT
$P RMT(nnnn)
Table 17. Controlling Offload Devices Task Start an offload device Command $S OFFLOADn, TYPE= $C OFFn.JR OFFn.JT OFFn.SR OFFn.ST Halt an offload device $Z OFFLOADn Location $S OFFLOADn - Start an offload device on page 641 $C OFFn.xx - Cancel a spool offload transmitter/receiver on page 195 $Z OFFLOADn - Halt offload activity on page 939 $P OFFLOADn - Stop an offload device on page 600
$P OFFLOADn
30
Table 17. Controlling Offload Devices (continued) Task Restart an offload transmitter Command $E OFFn.JT OFFn.ST Specify offload device characteristics $T OFFLOAD(n) Location $E OFFn.xx - Restart a spool offload transmitter on page 503 $T OFFLOAD(n) - Set offload device characteristics on page 828 $S OFFn.xxn - Start offload transmitters and receivers on page 639 $P OFFn.xx - Stop an offload transmitter/receiver on page 598 $T OFF(nn).JR - Set offload job receiver characteristics on page 795 $T OFF(nn).JT - Set offload job transmitter characteristics on page 801 $T OFF(n).SR - Set offload SYSOUT receiver characteristics on page 809 $T OFF(n).ST - Set offload SYSOUT transmitter characteristics on page 818
$T OFF(n).JR
$T OFF(n).JT
$T OFF(n).SR
$T OFF(n).ST
Device overview
JES2 is responsible for controlling all system input devices, initiators, and output devices, except those devices controlled by the external writer and programs interfacing with JES2 through an internal reader. The JES2 initiator and device control commands, except the $T command for devices, can be used to control several local and/or remote devices simultaneously. You can specify local input and output devices by either their full or abbreviated names. The device namesand their abbreviations are:
Device Name LINE(nnnn) LOGON(n) NETSERV(n) Abbreviation LNE(n) LGN(n) NSV(n), NETSRV(n) Explanation RJE or NJE line (1-32767) JES2/VTAM interface JES2 TCP/IP interface
| |
31
Device Name L(n).JR(n) L(n).JT(n) L(n).SR(n) L(n).ST(n) OFFLOAD(n) OFF(n).JR OFFn.JT OFFn.SR OFFn.ST PRINTERnnnn PUNCHnn RDI READER(nn) R(nnnn).CON* R(nnnn).PR(m)* R(nnnn).PU(m)* R(nnnn).RD(m)*
Abbreviation
Explanation NJE job receiver NJE job transmitter NJE SYSOUT receiver NJE SYSOUT transmitter Offload device Offload job receiver Offload job transmitter Offload SYSOUT receiver Offload SYSOUT transmitter Local printers 1-32767 Local punches 1-99 All internal readers 1-32767 Local readers Remote console Remote printers Remote punches Remote readers
All JES2 input devices, initiators, and output devices are in one of several states: v Active: The device or initiator is actively performing a function. v Inactive: The device or initiator is available to perform a function, but no jobs are available. v Startable: A $S command has been issued for the indicated offload transmitter/receiver, but the corresponding offload device has not yet been started. v Starting (JES2): An MVS START command has been issued to activate an initiator, but successful creation of the address space has not been verified. The initiator is not processing work and will not do so until a request is made by MVS started task control to start the initiator job. v Starting (device): A device supported by a functional subsystem (such as a 3800-3 printer) has been started by a $S device command, but successful creation and initialization of the functional subsystem address space has not been verified. The device becomes active or inactive when functional subsystem initialization is complete. v Draining: The device or initiator is performing a function, but will not begin any new activity upon completion of the current function. v Drained: The device or initiator is inactive and will not become active until you enter a $S command for the device or initiator. v Halting: The initiator is active, but will not select another job after completing the current function. v Halted (initiator): The initiator is inactive and will not become active until you enter a $S command. This differs from drained because the system does not free the resources associated with the initiator. v Halted (device): The device has been halted by a $Z device command or by a requirement for you to perform an action, such as changing the forms, carriage tape, or print train. A $S device command will allow the device to continue. v Paused: The local printer or punch has paused between data set groups. It can be restarted by entering a $S command or by resetting it from a not-ready to a ready state. Keep the following in mind when entering JES2 device control commands:
32
v You can enter up to 20 operands in a single JES2 initiator command or device control command. v Devices generally perform the requested operation after the response to the command. v Many commands will accept operands as valid, even though the devices are unable to perform the requested function. v If you enter an incorrect operand on a device command other than a $T device command, JES2 processes all operands preceding the incorrect operand. The operand in error, and those that follow, are ignored. v Operators at JES2 remote workstations can normally control only the devices attached to their workstations.
33
whether or not JES2 is to automatically stop the address space when the devices attached to the FSS are drained. See the individual command descriptions in Chapter 5. Command Reference Section for the particular processing considerations associated with these commands.
Controlling readers
At system initialization, JES2 uses the initialization deck to define all local and remote readers and assign each a number from 1 to 99. Use the device numbers with the subsystem commands, to control the various readers. Use the $D U,RDRS command or the $D RDR(nn) command to request a list of the JES2 input devices assigned to each device address.
Internal readers
An internal reader is a logical device. It is a special SYSOUT data set, available to problem programs, that allows jobs to be entered directly into the job stream from other programs executing in the system (for example, from a time-sharing user). Although you control all the internal readers much the same as an input reader, they are not real devices. You can control all internal readers using the $T INTRDR command with certain parameters, but you cannot control individual internal readers. JES2 automatically starts internal readers when they are required. Reader devices not supported by JES2 may be supported by utilities that interface with the JES2 internal reader. For more information, see z/OS MVS System Commands.
34
35
3. When controlling remote devices, you should be aware that the central system is always several lines or cards ahead of the physical output at a remote workstation.
Controlling printers
Starting printers
The output characteristics of printers can be defined at initialization though the PRT(nnnn) initialization statement (for local printers defined to JES2) and the R(nnnn).PR(m) initialization statement (for remote printers), or defined dynamically. Output characteristics are the attributes that define how the printer produces output in a hardcopy format. Starting a printer defined to JES2: Once the system has been initialized, you must use the MVS command to VARY the printer online. Then enter the $S PRT(nnnn) command to start this printer. If the initialization statement specifies SETUP=HALT, JES2 issues the $HASP190 message, which specifies what output characteristics were specified during initialization. You should verify that the output characteristics of your printer match the output characteristics specified on the initialization statement. Then reenter the $S command to activate this device. Dynamically defining a local printer to JES2: After initialization, the $ADD PRT(nnnn) command allows you to define a local printer to JES2. Then enter the $S PRT(nnnn) command to activate this device. If you reinitialize the system, this local printer is not defined to JES2 unless it has been added to the initialization deck.
36
the $D PRT command or the $D U, PRTS command to check the status of all output characteristics assigned at initialization. If no unit address has been assigned, enter the $T PRT,UNIT= command, followed by the $S PRT(nnnn) command. While printing the output of a data set, FSS-managed printers pre-select the next data set for printing, making that data set unselectable for another printer that may have become free. Using the PRESELCT=NO parameter on the $T PRTnnnn command, you can prevent a printer from pre-selecting data sets, making them selectable for any printer.
Controlling punches
JES2 provides commands for controlling punches that are identical to those described for printers. (See the preceding sections, Controlling Printers and Specifying Printer Characteristics.) For a list of the commands used for controlling punch activity and references to the individual command descriptions, see Table 12 on page 27 at the beginning of this chapter. Note: If a device (printers and punches) cannot select output because the device does not have sufficient access to that output, the output remains on the output queue until you: v Change the security attributes of the device; you must then stop and restart that device for the security attributes to take affect. v Authorize the userid associated with the output to the device. v Change the work selection criteria of the output so that a device with the appropriate security attributes can select the output.
37
38
Because teleprocessing lines are not considered active at JES2 initialization, each line must be activated using a JES2 $S LINE(nnnn) command. You issue this command through a command stream (for example, in the JES2 initialization data set), through the automatic command processor, or in a job stream. A line is dynamically allocated when activated; you deactivate a line using the $P LINE(nnnn) command. You can restart a line using the $E LINE(nnnn) command. Note: You may also specify a range of lines on the $S, $T, $E, $P, and $D U LINE(nnnn) commands.
39
Note that you cannot start a remote, whether BSC or SNA, if the remote number is already being used on another JES2 member of the MAS. Use the $D ACTRMT command to determine which RJE workstations are active in a MAS. Disconnecting an RJE workstation: Disconnect a specific RJE workstation by entering the $P RMT(nnnn) command. If the RJE workstation is already connected when the command is entered, it will finish all printing and punching already in progress and then disconnect. If the RJE workstation is not connected, but the operator has requested its connection using the $S RMT(nnnn) command, the connection request will be cancelled.
40
Table 18. Remote Entry Restrictions ($A-$D) (continued) Command $CO Job $C Lnnnn.xxn $C OFFn.xx $C PRTnnnn $C PUN $C RDR $D A $D ACTIVATE $D ACTRMT $D CONNECT $D F $D I $D L(nnnn).JR(n) $D L(nnnn).JT(n) $D L(nnnn).SR(n) $D L(nnnn).ST(n) $D job $D M $D MEMBER $D N $DO Job $D PATH $D PCE $D PROCLIB $D PRTnnnn $D PUNnn $D Q $D RDI $D SPOOL $D SUBNET $D U $DEL CONNECT $DEL CONNECT $DEL PROCLIB RJE Owner Prohibited Prohibited (2) (3) (2) Owner None None None Prohibited None None None None None None Owner None None (1) None Owner None None None None None (1) None None None None None Prohibited Prohibited Prohibited NJE Owner Prohibited Prohibited Prohibited Prohibited Prohibited None None None None None None None None None None Owner None None (1) None Owner None None None None None (1) None None None None None None Prohibited Prohibited
41
Table 18. Remote Entry Restrictions ($A-$D) (continued) Command RJE NJE
(1) If the R= operand is omitted from either the $D N or $D Q command, and the command is entered from a remote workstation or another node, the only jobs qualifying will be those with a default print/punch routing to that particular remote workstation or node. If the R= operand is included in either the $D N or $D Q command, all jobs within the specified range will be displayed regardless of the default print/punch routing of the console on which the command was issued. (2) Prohibited on local devices, but this command can be entered by the owner on remote workstations. (3) When a non-multileaving remote device is in command input mode, output devices on that remote device are not active. (4) Job-related commands from another node will be honored only insofar as they affect jobs owned by that node. A node is considered to own a job if the job originated at that node or if the jobs default print/punch output is destined for that node. Table 19. Remote Entry Restrictions ($E-$O) Command $E Jn[-n] $E Lnnnn.xxn $E LINE(nnnn) $E LOGON(n) $E OFFn.xx $E PRTnnnn $E PUNnn $E MEMBER(member) $E CKPTLOCK, HELDBY= $F PRTnnnn $F PUNnn $G A $G C $G D $G H $G R $H A $H job $I PRTnnnn $I PUNnn $JDDETAILS $JDHISTORY $JDJES $JDMONITOR $JDSTATUS RJE (1) Prohibited Prohibited Prohibited Prohibited (1) (2) (1) Prohibited Prohibited (1) (2) (1) Owner Owner Owner Owner Owner Prohibited Owner (1) (2) (1) Prohibited Prohibited Prohibited Prohibited Prohibited NJE (1) Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited (3) Prohibited (3) Prohibited (3) Prohibited (3) Prohibited (3) Prohibited Prohibited Owner Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited
42
Table 19. Remote Entry Restrictions ($E-$O) (continued) Command $JSTOP $L job $M N $Nnnnn $N PRTnnnn $N PUNnn $O RJE Prohibited Owner Prohibited Prohibited (1) (2) (1) Owner NJE Prohibited Owner (3) Prohibited (3) Prohibited Prohibited Prohibited Owner
(1) Prohibited on local devices, but this command can be entered by the owner on remote workstations. (2) When a non-multileaving remote device is in command input mode, output devices on that remote device are not active. (3) This command will always be rejected if received over an NJE line as the text portion of a node send ($Nnnnn) command, even if the sending node has network authority at the destination node. Table 20. Remote Entry Restrictions ($P-$S) Command $P $P JES2 $P I $P job $P Lnnnn.xxn $P LINE(nnnn) $P LOGON(n) $P OFFn.xx $P OFFLOADn $P PRTnnnn $P PUNnn $P Q $P RDR $P RMT(nnnn) $P SPOOL $P TRACE(n) $P XEQ $PO Job $R $R XEQ $S $S A $S I[vvvv] $S Job RJE Prohibited Prohibited Prohibited Owner Prohibited Prohibited Prohibited Prohibited Prohibited (2) (3) (2) Prohibited (2) (2) Prohibited Prohibited Prohibited Owner (1) Owner Owner Prohibited Prohibited Prohibited Owner NJE Prohibited Prohibited Prohibited Owner Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited (2) Prohibited Prohibited Prohibited Owner Owner Owner Prohibited Prohibited Prohibited Owner
43
Table 20. Remote Entry Restrictions ($P-$S) (continued) Command $S Lnnnn.xxn $S LINE(nnnn) $S LOGON(n) $S N $S OFFLOADn $S PRTnnnn $S PUNnn $S RDR RJE Prohibited Prohibited Prohibited Prohibited Prohibited (2) (2) (2) NJE Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited
(1) $R requires that the job to be routed belong to the JES2 remote workstation; that is, normal print or normal punch must be routed to that workstation. (2) Prohibited on local devices, but this command can be entered by the owner on remote workstations. (3) When a non-multileaving remote device is in command input mode, output devices on that remote device are not active. Table 21. Remote Entry Restrictions ($S-$T) Command $S RMT(nnnn) $S SPOOL $S TRACE(n) $S XEQ $T A $T APPL $T BUFDEF $T CKPTDEF $T CONNECT $T CONDEF $T DEBUG $T DEStid $T ESTBYTE $T ESTIME $T ESTLNCT $T ESTPAGE $T ESTPUN $T EXIT(nnn) $T FSS $T I $T job $T JOBCLASS(n) $T JOBDEF RJE (1) Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited NJE (1) Prohibited Prohibited Prohibited (2) Prohibited Prohibited Prohibited Prohibited None Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited
44
Table 21. Remote Entry Restrictions ($S-$T) (continued) Command $T JOBPRTY(n) $T LINE(nnnn) $T LOGON(n) $T M $T MASDEF $T MEMBER(member) $T NJEDEF $T NODE(nnnn) $T NUM $T O RJE Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Owner NJE Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Owner
(1) Prohibited on local devices, but this command can be entered by the owner on remote workstations. (2) This command will always be rejected if received over an NJE line as the text portion of a node send ($Nnnnn) command, even if the sending node has network authority at the destination node. Table 22. Remote Entry Restrictions ($T-$Z) Command $T OFF(n).JR $T OFF(n).JT $T OFF(n).SR $T OFF(n).ST $T OFFLOAD(n) $T OUTCLASS(n) $T OUTDEF $T OUTPRTY(n) $T PCE $T PRINTDEF $T PROCLIB $T PRTnnnn $T PUNnn $T INTRDR $T RDRnn $T RECVopts $T RMT(nnnn) $T SMFDEF $T SPOOLDEF $T SSI(nnn) $T TPDEF $T TRACEDEF $VS RJE Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited (2) (3) (2) (2) Prohibited (2) Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited NJE Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited (4)
45
Table 22. Remote Entry Restrictions ($T-$Z) (continued) Command $Z A $Z I $Z OFFLOADn $Z PRTnnnn $Z PUNnn $Z RDRnn $Z SPOOL RJE Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited NJE Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited
(1) Prohibited on local devices, but this command can be entered by the owner on remote workstations. (2) When a non-multileaving remote device is in command input mode, output devices on that remote device are not active. (3) This command will always be rejected if received over an NJE line as the text portion of a node send ($Nnnnn) command, even if the sending node has network authority at the destination node. (4) Job-related commands from another node will be honored only insofar as they affect jobs owned by that node. A node is considered to own a job if the job originated at that node or if the jobs default print/punch output is destined for that node.
46
$HASP593 message is issued. If the corresponding data set is already in use by another offload device, JES2 denies the start and issues the $HASP614 message. Draining an offload device The current job completes processing before the device is allowed to drain. This draining process stops the selection process for associated transmitters and receivers that are currently active. When the device is drained, JES2 closes and deallocates the offload data set. If you issue the $P OFFn.xx (where xx is JT, JR, ST, or SR) command for an offload device that has been halted ($Z) during the receive operation, you may need to restart the reload operation to finish the job that was halted. Then the device will drain. Note: On the receive operation, the offload device is automatically drained when an end-of-file is encountered. Halting an offload device Halting an offload device does not cause the offload data set to be deallocated, but the selection process for active transmitters and receivers is automatically stopped so that the operator can reset the work selection criteria before restarting the transmit or receive operation. If you issue the $Z command during the transmit operation, any active transmitter(s) will finish processing their currently active jobs before the selection process is halted. If you issue the $Z command during the receive operation, any active receivers will be halted immediately in the middle of the jobs being processed. When the receive operation is restarted, the offload device will begin to read the offload data set at the point where it was halted. Displaying the status of an offload device You can display detailed information about a specific offload device ($D OFFLOAD(n)), or about all offload devices defined to JES2 ($D U,OFFS). Unless you request limited status information, the status of all corresponding transmitters and receivers is also displayed. Setting offload data set characteristics You may set offload data set characteristics only if the indicated offload device is drained.If you are uncertain of the characteristics in effect, you may display the characteristics for the offload device in question. Use $D OFFLOAD(n) to display detailed information about an offload device; use $T OFF(n).xx,WS= to set offload data set characteristics.
47
same rule applies to job receivers and SYSOUT receivers. For example, if you issue the $T OFF1.JR and $T OFF1.SR commands, JES2 automatically starts the offload job and SYSOUT receivers for offload device 1 when you issue the $S OFFLOAD1,TYPE=RECEIVE command. Note: If you issue the display command for the transmitters or receivers ($D OFFn.xx) before the associated offload device is started, it will display their status as STARTABLE. Draining offload transmitters and receivers When you issue the $P OFFn.xx command, the current job completes processing before the device is allowed to drain. Once drained, the transmitter or receiver will not be automatically started when the corresponding offload device is started; it must be individually started using the $S OFFn.xx command. If both receivers have been drained while the corresponding offload device is still active, the offload device will be automatically halted. You can then terminate the reload operation by issuing the $P OFFLOADn command or continue loading by starting the offload receivers ($S OFFn.xR). Displaying the status of offload transmitters and receivers You can display detailed information about specific offload job transmitters and offload SYSOUT transmitters using the $D U,OFFn.XT command. The $D U,OFFn.xR does the same for offload job and SYSOUT receivers. Setting offload transmitter and receiver characteristics You can specify the work selection characteristics of an offload job transmitter or receiver by issuing the $T OFFn.xx,WS= command. You can do the same for offload SYSOUT transmitters and receivers. If you are uncertain of the characteristics in effect, you can display the characteristics for a particular offload transmitter or receiver by issuing the $D U,OFFn.xx command. Canceling offload transmitters and receivers The job currently active on a transmitter or receiver may be cancelled by issuing the $C OFFn.xx command. When canceling a job transmitter, the job will be terminated and deleted from the queue from which it was selected. The transmitter then selects the next job eligible for processing. When canceling a SYSOUT transmitter, the output groups for the job that were eligible to be offloaded according to the work selection criteria, will be terminated and deleted from the queues from which they were selected. The transmitter then selects the next job eligible for processing. When canceling a receiver, reception of job or SYSOUT data continues until the end-of-job indicator is recognized, at which time the received job is deleted from JES2 spool. The transmitter/receiver continues processing as long as the spool offload media device provides data. Restarting offload transmitters Processing of the job currently active on a transmitter may be interrupted by issuing the $E OFFn.xT command. Restarting an offload transmitter is similar to the cancel command with the exception that the job is not deleted from JES2 spool but remains on the queue from which it was selected. The transmitter continues by selecting the next job eligible for processing, which may be the same job that was interrupted. To prevent the interrupted JOB/SYSOUT from being re-selected, the job should be put in HOLD status prior to the $E OFFn.xT command.
48
$D Q
$D F
$D REBLD
$D A
$D job
$L job
$DO Job
$G D
Display a message at another operator console or send a message to an executing jobs JES2 job log
$D M
49
Table 24. Specifying Job Execution Characteristics Task Set the JES2 internal job numbers Command $T NUM Location $T NUM - Set the JES2 internal job numbers on page 783 $T JOBDEF - Set job processing characteristics on page 734 $T JOBPRTY(n) Set job scheduling characteristics on page 739 $T ESTIME Control the default execution time on page 694
$T JOBDEF
$T JOBPRTY(n)
$T ESTIME
Table 25. Controlling Initiators Task Start an initiator Command $S I Location $S I[vvvv] - Start an initiator on page 620 $D I[nnmm] Display initiator information on page 249 $T Init(nnmm) Control initiators on page 706 $Z I[vvvv] - Halt initiator activity on page 937 $P I[nnmm] - Stop an initiator on page 568 $S XEQ - Allow JES2 and WLM-controlled initiators to select work on page 656 $P XEQ Prevents JES2 and WLM-controlled initiators from selecting work on page 610
$D I
$T I
Halt an initiator
$Z I
Stop an initiator
$P I
$S XEQ
$P XEQ
50
Table 26. Controlling Job Execution Task Route specified jobs for execution Command $R XEQ, D= Location $R XEQ - Route specific jobs for execution on page 616 $C Job - Cancel a job on page 176 $P Job - Purge a job on page 574 $P SPOOL Drain a spool volume on page 606 $E Job - Restart a job on page 488 $T Job - Change a jobs class, scheduling priority, or affinity on page 713 $S Job - Initiate a batch job into execution on page 622 $T JOBCLASS Set job class characteristics on page 723
Cancel a job Purge a job Drain a spool volume (process/cancel remaining jobs)
Restart a currently executing job Change s class, scheduling priority, or member affinity
$E Job $T job
$S Job
$T JOBCLASS(n)
Table 27. Holding and Releasing Jobs Task Hold all jobs Release all jobs Hold specified jobs Command $H A $A A $H job Location $H A - Hold all jobs on page 525 $A A - Release all jobs on page 109 $H Job - Hold specific jobs on page 527 $A Job - Release held jobs on page 110 $T JOBCLASS Set job class characteristics on page 723 $T JOBCLASS Set job class characteristics on page 723
$A job
$T JOBCLASS(x),QHELD=Y
$T JOBCLASS(x),QHELD=N
51
Table 28. Controlling Jobs at Another Node Task Hold a job at another node Command $G H Location $G H - Hold a job at another node on page 517 $G A - Release a job at another node on page 511 $G C - Cancel a job at another node on page 513 $G R, XEQ Request another node to route a job for execution on page 522 $G R, OUT Request another node to route job output on page 519
$G A
$G C
$G R
$G R
52
Table 29. Specifying Job Output Characteristics Task Set output characteristics Command $TO Job Location $T O Job - Set output characteristics on page 784 $T OUTDEF - Set job output characteristics on page 835 $T JOBCLASS Set job class characteristics on page 723 $T OUTCLASS(n) - Set SYSOUT class characteristics on page 832 $T OUTPRTY(n) Set output scheduling priorities on page 839 $T ESTBYTE Control the default spool space utilization per job on page 692 $T ESTLNCT Control the default print line count per job on page 696 $T ESTPAGE Control the default page count per job on page 698 $T ESTPUN Control the default punched card output per job on page 700
$T OUTDEF
$T JOBCLASS(n)
$T OUTCLASS(n)
$T OUTPRTY(n)
Specify the estimated amount of spool space needed for $T ESTBYTE a job output
$T ESTLNCT
$T ESTPAGE
$T ESTPUN
53
Table 30. Controlling Output Task Release or cancel held output data sets Command $O Location $O Job - Release or cancel held output groups on page 561 $P O Job - Purge a jobs output on page 589 $R - Route job output on page 611 $C O Job Cancel output on page 187
$PO Job
$R ,D=
$CO Job
Controlling jobs
For JES2, a job can actually be a batch job, started task, or time-sharing user (known as a job, STC, and TSU, respectively). They are further identified by a job identifier (jobid), which is an eight-character string of the form JOBnnnnn, J0nnnnnn, STCnnnnn, S0nnnnnn, TSUnnnnn, and T0nnnnnn respectively. You can control the action JES2 is to take on jobs, (for example, cancel, display, or hold), and you can control the display of information about jobs, as the following topics explain.
The command produces a display of jobs meeting the JOBMASK criteria anywhere in the MAS. For more information about using wildcards, see Using wildcards on page 98. Job-related commands: The JOBQ and JOBMASK parameters can be specified on the following commands: v $A Job
54
v v v v v v v v v v v v
$C Job $CO Job $D Job $DO Job $E Job $H Job $L Job $O Job $P Job $PO Job $T Job $T O
the job identifier is displayed before the message number. For more information about using the MVS CONTROL command see z/OS MVS System Commands. JES2 allows you to display the following job information: Number of jobs on a queue The $D Q command displays the number of jobs on a particular queue. The parameters on this command allow you to display detailed job information, including the percentage of spool disk utilization for all jobs that have data on the spool volume specified on the V=volser parameter. Number of jobs on the rebuild queue Use the $D REBLD command to display all job output elements (JOEs) and job queue elements (JQEs) on the rebuild queue and the total number of each. JES2 moves JOEs and JQEs to the rebuild queue when JES2 determined that particular element was not valid or corrupted. Typically the rebuild queue is empty; however, you might find this command useful if: v You receive messages indicating that JOEs or JQEs are pending discard and you require further information. v In response to other display commands, JES2 indicates the job is not found or found on the rebuild queue.
55
Currently active jobs Use the $D A command to display information about currently active jobs (batch jobs, started tasks, and time-sharing users). You can also display information about jobs being processed on unit record devices or spool offload devices. For example, issuing $D A,SYSA,DEV,L=4A displays information on area A of console 4 for all jobs (batch, STCs, and TSUs) active on unit record devices on the member whose identifier is SYSA. The MVS DISPLAY ACTIVE command provides further information about active jobs. For a description of this command, see z/OS MVS System Commands. For specific jobs To display information about a specific job or range of jobs, issue the $D job command. The $HASP890 message displays number, name, status, class, priority, and spool volume information for the specified job(s). Job output forms queue Use the $D F command to display the number of data sets queued for output. The $HASP621 message displays the destination and processing requirements (such as forms, carriage, print train, bursting) of the work on the output forms queue. Note: The $D F command does not display specific job information; it displays only the number of queued elements according to their attributes. Job queue information Use the $D N command to display information about a specific job or range of jobs: v Whose affinities include that specified (member name) v With affinities of ANY v For all jobs in the MAS configuration (ALL) v For all jobs whose affinity is for members operating in independent mode (IND) The $HASP890 message displays number, name, status, class, priority, and affinity information. The $HASP646 message displays the percentage of spool disk utilization for the specified jobs that have data on the spool volume specified on the V=volser parameter. Output information Use the $L job command to display the number of held or non-held data sets for a specified job or range of jobs. Use the $DO Job command to display the output processing characteristics of specified output groups or individual job output elements (JOEs). For a job at another node Issue the $G D command to display information about jobs you previously routed for execution at another node (by using the $R XEQ,D= command) or to display information about any job at any node (subject to your nodes command authority at that node). You must specify the O= parameter if the job did not originate at your node. You can also use the $G D command to locate a job. By omitting the destination name, you are effectively issuing a global locate command that is sent to all reachable nodes in the network. Each node responds individually in this case. Display a message Issue the $D M command to display a message on a specified operator
56
console or a range of consoles. This includes remote workstations at other nodes and consoles at other MAS members. You may also use this command to send a message to an executing jobs JES2 job log. The job can be on any member of the MAS, but must be currently executing within the MAS, not awaiting execution or output.
57
v The JES2 command $T J(n), P=priority, which you may issue to change the jobs priority after the job has been read and queued. v The /*PRIORITY control statement. v The job time estimate information on the JOB statement or /*JOBPARM statement. When an initiator is started, it will search its assigned queues for a job to process. On completion, it searches its queues for another job. The initiator processes jobs in priority order; for example, if the initiator is assigned classes A, B, and X, it will initiate only class A jobs as long as there are class A jobs ready for execution. When no class A jobs are available, the initiator will select only class B jobs or, if no class A or B jobs are available, class X. If there are no jobs available in the assigned classes, the initiator is inactive until such jobs are available. This process is repeated each time an initiator attempts to select a job. An exception to this order of selecting jobs occurs when an execution batch monitor is active. Inthis case, the execution batch monitor class temporarily assumes the highest priority (for as long as the execution batch monitor remains active), thus reducing the overhead of bringing an execution batch monitor in and out of the system.
Initiator commands
JES2 provides commands you issue to display initiator information, assign initiator classes, halt, start, and stop initiators. For a list of the JES2 commands associated with these functions and references to their detailed command descriptions, see Table 25 on page 50 at the beginning of this chapter.
58
when JES2 first initializes is to allow selection. If you want to prevent this, place a $P XEQ command in your JES2 initialization deck. v Immediately start the execution of a batch job in a WLM managed job class, with the $S Job operator command. Workload management will select the job for immediate execution from the list of systems where the job is eligible to run (based on SYSAFF and SCHENV parameters as well as SECLABEL affinity if active). This is processed even if the job is held.
59
be routed or use the R= parameter to specify that all jobs in the system are to be routed to the node named on the D= parameter. You can still control the execution of jobs youve routed to another node. For a description of the commands you can use, see Controlling Jobs at Another Node later in this chapter. Stop a job Use the $C job command to cancel a job or time sharing user (TSU) immediately, regardless of the member of the MAS on which the job is executing. To stop a job after it has completed its current activity and remove all traces of it from the system, issue the $P job command. STCs, however, can only be cancelled using these commands after they have executed. (Use the MVS CANCEL command if you wish to cancel these types of jobs during execution.) The $C job command terminates the scheduling of a job or range of jobs. If the job is in execution, you can also request a storage dump to diagnose a problem by specifying $C job,D. Issue the $C job,P command to purge the job output. The $P job command cancels job output and purges all information about the job from the system. The $P job,Q= command allows you to specify up to 36 classes of output to be cancelled for the job. However, if data for the job remains queued in an output class you did not specify, JES2 does not cancel the job from the system. The CANCEL parameter on the $P SPOOL,V=volser,CANCEL command cancels all jobs on the volume that can be cancelled. If any job being cancelled has data sets residing on another volume, those data sets are also cancelled. JES2 issues the $HASP890 message to display the status of cancelled jobs. Restart a currently executing job Issue the $E Jn[-n] command to queue one or more batch jobs for re-execution, regardless of which member of the MAS the job is on. If you wish to restart a job, butdo not want it to execute at this time, first hold the job using the $H command, then issue the $E command. Change the execution class, scheduling priority, or affinity Use the $T job command to change these characteristics for a single job or a specified range of jobs. The $T JOBCLASS(n),XBM=xxxxxxxx command allows you to specify that all jobs in the specified class (n) be processed by the named execution batch monitor procedure.
60
holds all jobs in the MAS configuration regardless of affinity. Use the $A A command with the same parameters to release the held jobs. Holding and Releasing Specified Jobs Use the $H job command to hold a specific job or a range of jobs . For example, issuing $H J5-8 places batch jobs 5, 6, 7, and 8 in hold status. The current status of the indicated jobs is displayed in the $HASP890 message. The $A job command releases specified jobs in the same manner. The current status of the indicated jobs is displayed in the $HASP890 message. Note: The $A job command may be used to release any held job or range of jobs, not just those held by the $H job command. Holding and Releasing Job Queues Use the $T JOBCLASS(x),QHELD=YES command to keep jobs in a specified job queue from being executed. To allow jobs on that queue to be executed again, issue $T JOBCLASS(x),QHELD=NO.
61
62
Table 31. Changing Output Characteristics for SYSOUT Data Output Characteristic keyword ADDRESS= BUILDING= BURST= CLASS= COMSETUP= CONTROL= Purpose How To Modify
Specifies an address to be printed on SDSF print separator pages. Specifies a building location to be printed on print separator pages. Directs output to a stacker on a 3800 printer subsystem. Assigns the data set to an output class. Specifies options for microfiche printers. SDSF SDSF(BURST=) or $T O line command (B=) SDSF(CLASS=) or $T O line command (Q=) SDSF
Specifies that the data set records SDSF(CONTROL=) or $T O line begin with carriage control characters command (C=) or specifies line spacing. Specifies a department identification to be specified on separator pages. Sends a data set to the specified destination. Indicates that the data set is to be printed with forms overlay and can specify how many copies are to be flashed. SDSF SDSF(DEST=) or $T O line command (D=) SDSF(FLASH=) or $T O line command (O=)
FORMS= FORMDEF=
Identifies forms on which the data set SDSF(FORMS=) or $T O line is to be printed or punched. command (F=) Names a library member that PSF SDSF uses in printing the SYSOUT data set on a page-mode printer. Specifies the preferred name to be printed on output separator pages. SDSF
Specifies the print complete message SDSF to as many as four users. Specifies the output bin. Specifies the disposition of the process instance for normal or abnormal termination of the job step. Names a library member SYSOUT data set on a page-mode printer. Identifies the process mode required to print the SYSOUT data set. Specifies initial priority at which the SYSOUT data set enters the output queue. Specifies a room identification to be printed on output separator pages. Identifies a report title to be printed on new separator pages. SDSF SDSF(OUTDISP) or $T O line command (NDISP=; ODISP) SDSF SDSF(PRMODE) or $T O line command (PRMODE=) SDSF(PRTY) or $T O line command (P=) SDSF SDSF
ROOM= TITLE=
63
Table 31. Changing Output Characteristics for SYSOUT Data (continued) Output Characteristic keyword USERLIB= Purpose Identifies the libraries containing Advanced Function Printing (AFP) resources to be used by Print Services (PSF) when processing SYSOUT data sets. How To Modify SDSF
UCS=
Specifies universal character set, print SDSF(UCS=) or $T O line command train, or character-arrangement table (T=) for a 3800 Printing Subsystem. Names an external writer to process the SYSOUT data set rather than JES2. SDSF(WRITER=) or $T O line command (W=)
WRITER=
Specify JES2 job output characteristics The $T OUTDEF command allows you to specify the general output processing characteristics of JES2, such as whether the MAS configuration is to use shared broadcasting. You also specify the number of job output copies that may be requested, set the percentage of JOE usage at which you are alerted of a shortage, and set the PRTYHIGH and PRTYLOW characteristics for jobs that have not yet been selected for execution. The PRTYOUT=Y|N parameter specifies whether the priority specification (PRTY=) on the JCL OUTPUT statement is supported or not. Note: The $T OUTDEF command does not affect output that has already been created. This also applies to the $T commands that control conditional purging described below. You can control conditional purging of output for jobs according to the type of job. v STCs, using the $T JOBCLASS(STC) command. v TSUs, using the $T JOBCLASS(TSU) command. Specify output disposition You can specify the disposition for output data sets through the OUTDisp parameter on the following commands: v $T JOBCLASS v $T OUTCLASS You can specify the following dispositions: HOLD Hold the output. JES2 does not process the output until you either change the disposition to WRITE or KEEP, or release the output. When the output is released, the disposition changes to WRITE. KEEP Process the output and then keep a copy of it on spool. After processing, the disposition of this output becomes LEAVE. LEAVE JES2 does not process the output until you change the disposition to either WRITE or KEEP, or release the output. When the output is released, the disposition changes to KEEP. PURGE Purge the output immediately. WRITE Process the output then purge it.
64
For each command you can specify abnormal and normal dispositions. The abnormal disposition applies when a job abends or contains a JCL error. The default is abnormal disposition. Below you can see the output disposition changes that take place after a data set has been released and/or processed.
WRITE HOLD Hold Print Queue LEAVE KEEP Purge
Specify JES2 output scheduling priority in relation to output quantity The $T OUTPRTY(n) relates scheduling to the quantity of records or pages of output. When JES2 builds JOEs for a job, it assigns a priority to each JOE based on the total number of output lines, cards, or pages represented by the JOE. The $T OUTPRTY(n) command allows you to specify page, record, and priority parameters to control output scheduling. Note: This command does not affect post-execution jobs, nor does it affect an output data set if the PRTY= parameter was specified on the data sets OUTPUT JCL statement and PRTYOUT=YES was specified on the OUTDEF initialization statement. Specify the default spool space utilization for job output Use the $T ESTBYTE command to specify the default amount of spool space needed for a jobs output (1-99999 bytes) and the action that JES2 takes if the output exceeds this amount. You specify the interval at which JES2 issues the $HASP375 message informing you that the amount has been exceeded and control whether the job is to continue executing or be cancelled (with or without issuing a dump). Specify the estimated print line count for jobs The $T ESTLNCT command allows you to specify the default print line count
Chapter 3. Controlling jobs and output
65
(1-9999) in thousands of lines for a jobs output and the action JES2 takes if the job exceeds this estimate. You receive the $HASP375 message informing you that the line count has been exceeded at the interval specified on the INT parameter. The OPT parameter allows you to control whether JES2 is to allow the job to continue executing or cancel the job and, optionally, issue a dump. For example, specifying $T ESTLNCT,NUM=20,INT=1000,OPT=1 indicates to JES2 that, if a job that has not yet been selected for execution exceeds 20,000 print lines, JES2 should issue the $HASP375 message for every 1000 lines after 20,000 and cancel the job without issuing a dump. Specify the estimated page count for a jobs output The $T ESTPAGE command allows you to specify the default page count (1-999999)for a jobs output and the action JES2 takes if the job exceeds this estimate. You receive the $HASP375 message informing you that the page count has been exceeded at the interval specified on the INT parameter. The OPT parameter allows you to control whether JES2 is to allow the job to continue executing or cancel the job and, optionally, issue a dump. Specify the estimated punched card output for jobs The $T ESTPUN command allows you to specify the default number of punched cards per job (0-9999999) and the action JES2 takes if the job exceeds this estimate. You receive the $HASP375 message informing you that the page count has been exceeded at the interval specified on the INT parameter. The OPT parameter allows you to control whether JES2 is to allow the job to continue executing or cancel the job and, optionally, issue a dump.
66
To speed throughput or ease the amount of work queued for a device, you can route both normal and specially routed output for a job or jobs to an alternate location. Specially routed output is independent of the normal job output, which is unaffected. Producing a separator page The $T PRINTDEF command allows you to specify whether JES2 produces the print separator page or the format of the print separator page through the SEPPAGE= parameter. You can suppress the separator page, print only the detail box information, print one full separator page, or print two full separator pages. For more information about this function, refer to Control a Printer in chapter 5. Rerouting job output The $R command allows you to reroute to another destination both ready and held output for batch jobs, started tasks, or TSO/E users. This command allows an operator to change the specified destination on a piece of output as often as necessary. You can issue the $R command only for output groups. You can display the destination of output groups by entering the $DO J command (destination appears on the ROUTECDE= parameter in the display). In addition, you can use the $R command to change the command authority routing on jobs, or allow them to remain the same. Command authority allows an operator to control output disposition and display jobs. A jobs command authority can be specified from two distinct places: v The route code of the input device that brought the job into the system v The remote or node specified on either the JES2 /*ROUTE PRT or the /*ROUTE PUN JES2 control statement. You can display a jobs command authority by entering the $D Jn,LONG command; the $HASP890 message displays the CMDAUTH= parameter. If you do not code ALL,Q= or OUTDISP= with the J= or the R= parameter (in conjunction with the D= parameter) on the $R command, both the routing for that jobs output and the command authority are transferred. For the sending node to retain the authority to change output characteristics while routing all output from one remote to another, specify the ALL,Q= parameters or OUTDisp= parameter to reroute the specified JOE (job output elements) to an alternate location. The command authority for those jobs remains unchanged. If you enter
$R all,r=j5,d=r7,outd=(w,h,k,l),
JES2 routes all eligible print and punch output from remote 5 to remote 7, but retains command authority at remote 5. If you do not specify the OUTDisp parameter, all output with a disposition of WRITE, HOLD, KEEP, or LEAVE will be rerouted. If output is not routed when you issue the $R command, wait a few minutes and retry the command. If your output is still not routed, contact your system programmer.
67
together. These characteristics are called grouping characteristics. Each of these output groups is represented by a job output element (JOE), which is the smallest unit of a jobs output that JES2 selects for output device processing. An output group has three identifiers (for example, group10.1.2). The first identifier is the group id. This is a 1 to 8 character alphameric name that the user can specify in the JCL. If the user does not specify a name, JES2 will generate one. The name refers to the collection of data sets that JES2 grouped together because their grouping characteristics matched. The second identifier distinguishes between job output elements of the same group. Job output elements may have the same group id when JES2 constructs more than one job output element for the group because class, destination, writer, and/or mode were not identical within the group, or because device setup characteristics were not identical within the group and your installation does not permit demand setup job output elements (that is, job output elements that require more than one device setup). The third identifier is used to distinguish between copies of the same job output. Multiple copies of the same job output may result from job copies (COPIES= on the output JCL statement) or the $N command. Qualifying the output group name with a job output element identifier allows you to address, and thus control the job output element. JES2 commands allow you to control various aspects of the job processing cycle by addressing the data by output group name, with or without a job output element identifier. You can set the output characteristics for one or all of the job output elements in a job, or range of jobs using the $T O command. You can also display the output processing characteristics of designated output groups or individual job output elements (JOEs) using the $DO job command and cancel specific output groups or JOEs created by a job.
68
Display the JES2 network environment for message, command, and data transmission among nodes.
$D NJEDEF
$ADD DEStid
$T DEStid
$DEL DEStid
$D SUBNET
$D U,LINEn or $D NODE
69
Table 33. Starting BSC Node Communications Task Start an NJE line Command $S LINExx Location $S LINE(nnnn) Start a line on page 626 $S N - Start node communication on a BSC line on page 630
$SN,LINExx, N=nodename
Table 34. Starting SNA Node Communications Task Start the JES2/VTAM interface Command $S LOGON(n) Location $S LOGON Start the JES2/VTAM interface on page 628 $S LINE(nnnn) Start a line on page 626 $S N - Start node communication on an SNA line on page 633
$S LINExx
$S N,A=
Table 35. Starting TCP/IP Node Communications Task Start the JES2-TCP/IP interface Command $S NETSRV Location $S NETSRV(nnn) - Start a network server on page 637 $S LINE(nnnn) Start a line on page 626 $S N - Start node communication on a TCP/IP line on page 635
$SLINE
$SN,S=
70
Table 36. Controlling the JES2/VTAM Interface Task Define the JES2/VTAM interface Command $ADD LOGON(n) Location $ADD LOGON(nn) - Add a logon on page 133 $S LOGON Start the JES2/VTAM interface on page 628 $T LOGON(n) Control the JES2/VTAM interface on page 755 $P LOGON(nn) Stop the JES2/VTAM interface on page 586 $E LOGON(nn) Restart the JES2/VTAM interface on page 497
$S LOGON(n)
$T LOGON(n)
$P LOGON(n)
$E LOGON(n)
Table 37. Controlling the JES2-TCP/IP Interface Task Define the JES2-TCP/IP interface Command $ADD NETSRV Location $ADD NETSRV(nnn) Add a network server on page 135 $S NETSRV(nnn) - Start a network server on page 637 $T NETSRV(nnn) - Modify the attributes of a network server on page 765 $P NETSRV(nnn) - Stop a network server on page 587 $E NETSRV(nnn) - Restart a network server on page 501
$S NETSRV
$T NETSRV
$P NETSRV
$E NETSRV
71
Table 38. Defining and Changing Applications Task Define a new JES2 application Command $ADD APPL Location $ADD APPL Define a VTAM application to JES2 on page 116 $T APPL - Control JES2 applications on page 662
$T APPL
Table 39. Defining and Changing TCP/IP sockets Task Define a new socket Command $ADD SOCKET Location $ADD SOCKET (xxxxxxxx) - Add a socket on page 167 $T SOCKET (xxxxxxxx) Control a socket on page 917
$T SOCKET
Table 40. Controlling NJE Lines Task Define an NJE line Command $ADD LINE(nnnn) Location $ADD LINE(nnnn) - Add line on page 128 $S LINE(nnnn) Start a line on page 626 $T LINE(nnnn) Control a line on page 748 $E LINE(nnnn) Restart line activity on page 495 $P LINE(nnnn) Stop a line on page 584
$S LINE(nnnn)
Disconnect an NJE line, assign a password, or diagnose $T LINE(nnnn) NJE line problems Restart NJE line activity $E LINE(nnnn)
$P LINE(nnnn)
72
Table 41. Controlling NJE Static Connections Task Add static network connections Command $ADD CONNECT Location $ADD CONNECT - Dynamically add network connections on page 118 $D CONNECT Display network connections on page 224 $T CONNect Change static network connections on page 678 $DEL CONNect Delete network connections on page 478
$D CONNECT
$T CONNECT
$DEL CONNECT
Table 42. Controlling NJE Devices Task Start an NJE device Command $S L(nnnn).JR(n) L(nnnn).JT(n) L(nnnn).SR(n) L(nnnn).ST(n) Restart NJE device activity $E L(nnnn).JR(n) L(nnnn).JT(n) L(nnnn).SR(n) L(nnnn).ST(n) Control work selection on an NJE device $T L(nnnn).ST(n) Location $S Lnnnn.xxn Start an NJE device on page 624 $E Lnnnn.xxn Restart NJE device activity on page 493 $T L(nnnn).ST(n) - Specify network SYSOUT transmitter characteristics on page 744 $C Lnnnn.xxn Cancel NJE device activity on page 185 $P Lnnnn.xxn Stop an NJE device on page 582
73
Table 43. Sending Messages and Commands Through the Network Task Send messages through the network Command $D M Location $D M - Send a message on page 305 $Mnn - Send commands to other MAS members on page 556 $Nnnnn - Send commands through the network on page 557 $G D - Display job information for a job at another node on page 515
$M n
$N n
$G D
74
75
only if you perform a hot start. To permanently delete the symbolic destination, remove the DEStid initialization statement before restarting JES2.
JES2 shows each node on each subnet. The $D SUBNET shows what nodes are located within a particular subnet. The $D PATH command provides the installations view of the path to a particular node and the resistance level of that path. The resistance indicates how likely an installation is to use a path. In all instances, the path manager chooses the path of least resistance. When the $D SUBNET command is used in conjunction with the $D PATH command, it provides a powerful diagnostic tool. To determine network connectivity to remote node 6, an operator enters a $D PATH(6) and receives the following console display:
$HASP231 PATH(N6) $HASP231 STATUS=(through LINE 7),REST=20, PATH=(N1,N2,N3...N4,N5...N6)
JES2 shows that LINE 7 is the conduit that connects local node 1 to target node 6. The resistance is 20 and the actual path travels from node N1 to N6. The comma between nodes indicate a direct path from one node to the other, while the ellipsis (...) indicates that N3 to N4 and N5 to N6 involve travel through subnets. In complex network configurations, these commands can help users determine why a path link is not receiving information and how to resend jobs across a network to reduce processing bottlenecks. For more information about networking, refer to z/OS JES2 Initialization and Tuning Guide.
76
v A list of the active (not drained) JES2 transmitting and receiving devices that exist (or are allowed to exist) for all NJE lines directly attached to this node. (use $D U,LNES)
77
2. Enter the $S N,LINEnnnn command or the $SN,N=nodename command to establish an NJE connection with an adjacent node by identifying the started BSC line upon which this system is to try to establish an NJE connection. The system will try to sign on to whatever system is at the other end of the specified line by sending an NJE sign-on record over the line. The command will be ignored if the line is currently signed on for RJE or NJE activity. Note: Before starting networking on a line, it is necessary that the line be started from both nodes using the $S LINE(nnnn) command. This is not required when the line(s) are specified on the NODE initialization statement. The $S N,LINEnnnn command also allows you to specify a node password (up to 8 alphameric characters) that is to be transmitted in the sign-on record resulting from this command. If the password is omitted, the node password contained in the node information table entry for the local node is used. Each side of the connection must assign the same password for the line used in the connection. For information about establishing a BSC network connection, see z/OS JES2 Initialization and Tuning Reference. If the $S N command is unsuccessful, do the following: 1. Enter a $D U command to ensure that the BSC line is started. v If it is not started, issue a $S LINE(nnnn) command. 2. If the line is active, issue a $E LINE(nnnn) command to stop the current activity. 3. Reissue the $S N command. If this also fails (having been attempted from both nodes, if necessary), then: 1. Drain the line from both nodes using a $P LINE(nnnn) command followed by a $E LINE(nnnn) command. 2. Start the line from both nodes with a $S LINE(nnnn) command. (If a dial-up line is used, you will have to re-dial after issuing the $S LINE(nnnn) command.) 3. Enter the $S N command from one of the nodes. When you wish to stop an NJE line after it completes its current activity, issue the $P LINE(nnnn) command.
The following describes each of these commands in more detail: Starting VTAM The MVS S VTAM command starts the network controllers or communication links needed to establish a path to the remote workstation and the physical unit. The MVS VTAM VARY command activates the logical unit associated with the workstation. This activation can also be accomplished by an automatic activation specified in the VTAM network definition.
78
For information about starting VTAM and activating the network, refer to z/OS Communications Server: SNA Operation. Starting the JES2/VTAM interface Issuing the $S LOGON(n) command allows JES2 to begin processing connection requests from SNA remote workstations. Use the value of n specified in the LOGON(n) initialization parameter for the interface to be started. Starting the specified NJE lines Use the $S LINE(nnnn) command to start the specified NJE lines. You must know how the systemprogrammer defined your NJE network in the JES2 initialization procedure; that is, you must know which workstations can use which lines. Ask your system programmer for this information. JES2 cannot be withdrawn from the system until all lines are drained. Starting an SNA session The $S N,A= command starts an SNA application-to-application session with another node. The optional LINE(nnnn) parameter identifies the started logical line to be used for the session. The physical SDLC line(s) involved will be managed by VTAM and the Network Control Program (NCP). If you do not identify the line to be used, an SNA logical line will be selected from a pool of available, idle SNA logical lines. At least one SNA line must be available to establish an SNA session. If you specify a currently-used or drained line, the command is rejected. Use the A= parameter to provide the name of the application with which an SNA application-to-application session is to be started. This application name corresponds to the APPLID= value on the LOGON(nnn) initialization statement at the node with which a session is desired. If a node consists of more than one member, each member of that node must be uniquely defined as an application to VTAM and the application names used must be defined to JES2 with APPL initialization statements. APPL initialization statements must be supplied at every node in the network that may initiate SNA sessions with these applications. | | | | | | | | | | | | | | | | | |
The following describes each of these commands in more detail: Starting TCP/IP Issue the commands to start TCP/IP at your installation. Starting the JES2-TCP/IP interface Issuing the $S NETSRV(n) command allows JES2 to begin processing connection requests through TCP/IP. Use the value of n specified in the NETSRV(n) initialization parameter for the interface to be started. Starting the specified NJE line(s) Use the $S LINE(nnnn) command to start the specified NJE line(s). You must know how the systemprogrammer defined your NJE network in the JES2
Chapter 4. Controlling a network
79
| | | | | | | | | | | | | | | | |
initialization procedure; that is, you must know which workstations can use which lines. Ask your system programmer for this information. JES2 cannot be withdrawn from the system until all lines are drained. All lines need to have UNIT=TCP. Starting a TCP/IP session Use the $SN,S= command to start a TCP/IP session with another node. The optional LINE= parameter identifies the started logical TCP/IP line to be used for the session. TCP/IP manages the physical lines involved. If you do not identify the line to be used, a TCP/IP logical line will be selected from a pool of available, idle TCP/IP lines. At least one TCP/IP line must be available to establish a TCP/IP session. If you specify a line that is currently in use or drained, the command will be rejected. Use the S= parameter to provide the name of the SOCKET(xxxx) definition on this node that defines the TCP/IP address (or host name) and port to of the peer node with which a connection is to be established. This TCP/IP address an port corresponds to the TCP/IP address an PORT associated with an active NETSRV device on the node with which the connection is to be established.
80
| | | | | | | | | | | | | |
81
Issue the $S LINE(nnnn) command to start an NJE line. This activates a line to VTAM for the SNA NJE station, allowing JES2 to begin processing logon requests from remote stations. Use the $S RMT(nnnn) command to cause a remote terminal to logon automatically if you have placed the terminal in automatic logon mode by previously issuing the $T RMT(nnnn) command. (For a description of controlling remote terminals, see Remote Job Entry in Chapter 2. Controlling JES2 Devices and Functional Subsystems.) Assigning a password to a line Use the $T LINE(nnnn) command to assign or delete a password for a line. You must be certain to make a note of those passwords assigned because there is no facility for displaying the passwords in effect. Assigning and deleting passwords requires system authority. (Use the $T NODE(nnnn),$AUTH= command to set node command authority.) Diagnosing line problems Use the $T LINE(nnnn) command when you suspect there is a problem on a line. For BSC lines, this command causes the system to issue a diagnostic message on the console with master level authority every time a channel end is detected on the specified line. For SNA lines, this command causes the system to issue a diagnostic message on the console with master level authority for each event detected on the specified line. This command requires system authority and should be used only at the direction of your system programmer. In addition, you can trace I/O activity on a line using this command. Restarting line activity Use the $E LINE(nnnn) command to stop the current activity on an NJE line. Any input currently being transmitted over the specified line will immediately stop, and the partial input will be purged. Any output being transmitted over the line will be placed on the hardcopy queue. The NJE node or JES2 remote workstation currently signed on to the restarted line is disconnected. If the line status was active, new JES2 remote workstations can sign on to the line or it can be used for networking. If the line status was draining, it becomes drained and unusable for JES2 I/O until the operator starts it again. For an NJE line, $E LINE(nnnn) stops attempts to sign on to another node. Note: If the line status remains draining because of an I/O device missing an interrupt, a second $E LINE(nnnn) command is required to restart the line. Disconnecting a line You can disconnect an NJE line immediately using the $T LINE(nnnn),DISCON=I command or when all data set communications over the line cease (DISCON=Q). When the line is disconnected immediately, a sign-off record is sent to a multi-leaving remote workstation or to the connected NJE node. When the line is disconnected after communications cease, the disconnection occurs as though the remote operator or NJE node had signed off. Stopping a line Use the $P LINE(nnnn) command to stop an NJE line. The specified line will not start any new activity and will stop upon completion of its current activity.
82
83
Restarting an NJE device Use the $E L(nnnn).xx(n) command to stop the current transmission or receipt of a job or SYSOUT data over an NJE line and requeue the data for the transmission at the appropriate node. Controlling Work Selection on an NJE Device You can specify the work selection characteristics of a SYSOUT transmitter by issuing the $T L(nnnn).ST(n),WS= command. Work selection can specify the size of the SYSOUT data set, in lines and pages, that is used to determine what the transmitter will select. If you are uncertain of the characteristics in effect, you can display the characteristics for a particular SYSOUT transmitter by issuing the $D L(nnnn).ST(n) command. Canceling an NJE device Use the $C L(nnnn).xx(n) command to cancel a job or SYSOUT data currently being received or transmitted over an NJE line. Note: Canceling a receiver does not stop the actual transmission of data. The operator at the receiving node can elect to cancel job or SYSOUT reception by having the operator at the transmitting end cancel the transmitter. Stopping an NJE device Use the $P L(nnnn).xx(n) command to stop the specified NJE transmitting or receiving devices after they complete their current work. When a specified device has been drained, JES2 issues the $HASP097 device IS DRAINED message.
84
85
86
When entering JES2 operator commands, follow the syntax rules in Table 45, unless specifically indicated otherwise.
Table 45. Command Syntax Conventions Example Notation $ Description The command is a JES2 command. Enter the $ command identifier as shown. (See notes below.) Book Syntax $S Ivvvv[-vvvv] Sample Entry $S I3-7
Apostrophes Must be entered as shown. (also referred to as single quotes) Brackets Enter all, some, or none of the enclosed parameters in any order. Do not enter the brackets
$D MRn[-n],message
$D MR2-33, OK
$S I[vvvv[-vvvv] ]
$S I3
87
Table 45. Command Syntax Conventions (continued) Ellipsis (...) The parameter can be repeated. You cannot enter both unit record and teleprocessing (tp) devices on the same command. Do not enter the ellipsis. A parameter must be substituted. You can enter the parameter in either uppercase or lowercase. Must be entered as shown if more than one value is specified. Must be entered as shown. $Z PRTnnnn[,PRTnnnn]... $Z PRT2,PRT3,PRT4
Lower case
$T LNEn,P=[password]
$T LNE4,P=SECRET or $t lne4,p=secret
Parentheses
$T PRT3,V=(v1,v2)
$D MR2-33, OK
One and only one of the $D {Jn|Sn|Tn} parameters must be entered unless otherwise noted. Do not or enter the braces or the OR $D {Jn } symbol. {Sn {Tn The underscored parameter is the system default. If you do not enter any of the parameters, the system will supply the underscored parameter. The parameter must be spelled as shown. You can enter the parameter in either uppercase or lowercase.
$D J100
} } $D A,STC
Underscore
$D A [{,JOB|,STC|,TSU}]
Uppercase
$C A
$C A or $c a
Notes: 1. Because your installation establishes the JES2 command identifier, it may be some character other than $. If your installations command identifier is not specified in your initialization stream by CONCHAR= parameter on the CONDEF statement, the $ is the default.This publication shows the format of a command entered through any console. A command entered through a card reader has a /* (slash asterisk) in card columns 1 and 2 preceding the command identifier. 2. The system recognizes the following hexadecimal representations of the U.S. National characters; @ as X'7C'; $ as X'5B'; and # as X'7B'. In countries other than the U.S., the U.S. National characters represented on terminal keyboards might generate a different hexadecimal representation and cause an error. For example, in some countries the $ character may generate a X'4A'.
This publication uses the full syntax for the LINE and LOGON commands. JES2 accepts LNE for LINE and LGN for LOGON if you prefer to use the shorter syntax for these commands. This publication may use sysid to denote system identifier or member name.Likewise, jobid denotes job identifier. A job identifier is the type of job (JOB, TSU, or STC) followed by the job number.
88
Specifications
Specifying JES2 initialization statements and commands involves using numeric values, alphabetic values, uppercase or lowercase characters, or blanks. v You must code written uppercase operands as they appear in the syntax diagrams. Also, punctuation such as commas, parentheses, and single quotes are not metasymbols; if present in the syntax diagrams they must be coded. Parameters shown in lowercase are not to be coded as written; they denote variables that are explained in the description of the particular parameter for the initialization statement or command. v You must code numbers and uppercase letters exactly as shown. v You must substitute specific information or specific values for lowercase letters, which represent variables. v You can use blanks anywhere within an initialization statement or command, but you need not use any blanks.
Command syntax
JES2 command input processing requires that you use the following set of syntax rules. JES2 performs syntax checking for commands. While syntax is strictly checked to ensure that JES2 performs only those actions that the operator intends to effect, note that some commands may ignore additional characters following an alphabetic operand (for example, if you enter $NAD3JESZ,$CJ2457 instead of $N,D=AD3JESZ,$CJ2457.) v JES2 command identifier JES2 commands must begin with a character that identifies the command as one that is processed by JES2. This character, the command identifier, is a dollar sign ( $ ) by default. You can redefine the identifier to another character by using the CONCHAR= parameter on the CONDEF initialization statement. (Refer to z/OS JES2 Initialization and Tuning Reference for specifying CONCHAR=.) v Case Use uppercase or lowercase to enter a command. v Blanks You can use blanks anywhere within a command. For example:
$s lne4 $ s l n e 4 /* VALID USE OF BLANKS /* ALSO VALID USE OF BLANKS */ */
During command processing, JES2 removes all blanks within commands. Therefore, to JES2, both examples of the start line 4 command shown above are equivalent to $SLNE4. (To prevent blanks in text strings from being deleted, enclose the text strings in apostrophes. See the $DM example below.) v Maximum command length The maximum length for a command depends on where the command originates, as follows: Console - 126 characters Card reader - 70 characters v Maximum operands The maximum number of operands varies with each command but cannot exceed 20. v Apostrophes If you require an apostrophe within a text string, enclose the text string in apostrophes and enter two apostrophes where you want an apostrophe to
Chapter 5. Command Reference Section
89
v Not equal to symbol Within this book, we use the not equal symbol set ( =) to set a selection to mean not equal to, but your keyboard might not support the use of the symbol. Consoles support the character; personal computers typically do not. However, you can use your terminal emulator or keyboard mapping to map the shift 6 key ( V) to the hexadecimal value for. Alternatively, using the symbol set less than-greater than (<>) can provide this same, not-equal-to, definition.
If the command is routed to two systems named SYS1 and SYS2, the following are the results of symbolic substitution:
$e logon(1),a=JESSYS1 $e logon(1),a=JESSYS2 /* Command entered on system SYS1 */ /* Command entered on system SYS2 */
However, symbolic substitution does not occur for the following valid command, which does not include a blank or comma before the &SYSNAME system symbol:
$DJ&SYSNAME. /* Substitution does not occur for &SYSNAME! */
90
v Use the MVS ROUTE command to route a command: If you want to route a command on one member to be processed on another member in a MAS, use the MVS ROUTE command instead of the JES2 $M command. For details on how to use the ROUTE command, see the description of ROUTE in z/OS MVS System Commands. v Use double ampersands with the $N command: If you use the $N command to route a command to another node in a network, or if you enter a command from a workstation that is attached to an RJE line, use double ampersand (&&) notation to cause substitution to occur on the receiving node. For example, to enter a single JES2 command from another node in a network to specify unique offload data set names for three local members of a MAS(SYS1, SYS2, and SYS3), enter the following command from the remote node:
$N,D=targetnode,$t offload1,dsn=&&sysname..offload
When the command reaches the target node, JES2 substitutes text for &SYSNAME as follows:
SYS1.OFFLOAD on system SYS1 SYS2.OFFLOAD on system SYS2 SYS3.OFFLOAD on system SYS3
For more information about using double ampersand notation, see z/OS MVS Initialization and Tuning Reference. v Restriction:JES2 commands containing system symbols, which enter the system through card readers, are not translated. Using system symbols as application identifiers Use the following examples as guides when specifying system symbols in JES2 commands for application identifiers. In the JES2 network environment, each job entry subsystem must have a unique name defined to VTAM. When you need to define several instances of JES2 as VTAM applications, you can enter a single command to define a unique name to each instance. For example, you can establish the following naming convention for the application names:
JES&SYSNAME.
For a sysplex that contains three MVS systems names SYS1, SYS2, and SYS3, the following commands are entered on each system:
$t logon(1),p=,a=jessys1 /* Define appl jessys1 on system SYS1 */ $t logon(1),p=,a=jessys2 /* Define appl jessys2 on system SYS1 */ $t logon(1),p=,a=jessys3 /* Define appl jessys3 on system SYS2 */
Because the application names follow a naming convention, you can enter subsequent commands to affect some or all of the JES2 instances identified by application names. For example, to stop JES2 and restart all the JES2/VTAM interfaces in the sysplex, enter the following command:
ROUTE *ALL,$e logon(1),a=jes&SYSNAME.
91
$e logon(1),a=jessys1 /* Restart appl jessys1 on system SYS1 */ $e logon(1),a=jessys2 /* Restart appl jessys2 on system SYS1 */ $e logon(1),a=jessys3 /* Restart appl jessys3 on system SYS2 */
Note that the use of system symbols allows you to enter one command to restart applications with different names on different systems.
2. If you use the MVS command delimiter (CMDDELIM), you can enter multiple JES2 or MVS commands on a single input line, but each JES2 command must begin with a $-sign (or the CONDEF CONCHAR initialization parameter character). For example, if you specified the MVS delimiter CMDDELIM():
$da"$du"$dn,all
You can even mix JES2 and MVS commands on the same line:
$da]$du]d a,all
3. You can use both the MVS delimiter and the JES2 delimiter to enter JES2 and MVS commands on the same line:
$da;du]d a,all
If you enter multiple commands on one line, do not exceed the maximum number of characters - (console - 126, card reader - 70).
92
JES2 routes the job information to display area B of console POKwhile routing remaining commands responses to the default console. To route command responses for all commands, enter a semicolon and the L=consolenameparameter after the last command. For example:
$d j1-5;ds1-5;dt1-5;l=pok-b
JES2 routes the job, system task, and time-sharing information to display area B of console POK rather than to the default console. To route certain command responses to a specified destination and the remaining responses to another, enter: v The L= parameter with the commands that are to be specially routed responses. v A semicolon and L= to route all commands not requiring specially routed responses. For example:
$d j1-5,l=pok;;ds1-5;dt1-5;1=poklab-a
JES2 routes the job information to console POK, while routing the system task and time-sharing information to area A of console POKLAB.
93
Note: The L= parameter is not valid if entered through an internal reader. This restriction does not apply to L= subparameters that are normally enclosed in apostrophes. For example:
$ta,i=30,$da,l=pok-a,l=pok /* AN INVALID COMMAND */ $ta,i=30,$da,l=pok-a /* A VALID COMMAND */
Note: The JES2 command processor deletes all comments, just as it deletes blanks. If you need to retain comments, enclose the comment within apostrophes. In the following example, JES2 retains the first comment, AUTO START, but deletes the second comment, AT 11:15 AM START LINE 4 AUTOMATICALLY.
$t a,t=11.15,$slne4/*AUTO START*/ /* AT 11:15 AM START LINE 4 AUTOMATICALLY */
If you enter a command with a comment and omit the comment delimiters, the command fails because JES2 compresses the command and deletes all the blanks. For example:
$h j123 INVALID COMMAND WITHOUT COMMENT DELIMITERS
This command is not valid. JES2 issues a message because 123INVALID is not a valid job identifier. v Placement Place comments anywhere within a command. For example:
$d/*SAME */ spl/*COMMAND*/,v/*AS*/=spo/*THE ONE*/ol12,/*BELOW* $d spl,v=spool12 /* SAME COMMAND AS THE ONE ABOVE */
Because JES2 deletes all blanks and comments within commands, both examples of the display spool command shown above are equivalent to $DSPL,V=SPOOL12.
94
Parameter ranges
Some commands have parameters that allow you to specify a range of values. The following explains the ranges for parameters with subscripts (nnnn), (nnn), or (n): v (nnnn) - denotes that you may specify a range for the subscript as follows: nnnn A specific numeric value. nnnn-nnnn A specific numeric range (for example, 115 or 151 where 151 is interpreted as having all the values from 1 to 15). No matter how the range is specified, all members of the range are processed. Descending or ascending specification does not matter. nnnn-* A generic numeric range (for example, 3-* denotes a range from 3 to the highest value allowed). *-nnnn A generic numeric range (for example, *-3 denotes a range from the highest value allowed to 3). * A generic value that denotes all values in a defined range. v (nnn) - denotes that you may specify a range for the subscript in the same way as (nnnn), where (nnn) is 1-255. v (n) - denotes that you may specify a value (0-9) or a generic range (*). | | | | | | | | | | | | | | | | | | | The effect of specifying a range of values on a command is as if the command had been issued for each value in the range in turn. Therefore, issuing a command with a range of values in descending order does not necessarily have the same effect as issuing the same command with the same range of values in ascending order. For example, issuing the command $TJ(2-5),C=X has the same effect as issuing the commands:
$TJ(2),C=X $TJ(3),C=X $TJ(4),C=X $TJ(5),C=X
In this case, JES2 places the jobs on the class X queue, and therefore executes in the order of job number 2 , job number 3, job number 4, and finally job number 5. Issuing the command $TJ(5-2)C=X has the same effect as issuing the commands:
$TJ(5),C=X $TJ(4),C=X $TJ(3),C=X $TJ(2),C=X
In this case, JES2 places the jobs on the class X queue, and executes in the order of job number 5, job number 4, job number 3, and finally job number 2. Note: For display commands, you can omit the subscript. If omitted, this denotes a generic value to include all values in a defined range. For example, the command $D MEMBER is equivalent to $D MEMBER(*). For a description of the allowed ranges for all parameter specifications, see JES2 Initialization Statement and Parameter Summary Table in z/OS JES2 Initialization and Tuning Reference.
Chapter 5. Command Reference Section
95
Note: Using the ALL parameter on any type of display command that may involve up to 30,000 jobs is not recommended.
Subscript ranges
Ranges appear in JES2 initialization statements and commands as subscripts of the name associated with the initialization statement.
REDIRect(vvvvvvvv) $ADD REDIRect(vvvvvvvv)
Note: The name of the initialization statement and the target of the command are the same. All KEYWORD= ranges must be coded explicitly; whereas subscript ranges can either be coded explicitly or as a generic range using the asterisk (*). The use of parenthesis with a generic range is optional for all numeric ranges, but is required for symbolic (character) ranges. Throughout this book, the parenthesis are included for consistency and clarity of presentation. It is recommended that you use parenthesis when you specify a range. v Example: Initialization statement (generic subscript)
NODE(5-*) PATHMGR=NO
How JES2 interprets the use of the asterisk in specifying the subscript depends on how it is used in the command or statement. Using wildcards on page 98 shows how the asterisk is coded to indicate various ranges.
Table 46. Coding Asterisks on Initialization Statements RANGE * INTERPRETATION and RESULT
All values in the range (for nodes and jobclasses) Statement: NODE(*) COMPACT=1,.-->All nodes Command: $d jobclass(*),. -->All jobclasses
n-* Range from n to highest value Statement: NODE(5-*) compact=2 -->5 to highest value Command: $Dnode(3-*)NAME=XRAY -->3 to highest value *-m Range from highest descending to m Statement: PRT(*-1) ws=(W,Q,R/) -->highest to 1 Command: $d jobclass(*-C),qheld=yes -->highest to C c* All values starting with char "c" Statement: APPL(OUT*).JT All APPLs starting with OUT Command: $d jobclass(A*),... -->All jobclasses starting with A
Note: When specified in a numeric range, the asterisk always indicates the highest defined value in either the ascending (n-*) or descending (*-m) order.
Statement range considerations: Care should be taken when using the asterisk on initialization statements and commands. Processing times can increase. For example, the statement NODE(*) increases processing time drastically, although no
96
additional nodes are actually created, and no changes are made to nodes outside the defined range. Likewise, the command, $T NODE(*), increases processing time. The PRT statement, however, processes differently. The initialization statement, PRT(*), resets values on only those printers that have been previously defined by initialization statements. But the PRT(1-*) initialization statement will define 32767 printers (the maximum number).
Route codes
A route code defines a destination for a piece of output. NnnnnRmmmm is the most basic form of a JES2 route code, indicating remote mmmmm at node nnnn. This basic form is called the explicit form of a route code. When the node is local (our own node), the Nnnnn can be omitted. In order to have the destination resolved to NODE1, REMOTE1, the destination needs to be qualified with a dot:
DEST=N1.R1 DEST=N1.RM1 DEST=N1.RMT1
The maximum size of a route code is 18 characters. You can specify a route code in any of the forms listed below (although specific commands may be more limited). Note that a slash, a colon, or parentheses can be used instead of a period anywhere a period appears as a separator in a route code. For example, you could specify node.remote, node:remote, node/remote, or node(remote) for a route code. v LOCAL.* v LOCAL|ANYLOCAL v destid v Nnnnn|nodename v Nnnnn.Rmmmm|node.remote|node.userid v Ummmm v node.destid v remote LOCAL|ANYLOCAL Rmmmm destid userid node If /R=LOCAL is specified on a command, only output that has explicitly a destination of LOCAL will be released. Destination of a userid which resides on local node will not be released. However, if you specify LOCAL.*, outputs having a destination of LOCAL will be released as well as outputs destined to local userid:
$HASP686 OUTPUT(JEANAMB) $HASP686 OUTPUT(JEANAMB) $HASP686 $HASP686 $HASP686 $HASP686 $HASP686 $HASP686 OUTGRP=1.1.1,BURST=NO,FCB=****, FLASH=****,FORMS=STD,HOLD=(NONE), OUTDISP=HOLD,PRIORITY=144, PRMODE=LINE,QUEUE=B, RECORDS=(312 OF 312),ROUTECDE=JFB, SECLABEL=,TSOAVAIL=NO,UCS=****, USERID=JEAN,WRITER=
Above destination is destined to userid JFB on local node. The $OJ1286,/R=LOCAL will have no effect on output. $OJ1286,/R=LOCAL.* will release above output. In most places, userids may be used instead of remotes. A userid at the local node must have the format of a valid TSO userid. It must begin with an alphabetic character (A-Z) or a special character (@, #, or $). The remaining characters may
97
be alphabetic, numeric, or special characters. Userids at non-local nodes may contain any characters except the following: v Separators: a period; a colon; a slash; a set of parentheses. v Delimiters: a comma; a blank; hexadecimal 00. In some commands, generic userids are allowed. A generic userid is a userid that ends in an asterisk (*) and refers to all userids that begin with any characters preceding the *. Note that if the userid is a local userid, then the * can be specified in the last position of the userid.
Using wildcards
Several types of commands can use wildcards to select or filter on a subset that matches a combination of characters (mask). The types of commands that can use wildcards include: v Commands that use symbolic subscripts (for example, $D NODE) v Commands that use filtering (the $D commands) v Commands that are job-related (for example, $A job) v Commands that pertain to printers, punches, and job and SYSOUT receivers and transmitters. The two kinds of wildcards JES2 uses are: v Multiple-character wildcard, which is specified by an asterisk (*). The asterisk (*) means zero or more characters of any kind can be used here. For example, AB* matches ABC or ABCDEFG or ABCXXE. v Single-character wildcard, which is specified by a question mark (?). The question mark (?) means any single character can be used here. For example, ABC?E?? matches ABCDEFG or ABC1E23 but not ABCXXE. The following examples show the different uses of wildcards:
$DJ1-*,JOBMASK=IEB*
Wildcards are used here to specify the maximum job number, and in the job mask. JES2 displays output for all jobs that have a job name starting with the characters IEB.
$D NODE(*),SUBNET=B?E
Wildcards are used here to display information about all nodes whose subnet name matches a specific combination of characters.
$T PRT(5),JOBNAME=POK?*
Wildcards are used to select jobs for this printer whose name matches the selection criteria set by JOBNAME.
Range summary
The following tables summarize and illustrate how you should code JES2 initialization statements and commands using subscripts. Table 47 on page 99, Table 48 on page 100, and Table 49 on page 100 focus your attention to the NAME of the initialization statement or the object of the command. You can use these
98
tables as a reference to guide your coding. Examples of numeric and symbolic subscripts on page 101 makes you aware of how JES2 processes numbers and names.
Table 47. Numeric Only (used for most devices, such as PRT, PUN, LINE, RMT) Specification NAMEnn Explanation and Examples number nn RMT44 BUFSIZE=3500,COMPRESS=YES $T R5.PU1,JOBNAME=todeko,RANGE=(1,6),.... NAME(nn) number nn RMT(3) BUFSIZE=4096,COMPRESS=NO $D R(3).PU(22),COMP,FLUSH,LRECL NAMEnn-mm Ascending or descending range nn to mm LINE5-2 COMPRESS=NO,JRNUM=2,JTNUM=2,... $T RMT5-1,MFORM=T,SHAR=Y,TRANSPAR=N NAME(nn-mm) Ascending or descending range nn to mm PRT(25-22) CREATOR=fredonia,DEVFCB=TABX $D PUN(11-10),CR,F,JOB NAMEnn-* Ascending range from nn to maximum possible value LINE5-* COMPRESS=NO,JRNUM=2,JTNUM=2,... $T RMT5-*,MFORM=T,SHAR=Y,TRANSPAR=N NAME(nn-*) Ascending range from nn to maximum possible value RDR(3-*) XEQDEST=seattle $Trdr11-*,tr=yes,Q NAME*-nn Descending range from maximum possible value to nn LINE*-5 LOG=YES,TR=YES,SRNUM=224 $S line *-1 NAME(*-nn) Descending range from maximum possible value to nn LINE(*-12) LOG=YES,TR=YES $T line (*-10),DISCON=QUIESCE NAME(*) All values, but holes not filled in by create requests RMT(*) BUFSIZE=512,COMPRESS=YES $T RMT(*),BUFSIZE=1024,COMPRESS=NO NAME(mm,nn) Multiple subscripts LINE(2,6) LOG=YES,TR=YES $tline(1,3),DISCON=QUIESCE NAME(mm,nn-pp) Multiple subscripts (one subscript is a range) If the subscripts are processed individually, it is possible for a particular element to be processed multiple times (that is, for NAME(1-3,2), element 2 is processed twice). rdr(1,10-15,22) AUTH=(JOB=YES) $D rdr(2,4-8,11),AUTH=JOB NAME When allowed, equivalent to NAME(*). d PRT $D L.jr Note: Valid Names: PRT, PUN, LINE, RMT.
99
Table 48. Symbolic Only (REDIRECT, APPL, JOBCLASS, OUTCLASS, SPOOL) Specification NAME(xxxx) Explanation and Examples Explicit subscript REDIR(CN320) DA=cn330 $T REDIR(cn3e0),du=cn320 $ADD redir(cn3e0) NAMExxxx Explicit character string APPLjmaxsum compact=65,node=3 $dapplmaxsum,compact,line,logmode,... NAME(xxxx) Explicit subscript as a character string JOBCLASS(A) COMMAND=DISPLAY,HOLD=YES $d jobclass(c) NAME(xxxx-yyyy) Explicit symbolic range. Wildcard characters may be specified in ranges, but they are not treated as wildcards. OUTCLASS(a-j) blnktrnc=no,trkcell=no $Toutclass(2-3),outdisp=(purge,.. NAME(xxxx-yyyy) Explicit symbolic range as characters REDIR(CN320-cn321) DA=cn444 $T REDIR(cn3e0-cn4e0),du=cn320 NAME(X*Y?Z) * and ? are treated as wildcard characters APPL(jmax*) compact=65,node=3 $dappl(maxs?m),compact,line,logmode,.. NAMEX*Y?Z * and ? are NOT treated as wildcard characters OUTCLASSa*,blnktrnc=no,trkcell=no $DjobT?cobell NAME(xxxx,yyyy) Multiple keywords, must be in parenthesis and may include ranges, wildcards, or quoted strings. If the subscripts are processed individually, it is possible for a particular element to be processed multiple times. JOBCLASS(A,B,c*,D),HOLD=YES $d jobclass(c-d,e,f,g*) NAME When allowed, this is equivalent to NAME(*). Holes are never filled on create requests. JOBCLASS $Djob,cards Table 49. Numeric and Symbolic (NODE, MEMBER, INIT.) Specification NAMEnn Explanation and Examples Numeric subscript NODE001 auth=(net=yes),compact=65 $dnode4 NAME(nn) Symbolic name nn (if it exists, else numeric value nn) MEMBER(3) NAME=100 $Tmember(100),IND=YES NAMEnn Name nn INIT3 name=backup,class=z $Si3,status=halted NAMEnn-mm Numeric range INIT01-05 class=x,y,z,start=no $di01-02,class>x,status=halted
100
Table 49. Numeric and Symbolic (NODE, MEMBER, INIT.) (continued) Specification NAME(nn-mm) Explanation and Examples Numeric range. The expected performance would be as symbolic range, and if nothing exists in range, as a numeric range. NODE(001-022) auth=(net=yes),... $dnode(4-9) NAME(nn-mm) Symbolic range MEMBER(100-115) NAME=wilcox $dmember(100-112),IND=YES NAME(xxxx-mm) Symbolic range. See note 3. NODE(nyork-102) auth=(net=yes),compact=65 $dnode(atlanta-austin) NAME(nn-xxxx) Symbolic range. See note 2. INIT(01-txs) class=x,y,z,start=no $di(5-last),class>x,status=halted NAME(xxxx-yyyy) Symbolic range NODE(gaith-seattle) auth=(net=yes),... $dnode(atlanta-columbus) NAME(nn,xxxx) Multiple subscripts, may mix any valid flavors (numerics, symbolics, ranges, wildcards). See note 1. NODE(100,alpha-sigma,102) PATHMGR=no $d member (3,beta,1-5),IND=YES Notes: 1. If the subscripts are processed individually, it is possible for a particular element to be processed multiple times. 2. To avoid confusion, it is recommended that when both numerics and symbolics are allowed, symbolic names (usually specified by a NAME=parameter) either include at least one alphabetic character, or match the numeric value exactly (for example, INIT(1) NAME=1). 3. Any numeric is allowed. Symbolic is only allowed when both numeric and symbolic are allowed. 4. All ranges are considered numeric unless at least one of the range limits is forced to be a symbolic. Holes are filled only on numeric ranges.
Examples of numeric and symbolic subscripts: The following table illustrates how numeric and symbolic subscripts are processed. The table is based on the following initialization statements for system initiators. To avoid confusion, it is recommended that when both numeric names and symbolic names are allowed, symbolic names (specified using the NAME= parameter) either include at least one alphabetic character or match the numeric value exactly (for example, INIT(1) NAME=1). This example illustrates the confusion that can occurs when this is not done. Based on these initiator definitions, JES2 interprets the initiator number and its name as follows:
101
Table 50. JES2 Processing of Initiators Example Initiator Statements INIT1 INIT2 INIT3 INIT4 INIT5 INIT6 INIT7 INIT8 INIT9 INIT10 INIT11 NAME=3 NAME=2 NAME=1 NAME=4A NAME=10 NAME=6 NAME=7 NAME=8 NAME=9 NAME=10 NAME=11 JES2 Processing Interpretation Initiator number 1. Initiator with name 1 exists. Initiator with name 5 does not exist, use init number 5. Initiator with name 1. Initiator in numeric range of 3-4.
Command Example $dinit1 $HASP892 INIT(1) NAME=3 $dinit(1) $HASP892 INIT(3) NAME=1 $dinit(5) $HASP892 INIT(5) NAME=10 $dinit1 $HASP892 INIT(3) NAME=1 $dinit3-4 $HASP892 INIT(3) NAME=1 $HASP892 INIT(4) NAME=4A $dinit(3-4) $HASP892 INIT(3) NAME=1 $HASP892 INIT(4) NAME=4A $dinit(3-4) $HASP892 INIT(1) NAME=3 $dinit(3-4b) $HASP892 INIT(1) NAME=3 $HASP892 INIT(4) NAME=4A $dinit(1-2) $HASP892 INIT(2) $HASP892 INIT(3) $HASP892 INIT(5) $HASP892 INIT(10) $HASP892 INIT(11) NAME=2 NAME=1 NAME=10 NAME=10 NAME=11
Initiator with names in EBCDIC range 3 to 4. 4b is non-numeric, so initiator in EBCIDIC range 3-4b. All initiators between EBCDIC 1 to 2 in HEX that is F1404040 to F2404040.
$dinit(1-10) $HASP892 INIT(3) NAME=1 $HASP892 INIT(5) NAME=10 $HASP892 INIT(10) NAME=10 $dinit(4-*) $HASP892 INIT(4) $HASP892 INIT(5) $HASP892 INIT(6) $HASP892 INIT(7) $HASP892 INIT(8) $HASP892 INIT(9) $HASP892 INIT(10) $HASP892 INIT(11)
102
Table 50. JES2 Processing of Initiators (continued) Example Initiator Statements INIT1 INIT2 INIT3 INIT4 INIT5 INIT6 INIT7 INIT8 INIT9 INIT10 INIT11 NAME=3 NAME=2 NAME=1 NAME=4A NAME=10 NAME=6 NAME=7 NAME=8 NAME=9 NAME=10 NAME=11 JES2 Processing Interpretation Ascending EBCDIC range 4A to *, in HEX that is F4C14040 to FFFFFFFF
Command Example $dinit(4a-*) $HASP892 INIT(4) $HASP892 INIT(6) $HASP892 INIT(7) $HASP892 INIT(8) $HASP892 INIT(9) NAME=4A NAME=6 NAME=7 NAME=8 NAME=9
Note: There are exceptions to the processing results above. When using JES2 Commands for JOB, STC, TSU, or JOBQ, a numeric subscript (JOB(nn)) is always treated as numeric unless enclosed in quotes. Also, job names consisting of all numerics are not valid but may occur in error scenarios for example, a job is incorrectly submitted or received from NJE.
103
$D MODULE(*),LOADMOD=HASC* $HASP468 MODULE(HASCDAU) $HASP468 $HASP468 $HASP468 $HASP468 ADDRESS=034DD018,ASSEMBLY=(03/08/93, 13.03),ENVIRON=USER,EXITPTS=(), IBMJES2=BASE,LASTAPAR=NONE, LENGTH=0002D0,LOADMOD=HASCDAU, MACLEVEL=4,SPLEVEL=CHECK
$HASP468 MODULE(HASCDSAL) ADDRESS=0349F358,ASSEMBLY=(03/08/93, $HASP468 13.03),ENVIRON=USER, $HASP468 EXITPTS=(31,34,48),IBMJES2=BASE, $HASP468 LASTAPAR=NONE,LENGTH=004CA0, $HASP468 LOADMOD=HASCDSAL,MACLEVEL=4, $HASP468 SPLEVEL=CHECK $HASP468 MODULE(HASCXJCT) ADDRESS=033C0090,ASSEMBLY=(04/21/93, $HASP468 12.27),ENVIRON=USER,EXITPTS=(), $HASP468 IBMJES2=BASE,LASTAPAR=NONE, $HASP468 LENGTH=0005B0,LOADMOD=HASCXJCT, $HASP468 MACLEVEL=4,SPLEVEL=CHECK . . .
JES2 limits its search to load modules that begin with the characters HASC. It then displays a variety of information about all the modules that are assembled and linked into load modules that begins with the characters HASC. v Limiting how much information JES2 displays To limit the amount of information JES2 should display, specify a parameter, but no keyword value for the parameter. For example,
$D MODULE(*),LOADMOD $HASP468 $HASP468 $HASP468 $HASP468 $HASP468 $HASP468 $HASP468 . . . MODULE(FREDXJ00) MODULE(HASCDAU) MODULE(HASCDSAL) MODULE(HASCDSOC) MODULE(HASCDSS) MODULE(HASCGGKY) MODULE(HASCGGST) LOADMOD=HASCDAU LOADMOD=HASCDSAL LOADMOD=HASCDSOC LOADMOD=HASCDSS LOADMOD=HASCGGKY LOADMOD=HASCGGST
JES2 displays only the limited amount of information you requested to see--all the module names and the load module names. v Combining techniques You can combine both techniques to obtain information that is very specific. For example,
$D MODULE(*),LOADMOD=HASCX*,LOADMOD $HASP468 MODULE(HASCXJCT) LOADMOD=HASCXJCT
In this example, the command limits the number of modules that meet the criteria set; the module must be assembled and linked into a load module that begins with the characters HASCX. Also, the amount of information you wish to see about each module is limited to display only the load module name. Selection filtering is not limited to display commands. For example, you may want to change the destination associated with all SYSOUT queues to class A. This could be done using the $TO JOBQ command. However, the command $TO
104
JOBQ(*),QUEUE=A,DEST=N2 would change both the output queue and the destination associated with all SYSOUT. For keywords such as QUEUE= you must indicate whether this is being used as a filter or as a modification keyword. To do this, prefix the keyword with a /. If you want to change all output queues to class A to have a destination of N2, enter the command $TO JOBQ(*),/QUEUE=A,DEST=N2. The / prefix can be used on any command to indicate that the keyword that follows is a filter. It is only required on commands where a single keyword could be interpreted as both a filter and a modification keyword. For example, to change the execution class of all CLASS A jobs to CLASS B, enter the command $TJOB(*),/CLASS=A,CLASS=B. All filter keywords must precede modification keywords. To ensure compatibility with future changes, IBM recommends that non-display commands which use selection filtering, prefix filter keywords with the /. This is especially important for commands issued by automation scripts. v Expanding filtering techniques Some commands can use wildcards, the JOBMASK parameter, or the JOBQ parameter (or a combination of all three) to control the action JES2 is to take. For example, using wildcards, and the JOBQ and JOBMASK parameters, you can control the amount of jobs JES2 is to release, as shown in the next example.
$A JOBQ,JOBMASK=I* STC00010 $HASP890 $HASP890 $HASP890 STC00017 $HASP890 $HASP890 $HASP890 JOB00018 $HASP890 $HASP890 $HASP890 JOB00036 $HASP890 $HASP890 $HASP890 JOB(INIT) JOB(INIT) STATUS=(EXECUTING/IBM1),CLASS=STC, PRIORITY=9,SYSAFF=(IBM1),HOLD=(NONE), INITASID=012D $HASP890 JOB(INIT) JOB(INIT) STATUS=(EXECUTING/IBM2),CLASS=STC, PRIORITY=9,SYSAFF=(IBM2),HOLD=(NONE), INITASID=NONE $HASP890 JOB(IEBGENER) JOB(IEBGENR) STATUS=(AWAITING EXECUTION),CLASS=A, PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE), INITASID=NONE $HASP890 JOB(IBMUSERX) JOB(IBMUSERX) STATUS=(AWAITING EXECUTION),CLASS=A, PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE)
In this example, JES2 releases all held jobs, started tasks, and time-sharing users whose job names begin with the character I.
Symbols
The following symbols may be displayed in syntax diagrams: Symbol Definition Indicates the beginning of the syntax diagram.
105
Indicates that the syntax diagram is continued to the next line. Indicates that the syntax is continued from the previous line. Indicates the end of the syntax diagram.
Syntax items
Syntax diagrams contain many different items. Syntax items include: v Keywords - a command name or any other literal information. v Variables - variables are italicized, appear in lowercase, and represent the name of values you can supply. v Delimiters - delimiters indicate the start or end of keywords, variables, or operators. For example, a left parenthesis is a delimiter. v Operators - operators include add (+), subtract (-), multiply (*), divide (/), equal (=), and other mathematical operations that may need to be performed. v Fragment references - a part of a syntax diagram, separated from the diagram to show greater detail. v Separators - a separator separates keywords, variables or operators. For example, a comma (,) is a separator. Note: If a syntax diagram shows a character that is not alphanumeric (for example, parentheses, periods, commas, equal signs, a blank space), enter the character as part of the syntax. Keywords, variables, and operators may be displayed as required, optional, or default. Fragments, separators, and delimiters may be displayed as required or optional. Item type Required Optional Default Definition Required items are displayed on the main path of the horizontal line. Optional items are displayed below the main path of the horizontal line. Default items are displayed above the main path of the horizontal line.
Syntax examples
The following table provides syntax examples.
Table 51. Syntax examples
Item Required item. Required items appear on the main path of the horizontal line. You must specify these items. Required choice. A required choice (two or more items) appears in a vertical stack on the main path of the horizontal line. You must choose one of the items in the stack. Optional item. Optional items appear below the main path of the horizontal line. Syntax example
KEYWORD required_item
KEYWORD
required_choice1 required_choice2
KEYWORD optional_item
106
KEYWORD variable
KEYWORD
repeatable_item ,
KEYWORD
repeatable_item
KEYWORD
fragment
fragment:
,required_choice1 ,default_choice ,required_choice2 ,optional_choice
Keywords defined
Display limiting keywords will restrict the amount of output generated on the display command. This can be particularly useful for automation to parse the result of a $D command. For example:
$DOJOBQ,JM=RMF*,PRMODE,OUTGRP,ROUTECDE
This means to scan all queues for outputs that start with a jobname of RMF and display the PRMODE, OUTGRP, and ROUTECDE:
$HASP686 OUTPUT(RMF) 458 $HASP686 OUTPUT(RMF) $HASP686 PRMODE=LINE,OUTGRP=2.1.1, ROUTECDE=LOCAL
Filtering keywords can also be added to the command for more granularity.
107
$A A
Modification limiting keywords are the keywords that can be changed on a command. These keywords will generally appear on most $T commands. Selection limiting keywords can be viewed as filter keywords. Again, these keywords will appear on most $T and $D commands. In other words, the values you want to modify or display for a given job, on which it should take effect. In order to tell JES2 this is a filter keyword, the keyword must be preceded by a slash. For example:
$TOJOBQ,/FCB=JFB,FCB=ABC
This will change all output groups that has an FCB=JFB to ABC. Multiple filtering keywords can be used:
$TOJOBQ,/FORMS=123,/OUTG=1.1.1,FCB=456
This means to scan all queues for output of a FORMS=123 and OUTG=1.1.1 and change the FCB to 456. Additional modification keywords can be added to the same command as well:
$TOJOBQ,/FORMS=123,/FCB=789,QUEUE=A,ROUTECDE=PRT5
108
$A A
Syntax
$A A ,memname ,ALL
Parameters
A All jobs held by the $H A command that are currently in the member are released. If this is a multi-access spool configuration and neither memname nor ALL is specified, all jobs that have affinity for the member through which the command is entered are released. ALL All jobs, regardless of their affinities, are released. memname The 1 to 4 character alphameric identifier of a member in the multi-access spool configuration. JES2 releases all jobs that have affinity for the specified member.
Authority Required
This command requires job authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MAS-Wide. This command has an effect across the entire MAS.
Messages
The $HASP000 message indicates JES2 has accepted the command.
Example
1 $a a $HASP000 OK
JES2 releases all jobs originally held by a $H A command that are currently in the member. If the member is in a multi-access spool configuration, JES2 releases all jobs originally held by a $H A command that have affinity for the member through which the command is entered.
109
$A job
Syntax
| |
$A Job JOBQ JQ Stc Tsu nn job , ( nn * job job ) mm * mm *
| |
, /
CMDauth
= ^=
, / ) = ^= > < = ^= /
Age DAys
> <
days
| |
, /
Hours
> <
hours
jobmask
JOBMASK
| |
, /
Queue
= ^=
CNV INPUT OUT PPU PURGE RCV SETUP SPIN XEQ XMT ,
, /
REBUILD
No Yes
| |
, / SPOOL / SPL =(
> <
percent
110
$A job
| |
, /
TYPE
= ^=
,BUSY=
,CARDS=cards
| | | | | | | | | |
,Class=class
,OFFS=offs
,Priority-=priority
,SCHENV=schenv
,SECLABEL_AFF=member ,USERID=userid
Notes: 1 2 cmdauth can be coded up to 2 times volume can be coded up to 253 times
Parameters
Age|DAys<days | Age|DAys>days Specifies the age of affected jobs in days. Only jobs more (with DAYS>nn) or less (with DAYS<nn) than the specified number of days in age are affected, The days are counted from the current hour. | | | | | | | | | | | | BUSY= Specifies one of the following: v The system name or number on which the job is busy. Note that you can specify a value of 0 to indicate the job is not busy. You can also specify values above 32 to match systems with invalid values in the BUSY value (for example, $AJOBQ,BUSY>32) v YES or ANY, indicating that all busy jobs are to match v NO or NONE, indicating that all non-busy jobs are to match CARDS=cards Specifies the number of input cards associated with the job. Class=class Specifies the class associated with the job CMDauth=(auth1{,auth2}) Only the jobs that can be affected from the specified remote(s) or node(s) will be released. The valid specifications are: LOCAL|ANYLOCAL Only the local devices at the local node can affect the output. Nnnnn|nodename Only local devices at the specified node can affect the output. Rnnnn Only the specified remote device can affect the output. NnnnnRnnnn|nodename.Rnnnn Only the specified remote device at the specified remote node can affect the output.
111
$A job
destid A destid corresponding to any of the above remote devices. Note: Specification of the CMDAUTH filter does not override the authority of the console from which the command is issued; both the authority of the console and the specified CMDAUTH filter must match for the job to be affected. H|Hours=hours Specifies the age of affected jobs in hours. Only jobs more (with HOURS>nn) or less (with HOURS<nn) than the specified number of hours in age are affected. JM|JOBMASK=jobmask Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). For a description of using wildcards, see Using wildcards on page 98. Notes: 1. This is a positional parameter. Specify this following the job_id (JOB, STC, or TSU), or JOBQ parameter. 2. The JOBMASK parameter is not valid with the jobname parameter. job Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). For a description of using wildcards, see Using wildcards on page 98. job The name of the job that is released. This name must appear as coded on the JOB statement and must be enclosed in apostrophes. If more than one job exists with this name, no action is taken. Job A Batch job or range of batch jobs is to be released. | | | | | | JOBQ|JQ Specifies all jobs, STCs, and TSUs across the MAS for processing. OFFS=offs Specifies offload device numbers on which the job has been archived. Priority=priority Specifies the priority of the job. Queue={CNV|INPUT|OUT|PPU|PURGE|RCV| SETUP|SPIN|XEQ|XMT} Only jobs on the specified job queue are to be released. CNV Only jobs awaiting conversion are to be released. INPUT Only jobs on the JES2 $INPUT queue are to be released. OUT Only jobs awaiting output processing are to be released. PPU Only jobs awaiting print/punch processing are to be released.
112
$A job
PURGE Only jobs awaiting purge processing are to be released. RCV Only jobs on the JES2 $RECEIVE queue are to be released. SETUP Only jobs on the JES2 $SETUP queue are to be released. SPIN Only jobs awaiting spin processing are to be released. XEQ Only jobs awaiting execution are to be released. XMT Only jobs queued for network transmission are to be released. REBUILD={No|Yes} Jobs on the rebuild queue are to be released (Yes) or not released (No). | | | | | | | | | | SCHENV=schenv Specifies the scheduling environment associated with the job. SCHENV_AFF=member Specifies the JES2 MAS members on which the scheduling environment for this job is available. SECLABEL_AFF=member Specifies the JES2 MAS members on which the SECLABEL for this job is available but only if the RACF SECLABEL_BY_SYS is also active. SECLABEL=seclabel Specifies the security label associated with the job. SPL|SPOOL={Percent|%|Tgs|Volumes} Only jobs with specific SPOOL characteristics are to be released: Percent|% Only jobs using more (with %>nn) or less (with %<nn) than the specified percentage of the total available spool space are to be released. Tgs Only jobs using more (with Tgs>nn) or less (with Tgs<nn) than the specified number of track groups are to be released. Volumes=(v1,v2,...) Only jobs which have allocated spool space on the specified spool volume(s) are to be released. | | | | | SRVCLASS=srvclass Specifies the service class of the job. The service class is available for batch jobs only. It is not available for started tasks or time-sharing users. The default workload manager (WLM) policy assigns a service class of blanks to all jobs, and WLM-managed initiators can then select such jobs for processing. Stc A started task or range of started tasks is to be released. | | Sysaff=member Specifies the jobs system affinity. Tsu A time-sharing user or range of time-sharing users is to be released.
113
$A job
TYPE={JOB|STC|TSU} Indicates whether only batch jobs (JOB), started tasks (STC), or time-sharing users (TSU) are to be released. | | USERID=userid Specifies the userid associated with the job. XEQNode=xeqnode Only jobs which are destined to execute at the specified node, or which have already executed at the specified node, are to be released. The node name may be specified using the decimal node number (Nnnnnn) or an EBCDIC node name.
Authority Required
This command requires job authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MAS-Wide. This command has an effect across the entire MAS.
Messages
The $HASP890 message displays the released job. JES2 issues message $HASP003 if the specified job was not being held.
Examples
1 $ajpayroll JOB00024 $HASP890 JOB(PAYROLL) $HASP890 JOB(PAYROLL) STATUS=(AWAITING EXECUTION),CLASS=A, $HASP890 PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE)
JES2 releases the batch job named PAYROLL and makes it available for processing.
2 $aj(?ebg*) $HASP890 JOB(IEBGENER) JOB(IEBGENER) STATUS=(AWAITING EXECUTION),CLASS=A, PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE) $HASP890 JOB(IEBGENER) JOB(IEBGENER) STATUS=(AWAITING HARDCOPY),CLASS=A, PRIORITY=1,SYSAFF=(ANY),HOLD=(NONE)
JES2 releases any batch jobs whose job name includes EBG as the second, third, and fourth characters.
3 $aj1-8,jm=?ebg*
JES2 releases any batch jobs that fall within the range of jobs 1-8 whose job name includes EBG as the second, third, and fourth characters.
114
$A job
4 $aj(1-3,i*,5-7) $HASP890 JOB(D96CLW1A) JOB(D96CLW1A) STATUS=(AWAITING EXECUTION),CLASS=A, PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE) $HASP890 JOB(IEBGENER) JOB(IEBGENER) STATUS=(AWAITING EXECUTION),CLASS=A, PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE) $HASP890 JOB(IBMUSERX) JOB(IBMUSERX) STATUS=(AWAITING EXECUTION),CLASS=A, PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE) $HASP890 JOB(CNTLABC) JOB(CNTLABC) STATUS=(AWAITING EXECUTION),CLASS=A, PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE)
JOB00003 $HASP890 $HASP890 JOB00018 $HASP890 $HASP890 JOB00036 $HASP890 $HASP890 JOB00006 $HASP890 $HASP890
JES2 releases any batch jobs that fall within the range of jobs 1-3 or 5-7, PLUS any batch jobs whose job name begins with the letter I.
5 $ajq(1-3,i*,5-7) $HASP890 JOB(NEWS) JOB(NEWS) STATUS=(EXECUTING/IBM1),CLASS=STC, PRIORITY=9,SYSAFF=(IBM1),HOLD=(NONE) $HASP890 JOB(D96CLW1A) JOB(D96CLW1A) STATUS=(AWAITING EXECUTION),CLASS=A, PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE) $HASP890 JOB(INIT) JOB(INIT) STATUS=(EXECUTING/IBM1),CLASS=STC, PRIORITY=9,SYSAFF=(IBM1),HOLD=(NONE), INITASID=012D $HASP890 JOB(INIT) JOB(INIT) STATUS=(EXECUTING/IBM2),CLASS=STC, PRIORITY=9,SYSAFF=(IBM2),HOLD=(NONE) INITASID=NONE $HASP890 JOB(IEBGENER) JOB(IEBGENER) STATUS=(AWAITING EXECUTION),CLASS=A, PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE) $HASP890 JOB(IBMUSERX) JOB(IBMUSERX) STATUS=(AWAITING EXECUTION),CLASS=A, PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE) $HASP890 JOB(CNTLABC) JOB(CNTLABC) STATUS=(AWAITING EXECUTION),CLASS=A, PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE) $HASP890 JOB(D96CLW1) JOB(D96CLW1) STATUS=(EXECUTING/IBM1),CLASS=TSU, PRIORITY=9,SYSAFF=(IBM1),HOLD=(NONE)
STC00002 $HASP890 $HASP890 JOB00003 $HASP890 $HASP890 STC00010 $HASP890 $HASP890 $HASP890 STC00017 $HASP890 $HASP890 $HASP890 JOB00018 $HASP890 $HASP890 JOB00036 $HASP890 $HASP890 JOB00006 $HASP890 $HASP890 TSU00007 $HASP890 $HASP890
JES2 releases any batch jobs, started tasks, or time-sharing users that fall within the range of jobs 1-3 or 5-7, PLUS any whose job name begins with the letter I.
115
$ADD APPL
Syntax
$ADD APPL appl , ( appl appl ) ,COMPACT=compact ,LINE=line
,LOGMODE=logmode
,LOGON=logon
,NODE=node
,REST=rest
Parameters
appl Specifies the 1 to 8 alphanumeric or special ($, #, or @) character application name by which JES2/NJE is known to VTAM at the indicated node. COMPACT=compact The compaction table number (0-99) that is used for outbound compaction in communicating with this application at the specified node. Zero denotes no compaction. Default: The value for COMPACT specified on the NODE(nnnn) initialization statement that defines the node indicated by the NODE=node parameter on this command. LINE=line A dedicated line used for the SNA NJE session associated with this application. Specify only when the application is inactive. Default: 0 (No line is dedicated.) LOGMODE=logmode The 1 to 8 character name of the logon mode table entry that is used for this VTAM application. The parameter input must adhere to the VTAM naming conventions for a logon mode table entry name. A logon mode table entry determines which entry in the VTAM application logon mode table will be used. If the program participates as the secondary end of a session (SLU), the table entry provides a set of session parameters. This parameter is used only for NJE applications. If it is specified for non-NJE applications, the parameter is ignored. Specify only when the application is inactive. Default: If you omit the parameter, the system uses the VTAM defaults. LOGON=logon Specifies the number (1-999) of the local LOGON DCT which should be used when specifying connections to the application. The default value of 0 indicates that the LOGON DCT defined with the lowest number is to be used. NODE=node The number (1-32767) or the 1 to 8 alphanumeric or special ($, #, or @) symbolic name (xxxxxxxx) of the node at which the JES2 application is defined to VTAM.
116
$ADD APPL
Note: The symbolic name must have been specified on the NAME= parameter of the NODE initialization statement for the referenced node, or must have been defined on the DESTID initialization statement. REST=rest An integer (0-2000), which represents the resistance rating of the connection as viewed by the installation manager and coordinated with other installations. For information about selecting resistances, see z/OS JES2 Initialization and Tuning Guide. Default: The value for REST specified on the NODE(nnnn) initialization statement that defines the node indicated by the NODE=nnnn parameter on this command.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
When you dynamically define JES2 as an application to VTAM, its specifications are not checkpointed and are not carried across a restart of JES2. If you want to permanently define the new application, you must add a new APPL initialization statement before restarting JES2.
Scope
Single Member. The values supplied for this command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP821 message displays the current values of all the parameters that define this application.
Example
1 $add appl(jesc),node=33 $HASP821 APPL(JESC) NODE=33,COMPACT=0,LINE=0,LOGMODE=0, $HASP821 LOGON=0, REST=0
117
$ADD CONNECT
Syntax
$ADD CONNect ,PATHMGR= No RESET Yes ,REST=rest
, /
MA MEMBA / MEMBERA /
membera
, /
MB MEMBB / MEMBERB /
memberb
, /
NA NODEA /
nodea
, /
NB NODEB /
nodeb
Parameters
MA|MEMBA|MEMBERA=membera The member number at the NODEA end of the connection. Default: The default is 1. The value for MEMBERA if NODEA is the local node must be a 1. If the member number is greater than a 1 for the local node, the command is rejected. Note: Most supported NJE nodes require this parameter to be defaulted or set to 1. This parameter should only be used if the documentation for the NJE product on the node specified by NODEA= requires it. Improper specification of this field can cause portions of your NJE network to be unreachable. IBM recommends that you do not specify this parameter, and allow it to default. MB|MEMBB|MEMBERB=memberb The member number at the NODEB end of the connection. Default: The default is 1. The value for MEMBERB if NODEB is the local node must be a 1. If the member number is greater than a 1 for the local node, the command is rejected. Note: Most supported NJE nodes require this parameter to be defaulted or set to 1. This parameter should only be used if the documentation for the NJE product on the node specified by NODEB= requires it. Improper specification of this field can cause portions of your NJE network to be unreachable. IBM recommends that you do not specify this parameter, and allow it to default.
118
$ADD CONNECT
NA|NODEA=nodea Specifies the 1 to 8alphanumeric or special ($, #, or @) character symbolic node name (xxxxxxxx) or node number (nnnn) at one end of the connection. The name must match the NAME= parameter of the NODE initialization statement for the referenced node. The node number must be less than the NODENUM= parameter of the NJEDEF statement. Note: NODEA and NODEB may appear in any order when defining a static connection, that is NODEA does not have to be your node or the other end. When JES2 resolves the static connection, the order may be different than what was entered on the command when you issue a $DCONNECT. This is because the node with the smallest number will always be assigned to NODEA. The end result is the same. NB|NODEB=nodeb Specifies the 1 to 8alphanumeric or special ($, #, or @) character symbolic node name (xxxxxxxx) or node number (nnnn) at one end of the connection. The name must match the NAME= parameter of the NODE initialization statement for the referenced node. The node number must be less than the NODENUM= parameter of the NJEDEF statement. Note: NODEA and NODEB might appear in any order when defining a static connection, that is NODEA does not have to be your node or the other end. When JES2 resolves the static connection, the order may be different than what was entered on the command when you issue a $DCONNECT. This is because the node with the smallest number will always be assigned to NODEA. The end result is the same. PATHMGR={No|RESET|Yes} Indicates whether this connection supports path manager type protocols. PATHMGR=RESET indicates that the value of PATHMGR= should be reset to the default. Default: The default depends on the specifications for the NODEA= and NODEB= parameters. v If either node is defined as PATHMGR=NO, the default is PATHMGR=NO. You can sign on to JES3 or VM. v If both nodes are defined as PATHMGR=YES, the default is PATHMGR=YES. Note: This static connection has a resistance of 30. REST=rest An integer (0-8000) that represents the resistance rating of the connection as viewed by the installation manager and coordinated with other installations. For information about selecting resistances, see z/OS JES2 Initialization and Tuning Guide.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
119
$ADD CONNECT
Scope
Single Member. The values supplied for this command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP815 message is issued in response to this command.
Example
1 $ADD CONNECT, NODEA=PHOENIX, MEMBA=1, NODEB=TUCSON, MEMBB=2, REST=30
This example adds a static connection between member 1 at PHOENIX and member 2 at TUCSON.
120
$ADD DEStid
| | |
Syntax
$ADD DEStid xxxxxxxx , ( xxxxxxxx xxxxxxxx ) ,DEST= nodename Nnnnn LOCAL ANYLOCAL Rmmmm RMmmmm RMTmmmm Ummmm userid NnnnnRmmmm node.destination
,PRIMARY=
No Yes
Parameters
xxxxxxxx Specifies the 1 to 8 alphanumeric or special ($, #, or @) character symbolic destination name affected by this statement. DEST= Specifies a route code JES2 can use to route data. When specifying only the node (first-level destination): nodename|Nnnnn References only the nodal portion (first-level destination) of a JES2 route code. nodename Specify a symbolic node name. For example, if NODE(10) is
Chapter 5. Command Reference Section
121
$ADD DEStid
defined as NAME=ALBANY on the DESTID(jxxxxxxx) initialization statement, then an installation can create a DESTID(NYCAP) with DEST=ALBANY. Nnnnn Specify N followed by a numeric value (1-32767). For example, DESTID(NYCAP),DEST=N10. When specifying only the destination at a node (second-level destination): LOCAL|ANYLOCAL|Rmmmm|RMmmmm|RMTmmmm|Ummmm|userid References only the destination at a node (second-level destinations). When these destids are referenced, users must specify either an explicit first-level destination or allow JES2 to assign a default first-level destination. JES2 determines the first-level portion of the destination from one of the following: v /*ROUTE PRT JES2 control statement v /*ROUTE PUN JES2 control statement v The output route code associated with the device through which the job entered the system. For example, DESTID(REMOTE5),DEST=R5 defines a second-level destination. Using the destids DESTID(NYCAP) DEST=ALBANY and DESTID(NYCAP) DEST=N10 as specified on DESTID(jxxxxxxx) initialization statements, JCL can route a data set to R5 at N10 by specifying DEST=NYCAP.REMOTE5. However, if the JCL only specifies DEST=REMOTE5, the nodal portion of the destination is obtained from the default routing of the job. (A job submitted from N10 without any /*ROUTE JES2 control statements has a default nodal routing of N10, regardless of where in the network it executes.) Valid destinations: LOCAL|ANYLOCAL Data is not associated with any specific routing. Rmmmm|RMmmmm|RMTmmmm Specify R, RM, or RMT, followed by a numeric value (0-32767). For example, R17 represents remote work station 17. Ummmm Specify U followed by a numeric value in the range of 1 through the value specified on the LOCALNUM= parameter of the DESTDEF initialization statement. For example, U19 represents special local routing 19. Use the LOCALNUM= parameter on the DESTDEF initialization statement to specify the highest number for a special local route code. JES2 assumes that numbers beyond this range are userids. userid Specify a 1 to 8 character string that is interpreted on the destination node. For example, the string TANYA represents a userid (assuming that there are no destids that define TANYA at the destination node).
122
$ADD DEStid
When specifying both the node and a destination at that node (first and second level destinations): NnnnnRmmmm|node.destination Allows an installation to define the complete JES2 route code (destination at a specified node). JES2 does not use information from the default routing. NnnnnRmmmm Specify N followed by a numeric value (1-32767), then R followed by a numeric value (0-32767). For example, N5R7 indicates remote 7 at node 5. node.destination Specify a first-level destination, followed by a period (.), followed by either a second-level destination or a complete destination. If destination is a second-level destination, the routing associated with this destid is the composite of node and destination. For the following examples, assume that node 1 is the local node: v N1.R3 indicates data routed to remote 3 at the local node. v N2.R5 indicates data routed to whatever R5 is at node 2. v N5.BOB indicates data is routed to whatever BOB is at node 5. If destination is a complete destination, the final routing associated with this destid depends on node. For the following examples, assume that node 1 is the local node: v N2.N2R3 indicates data routed to remote 3 at node 2 because the first-level destination of destination matches node. v N5.N2R3 indicates data routed to N2R3 at node 5 because the first-level destination of destination does not match node and node is not the local node. If node 5 has not explicitly defined N2R3, node 5 routes the data to destination R3 at node 2. v N1.N5R3 results in an error because the first-level destination of destination does not match node and node is the local node. Note that you can use existing destids to define additional destids. For example, assume that the following destids have been defined through the DESTID(jxxxxxxx) initialization statement:
DESTID(ALBANY) DEST=N10 DESTID(REMOTE5) DEST=R5
123
$ADD DEStid
PRIMARY={No|Yes} Specifies whether (YES) or not (NO) to display this destid for job and SYSOUT routing. Use this parameter if multiple destids have the same routing. When searching for a destid to display for a jobs or SYSOUTs routing, JES2 selects: 1. Node name (destid with STATUS=NODENAME) if routed to a node. 2. First destid found that specifies PRIMARY=YES. 3. If only one destid is found, that destid is used. 4. If multiple destids are found, no destid is used (and routing is displayed explicitly). If USER is specified for either the Ndest=, Udest=, or R|RM|RMTdest= parameters on the DESTDEF initialization statement and multiple destids can match the routing of a job or SYSOUT data set, then at least one of these multiple destids must specify PRIMARY=YES. If not, products such as SDSF may have problems altering the routing of a job or SYSOUT data set to any of these multiply defined destids. Because PRIMARY=YES can affect SDSFs security procedures, consult SDSF Guide and Reference before using this parameter.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
When you dynamically define a JES2 symbolic destination (destid), JES2 carries it across a restart only if you perform a hot start. To permanently define the symbolic destination, add a new DEStid initialization statement before restarting JES2.
Scope
Single member. The values supplied for this command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP822 message displays the current values of all the parameters that define this DEStid. The STATUS= parameter displays whether the DEStid is associated with a particular node. This parameter cannot be altered by command or initialization statement because it is display-only.
124
$ADD DEStid
Examples
1 $add destid(wrk1),dest=u34,primary=yes DEST=U34,STATUS=DESTID,PRIMARY=YES $HASP822 DESTID(WRK1)
JES2 adds destination identifier WRK1 with a special local routing of U34 to the installation. The STATUS= parameter displayed in the $HASP822 message indicates that the symbolic name WRK1 does not match the name of a node. This parameter cannot be altered by command or initialization statement because it is display-only. The PRIMARY= parameter indicates that this destid is displayed for all job and SYSOUT routing, even if another destid is routed to special local routing 34 at this installation.
2 $add destid(r0007),dest=R7 DEST=R7,STATUS=DESTID,PRIMARY=NO
$HASP822 DESTID(REMOTE7)
JES2 adds destination identifier REMOTE7 with a destination of R7 to the installation. The STATUS= keyword displayed in the $HASP822 message indicates that the symbolic name REMOTE7 does not match the name of a node. The PRIMARY= keyword displayed in the $HASP822 message indicates that JES2 will display a destination of R7 (D=R7) rather than the actual destid subscript (REMOTE7) in any display of SYSOUT routed to this destination.
125
$ADD FSS
Syntax
$ADD FSS FSSDef accccccc , ( accccccc accccccc ) ,AUTOstop= No Yes
,HASPFSSM=
HASPFSSM accccccc
,PROC=accccccc
Parameters
accccccc The 1 to 8 character name of this functional subsystem (FSS). AUTOstop={No|Yes} Specifies whether JES2 is to automatically stop (shutdown) the FSS address space when all devices attached to the FSS are drained. HASPFSSM={HASPFSSM|accccccc} The 1 to 8 character name of the load module that is loaded into the functional subsystem address space. This load module contains the various JES2-supplied FSI service routines. PROC=accccccc The 1 to 8 character name of the JCL procedure (usually in SYS1.PROCLIB) required to start the functional subsystem. Default: The value specified as the FSS token (accccccc).
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
When you dynamically define an FSS to JES2, its specifications are carried across a restart of JES2 only if you perform a hot start. To permanently define the functional subsystem, add a new FSS initialization statement before restarting JES2.
Scope
Single Member. The values supplied for this command will be in effect for this member only.
126
$ADD FSS
Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP824 message displays the current values of all the parameters that define this functional subsystem.
Example
1 $add fss(myfss),proc=start1 $HASP824 FSS(MYFSS) PROC=START1,HASPFSSM=HASPFSSM,AUTOSTOP=NO
127
$ADD LINE(nnnn)
Syntax
$ADD LINE LNE nn , ( nn * ) mm * mm * ,AUTODISC= No Yes
,CODE=
A B
,COMPRESS=
No Yes
,DUPLEX=
FULL HALF
,INTERFAC=
A B
,LINECCHR=
EBCDIC USASCII
,LOG=
No Yes
,Password=password ,JRNUM=
default jrnum
default srnum
,Discon=
I INTERRUPT NO Q QUIESCE
,REST=rest
|
,SPEED= HIGH LOW , / TRaceio = = No Yes JES YES NO COMMON YES NO VERBOSE YES NO
,TRANSPAR=
No Yes
,UNIT=unit
128
$ADD LINE(nnnn)
Parameters
| | | | nnnn The subscript defining one or more lines that are affected by this command. The subscript can specify a specific numeric value or a range of values (1-65535). For information about specifying a range for this subscript, see Syntax Conventions at the front of this chapter. AUTODISC={No|Yes} Specifies whether (Yes) or not (No) this line is to be disconnected automatically from a terminal when the local modem disconnects. Note: If you use AUTODISC=Yes for a leased, dedicated line, you may cause serious performance impact without receiving the $HASP094 I/O ERROR message. This may also occur if a modem is disconnected or powered-off during a session or a line started with a modem disconnected or powered off. CODE={A|B} Specifies the code for this line. A B Specifies code A for this line; code A refers to the first code in a BSC adapter that has the dual code feature. Specifies code B for this line. Code B refers to the second code in a BSC adapter that has the dual code features. If the dual code feature is not present, B should not be specified. See 2701 Data Adapter Unit Component Description , GA22-6864 for information about BSC CCWs and sense codes.
COMPRESS={No|Yes} For RJE workstations only, specifies whether (Yes) or not (No) BSC hardware terminals attached to this line can utilize data compression. If you specify NO, it overrides the specification of the COMPRESS= parameter on the RJE workstation (RMT(nnnn) ) initialization statement for any workstation that might use this line and any remote device statement. Compression compatibility is standard for BSC multileaving workstations. If you specify COMPRESS=Yes, the specification of the COMPRESS= parameter on the RMT(nnnn) and the COMP parameter on the remote device (Rnnnn.xxx) statements is allowed to take effect. IF RMT(nnnn) specifies COMPRESS=No, or Rnnnn.xxx specifies NOCOMP, no compression will take place. This parameter defaults to Yes, which specifies that the line allows data compression. DUPLEX={FULL|HALF} Specifies whether this is a full-duplex (FULL) or half-duplex (HALF) line. INTERFAC={A|B} A specifies interface A for this line; interface A refers to the first interface in a BSC adapter that has the dual-communications interface feature. B specifies interface B for this line; interface B refers to the second interface in a BSC adapter that has the dual-communications interface feature. If the adapter for this line does not have the dual-communications interface feature, B should not be specified. JRNUM=n|DEFAULT Specifies the number (0-7) of network job receivers to be associated with this NJE line. The value of n is an integer that specifies the maximum number of
Chapter 5. Command Reference Section
129
$ADD LINE(nnnn)
input job streams allowed to be concurrently active on this line. This specification should match the value of JTNUM for this line on other nodes with which this node is to communicate directly. The sum of the values of JRNUM and SRNUM for this line must not exceed 8, or the statement is ignored. This value overrides the default global value set by the JRNUM= parameter of the NJEDEF statement. If this value is omitted or set to DEFAULT, the value is taken from the JRNUM= parameter of NJEDEF. If omission or use of DEFAULT would result in a sum of JRNUM= and SRNUM= exceeding 8, JRNUM= is reduced so that the sum would equal 8. JTNUM=n|DEFAULT Specifies the number (0-7) of network job transmitters to be associated with this NJE line. The value of n is an integer that specifies the maximum number of output job streams allowed to be concurrently active on this line. This value should remain unchanged unless it is known that a particular user has some jobs with extremely large amounts of input to be transmitted and other short jobs that must be transmitted concurrently. If there are not enough receivers on the receiving node to receive jobs over the line, excess transmitters drain automatically. The sum of the values JTNUM= and STNUM= for this line must not exceed 8, or the statement is ignored. This value overrides the default global value set by the JTNUM= parameter of the NJEDEF statement. If this value is omitted or set to DEFAULT, the value is taken from the JTNUM= parameter of NJEDEF. If omission or use of DEFAULT would result in a sum of JTNUM= and STNUM= exceeding 8, JTNUM= is reduced so that the sum would equal 8. LINECCHR={EBCDIC|USASCII} USASCII specifies that the BSC adapter is configured for ASCII line-control characters. When USASCII is specified, this line must be used with 2770, 2780, or 3780 USASCII terminals. EBCDIC specifies that the BSC adapter is configured for EBCDIC line-control characters. LOG={No|Yes} Specifies whether (Yes) or not (No) JES2 is to monitor this line for channel-end completions or SNA events. If you specify LOG=Yes, JES2 issues $HASP094 message for every transmission across this BSC line. You should specify LOG=No if your installation performs extensive networking activity. Password=password Specifies a 1 to 8 character security password JES2 uses to prevent unauthorized terminal users from using this line. This password can be used in the connection request from RJE workstations. If you do not specify a password, one does not exist. REST=rest Specifies an integer between 0 and 2000 which represents the resistance rating of the line as viewed by the installation management and coordinated with other installations. Resistance is an arbitrary value set to indicate a specific lines ability/inability to route work due to normal workload requirements and line speed. Refer to z/OS JES2 Initialization and Tuning Guide for details concerning resistance selection. SPEED={HIGH|LOW} Specifies whether this is a high-speed (greater than 9600 bits per second) or low-speed line. Note: This parameter is only applicable to 360/20 submodels 2 and 4.
130
$ADD LINE(nnnn)
SRNUM=n|DEFAULT Specifies the number (0-7) of network SYSOUT receivers to be associated with this NJE line. The value of n is an integer which specifies the maximum number of SYSOUT receiver streams allowed to be concurrently active on this line. This specification should match the value of STNUM= for this line on the other nodes with which this member is to communicate directly. The sum of the values JRNUM= and SRNUM= for this line must not exceed 8, or the statement is ignored. This value overrides the default global value set by the SRNUM= parameter on the NJEDEF statement. If this value is omitted or set to DEFAULT, the value is taken from the SRNUM= parameter of NJEDEF. If omission or use of DEFAULT would result in a sum of SRNUM= and JRNUM= exceeding 8, SRNUM= is reduced so that the sum would equal 8. STNUM=n|DEFAULT Specifies the number (0-7) of network SYSOUT transmitters which will be associated with this NJE line. The value of n is an integer which specifies the maximum number of SYSOUT transmitter streams allowed to be concurrently active on this line. If there are not enough receivers on the receiving node to receive SYSOUT data over the line, excess transmitters drain automatically. The sum of the values JTNUM= and STNUM= for this line must not exceed 8, or the statement is ignored. This value overrides the default global value set by the STNUM= parameter of the NJEDEF statement. If this value is omitted or set to DEFAULT, the value is taken from the STNUM= parameter of NJEDEF. If omission or use of DEFAULT would result in a sum of STNUM= and JTNUM= exceeding 8, STNUM= is reduced so that the sum would equal 8. | | | | | | | | | | | | | | | | TRaceio[=NO|YES|JES=YES|NO|COMMON=YES|NO|VERBOSE=YES|NO] Specifies whether tracing is to be active and which types of traces are to be activated for the TCP/IP line. YES Indicates all types of tracing are to be done. NO Indicates no tracing is to be done. JES=YES|NO Indicates whether data and control records passed between JES and TCP/IP are to be traced for this line. COMMON=YES|NO Indicates whether TCP/IP and other services called by IAZNJTCP are to be traced. VERBOSE=YES|NO Indicates whether diagnostic messages are to be issued to the master console and SYSLOG. TRANSPAR={No|Yes} Specifies whether (Yes) or not (No) the text transparency feature of the BSC adapter is present on this line. Yes must be specified for NJE lines. TRANSPAR=No is valid only for EP links generated to operate as a D/T2701 without the transparency feature. For device types which require the transparency feature, such as 2703 and CTC, specifying TRANSPAR=NO will have no effect and TRANSPAR=YES will be forced at initialization.
131
$ADD LINE(nnnn)
UNIT=unit UNIT can be specified as one of the following: v A 3- or 4-digit hexadecimal device number. Device numbers can be specified in any of the following formats:
UNIT=hhh UNIT=hhhh UNIT=/hhh UNIT=/hhhh
where hhh and hhhh represent the device numbers. A slash (/) can optionally precede the device number (for compatibility with other initialization statements that require a slash to denote a 4-digit device number). v For RJE BSC lines, specify the device number as the same address that you specified for the subchannel address defined for the communication controller. v NJE protocols support an ESCON Basic Mode CTC (defined to the hardware configuration dialog as BCTC) and a 3088 CTC but do not support an ESCON CTC (defined to the hardware as SCTC). | Specify UNIT=SNA to obtain an SNA line, or UNIT=TCP to obtain a TCP/IP line.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single Member. The values supplied for this command will be in effect for this member only.
Messages
The $HASP879 message displays the status of the specified RJE workstation.
Example
1 $add line125,unit=sna UNIT=SNA,STATUS=DRAINED,COMPRESS=YES, LOG=NO,PASSWORD=(NOTSET),REST=0, RMTSHARE=YES,SESSIONS=,TRACEIO=NO, JRNUM=DEFAULT,JTNUM=DEFAULT,SRNUM=DEFAULT, STNUM=DEFAULT $HASP880 LINE125 $HASP880 $HASP880 $HASP880 $HASP880
132
Syntax
$ADD LGN LOGON nn , ( nn * ) mm * mm * ,Applid=applid
,LOG=
No Yes
,Password=password
,TRaceio=
No Yes
Parameters
APPLID=applid Specifies the 1 to 8 character name that your installation assigned to JES2. This name is passed to VTAM, and it must match the name defined to VTAM. Although the default name, JES2, will be supplied in the absence of this specification, it must be stressed that in the JES2 networking environment each job entry subsystem must have a unique name by which it is defined to VTAM. For NJE, this name must correspond to an application name appearing in one of the application table (APT) entries defined for the local node (OWNNODE parameter on the NJEDEF statement). Application table entries are created using information provided on the APPLID(avvvvvvv) initialization statement or, by default, using information from the NODE(xxxxxxxx) initialization statement. LOG={No|Yes} Specifies whether JES will monitor the VTAM interface and record all SNA events. If you specify LOG=YES, JES2 issues a $HASP094 message for every transmission on the LOGON APPLID. You should specify LOG=NO if your installation performs extensive networking activity. This parameter does not have a default. Password=password Specifies a 1 to 8 character security password that is presented to VTAM. (Passwords with fewer than 8 characters are padded with blanks.) This password must have been associated with the APPLID= parameter on this statement at VTAM system definition. If you do not specify a password, none exists. TRaceio={No|Yes} Specifies whether (Yes) or not (No) JES2 will trace channel-end completions for logons. This is done with trace ID 5.
133
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single Member. The values supplied for this command will be in effect for this member only.
Messages
The $HASP881 message displays the current status of all the parameters that define this LOGON.
Example
1 $add logon4,appl=jes2n2 APPLID=JES2N2,STATUS=DRAINED,LOG=NO, PASSWORD=(NOTSET),SESSIONS=,TRACEIO=NO $HASP881 LOGON4 $HASP881 LOGON4 $HASP881
134
$ADD NETSRV(nnn)
| | | | | | |
Syntax
$ADD NETsrv NETSERV NSV nn , ( nn * ) mm * mm *
| | | | | | | |
Modification keywords
Modification keywords:
,SOCKet=socket
,STACK=stack
SOCKet
= ^= > <
socket
STACK
= ^= > <
stack
| |
, / TRaceio= (
135
$ADD NETSRV(nnn)
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Parameters
SOCKET= Specifies the name of a local socket upon which the NETSRV should listen. Scope: single system. TRaceio=(YES|NO|JES=YES|NO|COMMON=YES|NO|VERBOSE=YES|NO) Specifies whether tracing is to be active, and which types of traces are to be activated for the server. YES Indicates all types of tracing are to be done. NO Indicates no tracing is to be done. JES=YES|NO Indicates whether data and control records passed between JES and TCP/IP are to be traced for this server. COMMON=YES|NO Indicates whether TCP/IP and other services called by IAZNJTCP are to be traced. VERBOSE=YES|NO Indicates whether diagnostic messages are to be issued to the master console and SYSLOG. Scope: single system. STACK= Specifies the name of a TCP/IP stack to be used by this server. If not specified, all stacks on the local machine will be used. Scope: single system.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide
Scope
Single member
Messages
$HASP898
Example
$add netsrv1,socket=local $HASP898 NETSRV1 $HASP898 NETSRV1 STATUS=DRAINED,SOCKET=LOCAL,STACK=, $HASP898 TRACEIO=(JES=NO,COMMON=NO,VERBOSE=NO)
136
$ADD PROCLIB(xxxxxxxx)
Syntax
$ADD PROClib proclib , ( proclib proclib * ) -proclib -proclib -*
Modification keywords
Modification keywords:
Parameters
(xxxxxxxx) Specifies the 1-8 character PROCLIB DD name being defined. If a dynamic PROCLIB already exists with this name, the command will fail. DD names of the form PROCxx can be referenced by the JOBCLASS PROCLIB= statement. DD names of any format can be referenced on the JECL /*JOBPARM PROCLIB=ddname statement. If this name matches a DD name in the JES2 start PROC, then this PROCLIB concatenation will be used instead of the one in the JES2 start PROC. DD(nnn)= Specifies up to 255 data sets to be concatenated to this PROCLIB DD name. Data sets in this list are compacted after the $ADD command is processed. If you specify DD(1), DD(20), and DD(100) for a new PROCLIB concatenation, the resulting concatenation will have DD(1), DD(2) and DD(3). Though up to
Chapter 5. Command Reference Section
137
$ADD PROCLIB(xxxxxxxx)
255 data sets can be specified, MVS rules limit any data set concatenation to 255 extents. If any data set has more than one extent, then the total number of data sets that can be supported will be reduced. DSName=jxxx,,,x Specifies a 1-44 character data set name which JES2 will include in this PROCLIB concatenation. This must specify a partitioned data set (PDS). UNIT=hhhh|/hhhh|nnnn|cccccccc If the PROCLIB data set to be used is not cataloged, then the unit information for the device containing the data set must be specified in one of the following ways: hhhh | /hhhh specifies a 3 or 4 digit hexadecimal device number. Device numbers can be specified by any of the following formats: v UNIT=hhh v UNIT=/hhh v UNIT=/hhhh where hhh and hhhh represent the device numbers. A slash (/) must precede a 4 digit device number. nnnn Specifies a device name. cccccccc Specifies a 1 to 8 character group name assigned to the device or group of devices that contained the non-cataloged PROCLIB data set to be used. VOLser=xxxxxx If the PROCLIB data set to be used is not cataloged, then this specifies a 1 to 6 character volume serial number on which the data set resides. UNCONDitional Specifies what action should be taken if one of the data sets cannot be allocated. If UNCONDitional is not specified then if any data set cannot be allocated, the $ADD command is failed. If UNCONDitional is specified, then an error allocating a singe data set is ignored. The data set is not added to the concatenation but it remains assigned to the DD(nnn). If the concatenation is displayed, failed DD(nnn) will display the text ALLOCATION FAILED before the data set name. If all the data sets in a concatenation fail to allocate, then the $ADD command fails regardless of whether UNCONDitional was specified.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
$ADD PROCLIB command processing only ensures that the data sets specified can be allocated. It does not ensure that they actually exist or can be opened and used as a PROCLIB data set. That processing occurs when the PROCLIB is used by a job during conversion processing.
138
$ADD PROCLIB(xxxxxxxx)
Scope
Single member. The values supplied for this command will be in effect for this member only. Depending on your installations setup. however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP319 message displays the current PROCLIB concatenation. The $HASP003 RC=56 indicates that you are trying to add a PROCLIB concatenation but it already exists. The $HASP003 RC=91 indicates that the command failed because there was an allocation failure. In this case, additional IKJ message will be issued to describe the allocation error.
Example
1 $add proclib(proc01),dd1=dsn=sys1.proclib,dd2=dsn=test.proclib $HASP319 PROCLIB(PROC01) DD(1)=(DSNAME=SYS1.PROCLIB), $HASP319 DD(2)=(DSNAME=TEST.PROCLIB)
Add a new PROCLIB concatenation PROC01 with 2 data set SYS1.PROCLIB and TEST.PROCLIB
2 $add proclib(proc02),dd1=dsn=sys1.proclib,dd2=dsn=junk.proclib,uncond IKJ56228I DATA SET JUNK.PROCLIB NOT IN CATALOG OR CATALOG CAN NOT BE ACCESSED $HASP319 PROCLIB(PROC02) DD(1)=(DSNAME=SYS1.PROCLIB), $HASP319 DD(2)=(ALLOCATION FAILED, $HASP319 DSNAME=JUNK.PROCLIB)
Add a new PROCLIB concatenation with one data set, JUNK.PROCLIB, that does not exist but UNCOND was specified. In this case, the PROC02 DD is an available PROCLIB with only one active data set
3 $add proclib(proc99),dd100=dsn=sys1.proclib,dd200=dsn=test.proclib $HASP319 PROCLIB(PROC99) DD(1)=(DSNAME=SYS1.PROCLIB), $HASP319 DD(2)=(DSNAME=TEST.PROCLIB)
139
$ADD PRT(nnnn)
Syntax
$ADD PRINTER PRT nnnn , ( nnnn * ) nnnn * nnnn *
,Burst=
No Yes
,CKPTLINE=nnnnn
,CKPTMODE=
PAGE SEC
,CKPTPAGE=nnnnn
,CKPTSEC=ttttt
,COPYMARK=
,CReator=jccccccc
,DEVFCB=
xxxx RESET
,DEVFLASH=name
C FCB
id RESET
FLASH O
=name
,Forms=
,FSS=accccccc
,JOBname=jobname
,LIMit=
m ( m ,n
,Mark= ) No Yes
,MODE=
FSS JES
,NEWPAGE=
ALL DEFAULT 1
,NPRO=tttt
,Pause= No Yes
,PLIM=
m ( m ,n
,PRESELCT= )
No Yes
140
$ADD PRT(nnnn)
,PRMode=
,RANGE=
J ( m ,n S ( m ,n T ( m ,n
,Routecde= )
routecde , ( ) routecde
,Sep= No Yes
,SEPCHARS=
CURRENT DEFAULT
,SEPDS= No Yes
,SETUP=
HALT NOHALT
,TRace=
No P Yes
,TRANS=
DEFAULT No Yes
,TRKCELL=
No Yes
T UCS
=id
,UCSVerfy=
No Yes
,UNIT=devnum
,Volume=
volume , ( volume )
,Writer=writer
,WS=
ws , ( ws )
Notes: 1 2 Forms can be coded up to 8 times PRMode can be coded up to 8 times (mode1,mode2,...,mode8)
Parameters
Burst=[No|Yes] Specifies whether the printed output from the indicated 3800 printer is to be burst into separate sheets (Y) or is to be in continuous fanfold form (N). C|FCB={id|RESET} Specifies the carriage tape name for the 3211, 3203 Model 5, or 1403 printer for printing this output class.
Chapter 5. Command Reference Section
141
$ADD PRT(nnnn)
id The identifier (1-4 alphameric characters) of the tape for a printer lacking a forms control buffer (FCB) feature, or the FCB image for a printer having the FCB feature. If you specify an FCB image, it must be available in SYS1.IMAGELIB. Specifies that a 3800 printer or a printer running under the control of a functional subsystem (FSS mode) is to construct a 6 lines per inch FCB based on the forms loaded in the printer. For any printers in FSS mode, JES2 uses the FCB specified in the PROC that starts the FSS. RESET can be used to correct the problem indicated by the $HASP180 load message. Notes: 1. When you explicitly set the FCB= parameter for the 3800 printer, the specified value is used as the installations default FCB image for SYSOUT data sets that do not specify the FCB= parameter through JCL. 2. If you have received the $HASP180 load error message indicating an FCB image error, specify the FCB= parameter to correct the problem. CKPTLINE=nnnnn The maximum number of lines (range 0-32767) in a logical page. JES2 uses this value, with the CKPTPAGE value, to determine when to take output checkpoints. The size of a logical page is also defined as the number of lines printed until: v A channel skip is encountered. v The line count specified by the LINECT parameter on the PRINTDEF initialization statement, the /*JOBPARM control statement, the JCL OUTPUT statement, or the JOB statement accounting field has been exceeded. If you specify CKPTLINE=0, a logical page is defined only by the items noted above. If the LINECT value specified is greater than zero, setting CKPTLINE to a value greater than LINECT results in the LINECT value being used as the definition of a logical page; it overrides CKPTLINE. Note: This operand is ignored if specified for a printer under the control of a functional subsystem. The functional subsystem does its own physical and logical pages checkpoint based on the CKPTPAGE and CKPTSEC values passed to it from JES2. CKPTMODE={PAGE|SEC} Specifies whether the functional subsystem is to take checkpoints based on page count or elapsed time. Note: This operand is valid for printers under the control of a functional subsystem only, not those under the control of JES2. PAGE The functional subsystem uses the checkpointing interval specified by the CKPTPAGE operand. SEC The functional subsystem uses the checkpointing interval specified by the CKPTSEC operand. Note: The installation should set the values for CKPTSEC and CKPTPAGE so they are best for the printer; then control which checkpoint method to use, either SEC or PAGE, by changing the CKPTMODE parameter.
RESET
142
$ADD PRT(nnnn)
CKPTPAGE=nnnnn The number (1-32767) of logical pages for non-page mode printers and physical pages for page-mode printers to be printed before each output checkpoint is taken. This parameter and CKPTLINE control the amount of checkpoint activity to spool. Notes: 1. When you use the K|SPACE=(1|2|3|R) operand for a data set that is printing on a 3800-3 printer operating in FSS mode, the forced spacing is reset either at the end of that data set, or when you issue a $TPRTnnnn,CKPTPAGE=nnnnn command while this data set is printing. If you issue the $TPRTnnnn,CKPTPAGE command and forced spacing is still desired, you must include the K=(1|2|3|R) operand. 2. The CKPTPAGE parameter should be set to a low value for slow printers and a high value for faster printers such as the 3800 to prevent the occurrence of excessive checkpoint cycles for faster devices. CKPTSEC=ttttt The number (0-32767) of seconds to elapse before each output checkpoint is taken. This parameter is valid only for a printer under control of a functional subsystem. CLass|Queue=c1[...c36] Specifies the output class(es) (A-Z, 0-9) the printer is to process. You can specify as many as 36 output classes. COPYMARK={CONSTANT|DATASET|DEFAULT|JOB} Specifying DATASET or JOB causes copy marks (SYSOUT separation indicator markings) to be incremented on a data set level or on a JOE level, respectively. Copy marks are not incremented when you specify CONSTANT. Note: The COPYMARK parameter applies to FSS-controlled devices only. CReator=jccccccc Specifies the 1 through 8 character userid that creates the SYSOUT data sets to be processed. j An alphabetic character (A-Z) or any of the special characters ($, #, or @).
ccccccc Any combination of EBCDIC characters except a comma, a right parenthesis, or an equal sign. DEVFCB={xxxx|RESET} Specifies the default FCB attribute JES2 uses when FCB= is not coded in the jobs JCL. (JES2 does not validate the existence of the FCB name in SYS1.IMAGELIB.) Specifying RESET sets the default FCB attribute to null. Note: 3800 printers use the FCB specified on the PRT initialization statement. DEVFLASH|FLASH|O=name The 1 to 4 alphameric character name that specifies the name of the default forms FLASH ID. Forms=cccccccc The 1 to 8 character name of the forms that are loaded into this printer. Note: You can specify 1 through 8 forms for local printers.
F=(STD1,STD2)
Chapter 5. Command Reference Section
143
$ADD PRT(nnnn)
FSS=accccccc Specifies a 1 to 8 character functional subsystem name that supports a page-mode printer. If an FSSNAME is not defined on an FSS initialization statement, the functional subsystem name assigned on this statement will cause the generation of a default FSS initialization statement. The FSS statement then defines (by default) the FSSNAME and PROCname specified here. Notes: 1. This parameter must be specified if MODE=FSS is specified for this PRT(nnnn) command. If this parameter is not specified, the MODE setting becomes MODE=JES. 2. You must also specify UNIT= if this PRT(nnnn) command defines a 3827 or 3835 printer. JOBname=jobname The 1 to 8 character name of jobs whose output is to be selected by this printer. A null parameter of (JOBname=) specifies that jobname is not a criterion for output selection. LIMit={m|m-n|m-*} Specifies the lower and upper limits (in records) for the size of output that is to be selected by this printer. For both variables m and n, you can specify a range of values from 0 through 2147483647. m and n can be equal. If they are not equal, n must be larger than m. If you code only m, that value becomes both the lower and upper limit. If m-* is specified, the upper limit is set to the default value (4294967295). Note: If the printing of a data set is interrupted by a warm start, JES2 uses the original size of the output (prior to any printing) to determine where the remainder of the output is printed. That is, the original size of the JOE is used to determine output device selection. Mark=[No|Yes] Specifies for the 3800 printer whether the edge of the separator page is to be marked. Note: If the printer is under control of a functional subsystem, specifying N suppresses marking on the separator page, but produces a unique mark on the carrier strip (that is, the punched, perforated page edge). MODE={FSS|JES} Specifies whether the printer is under control of a functional subsystem (FSS) or JES2. Notes: 1. When a change of control mode is desired for a printer that is active (that is, output is being printed), you must wait for this printer to drain and then enter a $T PRTnnnn command. The $HASP097 message indicates when the draining process is complete. If the printer is not drained before entering this command, JES2 ignores it. 2. JES2 ignores the MODE specification if the printer was not defined as a functional subsystem device (using the FSS= parameter) on the PRTnnnn
144
$ADD PRT(nnnn)
initialization statement. (If a device was mistakenly defined as being a function subsystem device, JES2 honors the MODE specification, but incorrect output results. NEWPAGE={ALL|DEFAULT|1} Specifies when a skip to channel is counted as a new page. You can specify one of the following: ALL Specifies that JES2 will treat skip-to-any-channel as a new page. DEFAULT Specifies that the NEWPAGE specification on the PRINTDEF initialization statement will be used. 1 Specifies that JES2 will treat only skip-to-channel-one as a new page. NPRO=tttt Specifies the non-process runout (NPRO) time interval in seconds (0-3600). You can use this operand to control the amount of time that an FSS-controlled printer is idle with output in the paper path but not at the stacker. When the time interval expires, the functional subsystem directs the printer to force the output to the stacker. NPRO=0 specifies that a timer-based NPRO is not used. Note: The NPRO operand has no effect on cut-sheet page printers. Pause=[No|Yes] Specifies whether the local printer is to pause between data sets. If you specify Y, you can restart the device by changing it from a not-ready to a ready state. Note: This operand has no effect for page-mode printers that operate under the control of a functional subsystem. PLIM={m|m-n|m-*} Specifies the lower and upper page limits for the size of output that is to be selected by this printer. For both variables m and n, you can specify a range of values from 0 through 2147483647. m and n can be equal. If they are not equal, n must be larger than m. If you code only m, that value becomes both the lower and upper limit. If you code m-* the upper limit is set to the default value (4294967295). This parameter is valid only when the printer is controlled by a functional subsystem. If the printing of a data set is interrupted by a warm start, JES2 uses the original number of pages specified by the job output element and the original priority value to determine when and where the remaining output is printed. PRESELCT={No|Yes} Specifies whether JES2 preselects data sets for a device. Specifying PRESELECT=N makes data sets selectable by any device. Y is the default. Note: The PRESELECT operand is valid only when the printer is under control of a functional subsystem. PRMode=(mode1[,..mode8]) The SYSOUT mode(s) (1 to 8 alphameric characters) to be processed by this printer. You can specify as many as 8 SYSOUT modes for a single printer. Multiple entries must be separated by commas and the list must be enclosed in parentheses. If all processing modes are selectable by this printer, specify a null parameter of PRMODE= (). You must specify the empty parentheses.
145
$ADD PRT(nnnn)
Note: For a list of valid process-mode values, see your system programmer. RANGE={J|S|T} nnnnn[-nnnnn]| J1-65534 Specifies the job ID range for output jobs that can be selected by this printer. Use J to specify batch jobs, S to specify started tasks, and T for TSO/E jobs. You can specify a single job number or range of jobs. If you code this parameter, you can specify one or two values: v If you specify one value, that value becomes both the low and the high end of the range. v If you specify two values, the first value is the low end of the range and the second value the high end. The two values can be equal. If they are not equal, the second value must be larger than the first value. Routecde=routecde Specifies up to four internal route codes to be assigned to this printer. If more than one route code is assigned, enclose the list in parentheses. For specification requirements, refer to Route codes on page 97. Note: NODENAME=REQUIRED on the DESTDEF initialization statement will cause JES2 to require that a userid be prefixed with a node name. Ummmm Indicates that output for special local routing is selected. The special routing numbers range from 1 to 32767. destid Indicates that output routed to the specified node(s) is selected. If destid is specified alone, it refers to both the node and the remote. remote Indicates routing to a remote. Remote can be specified in any of the following ways: LOCAL|ANYLOCAL Indicates that jobs are to be run at the local node. Rnnnn Indicates routing to the specified remote. Rnnnn can also be specified as RMnnnn or RMTnnnn. The value specified for nnnn can range from 1 to 32767. destid Indicates routing to a destid referring to a remote. userid Indicates routing to a valid TSO userid. Generic userids are also valid. A generic userid is a userid that ends in an asterisk (*) and refers to all userids that begin with the characters preceding the *. Note that the * can only be specified in the last position of the userid. For more information about specifying userids as remotes, refer to Route codes on page 97. Sep=[No|Yes] Specifies whether JES2-supplied separator pages are to be placed between output groups. If you specify N, the JESNEWS data set is not printed. If this is a remote printer, specifying N also suppresses transmission of operator messages to the remote terminal, with the exception of the $HASP190 setup message.
146
$ADD PRT(nnnn)
Notes: 1. If you specify Sep=Y, but SEPPAGE=(LOCAL=NONE) (for local printers) was specified on either the PRINTDEF initialization statement or through the $T PRINTDEF command, default JES2 separator pages are not produced. 2. If you specify Sep=Y, but SEPPAGE=(REMOTE=NONE) (for remote printers) was specified on either the PRINTDEF initialization statement or through the $T PRINTDEF command, default JES2 separator pages are not produced. 3. If you specify Sep=N, a user created page (made in Exit 1) is not suppressed. SEPCHARS={CURRENT|DEFAULT} Specifies the character arrangement table to use for separator pages printed on the 3800 printer. The NUICS parameter on the PRINTDEF initialization statement defines this value at system initialization. CURRENT Specifies use of the character arrangement table loaded in the 3800. The first character arrangement table is used if the installation default is not loaded. DEFAULT Specifies use of the installation default character arrangement table. If not already loaded, this parameter specifies that this table be loaded before printing the separator pages. SEPDS=[No|Yes] Specifies whether a header separator page is to be produced for each copy of each data set within an output group. If the printer is running under JES2, specifying Y causes JES2 to invoke an enabled EXIT 15 (output data set/copy separators) to generate separator pages. For printers under control of a functional subsystem, SEPDS is supported with a default separator page. Note: If EXIT 15 is not enabled when you specify Y on this operand, separator pages are not generated. SETUP={HALT|NOHALT} Specifies whether JES2 issues the device setup message ($HASP190) after a change of device characteristics (for example, forms control). HALT Allows the operator to verify the changes to the printer by halting the printer and issuing the setup message.
NOHALT Allows the printer to process output without requiring setup verification by the operator. With SETUP=NOHALT, JES2 can unload any printer characteristics that require no manual intervention. The printer uses any previously existing setup characteristics that you have not changed to process output. T|UCS=id Specifies, for impact printers, the 1 to 4 character identifier of the print train that is mounted on this printer. The identifier must reside in SYS1.IMAGELIB and the indicated printer must have the universal character set (UCS) feature. For 3800 printers, T= specifies both the identifier (1 to 4 alphameric characters) of the print train character set that is mounted on the printer and the installations default character set for SYSOUT data sets that do not specify the UCS= parameter through JCL. This identifier must be available in SYS1.IMAGELIB.
Chapter 5. Command Reference Section
147
$ADD PRT(nnnn)
Notes: 1. If you specify an invalid identifier, JES2 bypasses the UCS loading procedure and issues the $HASP190 setup message so the operator can specify a valid image. 2. If you specify T=0 or a zero value was specified for the UCS operand on the PRINTDEF initialization statement, JES2 does not load the UCS buffer. You would want to nullify the UCS operand when running a printer in FSS mode if you wish to use the default character set specified in the FSS procedure used to start the printer. 3. This operand is only valid for a 1403 printer that has the UCS feature. TRace={No|P|Yes} Specifies whether tracing is to be activated or deactivated for this print processor. This operand requires system authority. No Tracing is disabled.
P|Yes Tracing is activated if trace IDs 11, 12, 14, and 15 are currently enabled. Trace IDs 11, 12, 14, and 15 can be enabled either at initialization on the TRACE(n) statement or through the $S TRACE(n) command. TRANS={DEFAULT|No|Yes} IF MODE=JES, the TRANS= parameter on this statement affects data translation: v If TRANS=YES, JES2 translates each line of output sent to the device regardless of the device type or the setting of the TRANS= parameter of the PRINTDEF initialization statement. v If TRANS=NO, JES2 does not translate output sent to the device regardless of the device type or the setting of the TRANS= parameter on the PRINTDEF initialization statement. v If TRANS=DEFAULT, or TRANS= is omitted and the PRINTDEF initialization statement specifies TRANS=YES, and the device is either a local 1403 or a remote printer, JES2 translates each line of output sent to the device. Otherwise, JES2 does not translate output sent to the device. TRKCELL={No|Yes} Specifies whether data sets that belong to a SYSOUT class with the track-cell characteristic are read from the spool in one operation. The TRKCELL parameter on the SPOOLDEF initialization statement specifies the number of records in the track cell. If you specify NO, one record is read from the spool for each despooling operation. UCSVerfy={No|Yes} Specifies whether (YES) or not (NO) UCS verification processing is performed when a UCS image is loaded for 4245 and 4248 printers. UCS images are loaded on 4245 and 4248 printers only when required for print processing (they are not loaded in response to a $T PRT command that specifies a change in UCS setup). Specifying UCSVERFY=YES provides UCS verification and causes the band image to be displayed to the 4245 and 4248 printers. UCSVERFY=NO suppresses the image display. This operand can be modified through a JES2 Warm start. UNIT={devnum|/devnum} Specifies no value or a 3-digit, or 4-digit hexadecimal device number. Device numbers can be specified by any of the following formats:
148
$ADD PRT(nnnn)
UNIT= UNIT=ddd UNIT=dddd UNIT=/ddd UNIT=/dddd (to specify a null value)
where ddd and dddd represent the device numbers. A slash (/) can optionally precede the device number (for compatibility with other commands that require a slash to denote a 4-digit device number). Notes: 1. You can omit this parameter when defining local printers; however, if you do and the printer requires a unit address (for example, all JES mode printers), you must specify a unit address on the UNIT parameter of the $T command before starting the printer. 2. If UNIT= is not specified at this time, the defaults for COPYMARK, FLASH, FCB, and UCS will be based on the setting of the MODE= parameter. If you specify MODE=FSS, the defaults will be the same as if the device was a non-impact printer. If you specify MODE=JES, the defaults will be set assuming the device is an impact printer. Volume=volume Specifies the 5 to 6 character volume serial number of a volume containing a spool data set. Only the output of jobs which reside on one or more of the specified volume(s) can be selected for printing. You can specify as many as four volumes. Use commas to separate individual volume IDs and enclose this list in parentheses if more than one ID is specified. Note: A null parameter of VOLUME=() specifies that volume is not a value specified for work selection. You must specify the empty parentheses. Writer=writer Specifies the 1 to 8 character writer name assigned to this printer. If you do not specify this parameter, no writer name is assigned. Note: If you do not assign a writer name to this printer but specify Writer as an exact value match in the work selection (WS) list, the printer selects only output groups without a writer name. WS=ws Specifies the work values for this printer. Using any combination of user and JES2-defined criteria, you can specify up to 19 criteria in the WS= list. Values which are not specified are not considered during output selection, although they are used by JES2 to determine setup requirements. This operand can be particularly useful when draining a specific spool volume. To specify a printer work selection list, use the following values: 1. One slash (/) can precede or follow any number of values. All values placed before the slash must be matched exactly if the work is to be selected. Values placed after the slash do not have to match exactly except in the following cases: Queue Routecde PRMode Volume Table 52 on page 152 defines each value when placed either before or after the slash.
149
$ADD PRT(nnnn)
2. Queue, Routecde, PRMode, and Volume can be specified as multiple values on the output device statements. Placing these values before the slash in the WS= list, indicates a left to right priority order of multiple values, if multiple values have been specified. Placing these values after the slash indicates no priority order of multiple values, but a match is still required. 3. The order of those criteria specified after the slash indicates the priority (highest to lowest, in left to right order) in which JES2 attempts to match them. 4. Specifying a minus sign (-) before a value removes it from the list. Note: Message $HASP650 is issued if an incorrect operand is found in the WS operand; that is, this message is issued if you try to remove a value that is not there. For example, if you enter: $addprt1,ws=(-o) you get the $HASP650 message because o (forms overlay) is not in the current work selection list for printer1. Specifying a value that is not currently specified adds it to the list. List position depends upon whether you specify a slash before or after the value in the command. Demand setup presumes that characteristics change throughout the output group. As a result, if your output specifies demand (DMND) setup, you cannot specify an exact match between that output and the device. To print demand (DMND) setup output you must first remove the work selection criteria specified for the printer that is referenced by DMND. If the device is a remote printer, route code (R=) must be specified in the work selection list. The smaller the work selection list, the less the placement of certain values affects work selection. Job output elements are queued to the class queues by route code, then by priority. You can improve system performance by using this information to tune the work selection list.
5.
6.
7. 8.
Authority Required
This command requires device and system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If you shut down this JES2 system and then attempt to restart it, you will lose the specifications of any printer defined through the $ADD PRT unless those specifications had been permanently defined by a PRT(nnnn) initialization statement. v If you are uncertain of the controls in effect, enter either the $D U command or the $D PRT command for the printer in question. v When adding printers, you might experience a system delay of several seconds or even a few minutes before the printer is available in SDSF. The delay might be caused by the additional processing JES2 needs while performing tasks such as extracting the SECLABEL associated with a device for use by applications such as SDSF. JES2 performs this processing independently of the $ADD command processing. As a result, if you add a large number of printers it is possible that SDSF might recognize some of the printers before JES2 has completed extracting the SECLABELs. If this occurs, an SDSF display might
150
$ADD PRT(nnnn)
provide data you might consider inconsistent with the $ADD command. For example, a printer might initially be displayed with no SECLABEL or a printer you added is not displayed at all due to SECLABEL restrictions. Allow JES2 time to extract the SECLABEL before exiting and re-entering the SDSF printer display.
Scope
Single member. The values supplied for this command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP603 message displays the status of the specified device and its current characteristics. The $HASP003 rc=65 indicates that the device specified by the UNIT= parameter exists, but does not match the device type information specified on the $ADD PRT command. The $HASP003 rc=66 indicates that the device specified by the UNIT= parameter does not exist. The $HASP003 rc=67 indicates that the FSS device specified by the UNIT= parameter is not defined on the $ADD PRT command or the PRT initialization statement.
Examples
1 $add prt999,unit=002 $HASP603 PRT999 UNIT=0002,STATUS=DRAINED,CKPTLINE=0, $HASP603 CKPTMODE=PAGE,CKPTPAGE=100,CREATOR=,DEVFCB=, $HASP603 FCB=6,FORMS=(STD,,,,,,,),FSS=,HONORTRC=YES, $HASP603 JOBNAME=,LASTFORM=STD,LIMIT=(0,*),MODE=JES, $HASP603 NEWPAGE=DEFAULT,NPRO=300,PAUSE=NO,PLIM=(0,*), $HASP603 PRMODE=(LINE),QUEUE=AJ,RANGE=(J1,999999), $HASP603 ROUTECDE=(LOCAL),SEP=YES,SEPCHARS=DEFAULT, $HASP603 SEPDS=NO,SETUP=HALT,SPACE=,TRACE=NO, $HASP603 TRANS=DEFAULT,TRKCELL=NO,UCS=0,UCSVERFY=NO, $HASP603 VOLUME=(,,,),WRITER=, $HASP603 WS=(W,Q,R,PRM,LIM/F,UCS,FCB),FSATRACE=NO
JES2 defines local printer 999 at address 002 to the current installation.
2 $add prt114,fss=prt114,mode=fss $HASP603 PRT114 UNIT=,STATUS=DRAINED,BURST=NO,CKPTLINE=0, $HASP603 CKPTMODE=PAGE,CKPTPAGE=100,CKPTSEC=0, $HASP603 CREATOR=,DEVFCB=,DEVFLASH=****,FCB=STD3, $HASP603 FORMS=(STD,,,,,,,),FSS=PRT114,HONORTRC=YES, $HASP603 JOBNAME=,LASTFORM=STD,LIMIT=(0,*), $HASP603 COPYMARK=DATASET,MARK=NO,MODE=JES(SWITCHING), $HASP603 NEWPAGE=DEFAULT,NPRO=300,PAUSE=NO,PLIM=(0,*), $HASP603 PRESELCT=YES,PRMODE=(LINE),QUEUE=AJ, $HASP603 RANGE=(J1,999999),ROUTECDE=(LOCAL),SEP=YES, $HASP603 SEPCHARS=DEFAULT,SEPDS=NO,SETUP=HALT,SPACE=,
151
$ADD PRT(nnnn)
$HASP603 $HASP603 $HASP603 TRACE=NO,TRANS=DEFAULT,TRKCELL=NO,UCS=GT10, UCSVERFY=NO,VOLUME=(,,,),WRITER=, WS=(W,Q,R,PRM,LIM/F,UCS,FCB),FSATRACE=NO
JES2 defines page-mode printer 114 under the control of a functional subsystem to the current installation.
Table 52. Printer Work Selection Values VALUE Burst BEFORE SLASH (/) The B= specification of the output group must match the Burst specification of the printer. Otherwise, this output group is not considered selectable. The output groups CReator= specification must match the CReator= specification of the printer. Otherwise, this output group is not selected. The output groups FCB image or carriage control tape must match the printers current FCB or carriage control tape. Otherwise, the output group is not considered selectable. AFTER SLASH (/) The B= specification of the output group need not match the burst specification of the printer. However, JES2 issues the $HASP190 message if a difference exists. The CReator specification of the output group need not match the burst specification of the printer. However, JES2 issues the $HASP190 message if a difference exists. The output groups FCB image or carriage control tape need not match the FCB or carriage control tape specification of the printer. However, JES2 issues the $HASP190 message if differences exist in both the FCB and FORMS specifications. The output groups FLASH or forms overlay need not match the FLASH (O=) specification for the printer. However, JES2 issues the $HASP190 message if a difference exists. In this case it is preferred that the forms of the output group match one of the forms specified for the printer. It is not required that the output groups forms match the current forms setup of the printer. However, JES2 issues the $HASP190 message if a difference exists. It is not required that the output groups jobname match the jobname specified (JOBNAME=) for this printer. JES2 attempts to consecutively select all eligible output for a particular job.
CReator
{FCB|C}
{FLash|O}
The output groups FLASH or forms overlay must match the current FLASH (O=) specification for the output printer. Otherwise, the output group is not selected.
Forms
The output groups FORMS specification must match one of the forms specified for the printer. Otherwise, the output group is not considered selectable. If there are multiple forms, the forms have equal priority. The output groups jobname must match the jobname specified (JOBNAME=) for this printer.
JOBname
LIMit
The amount of output generated by an output It is not required that the amount of output group must fall within the limits (LIM= or PLIM=) generated by the output group fall within the set for this printer. Otherwise, the output group is limits (LIM= or PLIM=). not considered selectable. Page limits are checked if the data set is in page mode. Record limits are checked if the data set is in line mode. If the page data set contains some line mode data, then both page limits and record limits are checked. The output groups process mode must match one of the process modes (PRMODE=) specified for the printer. Otherwise, the output group is not considered selectable. If there are multiple PRMODEs, the list is considered to be in priority sequence: the highest priority is given to the first PRMODE in the list. The output groups process mode must match the process mode (PRMODE=) specified for the printer. However, if there are multiple PRMODEs, the list is not in priority sequence.
{PRMode}
152
$ADD PRT(nnnn)
Table 52. Printer Work Selection Values (continued) VALUE Queue BEFORE SLASH (/) When specified in the WS list, only those output classes specified for this device are searched for work. Since all classes (A-Z and 0-9) are searched when Queue is not specified, we recommend that Q always be included in the WS list. The search order follows the list sequence. The job number of the job associated with the output group must be within the range (RANGE=) specified for this printer. The output groups destination must match the route code (R=) specified for this printer. If not, the output group cannot be selected. If you specify multiple route codes for the printer, a match with the first route code is preferred since the list is in priority sequence. The output groups universal character set must match the universal character set (UCS=) specified for this printer. Otherwise, the work is not selected. The volume of the job associated with this output group must match the volume (VOLUME=) specified for this printer. If you specify multiple volumes, the list is in priority sequence: the leftmost volume has the highest priority. The writer name specified for the output group must match the writer name specified (W=) for this printer. Otherwise, the output group cannot be selected. AFTER SLASH (/) Output classes specified for this device are not in priority sequence: all classes are equally preferred. Output groups in the lists first class are selected first if they meet all other requirements.
RANGE
It is not required that the number of the job associated with the output group be within the specified range (RANGE=). It is not required that the output groups destination match the route code (R=) specified for this printer. If there are multiple route codes, the list is not in priority sequence.
Routecde
{UCS|T}
It is not required that the output groups universal character set match the universal character set specified for this printer. However, JES2 issues the $HASP190 message if a difference exists. The volume of the job associated with this output group must match the volume (VOLUME=) specified for this printer. However, if you specify multiple volumes the list is not in priority sequence. It is not required that the writer name specified for the output group match the writer name (W=+)specified for the printer.
Volume
Writer
153
$ADD REDIRect
Syntax
$ADD REDIRect entry_console entry_console , ( entry_console * entry_console entry_console ) entry_console * entry_console *
,DA=con_spec
,DCONNECT=con_spec
,DEF=con_spec
,DF=con_spec
,DI=con_spec
DJ DS DT
=con_spec
,DN=con_spec
,DNODE=con_spec
,DQ=con_spec
,DSPL=con_spec
,DU=con_spec
LJ LS LT
=con_spec
Parameters
con_spec Specifies the active MCS console at which the redirected command responses appear. If you specify only an area, the output will appear in the indicated area of the entry_console. If area is omitted, then the default area defined on the CONDEF RDIRAREA= operand will be used. This parameter is required. Con_spec may be defined as follows: a An output area ID name A 2 to 8character symbolic console name name-a A symbolic console name and an output area ID
154
$ADD REDIRect
DA=con_spec Display active jobs command. DCONNECT=con_spec Display network connections. DEF=con_spec Display JES2 parameter definitions. DF=con_spec Display forms queue. DI=con_spec Display initiators. DJ|DS|DT=con_spec Display job. DN=conn_spec Display queued jobs. DNODE=con_spec Display NJE nodes. DQ=conn_spec Display number of queued jobs. DSPL=con_spec Display spool volumes. DU=con_spec Display units. entry_console Specifies the 2- to 8-character console name on which an operator enters a command. If you enter any redirected commands from this console, it displays those commands that are redirected to an alternate console or area. This parameter is required and must include a console name defined during initialization. Do not specify a console area. LJ|LS|LT=con_spec List job output.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command also requires of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The values supplied for this command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP003 RC=56 message is issued if an $ADD REDIRect command is entered for a console that is already redirected.
155
$ADD REDIRect
Examples
1 $ADD redirect(CN3EO),DNODE=CN320 $HASP818 DA=CN3EO,DF=CN3EO,DI=CN3EO,DJ=CN3EO,DN=CN3EO, $HASP818 DQ=CN3EO,DU=CN3EO,DCONNECT=CN3EO,DNODE=CN320, $HASP818 DEF=CN3EO,DSPL=CN3EO,LJ=CN3EO
The above example causes the display response from a $D NODE command entered at console CN3EO to be automatically displayed at the console CN320.
2 $ADD redirect(CN320),da=cn3eo-a
The above example causes the display response from a $DA command entered on console CN320 to be automatically displayed at the console CN3EO in the out of line area A.
156
$ADD RMT(nnnn)
Syntax
$ADD RMT nn , ( nn * ) nn * nn * ,Autolog= No Yes
,BLOCK=
No Yes
,BUFEXPAN=
0 1 2
,BUFSIZE=bufsize
,COMPACT=
No Yes
,COMPRESS=
No Yes
,CONDEST=condest
157
$ADD RMT(nnnn)
,CONS=
No Yes
,DEVTYPE=
AS/400 AS400 LUTYPE1 M20-2 M20-4 M20-5 M20-6 S/3 S/36 S/360 S/370 SYSTEM/3 SYSTEM/36 SYSTEM3 SYSTEM36 S360 S370 1130 2770 2780 2922 3740 3780 3781
,Discintv=discintv
,HTABS=
No Yes
,LINE=line
,LOCAL190=
ACTION INFO
,LOGON=logon
,LUNAME=luname
,MFORM=
J M T
,MRF2780=
No Yes
,MSGPRT=
No Yes
,MULTILV=
No Yes
,NUMPRt=numprt
,NUMPUn=numpun
,NUMRDr=numrdr
,Password=password
,RECFM=
FIXED VARIABLE
,RMT150=
No Yes
,Routecde=routecde
,SETUP=
MSG PDIR
SHARable SHAREable
No Yes
,TRANSPAR=
No Yes
,WAITIME=waitime
Parameters
(nnnn) The subscript defining the RJE workstation(s) affected by this command. The subscript may specify a 1 to 4 digit RJE workstation identifier or a range of
158
$ADD RMT(nnnn)
identifiers as defined by an RMTnnnn initialization statement. For information about specifying a range for this subscript, see Syntax Conventions at the front of this chapter. Autolog={No|Yes} For SNA RJE workstations only, specifies whether the SNA RJE workstation can be automatically connected (logged on) when output (print/punch) or messages are queued for transmission to the RJE workstation. The RJE workstation is allowed to log on only if: v This command also specifies a logical unit name through the LUNAME= parameter on the corresponding RMTnnnn initialization statement. v A JES2 line has been started and is available. v The maximum number of sessions specified at initialization (with the SESSIONS parameter on the TPDEF statement) has not been exceeded. BLOCK={No|Yes} For BSC RJE workstations only, specifies whether this workstation has a blocked (YES) or unblocked (NO) data record format. BUFEXPAN= {0|1|2} For BSC 2770 RJE workstations only, specifies whether this 2770 terminal has a buffer-expansion feature. If you do not specify a value, JES2 provides no buffer expansion. 0 1 2 This terminal does not have the buffer-expansion feature. This terminal has the buffer-expansion feature and implies an RJE workstation buffer of 264 bytes. This terminal has the additional buffer-expansion feature and implies an RJE workstation buffer of 520 bytes.
Note: If an attached printer has a PRWIDTH= parameter greater than 120 bytes, specify BUFEXPAN=1 or 2. BUFSIZE=bufsize For BSC RJE workstations, specifies the largest buffer (127 to the BELOWBUF=(SIZE=) parameter value on the TPDEF initialization statement) that can be either sent from or received by this workstation. BUFSIZE= enforces minimum buffer size specification based on device type for BSC RJE workstations. For SNA RJE workstations, specifies the largest buffer (256 to the EXTBUF=(SIZE=) parameter value on the TPDEF initialization statement) that can be either sent from or received by this SNA RJE workstation. If you do not specify this parameter, JES2 provides the following defaults for the following device types:
Table 53. JES2 BUFSIZE Defaults for RJE Workstations Workstation SNA Multileaving Terminals and Systems Type N/A N/A BUFSIZE Value 256 MBUFSIZE= value on TPDEF statement
159
$ADD RMT(nnnn)
Table 53. JES2 BUFSIZE Defaults for RJE Workstations (continued) Workstation Hardware Terminal Type 2770 without buffer expansion (BUFEXPAN=0) 2770 with buffer expansion (BUFEXPAN=1) 2770 with additional buffer expansion (BUFEXPAN=2) 2780 3780 3781 BUFSIZE Value 127
Hardware Terminal
264
Hardware Terminal
520
COMPACT={No|Yes} For SNA RJE workstations only, specifies whether (YES) or not (NO) this RJE workstation or terminal allows JES2 to send a compaction table for use with a printer or punch data set. Use the COMPACT initialization statement to define compaction tables. If more than one session is active and COMPACT=YES, all sessions are eligible to receive a compaction table. COMPRESS={No|Yes} Specifies whether (YES) or not (NO) this RJE workstation uses the compression/expansion feature. For BSC RJE (2770 and 3780) workstations, specifies if COMPRESS=YES is specified on both the LINE(nnnn) initialization statement and the remote device (print, punch, and reader) initialization statement (R(nnnn).XXm), the COMPRESS= parameter on this command determines whether JES2 uses the compression/expansion feature. If you specify COMPRESS=YES, JES2 forces HTABS=NO. If COMPRESS=NO on the LINE(nnnn) statement, JES2 ignores this parameter. For SNA RJE workstations, if COMPACT=YES is specified, JES2 forces compression. CONDEST=condest The route code (1 to the value of RMTNUM= on the TPDEF initialization statement) that is used for responses to commands entered from this RJE workstation. The value specified should be the number of a defined RJE workstation. CONS={No|Yes} Specifies whether (YES) or not (NO) this RJE workstation has an operator console or is simulating an operator console through the &PRTCONS RMT generation statement. For SNA RJE workstations, you should specify this parameter only if the RJE workstation has an operator console. If JES2 determines that this remote workstation cannot have a console, it forces CONS=NO. If you do not specify this parameter, JES2 provides a default of CONS=NO. The CONS=NO value does not stop JES2 from sending data destined to a console.
160
$ADD RMT(nnnn)
DEVTYPE=type Specifies the type of processor at this RJE workstation. If this parameter is not specified, terminal type 2770 (BSC workstation) is used. The following types apply: LUTYPE1 For SNA RJE workstations, specifies that the workstation can be accessed only through a logical line. (This is the only valid SNA specification for DEVTYPE=.) 2770|2780|3740|3780|3781 For BSC RJE workstations, specifies a hardware terminal. 1130|2922|M20-2|M20-4|M20-5|M20-6 For BSC RJE workstations, specifies a multileaving workstation. AS400|AS/400|SYSTEM36|SYSTEM/36| S/36|S360| S/360|S370|S/370|SYSTEM3|SYSTEM/3|S/3 For BSC RJE workstations, specify a system. Notes: 1. If you define a workstation that is not explicitly supported by JES2 but does emulate one of the types listed above, consult the documentation for that terminal so you set characteristics (such as buffer sizes) appropriately. 2. Specify a 3740 hardware terminal as a 2780. 3. To ensure that punch output is directed to the proper device, specify 3781 to define remote 3780 terminals that contain punches. Discintv=discintv For BSC RJE workstations, specifies the time interval in seconds (0 to 8160) after which, if there has been no successful text transmission in either direction, JES2 disconnects this RJE workstation from the processing unit. For SNA RJE workstations, specifies the maximum interval in seconds (0 to 8160) after which, if there has been no successful text transmission in either direction, JES2 ends the session between the SNA RJE workstation and the processing unit. v JES2 rounds this value to the next highest multiple of 32. v 0 indicates that this terminal is not to be disconnected v Error recovery tries and idle time do not count as successful text transmission. v If automatic disconnect is not specified, the remote terminal remains connected until the operator signs it off. HTABS={No|Yes} For BSC RJE workstations only, specifies whether (YES) or not (NO) this 2770 or 2780 terminal has the horizontal format-control feature. If you specify COMPRESS=YES, this parameter is forced to HTABS=NO. | | | | | | | LINE=line Specifies the number (0-65535) of the teleprocessing (BSC) or logical (SNA) lines that are both connected and dedicated to this terminal. For BSC RJE workstations, if you specify LINE=0, JES2 provides a nondedicated RJE workstation, which can use any nondedicated BSC line. A /*SIGNON JCL statement is required to start the RJE workstation. For SNA RJE workstations, if you specify LINE=0, JES2 provides a nondedicated RJE workstation, which can use any nondedicated SNA line. If
Chapter 5. Command Reference Section
161
$ADD RMT(nnnn)
| | you specify LINE= as a value other than 0, you must also specify the UNIT=SNA parameter on the LINE(nnnn) initialization statement. LOCAL190={ACTION|INFO} Specifies the type of operator setup messages ($HASP190) that JES2 issues at the local processor console for this RJE workstation. If you do not specify this parameter, JES2 provides a default of ACTION. ACTION Specifies that operator setup messages issued at the local console for this remote device are action messages (messages that require an operator action to delete them from the console). INFO Specifies operator setup messages issued at the local console for this remote device as information messages (messages that do not require an operator action to delete them from the console). LOGON=logon Specifies the number (1-999) of the local LOGON DCT which should be used when starting a JES2-initiated session with this SNA remote (autologon or $S RMT). The default value of 0 indicates that LOGON2 is to be used unless it is not defined, in which case the lowest numbered logon is to be used. LUNAME=luname For SNA RJE workstations only, specifies the logical unit name of this RJE workstation or terminal. If you specify this parameter, it must match the name defined to VTAM at system initialization. If you use the automatic logon capability (Autolog=YES), you must specify an LUNAME= value. If the logical unit associated with the logical unit name is not the first of the terminals logical units to logon to JES2, the LUNAME associated with the session comes from the name pointed to by the parameter list that VTAM passes to the JES2 logon exit. MFORM={J|M|T} For BSC RJE workstations only, specifies the amount of information to be displayed in JES2 remote console messages for this RJE workstation. J M T JES2 job-related messages including the jobname and job ID of the issuer. JES2 job-related message text only. JES2 job-related messages including a time stamp, the jobname, and job ID of the issuer.
MRF2780={No|Yes} For BSC RJE workstations only, specifies whether (YES) or not (NO) this 2780 terminal has the multiple-record feature. MSGPRT={No|Yes} For BSC RJE workstations, specifies whether (YES) or not (NO) JES2 prints messages routed to a printer attached to the console of an RJE workstation. NO Specifies that JES2 discards messages if the RJE workstation console is not available. Specify NO if you would rather discard messages instead of printing them on the first available printer at the remote. For BSC RJE workstations, this parameter only has meaning for an RJE workstation that does not have a console.
162
$ADD RMT(nnnn)
YES Specifies that JES2 prints messages if the remote console is unavailable. For example, the remote console might not exist, be signed on, or have enough messages queued to it to exceed the RMTMSG= parameter on the TPDEF initialization statement. For BSC RJE workstations, note that once a message is spooled for an RJE workstation, that message can only be printed; it cannot be displayed on an RJE workstation console. MULTILV={No|Yes} For BSC RJE workstations only, specifies whether (YES) or not (NO) this RJE workstation uses the BSC multileaving interfaces. If MULTILV=YES, you must specify a multileaving workstation. MULTILV=NO defines this RJE workstation as a BSC hardware terminal. NUMPRt=numprt Specifies the number (0-7) of printers (BSC) or logical printers (SNA) at this RJE workstation or terminal. JES2 provides the defaults specified on the R(nnnn).PR(m) initialization statement. Use the $T R(nnnn).PR(m) command to change any characteristics of each printer. For BSC RJE workstations, JES2 can use values greater than 1 only when you specify MULTILV=YES. If you specify MULTILV=NO, JES2 uses a value of NUMPRT=1. A maximum total of eight printers and punches can be defined. For SNA RJE workstations, a maximum total of eight printers, punches, and a console can be specified. You must specify at least one device on the RMT(nnnn) definition. If you do not specify a value, JES2 provides a default of NUMPRT=1. Specify NUMPRT=0 if you want no printers on this RJE workstation or terminal. NUMPUn=numpun Specifies the number (0-7) of card punches (BSC) or logical card punches (SNA) at this RJE workstation or terminal. You must specify at least one device (printer, punch, or reader) on the remote definition. JES2 provides the defaults specified on the R(nnnn).PU(m) initialization statement. Then you can use the $T R(nnnn).PU(m) command to change any characteristics of each punch. For BSC RJE workstations, a maximum total of eight printers and punches can be defined. If you specify MULTILV=NO and this parameter is specified greater than 1, JES2 uses only 1. For SNA RJE workstations, a maximum total of eight printers, punches, and a console can be defined. SNA RJE workstations can support as many as seven reader data streams. NUMRDr=numrdr Specifies the number (0-7) of card readers (BSC) or logical card readers (SNA) at this RJE workstation or terminal. SNA RJE workstations can support as many as seven reader data streams. You must specify at least one device (printer, punch, or reader) on the remote definition. JES2 provides the defaults specified on the R(nnnn).RD(m) initialization statement. Then you can use the $T R(nnnn).RD(m) command to change any characteristics of each reader. If you do not specify a value, JES2 provides a default of NUMRDR=1. Password=password The 1 to 8 character security password used to prevent unauthorized RJE workstation users from using the resources of this RJE workstation.
Chapter 5. Command Reference Section
163
$ADD RMT(nnnn)
If you do not specify this parameter, JES2 provides no password. Note: Be certain to make a note of those passwords assigned because there is no facility for displaying the passwords in effect. RECFM={FIXED|VARIABLE} For BSC RJE workstations only, specifies whether the data record for this terminal is fixed-length (FIXED) or variable-length (VARIABLE). RMT150={No|Yes} Specifies $HASP150 message routing as follows: Y N If this RJE workstation has a console, the $HASP150 message is first sent to this console and then to the local operator. The $HASP150 message is sent only to the local operator.
Notes: 1. For SYSTEM36 (S/36) terminals, if you specify CONS=YES, MULTILV=YES, and RMT150=YES, the remote printer pauses to ensure that the $HASP150 message arrives at the console before the data sets begin to print. 2. For SNA RJE workstations, this parameter is valid only if CONS=YES. 3. This parameter is not valid for hardware terminals. Refer to the DEVTYPE= parameter for a list of valid hardware terminal types for SNA RJE workstations. Routecde=routecde Specifies the route code (1 to 32767) assigned to this terminal and its associated printers, punches and readers. If you do not assign a Routecde= value, JES2 assigns the number of this terminal (RMT(nnnn)) as its route code. | | | New output created can take advantage of this route code immediately but existing output might require the $R command to be selected by this destination. SETUP={MSG|PDIR} For SNA RJE workstations only, specifies setup information as follows: MSG Specifies that JES2 must inform the remote operator of any setup requirements through the $HASP190 message. After setup is complete, the operator must enter a $S command to start JES2 transmission. PDIR Specifies that JES2 constructs and sends a peripheral data information record (PDIR) to the RJE workstation. The RJE workstation must process the data set header and generate any required messages. This setting allows spooling of data and generation of multiple copies of a data set at the RJE workstation. SHARable|SHAREable={No|Yes} For BSC RJE workstations only, specifies whether (YES) or not (NO) JES2 allows the LINE= parameter value to be used by other RJE workstations. (If LINE=0, JES2 ignores this parameter.) NO Indicates that no other RJE workstations can specify and use the LINE= value and no /*SIGNON JCL statement is needed to start the remote.
164
$ADD RMT(nnnn)
YES Indicates that multiple RMT definitions can also specify and use (share) the line specified on LINE= and a /*SIGNON JCL statement is required to start one of these RJE workstations. TRANSPAR={No|Yes} For BSC RJE workstations only, specifies whether (YES) or not (NO) this RJE workstation has the text-transparency feature. To use this feature, you must also specify TRANSPAR=YES on the LINE(nnnn) initialization statement. WAITIME=waitime The length of time in seconds (0-30), that the RJE workstation access method (RTAM) should wait after completing the processing of any input stream, printed output stream, or punched output stream to allow the operator to enter an input stream at this RJE workstation. For SNA RJE workstations, if WAITIME= is set too low (note the default of 1 second), contention might occur during SNA logon processing, which results in $HASP094 messages and the termination of the SNA session. Increase this parameter to allow the RJE workstation adequate time to respond during logon processing so that proper LU type 1 protocol is followed.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The values supplied for this command will be in effect for this member only.
Messages
The $HASP879 message displays the status of the specified RJE workstation.
Examples
1 $addrmt83,devtype=2780,transpar=n $HASP879 RMT(83) DEVTYPE=2780,STATUS=INACTIVE,BUFEXPAN=O, BLOCK=YES,BUFSIZE=400,COMPRESS=NO, CONDEST=83,DISCINTV=0,HTABS=NO,LINE=0 LOCAL190=ACTION,MFORM=T,MRF2780=NO, MSGPRT=YES,MULTILV=NO,NUMPRT=1,NUMPUN=0, NUMRDR=1,PASSWORD=(NOTSET),RECFM=VARIABLE, RMT150=NO,ROUTECDE=83,TRANSPAR=NO,WAITIME=1
JES2 adds BSC RJE workstation 83 with a hardware terminal that does not have the text transparency feature.
2 $addrmt11,devtype=lutype1,numpun=7,cons=n,numprt=1
165
$ADD RMT(nnnn)
The results of this command are: v JES2 creates an SNA RJE workstation with seven punches, one printer, and no console. v Because the RJE workstation has no console, JES2 spools messages to the printer.
166
$ADD SOCKET
| | | | | | |
Syntax
$ADD SOCKet socket , ( socket socket * ) socket socket *
| | | | | |
Modification keywords
Modification keywords:
,IPaddr=ipaddr
,LINE=line
=netsrv
| | | | | |
,NODE=node
,Port=port
,REST=rest
,SECURE=
No Yes
, / IPaddr
= ^=
ipaddr
, / LINE
= ^= > <
line
| |
= ^= > <
netsrv
, / NODE
= ^= > <
node
| |
, / Port
= ^= > <
port
, / REST
= ^= > <
rest
| | |
, / SECURE
= ^=
No Yes
167
$ADD SOCKET
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Parameters
xxxxxxxx The 1 to 8 character name of this socket. IPADDR= Specifies the TCP/IP address or hostname associated with this socket. The default value, *LOCAL, indicates all IP addresses associated with the local machine are to be considered. PORT= Specifies the port number associated with this socket. The default is the value associated with VMNET, which is typically 175. LINE= Specifies a TCP/IP line which is to be dedicated to this socket. NODE= Specifies the NJE node associated with this socket. Both the symbolic name and the corresponding numeric value are valid. NETSRV= Specifies the device number of the NETSRV to be used when connecting to this remote socket. $ADDSOCKET and $ADDNETSRV commands are interdependent. You can enter a non-existent netsrv value in the ADDSOCKET command, if the netsrv value is created before the connection is established.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member.
Messages
$HASP897
Example
$addsock(POK1),ipaddr=poughkeepsie.ibm.com,port=175,node=35 $HASP897 SOCKET(POK1) $HASP897 SOCKET(POK1) IPADDR=POUGHKEEPSIE.IBM.COM,PORT=175, $HASP897 SECURE=NO,LINE=0,NODE=35,REST=0, $HASP897 NETSRV=0
168
Syntax
$B PRTnnnn Rnnnn.PRm , D , C , pages , pages
Parameters
C Output is backspaced to the most recent checkpoint. JES2 assumes that all data up to the most recent checkpoint has printed successfully. Backspacing to the most recent checkpoint is the only way JES2 can ensure no loss of data for remote printers. You can also specify pages with C, which causes JES2 to backspace the data set pages further than the most recent checkpoint. D Output is backspaced to the beginning of the data set. Printing resumes at the beginning of the data set.
pages Specifies the number of pages, or for FSS printers, the number of sides, that the output is to be backspaced. For FSS devices, this can be up to 8 digits in length (1-99999999). For other devices, it can be up to 4 digits in length (1-9999). If you are using an impact printer and you specify pages for data sets with a line count of zero and no channel skips, JES2 backspaces the output to the beginning of the data set. This happens regardless of the value specified for pages (The line count for a data set is specified by the LINECT parameter on the PRINTDEF initialization statement or the LINECT parameter on the /*JOBPARM JES2 control statement, /*OUTPUT JES2 statement, in the JOB statement accounting field, or on the OUTPUT JCL statement.) For the 3800 printer running in JES mode, specifying 1-9999 causes backspacing of the output for the specified number of physical pages. For FSS mode devices, specifying 1-99999999 causes backspacing of the output for the specified number of sides. When simplex printing, there is one side per sheet of paper. When duplex printing, there are two sides per sheet of paper. Each page in a copy group (a collection of contiguous pages representing multiple copies of a data set to be printed) is counted as a separate page. You can backspace all the way to the beginning of the data that is currently being stacked. Because multiple jobs can be active concurrently on the 3800, the backspace could require crossing data set or job boundaries. PRTnnnn The local printer on which JES2 backspaces output. Rnnnn.PRm The remote printer on which JES2 backspaces output.
Chapter 5. Command Reference Section
169
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If you omit D, C, and nnnn, one page is the default backspace. v For data sets with no channel skips and a line count of zero, you specify the number of lines in a page by either: The CKPTLNS parameter on the /*OUTPUT JES2 statement. The CKPTLINE parameter on the PRTnnnn and Rnnnn.PRm initialization statements, the OUTPUT JCL statement, or using the $T device command. v The amount of output between checkpoints is controlled by either: The CKPTLNS and CKPTPGS parameters on the /*OUTPUT JES2 statement. The CKPTLINE and CKPTPAGE parameters on the PRTnnnn and Rnnnn.PRm initialization statements, the OUTPUT JCL statement, or using the $T device command. v Restarted output that is selected by an FSS printer controlled by PSF cannot be backspaced beyond the point of interruption. v For the 3800 printer, the backspacing is relative to the page that is visible at the transfer station. v The $B command is useful if a printer jam causes one line to be overprinted multiple times. After you clear the jam, you can backspace to a point in the data set before the printer jam and resume printing. v For impact printers, the number of pages to backspace is affected by channel skips. JES2 counts all channel skips as new pages. Note: The printer must be physically stopped before entering a backspace command for that printer in order to maintain proper line count displays through $DU,PRTx.
Scope
Single member. The values supplied for this command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP170 message displays the status of output processing on the specified printer.
Examples
1 $b r9.pr1,c $HASP170 R9.PR1 BACKSPACED
JES2 backspaces the output on printer 1 of remote 9 to the most recent checkpoint. If no checkpoint exists, or if the page currently being printed precedes the most recent checkpoint (this can happen if the data set was previously repositioned behind the most recent checkpoint by another $B command), JES2 backspaces the
170
JES2 backspaces the output on printer 1 of remote 11 ten pages behind the most recent checkpoint. If no checkpoint exists, or if the page currently being printed precedes the most recent checkpoint, JES2 backspaces the output to the beginning of the data set.
171
Syntax
$B PUNnnnn Rnnnn.PUm , D , C , nnnn , nnnn
Parameters
C The output is backspaced to the most recent checkpoint. JES2 assumes that all data up to the most recent checkpoint has punched successfully. Backspacing to the most recent checkpoint is the only way JES2 can ensure no loss of data for remote punches. You can also specify nnnn with C, which causes JES2 to backspace the output nnnn cards further than the most recent checkpoint. D The output is backspaced to the beginning of the data set. Punching resumes at the beginning of the data set.
nnnn The output is backspaced nnnn (1-9999) cards. PUNnnnn The local punch on which JES2 backspaces output. Rnnnn.PUm The remote punch on which JES2 backspaces output.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If you omit D, C, and nnnn, one card is the default backspace. v The amount of output between checkpoints is controlled by either: The CKPTLNS and CKPTPGS parameters on the /*OUTPUT JES2 statement. The CKPTLINE and CKPTPAGE parameters on the PRTnnnn and Rnnnn.PRm initialization statements, the OUTPUT JCL statement, or using the $T device command. v The $B command is useful if a punch jam causes a loss of punched cards. After you clear the jam, you can backspace to a point in the data set before the punch jam and resume punching.
172
Scope
Single member. The values supplied for this command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP170 message displays the status of output processing on the specified punch.
Examples
1 $b r9.pu1,c $HASP170 R9.PU1 BACKSPACED
JES2 backspaces the output on punch 1 of remote 9 to the most recent checkpoint. If no checkpoint exists, or if the card currently being punched precedes the most recent checkpoint (this can happen if the punch was previously repositioned behind the most recent checkpoint by another $B command), JES2 backspaces the output to the beginning of the data set. For example, if the most recent checkpoint was taken at card 250 and card 245 is currently being punched, JES2 will backspace the output to the beginning of the data set.
2 $b r11.pu1,c,10
JES2 backspaces the output on punch 1 of remote 11 ten cards behind the most recent checkpoint. If there is no checkpoint, or if the card currently being punched precedes the most recent checkpoint, JES2 backspaces the output to the beginning of the data set.
173
$C A
Syntax
$C A ,ALL cccc
Parameters
ALL JES2 cancels the processing of all automatic command entries you are authorized to cancel and deletes those entries. Note: Put a comma before this parameter. cccc The 1 to 4 character identifier of an automatic command entry. JES2 cancels the processing of the specified command entry and then deletes the entry. Note: Do not put a comma before this parameter.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command can be issued with varying security access authorities. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The values supplied for this command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP000 message indicates JES2 has accepted the command.
Examples
1 $c a,all $HASP000 OK
174
$C A
JES2 cancels the processing of all automatic command entries you are authorized to cancel and then deletes those entries.
2 $c a5
$HASP000 OK
JES2 cancels the processing of all automatic command entries associated with character identifier 5.
175
$C job
Syntax
$C Job JOBQ JQ Stc Tsu nn job , ( nn * job job ) mm * mm *
Modification keywords
Modification keywords:
,Purge
, /
ARMRESTART
, /
CMDauth
= ^=
) hours
, / /
Age DAys
> <
days
, /
Dump
176
$C job
, / / , /
JM JOBMASK
= ^= > <
jobmask
, /
PROTected
Queue
= ^=
CNV INPUT OUT PPU PURGE RCV SETUP SPIN XEQ XMT ,
, /
REBUILD
= ^=
No Yes
, / /
SPL SPOOL
=( / /
> <
percent
, /
TYPE
= ^=
,CARDS=cards
,Class=class
,OFFS=offs
,SECLABEL=seclable ,Sysaff=member
,DELAY=
YES NO
, /
XEQNode
= ^=
xeqnode
Notes: 1 2 cmdauth can be coded up to 2 times volume can be coded up to 253 times
177
$C job
Parameters
Age|DAys<days | Age|DAys>days Specifies the age of affected jobs in days. Only jobs more (with DAYS>nn) or less (with DAYS<nn) than the specified number of days in age are affected, The days are counted from the current hour. ARMRESTART Specify ARMRESTART to request that the automatic restart management automatically restart each specified job after it is cancelled, if that job is registered with the automatic restart management. ARMRESTART is ignored if the job is not executing or is not registered with the automatic restart management. ARMRESTART is mutually exclusive with PURGE. | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUSY= Specifies one of the following: v The system name or number on which the job is busy. Note that you can specify a value of 0 to indicate the job is not busy. You can also specify values above 32 to match systems with invalid values in the BUSY value (for example, $CJOBQ,BUSY>32) v YES or ANY, indicating that all busy jobs are to match v NO or NONE, indicating that all non-busy jobs are to match CARDS=cards Specifies the number of input cards associated with the job. CC=(ABEND|ABENDED|CANcelled|CNVT_abend|CODE| COMPleted|ENDed_by_cc|EOM_failure|JCLerror| SECurity_failure|TYPE) Specifies the completion information associated with the job. ABENDED Specifies only jobs which have abnormally ended. ABEND Specifies the ABEND code associated with the jobs termination. CANcelled Specifies only jobs which were cancelled by the operator. CNVT_abend Specifies only jobs which have abnormally ended during the conversion phase. CODE Specifies the last (or highest) completion code of steps in the job. COMPleted Specifies only jobs which completed. ENDed_by_cc Specifies only jobs which were ended by a step completion code. EOM_failure Specifies only jobs which failed in end-of-memory processing. JCLerror Specifies jobs which did not execute due to a JCL error. SECurity_failure Specifies jobs which failed security validation.
178
$C job
| | Class=class Specifies the class associated with the job CMDauth=(auth1{,auth2}) Only the jobs that can be affected from the specified remote(s) or node(s) will be cancelled. The valid specifications are: LOCAL|ANYLOCAL Only the local devices at the local node can affect the output. Nnnnn|nodename Only local devices at the specified node can affect the output. Rnnnn Only the specified remote device can affect the output. NnnnnRnnnn|nodename.Rnnnn Only the specified remote device at the specified remote node can affect the output. destid A destid corresponding to any of the above remote devices. Note: Specification of the CMDAUTH filter does not override the authority of the console from which the command is issued; both the authority of the console and the specified CMDAUTH filter must match for the job to be affected. | | | | | | | | | | | | | | | | | | | | | | | | | | DELAY={BUSY_ON_HOLD|HOLD|LIMIT|LOCKED| No|QUEUE_ERROR|SCHENV|SECLABEL|SPOOLS_NOT_AVAILABLE|SYSAFF| MEMBER_STATUS|Yes} Specifies reasons why a pre-execution job will not enter execution: BUSY_ON_DEVICE The job does not execute because it is busy on a device (such as an offload job transmitter). HOLD The job does not execute because it is held, its job class is held, or another job with the same jobname is executing. LIMIT The job does not execute because the job class execution limit has been reached (as specified by JOBCLASS XEQCOUNT=(MAX=)). LOCKED The job does not execute because its being updated by JES2. SECLABEL The security label (SECLABEL) assigned to the job is not defined as active on any member that is active. SYSAFF Each of the members for which the job has affinity (SYSAFF) is inactive, or the job has specified independent state, and the JES2 member is not independent (IND=NO). SCHENV The jobs scheduling environment is not available on any member, or is available only on systems where JES2 is inactive. Use the $DJjobname,LONG command to find out what scheduling environment a
179
$C job
| | | | | | | | | | | | | | | | | | | | | | | | | | Yes Specifies only jobs which are delayed for any of the above reasons. No Specifies only jobs which are not delayed for any of the above reasons. Dump|D If the job is waiting for conversion, actively in conversion, or in execution, JES2 provides a storage dump. | | | | | | | | | | | | | HOLD= Specifies the hold status of the job. ALL Specifies jobs held by the $H A command. JOB Specifies jobs held by the $H J command, TYPRUN=HOLD, TYPRUN=JCLHOLD, or held due to error. DUP Specifies jobs held for duplicate job name. ARM Specifies jobs which are held awaiting restart through ARM. NONE Specifies jobs which are not held. Hours=hours Specifies the age of affected jobs in hours. Only jobs more (with HOURS>nn) or less (with HOURS<nn) than the specified number of hours in age are affected. JM|JOBMASK=jobmask Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a job requires. Then use the D WLM,SCHENV=schenv-name command to find out the current status of the scheduling environment on each system in the sysplex. The SCHENV state masks other reasons why the job might be ineligible to run, such as the $P and $P XEQ commands having been issued. Also, note that the SCHENV delay is detected only after a job goes through conversion. If a job is delayed prior to conversion because of system affinity requirements, scheduling environments are not considered in determining delay status. MEMBER_STATUS A combination of system affinity, scheduling environment and SECLABEL restrictions is preventing the job from running or other member events prevent the job from running on systems where the job is otherwise eligible. These events on other members include the following: v $P command has been issued v $P XEQ command has been issued v BOSS=NO (used in a poly-JES environment only) When used as a command filter, the string MEMBER_STATUS matches jobs delayed for SYSAFF, SCHENV, SECLABEL, or MEMBER_STATUS. To get detail on why a job is delayed, display job status with the $DJjobname, LONG command or display member status with the $DJMEMBER(membername) command.
180
$C job
combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). For additional information, see Using wildcards on page 98. job Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters. (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). For additional information, see Using wildcards on page 98. job The name of the job that is cancelled. This name must appear as coded on the JOB statement and must be enclosed in apostrophes. If more than one job exists with this name, no action is taken. Job A batch job or range of batch jobs is to be cancelled. JOBQ|JQ Specifies all jobs, STCs, and TSUs across the MAS for processing. | | OFFS=offs Specifies offload device numbers on which the job has been archived. PROTected Indicates that all output groups, including output groups that have been specified protected, should be purged. The protected attribute is assigned to programs running in a transactional environment such as APPC or OMVS, where the transaction output is associated with the initiators like ASCHINIT or BPXAS. The protected attribute for output can also be assigned to jobs by JES2 installation exits. This parameter is only valid when used with the PURGE parameter. Purge JES2 purges the job output. Notes: 1. The P operand must be specified to terminate jobs that are already in the output phase. 2. $C with the P operand will not purge a job with affinity to an inactive processor until the jobs affinity has been changed with the $TJ,S= command. 3. If the TSO/E user has affinity to an inactive member, the TSO/E notify message will not be issued when you specify the P operand. 4. $C with the P operand is ignored for output that is active on an FSS printer. PURGE is mutually exclusive with ARMRESTART. Queue={CNV|INPUT|OUT|PPU|PURGE|RCV| SETUP|SPIN|XEQ|XMT} Only jobs on the specified job queue are to be cancelled. CNV Only jobs awaiting conversion are to be cancelled. INPUT Only jobs on the JES2 $INPUT queue are to be cancelled. OUT Only jobs awaiting output processing are to be cancelled.
181
$C job
PPU Only jobs awaiting print/punch processing are to be cancelled. PURGE Only jobs awaiting purge processing are to be cancelled. RCV Only jobs on the JES2 $RECEIVE queue are to be cancelled. SETUP Only jobs on the JES2 $SETUP queue are to be cancelled. SPIN Only jobs awaiting spin processing are to be cancelled. | XEQ All jobs awaiting execution and in execution are to be cancelled. XMT Only jobs queued for network transmission are to be cancelled. | | | | | | | | | | SCHENV=schenv Specifies the scheduling environment associated with the job. SCHENV_AFF=member Specifies the JES2 MAS members on which the scheduling environment for this job is available. SECLABEL_AFF=member Specifies the JES2 MAS members on which the SECLABEL for this job is available but only if the RACF SECLABEL_BY_SYS is also active. SECLABEL=seclabel Specifies the security label associated with the job. SPL|SPOOL={Percent|%|Tgs|Volumes} Only jobs with specific SPOOL characteristics are to be cancelled: Percent|% Only jobs using more (with %>nn) or less (with %<nn) than the specified percentage of the total available spool space are to be cancelled. Tgs Only jobs using more (with Tgs>nn) or less (with Tgs<nn) than the specified number of track groups are to be cancelled. Volumes=(v1,v2,...) Only jobs which have allocated spool space on the specified spool volume(s) are to be cancelled. | | | | | | Stc A started task or range of started tasks is to be cancelled. Note: Started tasks can be cancelled with the $C command: v If they are waiting for conversion SRVCLASS=srvclass Specifies the service class of the job. The service class is available for batch jobs only. It is not available for started tasks or time-sharing users. Note: The default workload manager (WLM) policy assigns a service class of blanks to all jobs, and WLM-managed initiators can then select such jobs for processing.
182
$C job
v If they are currently in conversion v After they have completed execution. To cancel a started task in execution, you must use the MVS CANCEL command. | | Sysaff=member Specifies the jobs system affinity. Tsu A time-sharing user or range of time-sharing users is to be cancelled. TYPE={JOB|STC|TSU} Indicates whether only batch jobs (JOB), started tasks (STC), or time-sharing users (TSU) are to be cancelled. | | USERID=userid Specifies the userid associated with the job. XEQNode=xeqnode Only jobs which are destined to execute at the specified node, or which have already executed at the specified node, are to be cancelled. The node name may be specified using the decimal node number (Nnnnnn) or an EBCDIC node name.
Authority Required
This command requires job authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If the job does not cancel, reenter the command. v $C cannot cancel messages that are either being spooled for a remote or being printed by a remote. v When canceling jobs or TSUs in execution, the $C command results in an MVS CANCEL command. This allows other subsystems to monitor the canceling of jobs and, if necessary, take appropriate action. The MVS CANCEL command may also be used to cancel jobs in execution but the MVS command must be entered on the system where the job is running; therefore, using the $C command gives you more flexibility. v When canceling a TSU or STC that is waiting for conversion, or actively in conversion, the $C command must be entered on the same member where the TSU or STC is active. v When canceling a job, TSU or STC that is waiting for, or actively in conversion, with the DUMP parameter also specified, be aware that the dump produced will be processed using Dump Analysis and Elimination (DAE). v For additional capabilities, refer to the descriptions of MVS CANCEL and STOP in z/OS MVS System Commands.
Scope
MAS-wide. This command has an effect across the entire MAS.
183
$C job
Messages
The $HASP890 message displays the status of the job. The $HASP003 message indicates that you have issued the $C JOB command to cancel the specified job(s) without issuing the ,PROTECTED operand.
Examples
1 $c j3 JOB00003 $HASP890 JOB(INFN2) $HASP890 JOB(INFN2) STATUS=(EXECUTING/SPLB),CLASS=A, $HASP890 PRIORITY=15,SYSAFF=(SPLB),HOLD=(NONE), $HASP890 CANCEL=YES JOB00003 $HASP395 INFN2 ENDED $HASP309 INIT 1 INACTIVE ******** C=ABCDEFGHI
JOB00032 $HASP890 JOB(INFN2) $HASP890 JOB(INFN2) STATUS=(EXECUTING/SPLB),CLASS=A, $HASP890 PRIORITY=15,SYSAFF=(SPLB),HOLD=(NONE), $HASP890 CANCEL=YES JOB00032 IEA995I SYMPTOM DUMP OUTPUT SYSTEM COMPLETION CODE=122 TIME=21.15.51 SEQ=00037 CPU=0000 ASID=0013 PSW AT TIME OF ERROR 078D2000 00006EEE ILC 2 INTC 14 ACTIVE LOAD MODULE=GO ADDRESS=00006EB8 OFFSET=00000036 DATA AT PSW 00006EE8 - 80006F50 0A144110 00014120 GPR 0-3 000001C0 00000001 00000001 009F69A4 GPR 4-7 009F6980 009F3E88 009D3FF8 FD000000 GPR 8-11 009FF1D0 809F3BA8 00006F08 009F3E88 GPR 12-15 40006EBE 00006F08 40006EE8 00000000 END OF SYMPTOM DUMP JOB00032 $HASP375 INFN1 ESTIMATED LINES EXCEEDED JOB00032 $HASP375 INFN1 ESTIMATE EXCEEDED BY 2,000 LINES SPOOL JOB00032 IEF450I INFN1 GO STEP1 - ABEND=S222 U0000 REASON=00000 TIME=21.16.25 JOB00032 $HASP395 INFN1 ENDED $HASP099 ALL AVAILABLE FUNCTIONS COMPLETE
1% 000
JES2 cancels the job named INFN1, which is currently in execution, and issues a storage dump.
3 $CJ100-105,JM=?EBG* $HASP890 JOB(IEBGENER) JOB(IEBGENER) STATUS=(AWAITING OUTPUT),CLASS=A, PRIORITY=1,SYSAFF=(ANY),HOLD=(NONE), CANCEL=YES $HASP890 JOB(IEBGENEZ) JOB(IEBGENEZ) STATUS=(AWAITING OUTPUT),CLASS=A, PRIORITY=1,SYSAFF=(ANY),HOLD=(NONE), CANCEL=YES
JES cancels jobs that fall within the range of jobs 100-105, whose job name includes EBG as the second, third and fourth characters.
184
$C Lnnnn.xxn
Syntax
$C Lnnnn.JRn Lnnnn.JTn Lnnnn.SRn Lnnnn.STn ,Lnnnn.JRn ,Lnnnn.JTn ,Lnnnn.SRn ,Lnnnn.STn
Parameters
Lnnnn.JRn The job receiver on line nnnn currently receiving the job. JES2 immediately queues the job for output. Any subsequent data for the job is ignored until JES2 reaches the end of the current file. Lnnnn.JTn The job transmitter on line nnnn currently transmitting the job. JES2 stops transmission of the job and immediately queues the job for output. Lnnnn.SRn The SYSOUT receiver on line nnnn currently receiving the SYSOUT data. JES2 purges the data already received, and any subsequent data is ignored until end of file. Lnnnn.STn The SYSOUT transmitter on line nnnn currently transmitting the SYSOUT data. JES2 stops the current transmission and purges the SYSOUT data.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
Because cancellation of receivers does not stop actual transmission of data, the operator at the receiving node can elect to cancel job or SYSOUT reception by having the operator at the transmitting end cancel the transmitter.
Scope
Single member. The values supplied for this command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
185
$C Lnnnn.xxn
Messages
$HASP523 indicates the job, which was being transmitted by the job transmitter, has been cancelled. $HASP533 indicates the job that has been cancelled for the SYSOUT transmitter. $HASP543 indicates that the job has been cancelled for either the SYSOUT receiver or the job receiver. $HASP545 indicates that the job has been cancelled for the network SYSOUT receiver or the network job receiver.
Example
1 $c l4.jr1 JOB00005 $HASP543 MYJOB L4.JR1 DELETED
JES2 queues the job currently being received by job receiver 1 on line 4 for output. Any subsequent data for the job is ignored until end of file.
186
$C O Job
Syntax
| |
$C O Job JOBQ JQ Stc Tsu nn job , ( nn * output output ) mm * mm * , / ALL
| |
, /
CMDauth
= ^=
| |
, /
Age DAys /
> <
days
, /
HELD
| |
, /
Hours
> <
hours
, /
JM JOBMASK /
= ^= > <
jobmask
| |
, /
OUTGrp
= ^=
outgrp
, /
PAGES
= ^= > <
pages
| | | |
, /
PROTected
, /
Queue
= ^=
queue
, /
READY
, /
REBUILD
= ^=
No Yes
, /
RECORDS
= ^= > <
records
187
$C O Job
| |
, /
Dest Routecde /
= ^= > <
routecde
,Burst=
NO YES
| |
C FCB
=fcb
FLash O
=flash
| |
,Forms=forms
,HOLD=
,HOLDRC
| | | | | | | |
,PRIORITY=priority
,PRmode=prmode
,RECORDS=records
,SECLABEL=seclabel
T UCS
=ucs
,USERID=userid
,Writer=writer
Parameters
Age|DAys<days|Age|DAys>days Specifies the age of affected output in days. Only output more (with DAYS>nn) or less (with DAYS<nn) than the specified number of days in age are affected, The days are counted from the current hour. ALL JES2 cancels the specified jobs output elements based on the presence of filters as follows:
ALL specified? YES YES NO Filters? YES NO YES Meaning ALL is ignored Command applies to all job output elements belonging to the specified job ALL is not considered
188
$C O Job
NO NO Command applies to all job output elements belonging to the specified job
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Burst={No|Yes} Specifies whether the printed output is to be burst into separate sheets (Yes) or to be in continuous, fanfold mode (No). CC=(ABEND|ABENDED|CANcelled|CNVT_abend|CODE| COMPleted|ENDed_by_cc|EOM_failure|JCLerror| SECurity_failure|TYPE) Specifies the completion information associated with the job. ABENDED Specifies only jobs which have abnormally ended. ABEND Specifies the ABEND code associated with the jobs termination. CANcelled Specifies only jobs which were cancelled by the operator. CNVT_abend Specifies only jobs which have abnormally ended during the conversion phase. CODE Specifies the last (or highest) completion code of steps in the job. COMPleted Specifies only jobs which completed. ENDed_by_cc Specifies only jobs which were ended by a step completion code. EOM_failure Specifies only jobs which failed in end-of-memory processing. JCLerror Specifies jobs which did not execute due to a JCL error. SECurity_failure Specifies jobs which failed security validation. C|FCB=fcb A 1 to 4 alphameric character or special character ($ # @) identifier for the data set forms control or carriage specifications. CMDauth=(cmdauth1{,cmdauth2}) Only the output that can be affected from the specified remote(s) or node(s) will be cancelled. The valid specifications are: LOCAL|ANYLOCAL Only the local devices at the local node can affect the output. Nnnnn|nodename Only local devices at the specified node can affect the output. Rnnnn Only the specified remote device can affect the output. NnnnnRnnnn|nodename.Rnnnn Only the specified remote device at the specified remote node can affect the output.
189
$C O Job
destid A destid corresponding to any of the above remote devices. Note: Specification of the CMDAUTH filter does not override the authority of the console from which the command is issued; both the authority of the console and the specified CMDAUTH filter must match for the job to be affected. Dest|Routecde=routecde The destination assigned to the job output element(s). Only job output destined for dest is cancelled. You may specify a remote destination (workstation), another node, or a specific local device. The value for all routing numbers can range from 1 to 32767. Use parentheses if more than one route code is specified. If this command originates from another node in the network and the D|ROUTECDE= operand does not specify a node (first-level destination), the receiving node defaults the first-level destination to the node were the command originated. If this command is sent to another node in the network using the $N command, be aware that the receiving node will default the node (first-level destination) of the D|ROUTECDE= operand to the sending node. If another node is desired, specify a destination on the D|ROUTECDE= operand that will resolve to the desired node (first-level destination) at the receiving node. Notes: 1. NODENAME=REQUIRED on the DESTDEF initialization statement will cause JES2 to require that a userid be prefixed with a node name. 2. Greater than (> or >=) and less than (< or <=) filters may be used in conjunction to support route code ranges. For example, you could specify the filters R>=R1,R<=R7 to affect output for all remotes in the range R1 to R7. Note that: v The destination being filtered upon is converted to its binary equivalent prior to the comparison. v Open-ended ranges (for example, a > filter without a < filter, or a < filter without a > filter) are not allowed. v When using nodal ranges, a specification of nodename.* must be used. Only the nodal routing of the output will be compared. | | | | | FLASH|O=flash A 1 to 4 alphameric or special character ($ # @) overlay name (FLASH). Forms=forms A 1 to 8 alphameric or special character ($ # @) identifier for the print or punch forms. HELD Output is HELD if it is destined for this node and the output disposition is HOLD or LEAVE. | | | | | | | HOLD= Specifies the hold status of the job. ALL Specifies jobs held by the $H A command. JOB Specifies jobs held by the $H J command, TYPRUN=HOLD, TYPRUN=JCLHOLD, or held due to error.
190
$C O Job
| | | | | | DUP Specifies jobs held for duplicate job name. ARM Specifies jobs which are held awaiting restart through ARM. NONE Specifies jobs which are not held. H|Hours>hours | H|Hours<hours Specifies the age of affected output in hours. Only output more (with HOURS>nn) or less (with HOURS<nn) than the specified number of hours in age are affected. | | | HOLDRC Only output groups with the specified system hold reason code are to be purged (when HOLD=SYS). Job A Batch job or range of batch jobs is to be cancelled. JOBMASK|JM=jobmask Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). For additional information, see Using wildcards on page 98. Notes: 1. This is a positional parameter. Specify this following the job_id (JOB, STC, or TSU), or JOBQ parameter. 2. The JOBMASK parameter is not valid with the jobname parameter. JOBQ|JQ Specifies all jobs, STCs, and TSUs across the MAS for processing. The following specifications are valid: LOCAL|ANYLOCAL Indicates that jobs are to be printed or punched at the local node. destid Indicates that jobs are to be printed or punched at the specified node(s). You can specify this location by an alias for the name of a node. If destid is specified alone, it refers to both the node and the remote. Nnnnn|nodename Indicates that jobs are to be printed or punched at the specified node(s). You can specify a node using the decimal node identifier or an EBCDIC nodename. NnnnnRmmmm|node.remote|node.userid Indicates routing to the remote Rmmmm at the node Nnnnn. Rmmmm can also be specified as RMmmmm or RMTmmmm. Ummmm Indicates special local routing. node.destid Indicates a destination at the specified node. The destid refers to both the node and the remote. The node specified in the destid must be the same as the node portion of the route code. If the number of the remote is reassigned, you can use the destid to send to this node.
191
$C O Job
remote Indicates routing to a remote. Remote can be specified in any of the following ways: LOCAL|ANYLOCAL Indicates that jobs are to be printed or punched at the local node. Rmmmm Indicates routing to the specified remote. Rmmmm can also be specified as RMmmmm or RMTmmmm. destid Indicates routing to a destid referring to a remote. userid Indicates routing to a valid TSO userid. node.* Indicates that the node name is to be modified to the specified node name, but the remote name will remain the same. * | | | | | Indicates that the node name is to be modified to the local node name, but the remote name will remain the same.
OUTDISP={H|HOLD|K|KEEP|L|LEAVE|P| PURGE|W|WRITE} Indicates that you want to display the output for the specified job that matches this current disposition. Specify WRITE, HOLD, LEAVE, or KEEP. If you do not specify this parameter, all output with a disposition of WRITE, HOLD, KEEP, or LEAVE will be modified. OUTGrp=grpid[.joeid1[.joeid2]] The job output group or the job output element that is cancelled. grpid The 1 to 8 alphameric group ID that is either specified by the user in the JCL or generated by JES2. If you specify only group ID (OUTGRP=grpid) on this command, JES2 cancels all the job output elements in that output group. joeid1 A number assigned by JES2 to distinguish between job output elements within the output group. If you specify only group ID and the first qualifier (OUTGRP=grpid.joeid1) on this command, JES2 cancels all the copies of the specified job output element in that output group. joeid2 A number assigned by JES2 to distinguish between several copies of grpid.joeid1. If you specify group ID and both qualifiers (OUTGRP=grpid.joeid1.joeid2) on this command, JES2 cancels only the specified copy (joeid2) within the job output element (joeid1) in that output group. Note: The OUTGRP parameter is positional and must immediate follow the jobid (JOB, STC, TSU), JOBQ or jobname (or JOBMASK if coded) parameter. output Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). output The name of the job whose output is cancelled. This name must appear as
192
$C O Job
coded on the JOB statement and must be enclosed in apostrophes. If more than one job exists with this name, no action is taken. PAGES Only output groups with the specified number of pages are to be cancelled. | | | | | PRIORITY=priority The queue selection priority (0-255) assigned to the job output element(s). PRmode=prmode The process mode (1 to 8 alphanumeric characters) for the job output element(s). PROTected Indicates that all specified output groups, including output groups that have been specified protected, should be purged. The protected attribute is assigned to programs running in a transactional environment such as APPC or OMVS, where the transaction output is associated with the initiators like ASCHINIT or BPXAS. The protected attribute can also be assigned to jobs by JES2 installation exits. Note: Since the OUTGRP= parameter identifies the output to be cancelled, you do not need to specify PROTECTED with this command, even for output that is protected. Queue=queue Only output in the specified output class(es) is to be cancelled. Up to 36 output classes may be listed. READY Output is READY if it is not HELD. REBUILD={No|Yes} Output on the rebuild queue is to be cancelled (Yes) or not cancelled (No). RECORDS=records Only output groups with the specified number of records are to be cancelled. | | | | RECORDS=records The number of print records associated with the output group. SECLABEL=seclabel The security label associated with the output group. Stc A started task or range of started tasks is to be cancelled. Tsu A time-sharing user or range of time-sharing users is to be cancelled. | | | | | | | | | | T|UCS=ucs A 1 to 4 alphanumeric or special character ($ # @) identifier for the universal character set specification. This operand also sets the character set (CHAR1) to be used on non-impact printers unless the UCS and CHARS values are both assigned to an output data set by a jobs JCL and their values are not equal. USERID=userid The userid associated with the output group. Writer=writer A 1 to 8 alphanumeric or special character ($ # @) writer name assigned to the job output element(s).
193
$C O Job
Authority Required
This command requires job authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
If you want to cancel both a job and its output, see $C Job - Cancel a job on page 176.
Scope
MAS-wide. This command has an effect across the entire MAS.
Messages
The $HASP686 displays all the output groups that are cancelled.
Examples
1 $c o jfred,outgrp=1.1.1 OUTGRP=1.1.1 CANCELLED JOB00012 $HASP686 OUTPUT(FRED)
JES2 cancels all output in the system more than 8 days old.
4 $c o jq,r=denver,q=bk $HASP686 $HASP686 $HASP686 $HASP686 $HASP686 OUTPUT(FRED) OUTPUT(FRED) OUTPUT(FRED) OUTPUT(BARNEY) OUTPUT(BARNEY) OUTGRP=1.1.1 OUTGRP=2.1.1 OUTGRP=3.1.1 OUTGRP=6.1.1 OUTGRP=7.1.1 CANCELLED CANCELLED CANCELLED CANCELLED CANCELLED
JES2 cancels all class output in classes B and K destined for DENVER. (DENVER is an installation-defined name, which must equate to one of the valid destination forms.)
194
$C OFFn.xx
Syntax
$C OFFn.JR OFFn.JT OFFn.SR OFFn.ST ,OFFn.JR ,OFFn.JT ,OFFn.SR ,OFFn.ST
Parameters
OFFn.JR The job on the offload job receiver is cancelled. The subscript specifies a numeric value (1-8) of the associated offload device. OFFn.JT The job on the offload job transmitter is cancelled. The subscript specifies a numeric value (1-8) of the associated offload device. OFFn.SR The job on the offload sysout receiver is cancelled. The subscript specifies a numeric value (1-8) of the associated offload device. OFFn.ST The job on the offload sysout transmitter is cancelled. The subscript specifies a numeric value (1-8) of the associated offload device.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v OFFn.JT|JR|SR JES2 causes the job on the specified device to be cancelled and deleted from JES2 spool. Processing continues by selecting the next job eligible to be processed by the device. v OFFn.ST The output groups selected according to the work selection criteria of the SYSOUT transmitter are cancelled and deleted from the queue from which they were selected. The transmitter continues to select the next job.
Scope
Single member. The values supplied for this command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Chapter 5. Command Reference Section
195
$C OFFn.xx
Messages
The $HASP000 message indicates JES2 has accepted the command. Upon completion, JES2 issues a message to indicate that the job on the device has been deleted.
Examples
1 $c off1.jt, off1.st $HASP000 OK $HASP523 jobname -- OFF1.JT DELETED $HASP523 jobname -- OFF1.ST DELETED
JES2 cancels the processing of the job on offload job transmitter 1 and deletes the job from the spool; JES2 cancels the job on offload sysout transmitter 1 and deletes the output group currently being processed.
2 $c off2.jr, off3.sr OK OFF2.JR jobname OFF3.SR jobname SKIPPING TO -- OFF2.JR SKIPPING TO -- OFF3.SR END-OF-JOB DELETED END-OF-JOB DELETED
JES2 cancels the processing of the jobs on offload job receiver 2 and sysout receiver 3, and deletes the jobs from the spool.
196
Syntax
$C PRTnnnn Rnnnn.PRm ,PRTnnnn ,Rnnnn.PRm
Parameters
PRTnnnn The local printer currently printing the output. Rnnnn.PRm The remote printer currently printing the output.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
For the 3800 printer, JES2 cancels the output group that is visible at the transfer station.
Scope
Single member. The values supplied for this command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP170 message displays the status of output processing on the specified printer.
Example
1 $c prt5 $HASP170 PRT5 DELETED
Printer 5 stops printing the current output group and JES2 purges the output. Printer 5 resumes printing the next available output based on its work selection criteria.
197
Syntax
$C PUNnn Rnnnn.PUm ,PUNnn ,Rnnnn.PUm
Parameters
PUNnn The local punch currently processing the output. Rnnnn.PUm The remote punch currently processing the output.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The values supplied for this command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP170 message displays the status of output processing on the specified punch.
Example
1 $c pun4 $HASP170 PUN4 DELETED
Punch 4 stops punching the current output group and JES2 purges the output. Punch 4 then begins punching the next available output group.
198
Syntax
$C RDRnn Rnnnn.RDm ,RDRnn ,Rnnnn.RDm
Parameters
RDRnn The local reader currently reading the job. Rnnnn.RDm The remote reader currently reading the job.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T RDI command sets the command authority for internal readers. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The values supplied for this command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
$HASP119 indicates the input service processor has deleted the indicated job.
Example
1 $c rdr1 JOB00010 $HASP119 MYJOB DELETED
Reader 1 flushes the job currently being read and then continues reading the next valid job card.
199
$D A
Syntax
$D A ,J|JOB ,S|STC ,T|TSU ,X|XEQ ,D|DEV ,ALL ,memname(,memname)... ,V=volser
Parameters
A JES2 displays the job number, job name, status, class, priority, and active member name for all jobs of the requested job type that are active in the JES2 process requested (if one is specified), on the requested member. Note: If you do not specify any other operands, JES2 displays information for batch jobs that are active on the member to which the entering console is attached. J|JOB JES2 displays information for active batch jobs. S|STC JES2 displays information for active started tasks. T|TSU JES2 displays information for active time-sharing users. X|XEQ JES2 displays information for active jobs currently in execution or conversion processing. D|DEV JES2 displays information for jobs currently being processed on a unit-record device or spool offload device. Defaults: v If neither XEQ nor DEV is specified and JOB is specified, both are assumed. v If JOB, STC, or TSU is not specified, but XEQ or DEV is specified, then JOB, STC, and TSU are assumed. v If nothing is specified, then JOB, XEQ, and DEV are assumed. ALL JES2 displays the above information for the selected groups (JOB, STC, TSU, DEV, XEQ) on all members in the multi-access spool configuration. memname The 1 to 4 character alphameric identifier of a member in a multi-access spool
200
$D A
configuration. JES2 displays the above information for the selected groups (JOB, STC, TSU, DEV, XEQ) on the specified member. Default: If neither ALL nor the memname is specified, the member to which the entering console is attached is assumed as the memname. V=volser JES2 displays job information for all jobs that have data on the spool volume specified by volser.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MAS-wide. This command can display information about jobs on any or all members of the MAS, depending on the parameters you provide.
Messages
The $HASP890 message displays the current status of the indicated job.
Examples
1 $da,dev,all JOB00013 $HASP890 JOB(OUT3000) $HASP890 JOB(OUT3000) STATUS=(ON PRT2/SPL2),CLASS=A, $HASP890 PRIORITY=1,SYSAFF=(ANY),HOLD=(NONE)
JES2 displays all active jobs on a device. In the message, job OUT30000 on printer 2 has a JES2 scheduling priority of 1 on member SPL2.
2 $da,all,v=spool3 JOB00007 $HASP890 JOB(SPINLOOP) $HASP890 JOB(SPINLOOP) STATUS=(EXECUTING/SPL2),CLASS=A, $HASP890 PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE)
JES2 displays all active jobs that have space on the specified spool volume (3).
3 $da,s,all STC00002 $HASP890 $HASP890 STC00004 $HASP890 $HASP890 STC00005 $HASP890 $HASP890 STC00008 $HASP890 $HASP890 $HASP890 JOB(SYSLOG) JOB(SYSLOG) STATUS=(EXECUTING/SPL2),CLASS=STC, PRIORITY=15,SYSAFF=(SPL2),HOLD=(NONE) $HASP890 JOB(INIT) JOB(INIT) STATUS=(EXECUTING/SPL2),CLASS=STC, PRIORITY=15,SYSAFF=(SPL2),HOLD=(NONE) $HASP890 JOB(VTAM) JOB(VTAM) STATUS=(EXECUTING/SPL2),CLASS=STC, PRIORITY=15,SYSAFF=(SPL2),HOLD=(NONE) $HASP890 JOB(INIT) JOB(INIT) STATUS=(EXECUTING/SPLB),CLASS=STC, PRIORITY=15,SYSAFF=(SPLB),HOLD=(NONE)
JES2 displays information for all active started tasks in the MAS configuration.
201
$D A
4 $da,s,splb
JES2 displays information for all started tasks active on the member identified AS SPLB.
5 $da
JES2 displays information for all STCs, TSUs, and batch jobs executing on member 2 (SPLB).
8 $da,xeq,all $HASP890 JOB(SYSLOG) JOB(SYSLOG) STATUS=(EXECUTING/SPL2),CLASS=STC, PRIORITY=15,SYSAFF=(SPL2),HOLD=(NONE) $HASP890 JOB(INIT) JOB(INIT) STATUS=(EXECUTING/SPL2),CLASS=STC, PRIORITY=15,SYSAFF=(SPL2),HOLD=(NONE) $HASP890 JOB(VTAM) JOB(VTAM) STATUS=(EXECUTING/SPL2),CLASS=STC, PRIORITY=15,SYSAFF=(SPL2),HOLD=(NONE) $HASP890 JOB(INIT) JOB(INIT) STATUS=(EXECUTING/SPLB),CLASS=STC, PRIORITY=15,SYSAFF=(SPLB),HOLD=(NONE) $HASP890 JOB(SPINLOOP) JOB(SPINLOOP) STATUS=(EXECUTING/SPL2),CLASS=A, PRIORITY=9,SYSAFF=(SPL2),HOLD=(NONE) $HASP890 JOB(SPINTWO) JOB(SPINTWO) STATUS=(EXECUTING/SPLB),CLASS=A, PRIORITY=9,SYSAFF=(SPLB),HOLD=(NONE)
STC00002 $HASP890 $HASP890 STC00004 $HASP890 $HASP890 STC00005 $HASP890 $HASP890 STC00008 $HASP890 $HASP890 JOB00007 $HASP890 $HASP890 JOB00010 $HASP890 $HASP890
JES2 displays information for all STCs, TSUs, and batch jobs executing on all members of the MAS configuration.
9 $da,all,x,dev,v=spool1
202
$D A
$HASP890 PRIORITY=15,SYSAFF=(SPL2),HOLD=(NONE) STC00004 $HASP890 JOB(INIT) $HASP890 JOB(INIT) STATUS=(EXECUTING/SPL2),CLASS=STC, $HASP890 PRIORITY=15,SYSAFF=(SPL2),HOLD=(NONE)
Use this command to determine which jobs are active and have space on the SPOOL volume. The ALL parameter displays all jobs in the MAS; the X parameter displays all the types of jobs (JOBs, TSUs, and STCs) that are running; the DEV parameter displays all jobs on a device.
203
$D ACTIVATE
Syntax
$D ACTIVATE
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MAS-wide. The command is in effect across the entire MAS.
Messages
The $HASP895 displays the current level of active function.
Examples
1 $d activate $HASP895 JES2 CHECKPOINT LEVEL IS NOW z/OS RELEASE 1.2
204
$D ACTRMT
Syntax
$D ACTRMT nnnn , ( nnnn * ) nnnn * nnnn *
,MEMBER
, /
MEMBER
= ^=
memnum memname
Parameters
nnnn The subscript defining the active remote(s) that are affected by this command. The subscript can specify a specific numeric value or a range of values (1-32767) or an asterisk (*). For information about specifying a range for a subscript, see Parameter Ranges. MEMBER[=memnum|memname] Specifies the member number or member name of the MAS member, as specified on the MEMBER(nn) initialization statement, for which JES2 is to display active RJE workstations.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned.
205
$D ACTRMT
This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MAS-Wide. This command displays information about the entire MAS.
Messages
The $HASP137 message displays all the active RJE workstations in the MAS. The RJE workstations displayed do not need to be defined by RMT(nnnn) initialization statements or $ADD RMT(nnnn) commands on the member where the command is entered.
Examples
1 $d actrmt(3) MEMBER=IBM1 $HASP137 ACTRMT(3)
JES2 displays all the active RJE workstations on the NIH1 member.
3 $d actrmt(*) ACTRMT(2) ACTRMT(3) ACTRMT(4) ACTRMT(5) ACTRMT(6) ACTRMT(7) MEMBER=PSU1 MEMBER=IBM1 MEMBER=NIH1 MEMBER=PSU1 MEMBER=PSU1 MEMBER=NIH1
JES2 displays all the active RJE workstations throughout the MAS.
206
$D APPL
Syntax
$D APPL xxxxxxxx , ( xxxxxxxx xxxxxxxx ) Selection limiting keywords
,COMPACT
,LINE
,LOGMODE
,LOGON
,NODE
,REST
,STATUS
, /
COMPACT
= ^= > <
compact
, /
LINE
= ^= > <
line
, /
LOGMODE
= ^= > <
logmode
, /
LOGON
= ^= > <
logon
, /
NODE
= ^= > <
node
, /
STATUS
= ^=
Parameters
COMPACT=compact The compaction table number (0-99) that is used for outbound compaction in communicating with this application at the specified node. Zero denotes no compaction.
207
$D APPL
Default: The value for COMPACT specified on the NODE(nnnn) initialization statement that defines the node indicated by the NODE=nnnn parameter on this command. LINE=line A dedicated line used for the SNA NJE session associated with this application. Specify only when the application is inactive. Default: 0 (No line is dedicated.) LOGMODE=logmode The 1 to 8 character name of the logon mode table entry that is used for this VTAM application. The parameter input must adhere to the VTAM naming conventions for a logon mode table entry name. A logon mode table entry determines which entry in the VTAM application logon mode table will be used. If the program participates as the secondary end of a session (SLU), the table entry provides a set of session parameters. This parameter is used only for NJE applications. If it is specified for non-NJE applications, the parameter is ignored. Specify only when the application is inactive. Default: If you omit the parameter, the system uses the VTAM defaults. LOGON=logon Specifies the number (1-999) of the local LOGON DCT which should be used when specifying connections to the application. NODE=node The number (1-32767) or the 1 to 8 alphanumeric or special ($, #, or @) symbolic name (xxxxxxxx) of the node at which the JES2 application is defined to VTAM. Note: The symbolic name must have been specified on the NAME= parameter of the NODE initialization statement for the referenced node, or must have been defined on the DESTID initialization statement. REST An integer (0-2000), which represents the resistance rating of the connection as viewed by the installation manager and coordinated with other installations. For information about selecting resistances, see z/OS JES2 Initialization and Tuning Guide. Default: The value for REST specified on the NODE(nnnn) initialization statement that defines the node indicated by the NODE=nnnn parameter on this command. STATUS The status of current applications: IN-SESSION The application is currently in a session with another application. NOT-IN-SESSION The application is not currently in a session. OPNDST-PENDING The application is in the process of establishing a session with another application. An SNA OPNDST is expected. OPNSEC-PENDING The application is in the process of establishing a session with another application. An SNA OPNSEC is expected.
208
$D APPL
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP821 message displays the current status of VTAM applications.
Example
1 $d appl(jes2) $HASP821 APPL(JES2) NODE=2,COMPACT=0,LINE=0,LOGMODE=, $HASP821 LOGON=0,REST=0
209
$D BUFDEF
Syntax
$D BUFDEF ,BELOWBUF , =( FREE LIMIT WARN )
Parameters
BELOWBUF= The specifications for buffers that reside below 16 megabytes of virtual storage. FREE The current number of free buffers. LIMIT The maximum number (10-2000) of buffers that is allowed. WARN The percentage (0-100) of local buffers used at which the $HASP050 message alerts the operator of a shortage of local buffers. JES2 deletes this message from the console when the resource shortage is relieved (either by a decrease in resource use or an increase in the threshold). EXTBUF= The specifications for buffers that reside above 16 megabytes of virtual storage. FREE The current number of free buffers. LIMIT The maximum number (10-9999) of buffers that is allowed. WARN The percentage (0-100) of local buffers used at which the $HASP050 message alerts the operator of a shortage of local buffers. JES2 deletes this message from the console when the resource shortage is relieved (either by a decrease in resource use or an increase in the threshold).
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned.
210
$D BUFDEF
This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The values supplied for this command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASPxxx messages display the current values for all the parameters on the BUFDEF statement.
Example
1 $d bufdef $HASP840 BUFDEF BELOWBUF=(LIMIT=1000,WARN=80,FREE=823), $HASP840 EXTBUF=(LIMIT=1000,WARN=80,FREE=243)
211
$D CKPTDEF
Syntax
$D CKPTDEF ,CKPT1 , =( DSName INUSE STRname VOLATILE VOLser )
,DUPLEX
,LOGSIZE
,MODE
,OPVERIFY
,RECONFIG
212
$D CKPTDEF
Parameters
CKPTn Displays the status of either the primary (CKPT1) or the secondary (CKPT2) checkpoint data set. You can specify one or more of the following options: DSName Displays the 1 to 44 character data set name of the checkpoint data set if it resides on DASD. INUSE Displays whether (YES) or not (NO) JES2 is using this data set. STRname Displays the 1 to 16 character name of the structure if the primary data set resides on a coupling facility. VOLATILE Displays whether (YES) or not (NO) the specified checkpoint data set that resides on a coupling facility has entered the state where, if power to the coupling facility is lost, all data on the coupling facility is lost. This parameter does not apply when a coupling facility structure becomes volatile during the checkpoint reconfiguration dialog. VOLser Displays the volume serial number on which the data set specified by the DSN= parameter resides. Scope: MAS-Wide. DUPLEX Displays whether (ON) or not (OFF) this member of the multi-access spool configuration uses the duplexing function. Scope: Single Member. LOGSIZE Displays the number of 4K storage blocks used for the change log portion of the checkpoint data set if the data set resides on DASD.
Chapter 5. Command Reference Section
213
$D CKPTDEF
Scope: MAS-Wide. MODE Displays whether the multi-access spool configuration uses the data set defined by CKPT2 as the alternate primary checkpoint data set (DUAL) or as the backup to the CKPT1 data set (DUPLEX). Scope: MAS-Wide. NEWCKPTn Displays an alternate data set that can replace the CKPTn data set if the CKPTn data set experiences a failure or becomes unavailable. You can specify one or more of the following options: DSName Displays the 1 to 44 character name of the NEWCKPTn data set if the data set resides on DASD. STRname Displays the 1 to 16-character structure name of the NEWCKPTn data set if the data set resides on a coupling facility. Note: If a checkpoint data set resides on a coupling facility structure and you attempt to display either the DSNAME= or the VOLSER= parameters, JES2 returns a null value (). When the checkpoint resides on DASD and you attempt to display STRNAME=, JES2 returns the same null value. VOLser The volume serial number on which the data set specified by DSName resides. Scope: MAS-Wide. OPVERIFY Displays whether (Yes) or not (No) JES2 prompts the operator during a JES2-initiated I/O error checkpoint reconfiguration to verify or alter the default reconfiguration action. OPVERIFY has no meaning for a checkpoint reconfiguration entered for any other reasons. Scope: MAS-Wide. RECONFIG Displays whether (Yes) or not (No) JES2 enters the checkpoint reconfiguration dialog so that you can supply the information needed to reconfigure the checkpoint data set specifications. Scope: MAS-Wide. VERSIONS Displays the status of the checkpoint versioning parameter. You can specify one or more of the following options: MAXFAIL Displays the greatest number of checkpoint version failures between successful updates since the last $T CKPTDEF,NUMBER= command was entered. MAXUSED Displays the greatest number of versions of the checkpoint data set that have been in use since the last IPL of JES2.
214
$D CKPTDEF
NUMBER Displays the maximum number (2-50) of versions of the checkpoint data set that JES2 maintains. NUMFAIL Displays the number of failures since the last $T CKPTDEF,NUMBER= was entered. STATUS Displays whether checkpointing is active or inactive on the member. VERSFREE Displays the number of checkpoint versions available for updating. WARN Displays the percent (0-100) usage threshold of versions of the checkpoint data set. Scope: Single Member. VOLATILE Displays how JES2 responds when a coupling facility enters the state where, if power to the coupling facility is lost, the data on the coupling facility is lost. ALLCKPT Displays the action taken if the coupling facilities on which all available checkpoint data sets reside (INUSE=YES) become volatile (unstable). JES2 either issues a WTOR (WTOR), enters the checkpoint reconfiguration dialog (DIALOG), or ignores the change to volatile status (IGNORE). ONECKPT Displays the action taken if the coupling facility on which a checkpoint data set resides becomes volatile (unstable). JES2 either issues a WTOR (WTOR), enters the checkpoint reconfiguration dialog (DIALOG), or ignores the change to volatile status (IGNORE). Scope: Single member.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
The scope of this command varies by parameter. See the description of each parameter for its scope. Some parameters on this command will display information about the entire MAS, while other parameters will display information about this member only. You might want to use the parameters for this command to get information about all members of the MAS. If so, you can use the MVS ROUTE *ALL command to issue
215
$D CKPTDEF
this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP829 message displays the current values of all the parameters on the CKPTDEF initialization statement.
Examples
1 $d ckptdef $HASP829 CKPTDEF $HASP829 $HASP829 $HASP829 $HASP829 $HASP829 $HASP829 $HASP829 $HASP829 $HASP829 $HASP829 CKPT1=(DSNAME=SYS1.JESCKPT1,VOLSER=DATA1, INUSE=YES,VOLATILE=NO), CKPT2=(DSNAME=SYS1.JESCKPT2,VOLSER=DATA1, INUSE=YES,VOLATILE=NO), NEWCKPT1=(DSNAME=SYS2.JESCKPT1,VOLSER=DATA2), NEWCKPT2=(DSNAME=SYS2.JESCKPT2,VOLSER=DATA2), MODE=DUAL,DUPLEX=ON,LOGSIZE=4, VERSIONS=(STATUS=INACTIVE,NUMBER=2,WARN=80, MAXFAIL=0,NUMFAIL=0,VERSFREE=2,MAXUSED=0), RECONFIG=NO,VOLATILE=(ONECKPT=WTOR, ALLCKPT=WTOR),OPVERIFY=YES
The $HASP829 message displays two checkpoint data sets (SYS1.JESCKPT1 and SYS1.JESCKPT2) that reside on DASD volumes, and the current status of these data sets.
2 $d ckptdef $HASP829 CKPTDEF CKPT1=(STRNAME=J2WRKCKPT1,INUSE=YES,VOLATILE=NO)
The $HASP829 message displays the CKPT1 value when the checkpoint data set resides on a coupling facility structure. Note that the $HASP829 message displays a STRNAME= value, but no DSNAME= or VOLSER= values.
216
$D CKPTSPACE
Syntax
$D CKPTSPACe ,BERTFREE ,BERTNUM ,BERTWARN
,CKPT1=
CAPACITY UNUSED
,CKPT2=
CAPACITY UNUSED
Parameters
BERTFREE The current number of free BERT entries. BERTNUM The number of BERT (Block Extent Reuse Table) entries defined in the checkpoint. BERTWARN The threshold of BERT utilization at which the $HASP050 message should be issued. CKPT1=(CAPACITY|UNUSED) Displays information about the number of 4K records in the checkpoint data set. CAPACITY The maximum capacity of the CKPT1 data set in 4K records. UNUSED The number of 4K records that are unused by the CKPT1 data set. CKPT2=(CAPACITY|UNUSED) Displays information about the number of 4K records in the checkpoint data set. CAPACITY The maximum capacity of the CKPT2 data set in 4K records. UNUSED The number of 4K records that are unused by the CKPT2 data set.
Authority Required
This command requires display authority. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MAS-wide. This command displays information about the entire MAS.
217
$D CKPTSPACE
Messages
The $HASP852 message displays the current values of all the parameters on the CKPTSPACE initialization statement.
Example
1 $d ckptspace $HASP852 CKPTSPACE BERTNUM=6000,BERTFREE=5914,BERTWARN=80, $HASP852 CKPT1=(CAPACITY=168,UNUSED=5), $HASP852 CKPT2=(CAPACITY=168,UNUSED=5)
218
$D COMPACT
Syntax
$D COMPACT Selection limiting keywords
,CHARS
,NAME
,NUMBER
, /
NAME
= ^= > <
name
, /
NUMBER
= ^= > <
number
Parameters
CHARS Specifies the characters defined in the compaction table (dd,m1,m2,...mn,x1,x2,...xn). dd A decimal number specifying the number of master characters. m1,...mn The master characters compacted by this compaction table. There will be dd of these master characters listed. x1,...xn Non-master characters which are not compacted. COMPACT Displays JES2 compaction tables. NAME=name The 1 to 8 character table name which can be used in JCL to reference this compaction table. NUMBER=number The number (1-99) assigned to this compaction table for reference by JES2.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned.
Chapter 5. Command Reference Section
219
$D COMPACT
This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The values supplied for this command will be in effect for this member only.
Messages
The $HASP468 message displays the compaction table.
Example
1 $d compact,name=dataset2 $HASP468 COMPACT NAME=DATASET2,NUMBER=2,CHARS=(15,F0,F1,F2,F3, $HASP468 F4,F5,F6,F7,F8,F9,C1,C5,C9,D6,E4,40,4D,5B,5D, $HASP468 6B,C2,C3,C4,C6,C7,C8,D2,D3,D4,D5,D7)
220
$D CONDEF
Syntax
$D CONDEF ,AUTOCMD ,BUFFREE ,BUFNUM ,BUFWARN
,CMDNUM
,CONCHAR
,DISPLEN
,DISPMAX
,MASMSG
,RDIRAREA
,RDRCHAR
,SCOPE
Parameters
AUTOCMD Specifies the number (2-9999) of automatic commands that can be active concurrently in JES2. The value should be large enough to permit operators to leave a JES2 dynamic display in each user defined (out of line) area of all MCS consoles. BUFFREE Display the current number of free console message buffers in private storage. BUFNUM Displays the number of console message buffers to be provided for JES2 from private storage (above 16-megabytes in virtual storage). The value displayed for BUFNUM has been rounded up to the next page boundary to take advantage of available storage. BUFWARN Displays the percentage of console message buffers used at which the $HASP050 message alerts the operator of a shortage of console message buffers. CMDNUM Displays the maximum number of console message buffers to be allocated from common storage for JES2 command processing. CONCHAR A single character used to identify JES2 commands from MCS consoles. One of the following characters will be displayed:
| % @ : . $ + / ? # = [ _ ] ( ! * & "
DISPLEN Displays the length that is used for the displays and error message processing of: v All initialization statements v Those commands processed by $SCAN (most of those commands are the $D and $T commands for initialization statement parameters) v The $DU command.
Chapter 5. Command Reference Section
221
$D CONDEF
DISPMAX Displays the maximum number of lines that JES2 displays for those requests processed by the $SCAN facility. Those requests include initialization parameters and the $T and $D commands for initialization parameters. MASMSG Displays the maximum number of messages or commands that can be queued between any two members of a multi-access spool configuration. RDIRAREA Displays the default console out-of-line area which JES2 uses to direct display responses for commands subject to redirection. All redirectable commands which do not use either an L= or do not have redirection set up on the issuing console for that command have their responses directed to the RDIRAREA specification. RDRCHAR Displays the character used to identify all JES2 operator commands entered from a local or remote card reader. One of the following characters will be displayed:
| % @ : . $ + / ? # = [ _ ] ( ! ) & * "
SCOPE Specifies whether the command prefix specified on the CONCHAR parameter is recognized by this MVS system only, or by all MVS systems in the sysplex. SCOPE=SYSTEM specifies that the prefix is recognized by this MVS system, but if the command was entered on a different MVS system, that system would not recognize or send the command to this system. SCOPE=SYSPLEX specifies that the prefix is recognized as belonging to this system no matter which MVS system in the sysplex the command was entered on, and, if necessary, is routed to the correct MVS system for processing by this subsystem.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP830 message displays the current values of all the parameters on the CONDEF statement.
222
$D CONDEF
Example
1 $d condef $HASP830 CONDEF AUTOCMD=20,CONCHAR=$,BUFNUM=10013,CMDNUM=100, $HASP830 BUFFREE=10013,BUFWARN=80,MASMSG=200,RDIRAREA=Z, $HASP830 RDRCHAR=$,SCOPE=SYSTEM,DISPLEN=64,DISPMAX=100
JES2 displays all the console communication characteristics. Note that the value displayed for BUFNUM has been rounded up to the next page boundary to take advantage of available storage.
223
$D CONNECT
Syntax
$D CONNect Selection limiting keywords
,CES
MA MEMBA MEMBERA
MB MEMBB MEMBERB
NA NODEA
NB NODEB
,PATHMGR
,PRIVATE
,REST
,STATE
,STATIC
,STATUS
,TIME
, /
MA MEMBA / MEMBERA /
membera
224
$D CONNECT
, /
MB MEMBB / MEMBERB /
memberb
, /
NA NODEA /
nodea
, /
NB NODEB /
nodeb
, /
PATHMGR
= ^=
No RESET Yes
, /
PRIVATE
= ^=
No Yes
, /
REST
= ^= > <
rest
, /
STATE
= ^=
, /
STATIC
= ^=
No Yes
, /
STATUS
= ^=
Parameters
CES Displays the connection event sequence (CES) for non-static connections. MA|MEMBA|MEMBERA[=membera] The member number at the NODEA end of the connection. You can specify the MEMBERA parameter without any keyword to obtain information about all members, or you can specify the member number to obtain information about a specific member. Default: The default is 1. The value for MEMBERA if NODEA is the local node must be a 1. If the member number is greater than a 1 for the local node, the command is rejected. MB|MEMBB|MEMBERB[=memberb] The member number at the NODEB end of the connection. You can specify the MEMBERB parameter without any keyword to obtain information about all members, or you can specify the member number to obtain information about a specific member. Default: The default is 1. The value for MEMBERB if NODEB is the local node must be a 1. If the member number is greater than a 1 for the local node, the command is rejected. NA|NODEA[=nodea] The node name at one end of the connection. You can specify the NODEA parameter without any keyword to obtain information about all connections, or
Chapter 5. Command Reference Section
225
$D CONNECT
you can specify the 1 to 8 alphanumeric or special ($, #, or @) symbolic node name (xxxxxxxx) or node number (nnnn) to obtain information about a specific node. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. You must specify the NAME= parameter of the NODE initialization statement for the referenced node or the node number. NB|NODEB[=nodeb] The node name at the other end of the connection. You can specify the NODEB parameter without any keyword to obtain information about all connections, or you can specify the 1 to 8 alphanumeric or special ($, #, or @) symbolic node name (xxxxxxxx) or node number (nnnn) to obtain information about a specific node. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. You must specify the NAME= parameter of the NODE initialization statement for the referenced node. PATHMGR[=No|RESET|Yes] Displays whether this connection supports path manager type protocols. PRIVATE[=No|Yes] Displays whether the connection between this node and an adjacent node is broadcast to the rest of the network. REST[=rest] Displays an integer (0-2000) that represents the resistance rating of the connection as viewed by the installation manager and coordinated with other installations. You can specify wildcards on this parameter. See Using wildcards on page 98 for additional information. For information about resistances, see z/OS JES2 Initialization and Tuning Guide. STATIC[=No|Yes] Displays whether (YES) or not (NO) the connection is static. STATUS[=ACTIVE|HELD|INACTIVE] Displays the status of the connection. The following are valid types of status: ACTIVE JES2 displays only active connections, which include the following (in addition to ACTIVE without qualification): ACTIVE(HELD) is displayed when a static connection exists but the underlying connection is in the process of signing on. ACTIVE(INACTIVE) is displayed when a static connection exists but the underlying connection is inactive. INACTIVE JES2 displays only inactive connections. HELD JES2 only displays connections in the process of signing on. STATE[=EXTRA|INUSE|PENDING|RESTMAX| UNCONNECTED] This parameter further describes the state of an active connection. It is only displayed when STATUS=ACTIVE. The keyword values and their meanings are:
226
$D CONNECT
EXTRA Connection is currently not a part of any path and is not needed to reach any node. INUSE Connection is currently in use in some path to a node. PENDING An INUSE STATIC connection to an adjacent node for which the corresponding line is not currently signed on. RESTMAX Connection is not in use because all paths that can make use of it have reached their resistance limit (as specified on NJEDEF RESTMAX). UNCONNECTED Static connection between two nodes, neither of which are reachable by any path. TIME Displays the time JES2 received the connection record for a connection or the time the operator issued a command that changed a static connection.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP815 message is issued in response to this command. | | Note: This command will only display one connection. If there is more than one connections, only the first will be displayed.
Examples
An operator is able to display all existing connections between a set of nodes in the network. For example,
1 $D CONNECT,NODEA=PHOENIX,NODEB=TUCSON
The above example displays all existing connections between members of the node PHOENIX and the node TUCSON. Characters such as an * can also be used. For example,
2 $D CONNECT,NODEA=POK*,NODEB=PHOENIX,MEMBB=2
227
$D CONNECT
This example displays all direct connections between nodes that begin with POK, and member 2 of the PHOENIX node.
3 $D CONNECT,NODEA=PHOENIX,MEMBA=2
The above example displays all direct connections into member 2 of the PHOENIX node.
228
$D DESTDEF
Syntax
$D DESTDEF ,LOCALNUM ,Ndest ,NODENAME ,Rdest
,RMdest
,RMTdest
,SHOWUSER
,Udest
Parameters
LOCALNUM Displays the maximum special local routing allowed on this system. Ndest Displays how JES2 interprets destinations of the form Nnnnn. JES2 either interprets Nnnnn and NnnnnRmmmm as a node (NODE) or as a userid (USER). NODENAME Displays the nodename. Rdest Displays how JES2 interprets destinations of the form Rmmmm and NnnnnRmmmm. JES2 either interprets Rmmmm as a remote work station (REMOTE) or as a userid (USER). RMdest Displays how JES2 interprets destinations of the form RMmmmm. JES2 either interprets RMmmmm as a remote work station (REMOTE) or as a userid (USER). RMTdest Displays how JES2 interprets destinations of the form RMTmmmm. JES2 either interprets RMTmmmm as a remote work station (REMOTE) or as a userid (USER). SHOWUSER Displays whether destinations for the local node that have user routings are displayed with a LOCAL. prefix (WITHLOCAL) or not (NOLOCAL). Udest Displays how JES2 interprets destinations of the form Unnnn. JES2 either interprets Unnnn as a special local route code (SPLOCAL) or as a userid (USER).
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned.
229
$D DESTDEF
This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
The scope of this command varies by parameter. The values supplied for the LOCALNUM and SHOWUSER parameters will display information about this member only. Depending on your installations setup, however, you might want to use these parameters to get information about all members of the MAS. If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). The values supplied for all other parameters are MAS-wide and will display information about the entire MAS. See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP812 message displays the current status of DESTDEF parameters in the installation.
Example
1 $d destdef $HASP812 DESTDEF LOCALNUM=9999,NDEST=USER,RDEST=USER,RMDEST= $HASP812 REMOTE,RMTDEST=REMOTE,UDEST=USER,SHOWUSER= $HASP812 WITHLOCAL
JES2 displays an installation where destids prefixed by N, U, and R can be userids. JES2 processes destids prefixed by either RM or RMT as remote work stations and displays the LOCAL. prefix for all route codes.
230
$D DEStid
Syntax
$D DEStid xxxxxxxx , ( xxxxxxxx xxxxxxxx ) Selection limiting keywords
,DEST
,PRIMARY
,STATUS
, /
PRIMARY
= ^=
No Yes
, /
STATUS
= ^=
Parameters
xxxxxxxx Specifies the 1 to 8 alphanumeric or special ($, #, or @) character symbolic destination name you want to display. You may specify a particular symbolic destination name or use wildcards (for example, POK* or *). See Using wildcards on page 98 for additional information. DEST Displays the route code JES2 uses to route data. PRIMARY[=No|Yes] Displays whether this is a primary destid.
Chapter 5. Command Reference Section
231
$D DEStid
STATUS[=DESTID|NODENAME|NODENAME+DESTID] Displays whether this is a node (or NJE node name) or a destid. The status displayed will be one of the following values: v STATUS=NODENAME+DESTID v STATUS=NODENAME v STATUS=DESTID
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure that the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP822 message displays the current values of all the parameters on the DEStid initialization statement.
Examples
1 $D DESTID(*) $HASP822 DESTID(POK) DEST=N1,STATUS=NODENAME+DESTID, $HASP822 PRIMARY=NO $HASP822 DESTID(REMOTE20) DEST=R20,STATUS=DESTID,PRIMARY=NO $HASP822 DESTID(REMOTE21) DEST=R21,STATUS=DESTID,PRIMARY=NO $HASP822 DESTID(REMOTE22) DEST=R22,STATUS=DESTID,PRIMARY=NO $HASP822 DESTID(REMOTE23) DEST=R23,STATUS=DESTID,PRIMARY=NO $HASP822 DESTID(REMOTE24) DEST=R24,STATUS=DESTID,PRIMARY=NO $HASP822 DESTID(REMOTE25) DEST=R25,STATUS=DESTID,PRIMARY=NO $HASP822 DESTID(REMOTE26) DEST=R26,STATUS=DESTID,PRIMARY=NO $HASP822 DESTID(REMOTE27) DEST=R27,STATUS=DESTID,PRIMARY=NO $HASP822 DESTID(REMOTE34) DEST=R34,STATUS=DESTID,PRIMARY=NO $HASP822 DESTID(REMOTE5) DEST=R5,STATUS=DESTID,PRIMARY=NO $HASP822 DESTID(SANJOSE) $HASP822 DESTID(SANJOSE) DEST=N3,STATUS=NODENAME+DESTID, $HASP822 PRIMARY=NO $HASP822 DESTID(WSC) $HASP822 DESTID(WSC) DEST=N2,STATUS=NODENAME+DESTID, $HASP822 PRIMARY=NO
$HASP822 DESTID(NODE4) $HASP822 DESTID(NODE4) DEST=N4,STATUS=NODENAME+DESTID, $HASP822 PRIMARY=NO $HASP822 DESTID(POK) $HASP822 DESTID(POK) DEST=N1,STATUS=NODENAME+DESTID, $HASP822 PRIMARY=NO $HASP822 DESTID(SANJOSE)
232
$D DEStid
$HASP822 DESTID(SANJOSE) DEST=N3,STATUS=NODENAME+DESTID, $HASP822 PRIMARY=NO $HASP822 DESTID(WSC) $HASP822 DESTID(WSC) DEST=N2,STATUS=NODENAME+DESTID, $HASP822 PRIMARY=NO
JES2 displays all destids that have a status of nodename and destid.
3a $D DESTID(FAXROOM) DEST=U3,STATUS=DESTID,PRIMARY=YES
$HASP822 DESTID(FAXROOM)
JOB00007 $HASP686 OUTPUT(DIA) $HASP686 OUTPUT(DIA) OUTGRP=1.1.1,BURST=NO,FCB=****, $HASP686 FLASH=****,FORMS=DXP,HOLD=(NONE), $HASP686 HOLDRC=,OUTDISP=LEAVE,PAGES=, $HASP686 PRIORITY=12,PRMODE=LINE,QUEUE=1, $HASP686 RECORDS=(37 OF 37),ROUTECDE=FAXROOM, $HASP686 SECLABEL=,TSOAVAIL=NO,UCS=****, $HASP686 USERID=PIKE,WRITER=
The series of examples above shows that multiple names (aliases) may exist for a destination. The PRIMARY parameter indicates what the alias is to be resolved to when the DEST of a job or SYSOUT is U3. For example, if SYSOUT is routed to U3, as in the last example of the series, any displays of this output display FAXROOM.
233
$D ESTBYTE
$D ESTBYTE - Display Number of Bytes Set for Jobs and their Output Function
To display the estimated number of bytes set for jobs and their output.
Syntax
$D ESTBYTE ,INT ,NUM ,OPT
Parameters
INT Displays the estimated interval, in thousands of bytes of spool space, for jobs and their output. NUM Displays the estimated number, in thousands of bytes of spool space, for jobs and their output. OPT Displays the action (0, 1, or 2) JES2 takes when a job exceeds the estimated spool utilization: 0 1 2 job is allowed to continue execution job is cancelled without a dump job is cancelled with a dump
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure that the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single Member. The response to this command will be a display of information about this member only.
Messages
The $HASP845 message displays the keywords defined and their current values.
Example
1 $d estbyte $HASP845 ESTBYTE NUM=99999,INT=99999,OPT=0
234
$D ESTLNCT
$D ESTLNCT - Display number of lines for jobs and their output Function
To display the estimated number of lines for jobs and their output.
Syntax
$D ESTLNCT ,INT ,NUM ,OPT
Parameters
INT Displays the estimated lines for jobs and their output. NUM Displays the estimated number, for jobs and their output. OPT Displays the action (0, 1, or 2) JES2 takes when a job exceeds the estimated spool utilization: 0 1 2 job is allowed to continue execution job is cancelled without a dump job is cancelled with a dump
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure that the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only.
Messages
The $HASP845 message displays the keywords defined and their current values.
Example
1 $d estlnct $HASP845 ESTLNCT NUM=4,INT=4000,OPT=0
235
$D ESTPAGE
$D ESTPAGE - Display number of pages set for jobs and their output Function
To display the estimated number of pages set for jobs and their output.
Syntax
$D ESTPAGE ,INT ,NUM ,OPT
Parameters
ESTPAGE The $HASP845 message displays the current processing estimates set for jobs and their output. INT Displays the interval, in number of pages, for jobs and their output. NUM Displays the estimated number of pages for jobs and their output. OPT Displays the action (0, 1, or 2) JES2 takes when a job exceeds the estimated spool utilization: 0 1 2 job is allowed to continue execution job is cancelled without a dump job is cancelled with a dump
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure that the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only.
Messages
The $HASP845 message displays the keywords defined and their current values.
Example
1 $d estpage $HASP845 ESTPAGE NUM=40,INT=10,OPT=0
236
$D ESTPUN
$D ESTPUN - Display number of punch pages set for jobs and their output Function
To display the estimated number of punch pages set for jobs and their output.
Syntax
$D ESTPUN ,INT ,NUM ,OPT
Parameters
ESTPUN The $HASP845 message displays the current processing estimates set for jobs and their output. INT Displays the interval, in cards, for jobs and their output. NUM Displays the estimated punch card output for jobs and their output. OPT Displays the action (0, 1, or 2) JES2 takes when a job exceeds the estimated spool utilization: 0 1 2 job is allowed to continue execution job is cancelled without a dump job is cancelled with a dump
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure that the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only.
Messages
The $HASP845 message displays the keywords defined and their current values.
Example
1 $d estpun NUM=100,INT=2000,OPT=0 $HASP845 ESTPUN
237
$D ESTIME
$D ESTIME - Display amount of time set for jobs and their output Function
To display the estimated amount of time set for jobs.
Syntax
$D ESTIME ,INT ,NUM ,OPT
Parameters
ESTIME The $HASP845 message displays the current processing estimates set for jobs and their output. INT Displays the interval, in minutes, for jobs and their output. NUM Displays the default estimated time execution for jobs and their output. OPT Displays the action (Yes or No) JES2 takes when a job exceeds the estimated spool utilization: Yes Specifies that the $HASP308 message is issued. No Specifies that the $HASP308 message is not issued.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure that the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only.
Example
1 $d estime NUM=40,INT=10,OPT=Yes $HASP845 ESTIME
238
$D EXIT
Syntax
$D EXIT nnn , ( nnn * ) nnn * nnn *
,ENViron
,ROUtines
,SPLEVEL
,STATUS
,TRace
,USECOUNT
, /
ENViron
= ^=
, /
SPLEVEL
= ^=
CHECK NOCHECK
, /
STATUS
= ^=
, /
TRace
= ^=
No Yes
Parameters
EXIT(nnn|*) The $HASP823 message displays the current characteristics of the specified JES2 exit points.
Chapter 5. Command Reference Section
239
$D EXIT
ENViron[=FSS|JES2|MIXED|SUBTASK|USER] Displays the environment in which the exit gains control. You can specify the ENVIRON parameter without an environment keyword, or you can specify an environment if you are requesting information about all modules in that environment only (for example, ENV=USER). Valid keyword values for the D MODULE ENV= parameter and their meanings are: Value Meaning FSS JES2 MIXED Display only those exits that are entered in the same environment. Having a module with routines defined for different environments is rare in IBM modules, and is not recommended in installation-defined modules. SUBTASK Display only those exits that are entered in the JES2 address space subtask environment. USER Display only those exits that are entered in the multi-address-space user environment. ROUtines Display only those exits that are entered in the $ENTRY macros in a module. These routines are available for use through the EXIT(nnn) initialization statement. Only routine names in installation-provided modules or in IBM-provided sample exit modules will be included. SPLEVEL[=CHECK|NOCHECK] Display only those exits that are entered in the SPLEVEL= parameter on the $MODULE macro. Optionally, you can display only those modules that have assigned a specific value to the $MODULE SPLEVEL= parameter by coding one of the following keywords: Value Meaning CHECK Display only those modules that specified CHECK on the $MODULE SPLEVEL= parameter. NOCHECK Display only those modules that specified NOCHECK on the $MODULE SPLEVEL= parameter. STATUS={DISABLED|DISABLED/ENTERED|ENABLED} Display the current state of the exit in: DISABLED The exit is not to be entered. DISABLED/ENTERED The exit received control even though it is in a disabled state. Display only those exits that are entered in the FSS address space environment. Display only those exits that are entered in the JES2 address space main task environment.
240
$D EXIT
ENABLED The exit is to be entered at the appropriate point in processing. TRace[=No|Yes] Specifies whether the execution of this exit is to be traced (Yes) or not (No). USECOUNT Displays a count of processes using the exit at this time.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure that the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP823 messages displays the characteristics of JES2 exit points.
Examples
1 $d exit(5) STATUS=ENABLED,ENVIRON=JES2, ROUTINES=(OURCMD,QUEBRK),SPLEVEL=CHECK, TRACE=YES,USECOUNT=0 $HASP823 EXIT(5) $HASP823 $HASP823
JES2 displays the current status of $EXIT 5. The exit is enabled, and routines OURCMD and QUEBRK will get control whenever exit 5 is entered.
2 $d exit(*),status=enabled,routines ROUTINES=(OURCMD,QUEBRK) ROUTINES=(FIXMAP) ROUTINES=(FREEMAP)
JES2 displays all enabled $EXITs, and the routines associated with each.
241
$D F
Syntax
$D ,R= LOCAL|ANYLOCAL Nnnnn|nodename destid NnnnnRmmmm Ummmm node.remote node.userid node.destid remote userid * node.* node.* node.* ,J= J|JOBn-n S|STCn-n T|TSUn-n ,D= H HELD A ALL F Nnnnn-Nnnnn Rmmmm-Rmmmm Unnnn-Unnnn NnnnnRmmmm-NnnnnRmmmm
Parameters
F R= Specifies a destination for a piece of output. Indicates that output sent to the specified destinations can be selected. The value for all routing numbers can range from 1 to 32767. You can also specify wildcards on this parameter. See Route codes on page 97 for a description of how to specify route codes and Using wildcards on page 98 for information on wildcards. JES2 displays the number of data sets queued for output.
242
$D F
If this command originates from another node in the network and the R= operand does not specify a node (first-level destination), the receiving node defaults the first-level destination to the node where the command originated. If this command is sent to another node in the network using the $N command, be aware that the receiving node will default the node (first-level destination) of the R= operand to the sending node. If another node is desired, specify a destination on the R= operand that will resolve to the desired node (first level destination) at the receiving node. Note: NODENAME=REQUIRED on the DESTDEF initialization statement will cause JES2 to require that a userid be prefixed with a node name. Valid specifications are: LOCAL|ANYLOCAL Indicates that only output for the local node is displayed. Nnnnn|nodename Indicates that output for jobs is displayed at the node(s) specified through the decimal node identifier or an EBCDIC nodename. destid Indicates that only output for the node(s) represented by the destid is displayed. NnnnnRmmmm|node.remote|node.userid Indicates that output for jobs is displayed at remote Rmmmm at the node Nnnnn. Rmmmm can also be specified as RMmmmm or RMTmmmm. Ummmm Indicates that job output is displayed as special local routing. Wildcards are not supported. node.destid Indicates that output for a job is displayed at a destination at the specified node. The destid refers to both the node and the remote. The node specified in the destid must be the same as the node portion of the route code. If the number of the remote has been reassigned, you can use the destid to send to this node. remote Indicates job output display routing to a remote. Remote can be specified in any of the following ways: LOCAL|ANYLOCAL Indicates that output for the jobs is displayed at the local node. Rmmmm Indicates that output for the jobs is displayed at the specified remote. destid Indicates that output for the jobs is displayed at a destid that refers to a remote. userid Indicates routing to a valid TSO userid. If the userid ends in *, this route code refers to all userids beginning with the characters that precede the *, up to but not including the *. For more information about specifying userids as remotes, refer to Route codes on page 97.
243
$D F
* node.* Displays output for all userids at the local node. node.*-node.* Displays all output for each node in the range. The range may include the local node. Nnnnn-Nnnnn Displays all output for each node in the range. The range may include the local node. Rmmmm-Rmmmm Displays all output for each remote in the range. Unnnn-Unnnn Displays all output for each special local node in the range. Wildcards are not supported. NnnnnRmmmm-NnnnnRmmmm Displays a range of remotes at a node. Both node identifiers must be the same. J=J|JOBn[-n] The batch job or range of batch jobs for which job output information is displayed. J=S|STCn[-n] The started task or range of started tasks for which job output information is displayed. J=T|TSUn[-n] The time-sharing user or range of time-sharing users for whom job output information is displayed. D=H|HELD|A|ALL D=(A|ALL) tells JES2 to consider ready output groups even if the owning job is held. D=(H|HELD) tells JES2 to only count ready output groups belonging to held jobs. If you omit this parameter, JES2 displays job output information for all jobs. Displays all output for the local node, including special local, userid, and a remote workstation on the local node.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MAS-wide. This command can display information about jobs on any or all members of the MAS depending on the parameters you provide.
Messages
The $HASP621 message displays the destination and processing requirements of the work on the output forms queue.
244
$D F
Example
1 $df,r=local C=**** T=**** W= (NONE) A=3 B=1 $HASP621 OUT R=LOCAL F=STD $HASP621 PRMODE=LINE CLASS
JES2 displays job output information for released jobs that route their output to remote workstations off the local node.
245
$D FSS
Syntax
$D FSS FSSDef accccccc , ( accccccc accccccc )
,ASID
,AUTOstop
,FSSMADDR
,FSSMPTF
,FSSMLENG
,FSSMAPAR
,HASPFSSM
,LONG
,PROC
, /
ASID
= ^= > <
asid
, /
AUTOstop
= ^=
No Yes
, /
HASPFSSM
= ^= > <
haspfssm
, /
PROC
= ^= > <
proc
Parameters
ASID=asid Displays the ASID of the address space in the functional subsystem. AUTOstop={No|Yes} Specifies whether (Yes) or not (No) the FSS address space is to be stopped (shut down) if all the devices attached to the FSS are drained. FSSMADDR Displays the hexadecimal address where the HASPFSSM module in use by this FSS has been loaded into storage (in the address space indicated by the ASID= parameter). This parameter is only displayed when the FSS is active and LONG is specified on the display command.
246
$D FSS
FSSMAPAR Displays the last service applied to the HASPFSSM module in use by this FSS. This parameter is only displayed when the FSS is active and LONG is specified on the display command. FSSMLENG Displays the length of the HASPFSSM module in use by this FSS. This parameter is only displayed when the FSS is active and LONG is specified on the display command. FSSMPTF Displays the last PTF maintenance applied to the HASPFSSM module by this FSS. This parameter is only displayed when the FSS is active and LONG is specified on the display command. HASPFSSM=haspfssm The 1 to 8 character name of the load module that is loaded into the functional subsystem address space. This load module contains the various JES2-supplied FSI service routines. LONG Displays additional information. Note: Because LONG= automatically triggers a long display, you cannot add additional display-limiting parameters to this command; however, you can add selection-limiting parameters. PROC=proc Specifies the 1 to 8character name of the procedure in SYS1.PROCLIB that contains the JCL required to start the functional subsystem.
Authority Required
The scope of some commands varies by parameter. Some parameters on certain commands will display information about the entire MAS, while other parameters will display information about this member only. For those commands that are single member scope, or have some parameters that are single member scope, you might want to use the parameters for that command to get information about all members of the MAS. If so, you can use the MVS ROUTE *ALL command to issue that command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Scope
Single member. The response to this command will be a display of information about this member only.
Messages
The individual parameter descriptions list the resulting messages.
Example
1 $d fss(psf1) PROC=WTR3800S,HASPFSSM=HASPFSSM, AUTOSTOP=NO $HASP824 FSS(PSF1) $HASP824
247
$D INITDEF
Syntax
$D INITDEF ,PARTNUM
Parameters
PARTNUM The number of JES2 initiators on this member.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure that the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for his member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP468 message displays the number of JES2 logical initiators currently defined.
Example
1 $d initdef $HASP468 INITDEF PARTNUM=10
248
$D I[nnmm]
Syntax
$D I Init nn init , ( nn * init init ) mm * mm *
,ACTCLASS
,ASID
,Class
,INELigible_class
,JOBID
,JOBNAME
,Long
,STATUS
,STC
, /
ACTCLASS
= ^= > <
actclass
, /
ASID
= ^= > <
asid
, /
Class
= ^= > <
class
, /
JOBID
= ^= > <
jobid
249
$D I[nnmm]
, /
JOBNAME
= ^= > <
jobname
, /
NAME
= ^= > <
name
, /
STATUS
= ^=
, /
STC
= ^= > <
stc
Parameters
I[init[-init]] Specifies the subscript (1-9999) of the initiator(s) that are displayed. Note: JES2 commands do not recognize JES2controlled initiators that are numbered (with subscripts) greater than the PARTNUM= specification on the INITDEF initialization statement. ACTCLASS=actclass Displays the job class of the job being actively processed by the initiator. ASID=asid Displays the ASID of the address space in which the initiator is running. Class=class Displays the list of classes associated with the initiator. Classes associated with the initiator but ineligible to select work are not displayed in the list (but are matched on a filter). INELigible_class Displays those classes which are associated with the initiator but ineligible to select work. Classes are displayed with an indicator as to why the class is eligible: HELD The initiator cannot select work in this job class because the job class is held. WLM The initiator cannot select work from this job class because it is a WLM-mode job class. JOBID=jobid Displays the job id of the job active on this initiator. JOBNAME=jobname Displays the job name of the job active on this initiator. Long Specifies the long form of the display. Note: Because LONG automatically triggers a long display, you cannot add additional display-limiting parameters to this command; however, you can add selection-limiting parameters.
250
$D I[nnmm]
STATUS={ACTIVE|DRAINED|DRAINING|HALTED| HALTING|INACTIVE|RESTARTING|STARTING} Displays the current state of the initiator. ACTIVE A job is active on the initiator. DRAINED The initiator is drained. DRAINING The initiator is transitioning to a DRAINED state. HALTED The initiator has been halted through a $Z I command. INACTIVE The initiator has been started but has not selected a job. RESTARTING The initiator has terminated abnormally and is in the process of restarting automatically. STARTING The initiator has been started but has not fully initialized yet. STC=stc Displays the job id of the initiator STC.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. There is no need to issue this command for all members of the MAS.
Messages
The $HASP892 message displays the status of the specified initiators.
Examples
1 $d i1 $HASP892 INIT(1) STATUS=INACTIVE,CLASS=A,NAME=1,ASID=0017
JES2 displays the status of initiator 1 and its assigned job class.
2 $d i2,long $HASP892 INIT(2) $HASP892 $HASP892 STATUS=ACTIVE,CLASS=A,NAME=1,ASID=0017, JOBID=JOB00013,JOBNAME=JLNKCLW2,ACTCLASS=A STC=STC00004
251
$D I[nnmm]
When you specify the LONG operand, additional information (JOBNAME, ACTCLASS, and STC) is displayed.
3 $d i3 $HASP892 INIT(3) $HASP892 $HASP892 STATUS=ACTIVE,CLASS=C, INELIGIBLE_CLASS=(A-HELD,B-WLM),NAME=3, ASID=0018
Initiator 3 is displayed. Job classes A, B, and C were all specified in the class list for initiator 3, but the initiator cannot select from class A because the job class is held and cannot select from class B because it is a WLM-mode job class.
4 $di $HASP892 $HASP892 $HASP892 $HASP892 $HASP892 $HASP892 $HASP892 $HASP892 $HASP892 $HASP892 5 $di4 $HASP892 INIT(4) STATUS=DRAINED,CLASS=ABC,NAME=44 INIT(1) INIT(2) INIT(3) INIT(4) INIT(5) INIT(6) INIT(7) INIT(8) INIT(9) INIT(10) STATUS=INACTIVE,CLASS=A,NAME=1,ASID=012E STATUS=DRAINED,CLASS=AB,NAME=1 STATUS=DRAINED,CLASS=ABC,NAME=44 STATUS=DRAINED,CLASS=ABC,NAME=44 STATUS=DRAINED,CLASS=JX,NAME=5 STATUS=DRAINED,CLASS=A,NAME=6 STATUS=DRAINED,CLASS=A,NAME=7 STATUS=DRAINED,CLASS=A,NAME=8 STATUS=DRAINED,CLASS=JX,NAME=9 STATUS=DRAINED,CLASS=A,NAME=10
Display initiator, first as name of 44, then if not found, number of 44.
8 $di(4) $HASP892 INIT(4) STATUS=DRAINED,CLASS=ABC,NAME=44
252
$D I[nnmm]
Display initiator with name of 1, then if not found, number of 1.
253
$D INTRDR
Syntax
| | | | | | | |
$D INTRDR Selection limiting keywords
,BATCH
,Class
,Hold
| | | | |
,HONORlim
,PRTYINC
,PRTYLIM
,Sysaff
,TRace
| |
Parameters
Auth=[Device|Job|System] Displays the command authority for internal readers. BATCH Displays whether internal readers defined through RDINUM can be used to process batch jobs. Class Displays the default job class to be assigned to all jobs submitted through the internal reader.
254
$D INTRDR
Hold Displays whether jobs submitted through the internal reader are to be held after conversion. HONORlim Specifies if the data sets sent to the internal reader are to be counted toward the byte limit for a job. INTRDR The $HASP838 message displays the characteristics the current INTRDR initialization statement will give to the internal readers. PRTYINC Displays the value to be added to the selection priority of all jobs submitted through the internal reader. PRTYLIM Displays the highest allowable priority for jobs submitted through the internal reader. Sysaff Displays the default system affinity for jobs submitted through the internal reader. TRace Displays whether tracing is currently active for internal readers.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only.
Messages
The $HASP838 displays the characteristics of the INTRDR initialization statement.
Example
| | | | | |
1 $d intrdr $HASP838 INTRDR AUTH=(DEVICE=NO,JOB=YES,SYSTEM=NO),BATCH=YES, $HASP838 CLASS=A,DCBATTR=NO,HOLD=NO,HONORLIM=NO, $HASP838 PRTYINC=0,PRTYLIM=15,SYSAFF=(ANY), $HASP838 TRACE=NO
255
$D Job
Syntax
$D Job JOBQ JQ Stc Tsu nn job , ( nn * job job * ) mm * mm *
,ARM_element
,BUSY=
,CARDS
,Class
,CMDauth
,CRTIME
Age DAys
,DELAY
,EOM
,HOLD
,Hours
,INITASID
JM JOBMASK
,LONG
,OFFS
,Priority
,Queue
256
$D Job
,REBUILD
,SCHENV
,SCHENV_AFF
,SECLABEL
,SECLABEL_AFF
,SPINNABLE
,SRVCLASS
,STATUS
,Sysaff
,TYPE
,USERID
,XEQNode
, /
ARM_element
= =
No Yes
,BUSY=
, /
CANCEL = = No Yes
, /
CARDS
, /
Class
class
CMDauth
= =
, / /
Age DAys
days
, /
DELAY
= =
BUSY_ON_DEVICE HOLD LIMIT LOCKED MEMBER_STATUS No QUEUE_ERROR SCHENV SECLABEL SPOOLS_NOT_AVAILABLE SYSAFF Yes ALL ARM DUP JOB NONE
, /
EOM
= =
Yes No
, /
HOLD
= =
257
$D Job
, /
Hours
> <
hours
, /
INITASID
initasid
, / / , /
JM JOBMASK
jobmask
, /
= =
Priority
priority
, /
PURGE = = No Yes
, /
Queue
= =
CNV INPUT OUT PPU PURGE RCV SETUP SPIN XEQ XMT schenv
, /
REBUILD
= =
No Yes
, /
SCHENV
= = > <
, /
SCHENV_AFF
= =
, /
SECLABEL_AFF
= =
) SPINNABLE = = No Yes
, /
SECLABEL
= = > <
seclabel
, , / SPOOL / / / / Tgs > < Volumes tgs = = volume , (5) ( volume SPL =( / Percent % > < percent )
258
$D Job
, /
SRVCLASS
= = > < = =
srvclass
, /
Sysaff
, / ) XEQNode = =
TYPE
= =
, /
USERID
= = > <
xeqnode
Notes: 1 2 3 4 5 6 cmdauth can be coded up to 2 times offs can be coded up to 8 times member can be coded up to 33 times member can be coded up to 33 times volume can be coded up to 253 times member can be coded up to 33 times
Parameters
job Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). job The name of the job that is displayed. This name must appear as coded on the JOB statement and must be enclosed in apostrophes. If more than one job exists with this name, no action is taken. Job A Batch job or range of batch jobs is to be displayed. JOBQ|JQ Specifies all jobs, STCs, and TSUs across the MAS for processing. Stc A started task or range of started tasks is to be displayed. Tsu A time-sharing user or range of time-sharing users is to be displayed. Age|DAys<days | Age|DAys>days Specifies the age of affected jobs in days. Only jobs more (with DAYS>nn) or less (with DAYS<nn) than the specified number of days in age are affected, The days are counted from the current hour. ARM_element={No|Yes} Displays whether (Yes) or not (No) the job is registered with the Automatic Restart Management (ARM). | | BUSY= Specifies one of the following:
Chapter 5. Command Reference Section
259
$D Job
| | | | | | v The system name or number on which the job is busy. Note that you can specify a value of 0 to indicate the job is not busy. You can also specify values above 32 to match systems with invalid values in the BUSY value (for example, $DJOBQ,BUSY>32) v YES or ANY, indicating that all busy jobs are to match v NO or NONE, indicating that all non-busy jobs are to match CANCEL=[No|Yes] Cancel only jobs which have been cancelled (Yes) or have not been cancelled (No). CARDS=cards Displays the number of input cards associated with the job. CC=(ABEND|ABENDED|CANcelled|CNVT_abend|CODE| COMPleted|ENDed_by_cc|EOM_failure|JCLerror| SECurity_failure|TYPE) Displays the completion information associated with the job. ABENDED Display only jobs which have abnormally ended. ABEND Displays the ABEND code associated with the jobs termination. CANcelled Display only jobs which were cancelled by the operator. CNVT_abend Display only jobs which have abnormally ended during the conversion phase. CODE Displays the last (or highest) completion code of steps in the job. COMPleted Display only jobs which completed. ENDed_by_cc Display only jobs which were ended by a step completion code. EOM_failure Display only jobs which failed in end-of-memory processing. JCLerror Display jobs which did not execute due to a JCL error. SECurity_failure Display jobs which failed security validation. Class=class Displays the class associated with the job CMDauth=(cmdauth{,cmdauth}) Only the jobs that can be affected from the specified remote(s) or node(s) will be displayed. The valid specifications are: LOCAL|ANYLOCAL Only the local devices at the local node can affect the output. Nnnnn|nodename Only local devices at the specified node can affect the output. Rnnnn Only the specified remote device can affect the output.
260
$D Job
NnnnnRnnnn|nodename.Rnnnn Only the specified remote device at the specified remote node can affect the output. destid A destid corresponding to any of the above remote devices. Note: Specification of the CMDAUTH filter does not override the authority of the console from which the command is issued; both the authority of the console and the specified CMDAUTH filter must match for the job to be affected. | | CRTIME Displays the creation date and time of the job. DELAY={BUSY_ON_HOLD|HOLD|LIMIT|LOCKED| No|QUEUE_ERROR|SCHENV|SECLABEL|SPOOLS_NOT_AVAILABLE|SYSAFF| MEMBER_STATUS|Yes} Displays reasons why a pre-execution job will not enter execution: BUSY_ON_DEVICE The job will not execute because it is busy on a device (such as an offload job transmitter). HOLD The job will not execute because it is held, its job class is held, or another job with the same jobname is executing. LIMIT The job will not execute because the job class execution limit has been reached (as specified by JOBCLASS XEQCOUNT=(MAX=)). LOCKED The job will not execute because its being updated by JES2. SECLABEL The security label (SECLABEL) assigned to the job is not defined as active on any member that is active. SYSAFF Each of the members for which the job has affinity (SYSAFF) is inactive, or the job has specified independent state, and the JES2 member is not independent (IND=NO). SCHENV The jobs scheduling environment is not available on any member, or is available only on systems where JES2 is inactive. Use the $DJjobname,LONG command to find out what scheduling environment a job requires. Then use the D WLM,SCHENV=schenv-name command to find out the current status of the scheduling environment on each system in the sysplex. The SCHENV state masks other reasons why the job might be ineligible to run, such as the $P and $P XEQ commands having been issued. Also, note that the SCHENV delay is detected only after a job goes through conversion. If a job is delayed prior to conversion due to system affinity requirements, scheduling environments are not considered in determining delay status. MEMBER_STATUS A combination of system affinity, scheduling environment and SECLABEL
261
$D Job
restrictions are preventing the job from running, or, other member states prevent the job from running on systems where the job is otherwise eligible. These states include: v $P command has been issued v $P XEQ command has been issued v BOSS=NO (used in a poly-JES environment only) When used as a command filter, the string MEMBER_STATUS matches on jobs delayed for SYSAFF, SCHENV, SECLABEL, or MEMBER_STATUS. To get detail on why a job is delayed, display job status with the $DJjobname,LONG command or display member status with the $DJMEMBER(member-name) command. Yes Display only jobs which are delayed for any of the above reasons. No Display only jobs which are not delayed for any of the above reasons. EOM={No|Yes} Displays whether the job is currently queued to the JES2 address space for end of memory processing. EOM= is only displayed while the job is queued for processing. EOM=NO is never displayed. HOLD Displays the hold status of the job. ALL Display jobs held by the $H A command. JOB Display jobs held by the $H J command, TYPRUN=HOLD, TYPRUN=JCLHOLD, or held due to error. DUP Display jobs held for duplicate job name. ARM Display jobs which are held awaiting restart through ARM. NONE Display jobs which are not held. Hours=hours Specifies the age of affected jobs in hours. Only jobs more (with HOURS>nn) or less (with HOURS<nn) than the specified number of hours in age are affected. INITASID=initasid For initiator jobs, displays the address space identifier (ASID) associated with the initiator. JOBMASK|JM=jobmask Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). For a description of wildcards, see Using wildcards on page 98. Notes: 1. This is a positional parameter. Specify this following the job_id (JOB, STC, or TSU), or JOBQ parameter.
262
$D Job
2. You must specify JOBMASK if you specified either the JOBQ parameter or an asterisk (n-*) on the job_id parameter. 3. The JOBMASK parameter is not valid with the jobname parameter. LONG If you specify the LONG operand, JES2 will display the following information: v The userid of the job v The spool volumes on which the specified jobs have space allocated v The remote consoles or nodes that can enter commands that affect a job (CMDAUTH) v whether the job uses the automatic restart management services. Note: Because LONG automatically triggers a long display, you cannot add additional display-limiting parameters to this command; however, you can add selection-limiting parameters. OFFS=offs Displays offload device numbers on which the job has been archived. Priority=priority Displays the priority of the job. PURGE={No|Yes} Indicates that only jobs which are (Yes) or are not (No) pending purge processing should be displayed. Queue={CNV|INPUT|OUT|PPU|PURGE|RCV| SETUP|SPIN|XEQ|XMT} Only jobs on the specified job queue are to be displayed. CNV Only jobs awaiting conversion are to be displayed. INPUT Only jobs on the JES2 $INPUT queue are to be displayed. OUT Only jobs awaiting output processing are to be displayed. PPU Only jobs awaiting print/punch processing are to be displayed. PURGE Only jobs awaiting purge processing are to be displayed. RCV Only jobs on the JES2 $RECEIVE queue are to be displayed. SETUP Only jobs on the JES2 $SETUP queue are to be displayed. SPIN Only jobs awaiting spin processing are to be displayed. XEQ Only jobs awaiting or in execution are to be displayed. XMT Only jobs queued for network transmission are to be displayed. REBUILD={No|Yes} Jobs on the rebuild queue are to be displayed (Yes) or not displayed (No). SCHENV=schenv Displays the scheduling environment associated with the job.
Chapter 5. Command Reference Section
263
$D Job
SCHENV_AFF=member Displays the JES2 MAS members on which the scheduling environment for this job is available. SECLABEL_AFF=member Displays the JES2 MAS members on which the SECLABEL for this job is available but only if the RACF SECLABEL_BY_SYS is also active. SECLABEL=seclabel Displays the security label associated with the job. SPINNABLE=spinnable Indicates that the JESLOG data sets can be spun (made available) while the job is executing. SPL|SPOOL={Percent|%|Tgs|Volumes} Only jobs with specific SPOOL characteristics are to be displayed: Percent|% Only jobs using more (with %>nn) or less (with %<nn) than the specified percentage of the total available spool space are to be displayed. Tgs Only jobs using more (with Tgs>nn) or less (with Tgs<nn) than the specified number of track groups are to be displayed. Volumes=(v1,v2,...) Only jobs which have allocated spool space on the specified spool volume(s) are to be displayed. SRVCLASS=srvclass Displays the service class of the job. The service class is available for batch jobs only. It is not available for started tasks or time-sharing users. Note: The default workload manager (WLM) policy assigns a service class of blanks to all jobs, and WLM-managed initiators can then select such jobs for processing. Sysaff=member Displays the jobs system affinity. TYPE={JOB|STC|TSU} Indicates whether only batch jobs (JOB), started tasks (STC), or time-sharing users (TSU) are to be displayed. USERID=userid Displays the userid associated with the job. XEQNODE=xeqnode Only jobs which are destined to execute at the specified node, or which have already executed at the specified node, are to be displayed. The node name may be specified using the decimal node number (Nnnnnn) or an EBCDIC node name.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
264
$D Job
Processing Considerations
If you first specify the MVS command CONTROL S,MFORM=J, you can display the job number as well as the job name with the $D job command. For a description of the MVS CONTROL command, see z/OS MVS System Commands.
Scope
MAS-wide. This command displays information about the entire MAS.
Messages
The $HASP890 message displays the current status of the indicated job.
Examples
1 $d jmyjob JOB00017 $HASP890 JOB(MYJOB) $HASP890 JOB(MYJOB) STATUS=(AWAITING EXECUTION),CLASS=H, $HASP890 PRIORITY=9,SYSAFF=(ANY),HOLD=(JOB)
JES2 displays job information for all jobs with the name MYJOB (1 batch job, in hold status).
2 $d j1-*,jm=ieb*
JES2 displays job information for all batch jobs whose job name begins with the characters IEB.
3 $d j1-*,q=ppu,cc $HASP890 $HASP890 $HASP890 $HASP890 JOB(J1) JOB(J2) JOB(J3) JOB(J4) CC=(COMPLETED,CODE=0) CC=(ABENDED,ABEND=(S0C4,U000)) CC=(COMPLETED,CODE=4) CC=(ENDED_BY_CC,CODE=8)
JES2 displays job completion information (the CC parameter) for all batch job awaiting print/punch processing.
4 $d jq,delay=yes,delay $HASP890 $HASP890 $HASP890 $HASP890 JOB(BATCH1) JOB(BATCH2) JOB(BATCH3) JOB(BATCH4) DELAY=(HOLD) DELAY=(HOLD) DELAY=(HOLD,LIMIT,SCHENV) DELAY=(MEMBER_STATUS)
For all delayed jobs in the system (DELAY=YES), JES2 displays the reason for the job not entering execution. In this example, jobs BATCH1 and BATCH2 are delayed because of some form of HOLD, job BATCH3 is delayed for multiple reasons, and BATCH4 is delayed because no system is eligible to select the job.
5 $d jq,delay=schenv,schenv SCHENV=DB2
JES2 displays the scheduling environment for all jobs which will not execute because the scheduling environment is unavailable. In this example, job BATCH3 will not execute because its scheduling environment, DB2, is not available on any active member.
265
$D Job
6 $djmyjob,long
JOB00007 $HASP890 JOB(MYJOB) $HASP890 JOB(MYJOB) STATUS=(EXECUTING/IBM1),CLASS=B, $HASP890 PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE), $HASP890 CMDAUTH=(LOCAL),OFFS=(),SECLABEL=, $HASP890 USERID=IBMUSER,SPOOL=(VOLUMES=(SPOOL1), $HASP890 TGS=6,PERCENT=1.1428),ARM_ELEMENT=NO, $HASP890 CARDS=185,REBUILD=NO,SRVCLASS=DISCRETN, $HASP890 SCHENV=,SCHENV_AFF=(IBM1),CC=()
JOB00007 $HASP890 $HASP890 $HASP890 $HASP890 JOB00018 $HASP890 $HASP890 $HASP890 $HASP890
JES2 displays all jobs which use more than 1% of spool which utilize spool space on volume SPOOL1.
8 $dj36,days<1 JOB00036 $HASP890 JOB(DEST10) $HASP890 JOB(DEST10) STATUS=(AWAITING EXECUTION),CLASS=A, $HASP890 PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE)
266
$D Job
| | | | | | |
12 $djq,q=xeq,busy=no JOB00036 $HASP890 JOB(DEST10) $HASP890 JOB(DEST10) STATUS=(AWAITING EXECUTION),CLASS=A, $HASP890 PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE)
267
$D JOBCLASS(n)
Syntax
$D JOBCLASS jobclass , ( jobclass jobclass * ) -jobclass -jobclass -*
,ACCT
,AUTH
,BLP
,COMMAND
,CONDPURG
,COPY
,HOLD
,IEFUJP
,IEFUSO
,JESLOG
,JOURNAL
,LOG
,MODE
,MSGCLASS
,MSGLEVEL
,NAME
,OUTDisp
,OUTPUT
,PERFORM
,PGMRNAME
,PROCLIB
,QHELD
,REGION
,RESTART
,SCAN
,SCHENV
,SWA
,TIME
,TYPE26
,TYPE6
,XBM
268
$D JOBCLASS(n)
, /
ACCT
= =
No Yes
, /
AUTH
= =
, /
BLP
= =
No Yes
, /
COPY
= =
No Yes
, /
HOLD
= =
No Yes
, /
IEFUJP
= =
No Yes
, /
IEFUSO
= =
No Yes
, /
JESLOG
= =
No Yes
, /
JOURNAL
= =
No Yes
, /
LOG
= =
No Yes
, /
MODE
= =
JES WLM
, /
MSGLEVEL
= =
( statements ,messages
, /
NAME
= = > <
name
, /
OUTPUT
= =
No Yes
, /
PERFORM
= = > <
perform
, /
PGMRNAME
= =
No Yes
, /
PROCLIB
= = > <
proclib
, /
QHELD
= =
No Yes
, /
REGION
= =
region
, /
RESTART
= =
No Yes
, /
SCAN
= =
No Yes
, /
SWA
= =
ABOVE BELOW
269
$D JOBCLASS(n)
, /
TIME
= =
, /
TYPE26
= =
No Yes
, /
TYPE6
= =
No Yes
, /
XBM
= = > <
xbm
MAXimum /
maximum
Parameters
jobclass The subscript defining the job classes to be displayed by this command. Valid class specifications are A-Z , 0-9, STC, TSU, and the wildcards, * and ?. The subscript can specify a specific job class or a range of job classes. Notes: 1. A range of values that includes the letter S includes class S and also STC, and similarly including the letter T includes class T and also TSU (except when the range ends with S or T). This can lead to unexpected data returned by JES2. 2. JOBCLASS(*) includes STC and TSU. This can lead to unexpected data returned by JES2. 3. JOBCLASS(?) includes only the 1character classes (A-Z and 09) and therefore not classes STC and TSU ACCT={No|Yes} Displays whether an account number is required (YES) or not required (NO) on a JCL JOB statement. AUTH{=ALL|CONS|INFO|IO|SYS} Displays the MVS operator command groups that are to be executed. The display will be one of the following: v ALL (to include all operator command types) v CONS (console commands) v INFO (information commands such as display) v IO (input/output commands) v SYS (system commands)
270
$D JOBCLASS(n)
For an explanation of operator command groups and the relationship of JES2 to MVS command groups, refer to z/OS MVS System Commands. BLP{=No|Yes} Displays that either the bypass label processing parameter in the label field of a DD statement is to be ignored (NO) and processed as no label, or that bypass label processing is performed as requested (YES) and the label parameter is processed as it appears. COMMAND[=IGNORE|DISPLAY|EXECUTE|VERIFY] Displays the disposition of commands read from the input stream as follows. IGNORE The command is ignored. DISPLAY The command is displayed and scheduled for execution. EXECUTE The command is scheduled for execution. VERIFY Specifies that the system displays the command, asks the operator whether the command should be executed and, if the operator replies YES, schedules the command for execution. CONDPURG Specifies whether (Yes) or not (No) system data sets (such as JESMSG and SYSMSG) in this jobclass are to be displayed. COPY{=No|Yes} Displays whether (Yes) or not (No) jobs in this job class are to be queued for output processing as though TYPRUN=COPY was specified on the JOB statement for these jobs. HOLD{=No|Yes} Displays whether (Yes) or not (No) jobs in this job class are to be held until a RELEASE command is issued by the operator. IEFUJP{=No|Yes} Displays whether (Yes) or not (no) the IEFUJP installation exit is to be taken when a job is purged. IEFUSO{=No|Yes} Displays whether (Yes) or not (No) the IEFUSO installation exit is to be taken when the SYSOUT limit is reached for a job in this job class. JESLOG{=SPIN|NOSPIN|SUPPRESS} Displays the default processing for the JESLOG data sets (JESMSGLG and JESYSMSG). SPIN JESLOG is spin-eligible. NOSPIN JESLOG will not be spun. SUPPRESS JESLOG will be suppressed. JOURNAL{=No|Yes} Displays whether (Yes) or not (No) job-related information is to be saved in a job journal.
271
$D JOBCLASS(n)
| | | | | | | | Job journaling limits the scope of RESTART=YES. If the JOURNAL=Yes parameter is specified: v JES2 restarts interrupted jobs from the beginning only if the MVS system is unable to restart the job from a step or checkpoint. v RESTART=NO has no effect; all jobs are requeued for execution. (Specifying RD=R|RNC on the JCL JOB statement has the same effect.) If the jobs are not journaled (JOURNAL=No), JES2 always attempts to restart interrupted jobs in this class from the beginning. LOG{=No|Yes} Displays whether (Yes) or not (No) the JES2 job log is to be printed for this job class. MODE={JES|WLM} Displays whether jobs in this class are to be run under JES-mode or WLM-mode initiators. MSGCLASS Specifies the message class (A-Z,0-9) for started tasks or time-sharing users. MSGLEVEL Displays the message level value. The first value specifies the kinds of JCL listed: 0 1 2 JOB statement only Input statements, cataloged procedure statements, and symbolic parameter substitution values Input statements only, including instream procedures.
The second value specifies the kinds of allocation/termination messages listed: 0 1 No messages are to be listed, except in the case of an abnormal termination, in which case allocation/termination messages are listed. Allocation/termination messages are listed.
NAME=name Specifies a job class name to be used in selecting jobs from the job class. OUTDisp=[=HOLD|KEEP|LEAVE|PURGE|WRITE] Displays the default output disposition for JES data sets created for jobs in this class. Output dispositions are: HOLD Hold the output. JES2 does not process the output until you either change the disposition to WRITE or KEEP, or release the output. When the output is released, the disposition changes to WRITE. KEEP Process the output and then keep a copy of it on spool. After processing, the disposition of this output becomes LEAVE. LEAVE JES2 does not process the output until you change the disposition to WRITE or KEEP, or release the output. When the output is released, the disposition changes to KEEP. PURGE Purge the output immediately. WRITE Process the output then purge it.
272
$D JOBCLASS(n)
OUTPUT{=No|Yes} Displays whether (Yes) or not (No) SYSOUT data is to be written for jobs executed in this job class. PERFORM[=perform] Displays the default performance group number for this job class. Any integer (0-999) can be specified. PGMRNAME{=No|Yes} Displays whether a programmer name is required (YES) or not required (NO) on a JCL JOB statement. PROCLIB[=proclib] Displays the default procedure library number which is to be used for this job class. Any integer (0-99) can be specified. QHELD[=No|Yes] Displays whether (Yes) or not (No) jobs in this class are not selected for execution (meaning, they are held) on this member until the class is released from held status by operator command. REGION[=region] Displays the default for the region size assigned to each job step. The nnnn indicates the number of units that make up the default region size; the x indicates the unit of measure (either 'K' for Kilobytes or 'M' for Megabytes.) RESTART[=No|Yes] Displays whether (Yes) or not (No) JES2 is to requeue for execution any job of this job class that had been executing before the IPL of the system was repeated and a JES2 warm start was performed. | | | | | | | | Job journaling limits the scope of RESTART=YES. If the JOURNAL=Yes parameter is specified: v JES2 restarts interrupted jobs from the beginning only if the MVS system is unable to restart the job from a step or checkpoint. v RESTART=NO has no effect; all jobs are requeued for execution. (Specifying RD=R|RNC on the JCL JOB statement has the same effect.) If the jobs are not journaled (JOURNAL=No), JES2 always attempts to restart interrupted jobs in this class from the beginning. SCAN[=No|Yes] Displays whether (Yes) or not (No) jobs in this job class are to be queued for output processing immediately after JCL conversion, as though TYPRUN=SCAN was specified on the JOB statement for these jobs. SCHENV=xxxxx The default SCHENV for a given JOBCLASS can be specified through $D JOBCLASS(c), SCHENV=xxxxx where xxxxx is a 1 to 16 character SCHENV. The SCHENV must be defined to WLM. If it is not, the setting will be ignored. SWA{=ABOVE|BELOW} Displays whether all eligible schedule work area (SWA) control blocks created for jobs in this job class will be placed above or below 16 megabytes in virtual storage. TIME Displays the default for the maximum time that each job step may run. TYPE6[=No|Yes] Displays whether (Yes) or not (No) JES2 is to produce type 6 SMF records for jobs in this job class.
Chapter 5. Command Reference Section
273
$D JOBCLASS(n)
TYPE26[=No|Yes] Displays whether (Yes) or not (No) JES2 is to produce type 26 (job summary) SMF records for jobs in this job class. XBM=xbm Displays the procedure name JES2 uses as the target of an EXEC statement. The procedure names a program that processes the input submitted to this job class. XEQCount=(CURrent|MAXimum) Displays the current number of jobs that are executing, or the maximum number of jobs that can execute concurrently in the class.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MAS-wide. This command displays information about the entire MAS.
Messages
The $HASP837 message displays the current job class characteristics for the specified job classes.
Examples
1 $d jobclass(A) ACCT=NO,PGMRNAME=NO,TIME=(000030, 00),REGION=0001M,COMMAND=DISPLAY, BLP=NO,AUTH=(ALL),MSGLEVEL=(0,1), COPY=NO,HOLD=NO,IEFUJP=YES,IEFUSO= YES,JOURNAL=YES,LOG=YES,MODE=JES, OUTDISP=(,),OUTPUT=YES,PERFORM=000, PROCLIB=00,QHELD=NO,RESTART=NO, SCAN=NO,SCHENV=,SWA=ABOVE,TYPE26= YES,TYPE6=YES,XBM=, XEQCOUNT=(MAXIMUM=*,CURRENT=0), JESLOG=(NOSPIN) $HASP837 JOBCLASS(A) $HASP837 $HASP837 $HASP837 $HASP837 $HASP837 $HASP837 $HASP837 $HASP837 $HASP837 $HASP837
JES2 displays the held status for all job classes which have been held by the $T JOBCLASS,QHELD=YES command.
274
$D JOBDEF
Syntax
$D JOBDEF ,ACCTFLD ,BAD_JOBNAME_CHAR ,CNVT_ENQ
,DUPL_JOB
,JCLERR
,JNUMBASE
,JNUMFREE
,JNUMWARN
,JOBFREE
,JOBNUM
,JOBRBLDQ
,JOBWARN
,PRTYHIGH
,PRTYJECL
,PRTYJOB
,PRTYLOW
,PRTYRATE
,RANGE
,RASSIGN
Parameters
JOBDEF The $HASP835 message displays the characteristics assigned to jobs entering the JES2 system. ACCTFLD Specifies the JES2 form of the accounting information (the job accounting number and room number). BAD_JOBNAME_CHAR Specifies the character to use in place of invalid characters in a jobname. This translation is used for JES2 commands and displays as well as RACF entity names. CNVT_ENQ Displays action taken if the data set ENQ for a data set specified on a DD statement cannot be obtained. DUPL_JOB Specifies whether JES2 is allowed to concurrently execute batch jobs with the same name in the same MAS. DELAY Do not allow JES2 to execute batch jobs with the same name in the same MAS at the same time. NODELAY Allow JES2 to execute batch jobs with the same name in the same MAS at the same time. JCLERR Specifies if a JCL error is detected by JES2. JNUMBASE The last job number that was assigned to a job.
Chapter 5. Command Reference Section
275
$D JOBDEF
JNUMFREE The number of available job numbers. JNUMWARN Specifies the percentage (0-99) of assignable job numbers that have been used for jobs submitted at the local node. JOBFREE The number of available job queue elements. JOBNUM Specifies the maximum number (10-200000) of jobs that can be in the JES2 job queue at any time. JOBRBLDQ Displays Yes if there are jobs on the rebuild queue. JOBWARN Specifies the percent (0-99) usage threshold of available job queue elements (JQEs). PRTYHIGH Specifies the upper priority limit (0-15) to be associated with the JES2 job priority-aging feature. PRTYJECL Specifies whether the JES2 /*PRIORITY control statement is supported. PRTYJOB Specifies whether the priority specified on the JCL JOB statement is supported. PRTYLOW Specifies the lower priority limit (0-15) to be associated with the JES2 job priority-aging feature. PRTYRATE Specifies the number (0-1440) of time periods into which a 24-hour day is to be divided for use increasing a jobs priority by the JES2 priority-aging feature. RANGE Specifies the range of number (1-999,999) which JES2 will assign as JOBIDs to jobs which originated on the local node. RASSIGN Specifies whether job numbers outside of the RANGE= range can be used when jobs are received from NJE or spool reload.
Scope
MAS-wide. This command displays information about the entire MAS.
Messages
The $HASP835 message displays the keywords defined and their current values.
Example
1 $D JOBDEF $djobdef $HASP835 JOBDEF $HASP835 JOBDEF ACCTFLD=OPTIONAL,BAD_JOBNAME_CHAR=?, $HASP835 CNVT_ENQ=FAIL,JCLERR=NO,JNUMBASE=6, $HASP835 JNUMFREE=9994,JNUMWARN=80,JOBFREE=495,
276
$D JOBDEF
$HASP835 $HASP835 $HASP835 JOBNUM=500,JOBWARN=80,PRTYHIGH=10,PRTYJECL=YES, PRTYJOB=NO,PRTYLOW=5,PRTYRATE=0,RANGE=(1,9999), RASSIGN=YES,DUPL_JOB=DELAY
277
$D JOBPRTY
Syntax
$D JOBPRTY n , ( n * ) n * n * ,PRIORITY ,TIME
Parameters
JOBPRTY(n) The $HASP832 message displays the current job priority characteristics defined by entry (n) in the JOBPRTY table. PRIORITY Specifies the job-scheduling priority (0-15) relationship with execution times. TIME Specifies the execution times (1-279620), in minutes, that are to be associated with job-scheduling priorities.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single Member. This response to this command will be a display of information about this member only.
Messages
The $HASP832 message displayed the keywords and their current values.
Example
1 $D JOBPRTY JOBPRTY(1) JOBPRTY(2) JOBPRTY(3) JOBPRTY(4) JOBPRTY(5) JOBPRTY(6) PRIORITY=9,TIME=2 PRIORITY=8,TIME=5 PRIORITY=7,TIME=15 PRIORITY=6,TIME=279620 PRIORITY=5,TIME=279620 PRIORITY=4,TIME=279620 $HASP832 $HASP832 $HASP832 $HASP832 $HASP832 $HASP832
278
$D JOBPRTY
$HASP832 JOBPRTY(7) $HASP832 JOBPRTY(8) $HASP832 JOBPRTY(9) PRIORITY=3,TIME=279620 PRIORITY=2,TIME=279620 PRIORITY=1,TIME=279620
279
$D L(nnnn).JR(n)
Syntax
$D L nn , ( nn * ) mm * ( mm * .JR nn , nn * ) mm * mm *
,HOLD
,UNIT
, /
HOLD
= ^=
No Yes
, /
UNIT
= ^= > <
unit
Parameters
| | nnmm Specifies the 1 to 4 numeric subscript (1-65535) defining one or more line numbers affected by this command. (*) Specifies the numeric subscript (1-7) defining the job receiver affected by this command. HOLD={No|Yes} Displays whether the job received on the specified receiver is held (YES) or not (NO). STATUS[=ACTIVE|DRAINED|DRAINING|HALTED| INACTIVE|STARTING] Displays information about JES2-managed devices. The following types of status can be displayed:
280
$D L(nnnn).JR(n)
Type Meaning
ACTIVE JES2 is using the device for job processing and will continue to do as long as jobs are both available and eligible for the device. DRAINED JES2 does not use the device until you start it with a $S command. DRAINING JES2 is using the device to process jobs, but will stop using this device once the current function has completed. HALTED JES2 has either requested operator assistance or an operator has entered the $Z command to halt the device. To start the device, you must enter a $S command. INACTIVE JES2 is not using the device, but would do so if a job were both available and eligible for the device. STARTING The device is being started. Applies to FSS-owned devices only. UNIT={SNA|devnum|/devnum} Displays a 4-digit hexadecimal device number for a binary synchronous communication (BSC) line. You can specify wildcards on this parameter. See Using wildcards on page 98 for additional information. Device numbers can be specified by any of the following formats:
UNIT=ddd UNIT=dddd UNIT=/ddd UNIT=/dddd
where ddd and dddd represent the device numbers. A slash (/) can optionally precede the device number (for compatibility with other commands that require a slash to denote a 4-digit device number). | | Specify UNIT=SNA to obtain information about a systems network architecture (SNA) line, or UNIT=TCP to obtain a TCP/IP line.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T INTRDR command sets the command authority for internal readers. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command
281
$D L(nnnn).JR(n)
character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP603 message displays information about the specified job receiver.
Example
1 $dl15.jr(1) UNIT=SNA,STATUS=INACTIVE,HOLD=NO $HASP603 L15.JR1
282
$D L(nnnn).JT(n)
Syntax
$D L nn , ( nn * ) mm * ( mm * .JT nn , nn * ) mm * mm *
| | | | |
,LIMit
,NODES
,UNIT
,WS
| | |
, / UNIT = ^= > < unit ,NODES
| | | | |
Parameters
nnmm Specifies the 1 to 4 numeric subscript (1-65535) defining the line(s) affected by this command. n Specifies the subscript (1-7) defining the job transmitter affected by this command.
LIMit Displays the limits (in card images) for jobs that the job transmitter will select. | | NODES= Displays and filters all lines through which node can be reached.
283
$D L(nnnn).JT(n)
STATUS[=ACTIVE|DRAINED|DRAINING|HALTED| INACTIVE|STARTING] Displays information about JES2-managed devices. The following types of status can be displayed: Type Meaning
ACTIVE JES2 is using the device for job processing and will continue to do as long as jobs are both available and eligible for the device. DRAINED JES2 does not use the device until you start it with a $S command. DRAINING JES2 is using the device to process jobs, but will stop using this device once the current function has completed. HALTED JES2 has either requested operator assistance or an operator has entered the $Z command to halt the device. To start the device, you must enter a $S command. INACTIVE JES2 is not using the device, but would do so if a job were both available and eligible for the device. STARTING The device is being started. Applies to FSS-owned devices only. UNIT={SNA|devnum|/devnum} Displays a 4-digit hexadecimal device number for a binary synchronous communication (BSC) line. You can specify wildcards on this parameter. See Using wildcards on page 98 for additional information. Device numbers can be specified by any of the following formats:
UNIT=ddd UNIT=dddd UNIT=/ddd UNIT=/dddd
where ddd and dddd represent the device numbers. A slash (/) can optionally precede the device number (for compatibility with other commands that require a slash to denote a 4-digit device number). | | WS Displays the work selection criteria for this line job transmitter. Specify UNIT=SNA to obtain information about a systems network architecture (SNA) line, or UNIT=TCP to obtain information about a TCP/IP line.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T INTRDR command sets the command authority for internal readers. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
284
$D L(nnnn).JT(n)
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP603 message displays information about the specified job transmitter.
Example
1 $dl15.jt(1) UNIT=SNA,STATUS=INACTIVE $HASP603 L15.JT1
285
$D L(nnnn).SR(n)
Syntax
$D L nn , ( nn * ) mm * ( mm * .SR nn , nn * ) mm * mm *
,UNIT
, /
UNIT
= ^= > <
unit
Parameters
| | nnmm Specifies the 1 to 4 character numeric subscript (1-65535) defining one or more lines affected by this command. n Specifies the subscript (1-7) defining the SYSOUT receiver(s) that are affected by this command.
STATUS[=ACTIVE|DRAINED|DRAINING|HALTED| INACTIVE|STARING] Displays information about JES2-managed devices. The following types of status can be displayed: Type Meaning
ACTIVE JES2 is using the device for job processing and will continue to do as long as jobs are both available and eligible for the device.
286
$D L(nnnn).SR(n)
DRAINED JES2 does not use the device until you start it with a $S command. DRAINING JES2 is using the device to process jobs, but will stop using this device once the current function has completed. HALTED JES2 has either requested operator assistance or an operator has entered the $Z command to halt the device. To start the device, you must enter a $S command. INACTIVE JES2 is not using the device, but would do so if a job were both available and eligible for the device. STARTING The device is being started. Applies to FSS-owned devices only. UNIT={SNA|devnum|/devnum} Displays a 4-digit hexadecimal device number for a binary synchronous communication (BSC) line. You can specify wildcards on this parameter. See Using wildcards on page 98 for additional information. Device numbers can be specified by any of the following formats:
UNIT=ddd UNIT=dddd UNIT=/ddd UNIT=/dddd
where ddd and dddd represent the device numbers. A slash (/) can optionally precede the device number (for compatibility with other commands that require a slash to denote a 4-digit device number). | | Specify UNIT=SNA to obtain information about a systems network architecture (SNA) line, or UNIT=TCP to obtain information about a TCP/IP line.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T INTRDR command sets the command authority for internal readers. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP603 message displays information about the specified SYSOUT receiver.
Chapter 5. Command Reference Section
287
$D L(nnnn).SR(n)
Example
1 $dl15.sr1,status STATUS=INACTIVE $HASP603 L15.SR1
Because the command specifies the STATUS parameter only, JES2 displays only the status of SYSOUT receiver 1 on line 15. You can filter on the UNIT parameter as well.
288
$D L(nnnn).ST(n)
Syntax
$D L nn , ( nn * ) mm * ( mm * .ST nn , nn * ) mm * mm *
| | | | |
,LIMit
,NODES
,OUTDisp
,PLIM
,UNIT
,WS
| | |
, / UNIT = ^= > < unit ,NODES
| |
Parameters
nnmm Specifies the 1 to 4 character numeric subscript (1-65535) defining the line(s) affected by this command. n The subscript (1-7) defining the SYSOUT transmitter(s) that are affected by this command.
LIMit Displays the limits (in lines) for SYSOUT data sets that the SYSOUT transmitter will select. This number applies to the total lines of all non-spun output in the job or to individual spun SYSOUT data sets (or data set segments) in a job. | | NODES= Displays and filters all lines through which node can be reached.
Chapter 5. Command Reference Section
289
$D L(nnnn).ST(n)
OUTDisp Displays the default output disposition for SYSOUT data sets. PLIM Displays the limits (in pages) for SYSOUT data sets that the SYSOUT transmitter will select. This number applies to the total pages of all non-spun output in the job or to individual spun SYSOUT data sets in a job. STATUS[=ACTIVE|DRAINED|DRAINING|HALTED| INACTIVE|STARTING] Displays information about JES2-managed devices. The following types of status can be displayed: Type Meaning
ACTIVE JES2 is using the device for job processing and will continue to do so as long as jobs are both available and eligible for the device. DRAINED JES2 does not use the device until you start it with a $S command. DRAINING JES2 is using the device to process jobs, but will stop using this device when the current job processing completes. HALTED JES2 has either requested operator assistance or an operator has entered the $Z command to halt the device. To start the device, you must enter a $S command. INACTIVE JES2 is not using the device but would do so if a job were both available and eligible for the device. STARTING The device is being started. Applies to FSS-owned devices only. UNIT={SNA|devnum|/devnum} Displays a 4-digit hexadecimal device number for a binary synchronous communication (BSC) line. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. Device numbers can be specified by any of the following formats:
UNIT=ddd UNIT=dddd UNIT=/ddd UNIT=/dddd
where ddd and dddd represent the device numbers. A slash (/) can optionally precede the device number (for compatibility with other commands that require a slash to denote a 4-digit device number). | | WS Displays work selection criteria for this line SYSOUT transmitter. Specify UNIT=SNA to obtain information about a systems network architecture (SNA) line, or UNIT=TCP to obtain information about a TCP/IP line.
290
$D L(nnnn).ST(n)
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T INTRDR command sets the command authority for internal readers. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP603 message displays information about the specified SYSOUT transmitter.
Example
1 $dl3.st1 UNIT=SNA,STATUS=DRAINED,LIMIT=(46,46),PLIM=( 84,84),WS=(LIM/) $HASP603 L3.ST1 $HASP603
291
$D LINE(nnnn)
Syntax
$D LINE LNE nnnn , ( nnnn * ) nnnn * nnnn *
| | | | | | | | | | | | | | | | | |
,AUTODISC
,CODE
,COMPRESS
,Discon
,DUPLEX
,INTERFAC
,JRNUM
,JTNUM
,LINECCHR
,LOG
,NODES
,Password
,REST
,RMTSHARE
,SESsions
,SPEED
,SPIN
,SRNUM
,STATUS
,STNUM
,TRaceio
,TRANSPAR
,UNIT
, /
AUTODISC
= ^=
No Yes
, /
CODE
= ^=
A B
292
$D LINE(nnnn)
| |
, /
COMPRESS
= ^=
No Yes
, /
Discon
= ^=
I INTERRUPT No Q QUIESCE
| | | |
, /
DUPLEX
= ^=
FULL HALF
, /
INTERFAC
= ^=
A B
, /
JRNUM
= ^= > <
, /
JTNUM
= ^= > <
| | | |
, /
LINECCHR
= ^=
EBCDIC USASCII
, /
LOG
= ^=
No Yes
,NODES
, /
REST
= ^= > <
nnnn
| |
, /
RMTSHARE
= ^=
No Yes N/A
, /
SPEED
= ^=
HIGH LOW
| |
, /
SPIN
= ^= > <
spin
, /
SRNUM
= ^= > <
| |
, /
STATUS
= ^=
| |
, /
STNUM
= ^= > <
stnum
, /
TRaceio
= ^=
|
Chapter 5. Command Reference Section
293
$D LINE(nnnn)
|
, / TRANSPAR = ^= No Yes , / UNIT = ^= > < SNA devnum /devnum TCP TCPIP TCP/IP
| | | | |
Parameters
nnnn The subscript defining one or more lines that are affected by this command. The subscript can specify a specific numeric value or a range of values (1-65535). AUTODISC[={No|Yes] Displays whether this line is automatically disconnected from a terminal when the local modem disconnects. CODE[=A|B] Displays the BSC adapter code for this line. Code A refers to the first code in a BSC adapter. Code B refers to the second code in a BSC adapter that has the dual code feature. COMPRESS[=No|Yes] Displays whether this line allows terminals to use data compression. Discon[=I|INTERRUPT|No|Q|QUIESCE] Displays whether the line is to be disconnected immediately (I), after it completes its current activity (Q), or not at all (NO). I|INTERRUPT A sign-off record is sent to the attached multi-leaving remote workstation or to the connected NJE node. Q|QUIESCE The disconnection occurs as though the remote operator or NJE node had signed off. NO The line is not to be disconnected. DUPLEX[=FULL|HALF] Displays whether this is a half-duplex or full-duplex line. INTERFAC[=A|B] Displays the BSC adapter interface for this line. A refers to the first interface in a BSC adapter; B refers to the second, which has the dual-communications interface feature. JRNUM[=n|DEFAULT] Displays the number (0-7) of network job receivers to be associated with this NJE line. The value of n is an integer that specifies the maximum number of input job streams allowed to be concurrently active on this line. JTNUM[=n|DEFAULT] Displays the number (0-7) of network job transmitters to be associated with this NJE line. The value of n is an integer that specifies the maximum number of output job streams allowed to be concurrently active on this line. LINECCHR[=EBCDIC|USASCII] Displays how the adapter is configured.
294
$D LINE(nnnn)
EBCDIC The BSC adapter is configured for EBCDIC line-control characters. USASCII The BSC adapter is configured for ASCII line-control characters. LOG[=No|Yes] Displays whether JES2 is to monitor the specified line for channel-end completions (BSC lines) or SNA events (SNA lines). | | NODES= Displays and filters all lines through which node can be reached. Password Displays the security password used to reject unauthorized terminals attempting to use the specified line. REST[=nnnn] Displays an integer (0-2000) that represents the resistance rating of the line as viewed by the installation management and coordinated with other installations. RMTSHARE[=NO|YES|N/A] Displays whether the line is allowed to be dedicated by specifying it on the LINE= parameter of a $ADD RMT(nnnn) command or a $T RMT(nnnn) command. This parameter is displayed for both BSC and SNA lines. YES Displays that this line can be shared. That is, this line is: v An SNA line v Not dedicated to any RJE workstation or v Dedicated to one or more BSC RJE workstations with SHARABLE=YES specified on the RMT(nnnn) definition. NO Displays that this line cannot be shared. That is, this line is dedicated to one BSC RJE workstation with SHARABLE=NO specified on the RMT(nnnn) definition. N/A Displays that this line is not available. SESsions Displays the VTAM application interfaces and their corresponding status associated with this SNA line. SPEED[=HIGH|LOW] Displays whether this is a high-speed (greater than 9600 bits per second) or low-speed line. Note: This parameter is applicable only to 360/20 sub-models 2 and 4. SRNUM[=n|DEFAULT] Displays the number (0-7) of network SYSOUT receivers to be associated with this NJE line. The value of n is an integer which specifies the maximum number of SYSOUT receiver streams allowed to be concurrently active on this line. STATUS[=ACTIVE|DRAINED|DRAINING|INACTIVE |SIGNON/AWAITINGMAS(x)|SIGNON/AWAITING-c ] Displays the current status of the device. The following types of status can be displayed: Type Meaning
295
$D LINE(nnnn)
ACTIVE JES2 is using the device for job processing and will continue to do so as long as jobs are both available and eligible for the device. DRAINED JES2 does not use the device until you start it with a $S command. DRAINING JES2 is using the device to process jobs, but will stop using this device once the current function has completed. INACTIVE JES2 is not using the device, but would do so if a job were both available and eligible for the device. SIGNON/AWAITING-MAS(x) The device signing on is waiting for responses from one or more MAS members. In the message, x can be the member name, or a list of member names, from which a response is required. SIGNON/AWAITING-c The device signing on is waiting for an NCC record from the other end of the connection. In the message, c is the NCC record type (J, K, or L) for which the sign-on is waiting. STNUM=stnum Displays the number (0-7) of network SYSOUT transmitters which will be associated with this NJE line. The value of n is an integer which specifies the maximum number of SYSOUT transmitter streams allowed to be concurrently active on this line. | | | | | | | | | | | | | | | TRaceio[=NO|YES|JES=YES/NO|COMMON=YES/NO|VERBOSE=YES/NO] Displays whether I/O operations on the specified line are to be traced. The following types of status can be displayed: Type YES NO Meaning Indicates all types of tracing are to be done. Indicates no tracing is to be done.
JES=YES/NO Indicates whether data and control records passed between JES and TCP/IP are to be traced for this line. COMMON=YES/NO Indicates whether TCP/IP and other services called by IAZNJTCP are to be traced. VERBOSE=YES/NO Indicates whether diagnostic messages are to be issued to the master console and SYSLOG. TRANSPAR[=No|Yes] Displays whether the text transparency feature of the BSC adapter is present on this line.
| | | | |
UNIT[=devnum|/devnum|SNA][TCP|/TCPIP|TCP/IP] Displays a 4-digit hexadecimal device number for a binary synchronous communication (BSC) line. You can specify wildcards on this parameter. See Using wildcards on page 98 for additional information. Device numbers can be specified by any of the following formats:
296
$D LINE(nnnn)
| | | | | | | | |
UNIT=ddd UNIT=dddd UNIT=/ddd UNIT=/dddd
where ddd and dddd represent the device numbers. A slash (/) can optionally precede the device number (for compatibility with other commands that require a slash to denote a 4-digit device number). Specify UNIT=SNA to obtain information about a systems network architecture (SNA) line, or UNIT=TCP to obtain information about a TCP/IP line.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP880 message displays the status of the specified lines and their current characteristics.
Examples
1 $d line(*),autodisc=y,transpar=y UNIT=0023,STATUS=DRAINED,AUTODISC=YES, CODE=A,COMPRESS=YES,DUPLEX=HALF,INTERFAC=A, LINECCHR=EBCDIC,LOG=NO,PASSWORD=(NOTSET), REST=0,RMTSHARE=YES,SPEED=LOW,TRACEIO=NO, TRANSPAR=YES,JRNUM=DEFAULT,JTNUM=DEFAULT, SRNUM=DEFAULT,STNUM=DEFAULT UNIT=0020,STATUS=DRAINED/RMT5,AUTODISC=YES, CODE=A,COMPRESS=YES,DUPLEX=HALF,INTERFAC=A, LINECCHR=EBCDIC,LOG=NO,PASSWORD=(NOTSET), REST=0,RMTSHARE=NO,SPEED=LOW,TRACEIO=NO, TRANSPAR=YES,JRNUM=DEFAULT,JTNUM=DEFAULT, SRNUM=DEFAULT,STNUM=DEFAULT $HASP880 LINE2 $HASP880 $HASP880 $HASP880 $HASP880 $HASP880 $HASP880 LINE8 $HASP880 $HASP880 $HASP880 $HASP880 $HASP880 . . .
This command displays all lines that JES2 automatically disconnects from the RJE workstation when the local modem disconnects and that have the BSC adapter text transparency feature.
2 $d line(*),rmtshare=y UNIT=0022,STATUS=DRAINED,AUTODISC=YES,CODE=A, COMPRESS=YES,DUPLEX=HALF,INTERFAC=A,
Chapter 5. Command Reference Section
297
$D LINE(nnnn)
$HASP880 $HASP880 $HASP880 $HASP880 . . . LINECCHR=EBCDIC,LOG=NO,PASSWORD=(NOTSET), REST=0,RMTSHARE=YES,SPEED=LOW,TRACEIO=NO, TRANSPAR=YES,JRNUM=DEFAULT,JTNUM=DEFAULT, SRNUM=DEFAULT,STNUM=DEFAULT
This command displays all lines that can be shared by an RJE workstation.
298
$D LOADmod(jxxxxxxx)
Syntax
$D LOADmod jxxxxxxx , ( jxxxxxxx jxxxxxxx )
| | | | | | | | | | | |
,ADDRess
,LENgth
,RMODE
,ROUtines
,SPLevel
,STORage
,TABles
, /
ADDRess
= ^= > <
address
, /
LENgth
= ^= > <
length
| | | |
, /
RMODE
= ^=
ANY 24
, /
SPLevel
= ^=
CHECK NOCHECK
, /
STORage
= ^=
, /
TYPE
OS
299
$D LOADmod(jxxxxxxx)
|
Parameters
LOADmod Specifies the JES2 load module name for which information is to be displayed. Specify the load module name (for example, HASCLINK) to obtain specific load module information, or an asterisk ( * ) to obtain information for all load modules. You can also specify wildcards for the load module name. See Using wildcards on page 98 for additional information. The following load modules cannot be displayed: v HASPFSSM v HASJES20 v Load modules beginning with the characters HASM ADDRess=address Displays the hexadecimal address of the load module in storage. LENgth=length Displays the load modules exact hexadecimal length. RMODE[=24|ANY] Displays the link-edit attributes of the load module. Optionally, you can specify one of the following keywords to display load modules that reside in a particular area: Value Meaning 24 ANY Display only those load modules that reside below 16 megabytes of virtual storage. Display only those load modules that reside above 16 megabytes of virtual storage.
ROUtines Displays the routines that are defined using the $ENTRY macros in a module. These routines are available for use through the EXIT(nnn) initialization statement. Only routine names in installation-provided modules or in IBM-provided sample exit modules will be included. SPLevel[=CHECK|NOCHECK] Displays the value the module assigned to the SPLEVEL= parameter on the $MODULE macro. Optionally, you can display only those modules that have assigned a specific value to the $MODULE SPLEVEL= parameter by coding one of the following keywords: Value Meaning CHECK Display only those modules that specified CHECK on the $MODULE SPLEVEL= parameter. NOCHECK Display only those modules that specified NOCHECK on the $MODULE SPLEVEL= parameter. STORage[=CSA|LPA|PRIVATE|PVT] Displays the type of storage in which the load module resides. Optionally, you can specify an area of storage. Code one of the following keywords: Value Meaning
300
$D LOADmod(jxxxxxxx)
CSA LPA Display only those load modules that are loaded into common storage. Display only those load modules that are loaded into link pack area storage.
PRIVATE|PVT Display only those load modules that are loaded into the private storage of the JES2 address space. TABles Displays any DYNAMIC tables which are defined in this module, along with the type of table. | | TYPE=OS Display and filter.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP819 message displays the current address, length, routines, RMODE, SPLEVEL and storage information for the specified load modules.
Examples
1 $dloadmod(hastx24) ADDRESS=03343678,LENGTH=000988, ROUTINES=(FIXMAP,ISSI256),RMODE=ANY, SPLEVEL=CHECK,STORAGE=PVT $HASP819 LOADMOD(HASTX24) $HASP819 $HASP819
This command displays the RMODE for all load modules in private storage.
301
$D LOGON
$D LOGON - Display the status of JES2/VTAM interface(s) and their characteristics Function
To display the status of the specified JES2/VTAM interface(s) and their current characteristics.
Syntax
$D LGN LOGON n , ( n * ) n * n *
,Applid
,LOG
,Password
,SESsions
,STATUS
,TRaceio
, /
Applid
= ^= > <
applid
, /
LOG
= ^=
No Yes
, /
STATUS
= ^=
, /
TRaceio
= ^=
No Yes
Parameters
LGN|LOGON(n|*) The $HASP881 message displays the status of the specified JES2/VTAM interface(s) and their current characteristics. The subscript can also specify a range of values. Applid=applid Specifies the 1 to 8 character name that your installation assigned to JES2.
302
$D LOGON
LOG={No|Yes} Specifies whether JES will monitor the VTAM interface and record all SNA events. Password Specifies a 1 to 8 character security password that is presented to VTAM. SESsions Displays the VTAM application interfaces and their corresponding status associated with this SNA line. STATUS[=ACTIVE|DRAINED|DRAINING|INACTIVE] Displays the current status of the device. The following types of status can be displayed: Type Meaning
ACTIVE JES2 is using the device for job processing and will continue to do so as long as jobs are both available and eligible for the device. DRAINED JES2 does not use the device until you start it with a $S command. DRAINING JES2 is using the device to process jobs, but will stop using this device once the current function has completed. INACTIVE JES2 is not using the device, but would do so if a job were both available and eligible for the device. TRaceio={Yes|No} Specifies whether (Yes) or not (No) JES2 will trace channel-end completions for logons.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only.
Messages
The individual parameter descriptions list the resulting messages.
Example
1 $D LOGON $d logon(*) $HASP881 LOGON20 $HASP881 LOGON20 APPLID=POK,STATUS=DRAINED,LOG=NO, $HASP881 PASSWORD=(NOTSET),SESSIONS=,TRACEIO=NO $HASP881 LOGON998 $HASP881 LOGON998 APPLID=JES2,STATUS=DRAINED,LOG=NO, $HASP881 PASSWORD=(NOTSET),SESSIONS=,TRACEIO=NO
Chapter 5. Command Reference Section
303
$D LOGON
$HASP881 LOGON999 $HASP881 LOGON999 APPLID=JES2N1,STATUS=DRAINED,LOG=NO, $HASP881 PASSWORD=(NOTSET),SESSIONS=,TRACEIO=NO
304
$D M
Syntax
$D M job_id jobname Rnnnn(-nnnn|-*) Nnnnn(-nnnn|-*) Mn(-n|-*) NnnnnRnnnn(-nnnn|-*) ,message... ,... ,D= LOCAL|ANYLOCAL Nnnnn|nodename destid NnnnnRmmmm Ummmm node.remote node.userid node.destid remote userid node.*
,R=
LOCAL|ANYLOCAL Nnnnn|nodename destid NnnnnRmmmm Ummmm node.remote node.userid node.destid remote userid node.*
Parameters
M JES2 sends a message to the specified destination. job_id A job can actually be a batch job, started task (STC), or time-sharing user (TSU). A job identifier (jobid) is a 1 to 8 character string specified as JOBnnnnn, STCnnnnn, and TSUnnnnn, respectively. Specify job_id in one of the following ways: J|JOBn The batch job whose job log receives the message. S|STCn The started task whose job log receives the message. T|TSUn The time-sharing user whose job log receives the message.
Chapter 5. Command Reference Section
305
$D M
jobname The name of the job whose job log receives the message. Rnnnn[-nnnn|-*] The remote workstation or range of remote workstations on the local node to which the message is sent. Note: If R0 is entered, JES2 sends the message to the console with master level authority on the member processing the command. This is how the remote console operator typically sends a message to the system console operator. Nnnnn[-nnnn|-*] The node or range of nodes to which the message is sent. Mn[-n|-*] The multi-access spool member or range of members on this node to which the message is sent. NnnnnMn[-n|-*] The specific member or range of members on node nnnn to which the message is sent. Only this node can be specified when using the range n-*. NnnnnRnnnn[-nnnn|-*] The remote workstation or range of remote workstations on node nnnn to which the message is sent. Only this node can be specified when using the range n-*. message The message text that JES2 sends to the specified destination. If you do not enclose the message in apostrophes, JES2 compresses the message text by removing all blanks. If an apostrophe is desired within the message text, you must use double apostrophes. D= Specifies a destination for the message. The value for all routing numbers can range from 1 to 32767. Use parentheses if more than one route code is specified. For specification requirements, see Route codes on page 97. If this command originates from another node in the network and the D= operand does not specify a node (first-level destination), the receiving node defaults the first-level destination to the node where the command originated. If this command is sent to another node in the network using the $N command, be aware that the receiving node will default the node (first-level destination) of the D= operand to the sending node. If another node is desired, specify a destination on the D= operand that will resolve to the desired node (first level destination) at the receiving node. Note: NODENAME=REQUIRED on the DESTDEF initialization statement will cause JES2 to require that a userid be prefixed with a node name. LOCAL|ANYLOCAL Indicates that messages are sent to the local node. Nnnnn|nodename Indicates that messages are sent to the node(s) specified by the decimal node identifier or an EBCDIC nodename.
306
$D M
destid Indicates that messages are sent to the specified node(s). If destid is listed alone, it refers to both the node and the remote. NnnnnRmmmm|node.remote|node.userid Indicates that messages are sent to the remote Rmmmm at the node Nnnnn. Rmmmm can also be specified as RMmmmm or RMTmmmm. Ummmm Indicates that messages are sent to a special local routing. node.destid Indicates that messages are sent to a destination at the specified node. The destid refers to both the node and the remote. remote Indicates that messages are sent to a remote. Remote can be specified in any of the following ways: LOCAL|ANYLOCAL Indicates that messages are sent to the local node. Rmmmm Indicates that messages are sent to the specified remote. destid Indicates that messages are sent to a destid referring to a remote. userid Indicates sending messages to a valid TSO userid, or a user* (where * means all local, remote, special local unit, and userid output at the specified node). For more information about specifying userids as remotes, refer to Route codes on page 97. node.* Indicates sending messages to a nodename modified to the specified node name, but the remote node will remain the same. R= The remote workstation on the node specified in the D= parameter (which must precede this) to which the message is sent. If you use the R= parameter to specify a node, it must be the node specified in the D= parameter. You may specify any of the options available through the D= parameter. Notes: 1. The R= parameter is not valid if the D= parameter specified is a nodal range. 2. NODENAME=REQUIRED on the DESTDEF initialization statement will cause JES2 to require that a userid be prefixed with a node name.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
307
$D M
Processing Considerations
v The specified batch job, STC, or TSU must be in execution, not awaiting execution or output. v The specified message is not printed if the jobs submitter specified that no job log was to be printed (NOLOG), or if the attributes specified at JES2 initialization for the jobs execution class indicate that no job log is to be generated. v Use the MVS SEND command to send a message directly to a time-sharing users terminal.
Scope
MAS-wide. You can issue this command from anywhere in the MAS and the command will be routed appropriately.
Messages
The $HASP001 message displays the operator console or remote terminal value, followed by the operator message.
Examples
1 $d m j29,could not find your tape $HASP001 0,COULD NOT FIND YOUR TAPE
JES2 writes the message COULD NOT FIND YOUR TAPE on job 29s job log.
2 $d m stanley,next time please increase your output estimate
JES2 writes the message NEXT TIME PLEASE INCREASE YOUR OUTPUT ESTIMATE on the job log for the job whose name is STANLEY.
3 $d m n3r2-5, Jobs remaining after 5 PM will be purged.
JES2 sends the message JOBS REMAINING AFTER 5PM WILL BE PURGED to remote workstations 2 through 5 on node 3.
4 $d m n4, Node 3 requesting network authority.
JES2 sends the message NODE 3 REQUESTING NETWORK AUTHORITY to the operators console at node 4.
5 $D M N2M1-*,JOBS REMAINING AFTER 5 PM WILL BE PURGED ,JOBS REMAINING AFTER 5 PM WILL BE PURGED
$HASP001 02
The command is issued from Node 2. JES2 sends the message JOBS REMAINING AFTER 5PM WILL BE PURGED to members, beginning with member 1 through the highest numbered member, on node 2.
308
$D MASDEF
Syntax
$D MASDEF , AUTOEMEM ,CKPTLOCK ,COLDTIME
,COLDVRSN
,DORMANCY
,HOLD
,LOCKOUT
OWNMEMB OWNSID
,QREBUILD
,QUESHELD
,RESTART
,RSVHELD
,SHARED
,SYNCTOL
,WARMTIME
,XCFGRPNM
Parameters
AUTOEMEM Displays the status of this JES2 MAS members AUTOEMEM function. They can be: ON OFF This MAS members jobs can be restarted. This MAS members jobs cannot be reset automatically.
STARTING This MAS members jobs are in the process of turning AUTOEMEM on. STOPPING This MAS members jobs are in the process of turning AUTOEMEM off. CKPTLOCK Displays whether message $HASP479 is issued during a cold or warm start of JES2. The value displayed will be one of the following: INFORM JES2 will not issue message $HASP479 during a cold or warm start of JES2 if: v The checkpoint lock cannot be obtained, and v The member ID of the member holding the lock is the same as the one being started. Instead, JES2 issues message $HASP457 to indicate that the member has bypassed confirmation of the lock release. ACTION JES2 issues message $HASP479 in all cases. COLDTIME Displays the time of the cold start (yyyy.ddd,hh:mm:ss). Scope: MAS-wide.
309
$D MASDEF
COLDVRSN Displays the version of JES2 that was cold started. Scope: MAS-wide. DORMANCY Displays the minimum and maximum time, in hundredths of seconds, that a member of the MAS must wait before it attempts to regain control of the checkpoint data set. Scope: Single member. HOLD Displays the minimum length of time, in hundredths of seconds, that a member of a multi-access spool configuration must maintain control of the checkpoint data set. Scope: Single member. LOCKOUT Displays the time interval, in hundredths of seconds, from the first denied request for the checkpoint data set by a member of a multi-access spool configuration to the time that the configuration assumes the member controlling the checkpoint data set is inoperative. Scope: Single member. OWNMEMB|OWNSID Displays the member name of this member. Scope: Single member. QREBUILD Displays the count of times that the job queue has been rebuilt since the last all-member warm start or cold start. Scope: MAS-wide. QUESHELD This information is displayed if this JES2 member has control of, and is actively updating, the checkpoint data set. Scope: Single member. RESTART Displays whether (Yes) or not (No) a JES2 MAS member can make the jobs on a failed member eligible for restart. Notes: 1. If the job is registered with the automatic restart manager, the automatic restart manager restarts jobs regardless of the settings of the AUTOEMEM= and RESTART= parameters. 2. If a JES2 member has been identified as the target of an automatic reconfiguration facility takeover, specify RESTART=NO. For more information about the Processor Resource/Systems Manager (PR/SM) environment to which this applies, see z/OS MVS Recovery and Reconfiguration Guide, SA22-7623 and z/OS MVS Setting Up a Sysplex, SA22-7625 Scope: Single member.
310
$D MASDEF
RSVHELD This information is displayed if this JES2 member has control of, but is not actively updating, the checkpoint data set. Scope: Single member. SHARED Displays whether the direct access volumes being used in the configuration for spool and checkpoint devices are to be marked as shared (CHECK) or non-shared (NOCHECK). Scope: Single member. SYNCTOL Displays the time interval, in seconds, that must expire before a JES2 member in a multi-access spool configuration is assumed to be inoperative. Scope: Single member. WARMTIME Displays the time of the last all-member warm start (yyyy.ddd,hh:mm:ss). Scope: MAS-wide. XCFGRPNM Displays the multi-access spool configurations XCF groupname. The default is the local node name. The node name is defined on the NAME= parameter of the local NODE(nnnn) initialization statement. Scope: MAS-wide.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
The scope of this command varies by parameter. See the description of each parameter for its scope. Some parameters on this command will display information about the entire MAS, while other parameters will display information about this member only. You might want to use the parameters for this command to get information about all members of the MAS. If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP843 message displays the current values of all the parameters.
Example
1 $d masdef $HASP843 MASDEF OWNMEMB=IBM1,AUTOEMEM=OFF,CKPTLOCK=ACTION, $HASP843 COLDTIME=(1994.192,12:37:29),COLDVRSN=SP 5.2.0,
Chapter 5. Command Reference Section
311
$D MASDEF
$HASP843 $HASP843 $HASP843 DORMANCY=(100,500),HOLD=30,LOCKOUT=1000, RESTART=NO,SHARED=NOCHECK,SYNCTOL=120, XCFGRPNM=POK,QREBUILD=0
312
$D MEMBer
Syntax
$D MEMBer nn member , ( nn * ) mm * - member - member - * mm *
member member *
,BOSS
,COMMAND
,IND
,NAME
,RESETBY
,SLEVEL
,SMFID
,SSNAME
,STATUS
313
$D MEMBer
,SYSNAME
,TIME
,VERSION
, /
BOSS
= ^=
No Yes
, /
IND
= ^=
No Yes
, /
NAME
= ^= > <
name
, /
SLEVEL
= ^= > <
slevel
, /
SSNAME
= ^= > <
ssname
, /
STATUS
= ^=
WAITING-WARMSTART-CLEANUP ACTIVE DEFINED DORMANT DOWN DRAINED FAILED INITIALIZING INUSE JESXCF-FAILED JES2-FAILED MVS-GONE TERMINATED TERMINATING UNDEFINED UNDEFINED-PENDING
, /
SYSNAME
= ^= > <
sysname
, /
SMFID
= ^= > <
smfid
, /
VERSION
= ^= > <
version
Parameters
nn The numeric value (1-32), range of values. member The 1 to 4 alphanumeric or special ($, #, or @) character name of the MAS
314
$D MEMBer
member to be displayed. Specify the member number or the member name to obtain information on a specific member, or an asterisk (*) to obtain information for all members of the MAS. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. BOSS[=No|Yes] Displays the JES2 WLM representative for the MAS on this MVS image. The primary JES2 will be the BOSS if its active and its a part of the MAS, otherwise, the first JES2 subsystem defined for the MAS (which is active) is declared the BOSS. COMMAND Specifies that any commands ($P or $P XEQ) which have been issued on this member should be listed. IND[=No|Yes] Specifies that the independent mode status of the member is to be displayed. This is only displayed if the member is defined. LASTART Specifies that the type and time of the last start is to be displayed. This value is not displayed if the member has never been started. STARTYPE The type is one of the following: v COLD v HOT v QUICK v FORMAT v ALL-MEMBER-WARM v SINGLE-MEMBER-WARM STARTIME The time is GMT time, and is in the format of yyyy.ddd,hh:mm:ss. NAME[=name] Specifies the 1 to 8 alphanumeric or special ($, #, or @) character name of the member to be displayed. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. RESETBY Requests the identity of the member (the member number) that is performing a $E MEMBER of this member. This is only displayed while the $E MEMBER is in progress. SLEVEL[=slevel] Specifies that the service level number of the member is to be displayed. SSNAME[=ssname] Displays the subsystem name used by this member. STATUS[=ACTIVE|DEFINED|DORMANT|DOWN|DRAINED| FAILED|INITIALIZING|INUSE|JESXCF-FAILED|JES2-FAILED| MVS-GONE|TERMINATED|TERMINATING| UNDEFINED|UNDEFINEDPENDING|WAITING-WARMSTART-CLEANUP] Specifies that the current status of the member is to be displayed. Valid keyword values for the STATUS parameter and their meanings are as follows: ACTIVE Displayed when the member that is up and running.
Chapter 5. Command Reference Section
315
$D MEMBer
DEFINED Displays only defined members. Note: This parameter is only a filter. You can specify this status but DEFINED will not be displayed in the message. DORMANT Displayed when the member that is up and running but has not recently accessed the JES2 checkpoint. DOWN Displays only TERMINATED, DRAINED or FAILED members. Note: This parameter is only a filter. You can specify this status but DOWN will not be displayed in the message. DRAINED Displayed when JES2 is no longer available and all work has been reset. FAILED Displays all members that have a status of JES2-FAILED, JESXCF-FAILED or MVS-GONE. Note: This parameter is only a filter. You can specify this status but FAILED will not be displayed in the message. INITIALIZING Displayed when the member is in the process of initializing. INUSE Displays only ACTIVE, INITIALIZING, TERMINATING and DORMANT members. Note: This parameter is only a filter. You can specify this status but INUSE will not be displayed in the message. JESXCF-FAILED Displayed when JES2 abends. Indicates that JESXCF is no longer available. JES2-FAILED Displayed when JES2 abends. Indicates that the address space is no longer available. MVS-GONE Displayed when the MVS system that JES2 was running on is no longer available and a $E MEMBER is required. TERMINATED Displayed after a $PJES2,TERM is issued. Specifies that JES2 is no longer available and a $E MEMBER is required. TERMINATING Displayed when JES2 is in the process of terminating. UNDEFINED Displayed when the member has not been defined through a MEMBER(n) initialization statement.
316
$D MEMBer
UNDEFINED-PENDING Displayed when the member was previously defined through a MEMBER(n) initialization statement, but is in the process of having its definition deleted by another member in initialization. WAITING-WARMSTART-CLEANUP Display members for which warm-start processing has completed with some jobs still pending processing. SYSNAME[=sysname] Specifies that the system name of the MVS image of the member is to be displayed. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. The system name will not be displayed if it is equal to the member name (NAME=) or if the member is inactive. SMFID[=smfid] Specifies that the SMF ID of the MVS image of the member is to be displayed. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. The SMF IDwill not be displayed if it is equal to the member name (NAME=) or if the member is inactive. TIME Displays the last time (in GMT time) the member accessed the checkpoint. This is not displayed if the member is inactive or undefined. VERSION[=version] Indicates the version of the JES2 release that is running on this member.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MAS-wide. The response to this command will be a display of information about the requested member(s) only.
Messages
The $HASP673 message is issued in response to this command.
Examples
1 $D MEMBER(2) NAME=IBM2,STATUS=ACTIVE,IND=NO, LASTART=(ALL-MEMBER-WARM,(1997.134, 12:54:30)),SYSNAME=SY1, TIME=(1997.136,19:08:00.77), VERSION=OS 2.4.0,SLEVEL=0,SSNAME=JES2, BOSS=YES $HASP673 MEMBER(2) $HASP673 $HASP673 $HASP673 $HASP673 $HASP673
317
$D MEMBer
2 $D MEMBER(*), ind=no MEMBER(1) NAME=PSU2,STATUS=DRAINED,IND=NO NAME=IBM2,STATUS=ACTIVE,IND=NO, LASTART=(ALL-MEMBER-WARM,(1994.235, 20:31:38)),SYSNAME=SY1, TIME=(1994.235,20:32:02.41), VERSION=SP 5.2.0 MEMBER(3) NAME=NIH2,STATUS=DRAINED,IND=NO MEMBER(4) NAME=BCG2,STATUS=DRAINED,IND=NO MEMBER(5) NAME=WFB2,STATUS=DRAINED,IND=NO MEMBER(6) NAME=SY06,STATUS=DRAINED,IND=NO MEMBER(7) NAME=SY07,STATUS=DRAINED,IND=NO MEMBER(8) NAME=SY08,STATUS=DRAINED,IND=NO
$HASP673 $HASP673 MEMBER(2) $HASP673 $HASP673 $HASP673 $HASP673 $HASP673 $HASP673 $HASP673 $HASP673 $HASP673 $HASP673 . . .
This command displays information about all members not in independent mode.
318
$D MODule(jxxxxxxx)
Syntax
$D MODule module , ( module module ) Selection limiting keywords
,ADDRess
,ASSEMBLY
,ENViron
,EXITPTS
,FMID
,IBMJES2
,LASTapar
,LASTPTF
,LENgth
,LOADmod
319
$D MODule(jxxxxxxx)
,LONG
,MACLevel
,ROUtines
,ROUTINES
,SPLevel
,TABles
,UVERSION
,VERSION
, /
ADDRess
= = > <
address
, /
ENViron
= =
, /
IBMJES2
= =
BASE No SAMPLE
, /
LASTapar
= = > <
lastapar
, /
LENgth
= = > <
length
, /
LOADmod
= = > <
loadmod
, /
MACLevel
= = > <
maclevel
, /
SPLevel
= =
CHECK NOCHECK
Parameters
module Specifies the JES2 module name for which information is to be displayed. Specify the module name (for example, HASPNUC or HASCLINK) to obtain specific module information, or an asterisk ( * ) to obtain information for all modules. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. ADDRess=address The hexadecimal address where the module has been loaded into storage. If a module has not been loaded into storage, an address of 00000000 is displayed. You can specify wildcards on this parameter. See Using wildcards on page 98 for additional information. ASSEMBLY Displays the date and time the module was assembled. ENViron[=FSS|JES2|MIXED| SUBTASK|USER] Displays the value of the modules ENVIRON= parameter that was set in the $MODULE macro. You can specify the ENVIRON parameter without an environment keyword, or you can specify an environment if you are requesting information about all modules in that environment only (for example, ENV=USER).
320
$D MODule(jxxxxxxx)
Valid keyword values for the D MODULE ENV= parameter and their meanings are: Value Meaning FSS JES2 MIXED Display only those modules that contain routines ($ENTRY macros) that are not all defined for the same environment. Having a module with routines defined for different environments is rare in IBM modules, and is not recommended in installation-defined modules. SUBTASK Display only those modules that are assembled for the JES2 address space subtask environment. USER Display only those modules that are assembled for the multi-address-space user environment. EXITPTS Displays the exit points defined in the module. If the module being displayed issued the $EXIT macro, the display includes the exit points defined by that macro. An exit point is a number from 0 through 255. For example, if the module defined exit point 31, the display shows EXITPTS=(31). If the module did not issue the $EXIT macro, the display shows EXITPTS=( ). FMID Displays the FMID of the release of JES2. IBMJES2[=BASE|No|SAMPLE] Displays the category of the module. The categories are: a base module in the JES2 product, a JES2-provided sample exit routine, or any other JES2 module thats not provided as part of the JES2 product. You can specify this parameter without any keywords or you can specify a keyword to display only those modules that fall into one of the three module categories just mentioned. The keyword values and their meanings are: Value Meaning BASE Limit the display to only base modules in the JES2 product. No Limit the display to JES2 modules that are not base modules or JES2-provided sample exit routines. Display only those modules that are assembled for the FSS address space environment. Display only those modules that are assembled for the JES2 address space main task environment.
SAMPLE Limit the display to JES2-provided sample exit routines. LASTapar[=lastapar] Displays the last service that has been applied to a module. You can specify wildcards on this parameter. See Using wildcards on page 98 for additional information. If no service has been applied to a module, a value of NONE is displayed. Optionally, you can specify a service number if you are requesting information about all modules last affected by that service. You can specify NONE to
Chapter 5. Command Reference Section
321
$D MODule(jxxxxxxx)
display information about all modules that have not been affected by service. The keyword values and their meanings are: Value Meaning aannnnn Limit the display to only those modules that have APAR lastapar applied as their last APAR. For non-IBM modules that contain a character constant with the label APARNUM, the display includes the value of the character constant. For non-IBM modules that do not contain this constant, the display includes the value of the &UVERS global variable defined in the $HASPGBL macro. LASTPTF Displays the latest PTF maintenance applied to this module. LENgth=length Displays the module hexadecimal length. The length that is displayed is the modules approximate length and is generally within 8 bytes of the actual module length. LOADmod[=loadmod] Displays the name of the load module that contains the module. You can specify a load module name if you are requesting information about all modules contained within that specific load module. You can specify wildcards on this parameter. See Using wildcards on page 98 for additional information. LONG Displays additional information. Note: Because LONG automatically triggers a long display, you cannot add additional display-limiting parameters on this command; however, you can add selection-limiting parameters. MACLevel[=maclevel] Displays the value the module assigned to the SET= parameter on the SPLEVEL macro. You can specify a numeric value to display only those modules that have assigned a specific value to the SPLEVEL SET= parameter. The numerical values and their meanings are: Value Meaning 1 2 3 4 Display only those modules that specified 1 on the SET= parameter of the SPLEVEL macro. Display only those modules that specified 2 on the SET= parameter of the SPLEVEL macro. Display only those modules that specified 3 on the SET= parameter of the SPLEVEL macro. Display only those modules that specified 4 on the SET= parameter of the SPLEVEL macro.
ROUtines Displays the names of any EXIT(nnn) routines that are included in the load module. EXIT(nnn) routines are those routines named on the ROUTINE= parameter of the EXIT(nnn) initialization statement.
322
$D MODule(jxxxxxxx)
Only routine names in installation-provided modules or in IBM-provided sample exit modules will be included. ROUTINES Displays routines and their addresses within the module. Only routines defined by $ENTRY are displayed. When used as a filter, only the module containing the routine and the specified routine address (unless LONG is also specified) are displayed. SPLevel[=CHECK|NOCHECK] Displays the value the module assigned to the SPLEVEL= parameter on the $MODULE macro. Optionally, you can display only those modules that have assigned a specific value to the $MODULE SPLEVEL= parameter by coding one of the following keywords: Value Meaning CHECK Display only those modules that specified CHECK on the $MODULE SPLEVEL= parameter. NOCHECK Display only those modules that specified NOCHECK on the $MODULE SPLEVEL= parameter. TABles Displays any DYNAMIC tables which are defined in this module along with the type of table. UVERSION Displays the user version of JES2 (LONG only). VERSION Displays the version of JES2 (LONG only).
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP468 message displays the current address and assembly information for the desired modules, and if applicable, the latest service.
Examples
1 $dmodule(haspnuc)
323
$D MODule(jxxxxxxx)
$HASP468 MODULE(HASPNUC) $HASP468 MODULE(HASPNUC) ADDRESS=00006000,ASSEMBLY=(11/17/99, $HASP468 $HASP468 $HASP468 $HASP468 $HASP468 18.07),ENVIRON=MIXED,EXITPTS=(7,21), FMID=HJE6607,IBMJES2=BASE, LASTAPAR=OW40627,LASTPTF=UW63110, LENGTH=00A530,LOADMOD=HASJES20, MACLEVEL=6,SPLEVEL=CHECK
JES2 displays the characteristics of HASPIRA in load module HASPINIT. However, if load module HASPINIT was not linked with load module HASJES20, the load module is no longer present. Therefore, the $HASP468 message cannot provide an address.
3 $dmodule,routines=$post $HASP468 $HASP468 $HASP468 $HASP468 $HASP468 $HASP468 $HASP468 $HASP468 MODULE(HASPNUC) MODULE(HASPNUC) ADDRESS=00006000,ASSEMBLY=(11/17/99, 18.07),ENVIRON=MIXED,EXITPTS=(7,21), FMID=HJE6607,IBMJES2=BASE, LASTAPAR=OW40627,LASTPTF=UW63110, LENGTH=00A530,LOADMOD=HASJES20, MACLEVEL=6,ROUTINES=($POST=00007EA8), SPLEVEL=CHECK
JES2 displays the module containing the routine $POST and includes the address of the $POST routine itself.
4 $dmodule(*),lastapar=none $HASP468 MODULE(HASCDAU) $HASP468 $HASP468 $HASP468 $HASP468 ADDRESS=03004BB8,ASSEMBLY=(08/19/92, 15.55),ENVIRON=USER,EXITPTS=(), IBMJES2=BASE,LASTAPAR=NONE, LENGTH=0002C0,LOADMOD=HASCDAU, MACLEVEL=4,SPLEVEL=CHECK
$HASP468 MODULE(HASCDSAL) ADDRESS=02FF2478,ASSEMBLY=(08/19/92, $HASP468 15.56),ENVIRON=USER, $HASP468 EXITPTS=(31,34,48),IBMJES2=BASE, $HASP468 LASTAPAR=NONE,LENGTH=004B80, $HASP468 LOADMOD=HASCDSAL,MACLEVEL=4, $HASP468 SPLEVEL=CHECK
JES2 displays information about the modules that have not been affected by service.
$dmodule(hascsisc),long $HASP468 MODULE(HASCSISC) $HASP468 MODULE(HASCSISC) ADDRESS=05DAC000,ASSEMBLY=(11/17/99, $HASP468 16.04),ENVIRON=USER,EXITPTS=(), $HASP468 FMID=HJE6607,IBMJES2=BASE, $HASP468 LASTAPAR=OW35104,LASTPTF=UW63920, $HASP468 LENGTH=004130,LOADMOD=HASCSISC, $HASP468 MACLEVEL=6, $HASP468 ROUTINES=(SSICSCAN=05DAC050, $HASP468 SSICSTAT=05DAC2E0,SSISTAT=05DAC760,
324
$D MODule(jxxxxxxx)
$HASP468 CNVDEVID=05DAF1C8,PRJBCLD=05DAF4C8), $HASP468 SPLEVEL=CHECK,TABLES=(), $HASP468 VERSION=OS 2.7.0,UVERSION=
JES2 displays characteristics of module HASCSISC, including extended attributes such as the list of routine names.
5 $dmodule(haspnuc),addr,assembly,env,exitpts $HASP468 MODULE(HASPNUC) $HASP468 ADDRESS=00006000,ASSEMBLY=(08/19/92, 16.37),ENVIRON=JES2,EXITPTS=(7,14,21)
JES2 displays the address, assembly date, environment, and exit points for module HASPNUC.
6 $dmod(haspnuc),load,macl,spl $HASP468 MODULE(HASPNUC) $HASP468 LOADMOD=HASJES20,MACLEVEL=4, SPLEVEL=CHECK
This command displays the name of the load module in which this module is linked, the value assigned to the SET= parameter on the SPLEVEL macro, and the SPLEVEL= assigned.
7 $dmodule,routines=$post $HASP468 MODULE(HASPNUC) $HASP468 MODULE(HASPNUC) $HASP468 $HASP468 $HASP468 $HASP468 $HASP468 $HASP468 8 $dmodule,(hascsisc),long $HASP468 MODULE(HASCSISC) $HASP468 MODULE(HASCSISC) ADDRESS=05DAC000,ASSEMBLY=(11/17/99, $HASP468 16.04),ENVIRON=USER,EXITPTS=(), $HASP468 FMID=HJE6607,IBMJES2=BASE, $HASP468 LASTAPAR=OW35104,LASTPTF=UW63920, $HASP468 LENGTH=004130,LOADMOD=HASCSISC, $HASP468 MACLEVEL=6, $HASP468 ROUTINES=(SSICSCAN=05DAC050, $HASP468 SSICSTAT=05DAC2E0,SSISTAT=05DAC760, $HASP468 CNVDEVID=05DAF1C8,PRJBCLD=05DAF4C8), $HASP468 SPLEVEL=CHECK,TABLES=(), $HASP468 VERSION=OS 2.7.0,UVERSION= ADDRESS=00006000,ASSEMBLY=(11/17/99, 18.07),ENVIRON=MIXED,EXITPTS=(7,21), FMID=HJE6607,IBMJES2=BASE, LASTAPAR=OW40627,LASTPTF=UW63110, LENGTH=00A530,LOADMOD=HASJES20, MACLEVEL=6,ROUTINES=($POST=00007EA8), SPLEVEL=CHECK
325
$D N
Syntax
$D N ,IND ,memname ,ANY ,ALL ,V=volser ,Q= CNV class STC|$ TSU|@ * class STC|$ TSU|@ *
XEQ
Parameters
N JES2 displays job information for the specified jobs. Note: You must specify at least one operand, unless you are issuing this command from an RJE terminal. If you do not specify any operands, JES2 issues the $HASP606 message indicating that you supplied an insufficient number of operands. memname JES2 displays information for all jobs whose affinities for member(s) of the MAS include the member identified by the 1 to 4 character member name. ANY JES2 displays information for all jobs with affinities of ANY. ALL JES2 displays information for all jobs in the multi-access spool configuration, regardless of affinity. If a job has affinity with more than one member, it is displayed only once. IND JES2 displays information for all jobs whose affinity is for members operating in independent mode. When you specify IND with memname, JES2 displays only those jobs with IND affinity and member name affinity. When you specify IND with ANY, JES2 displays all jobs with the affinity of ANY and IND. When you specify IND with ALL or when it is specified alone, JES2 displays all jobs with the IND affinity.
326
$D N
Notes: 1. The first two operands of the $D N command (those operands concerning affinity) are positional in nature; if entered, they must be in the order shown. 2. The ANY and IND parameters refer only to jobs awaiting execution/conversion. Affinity is ignored for jobs awaiting print/punch processing; in this case, specifying ANY or IND results in a list of all waiting jobs. V=volser JES2 displays information for all jobs that have data on the spool volume specified by volser. R= The output group destination or range of destinations (low to high) for which JES2 displays job information. If you omit this operand or specify this operand without a node id when entering the command from a remote workstation or another node (through a node send command, $Nn), JES2 displays only those jobs with a default print/punch routing to that particular remote or node. Therefore, if you want to display jobs with print/punch routing of the target node, this operand must be specified with a node id of the target node (for example, R=N2.U25 or R=NEWYORK.R41.) For further information, refer to the section on SEND commands through the network. The value for all routing numbers can range from 1 to 32767. See Route codes on page 97 for a description of how to specify route codes. Note: NODENAME=REQUIRED on the DESTDEF initialization statement will cause JES2 to require that a userid be prefixed with a node name. The valid specifications are: LOCAL|ANYLOCAL Indicates that job queue information is displayed at the local node. destid Indicates that job queue information is displayed at the specified node(s) through an alias for the name of the node. If destid is specified alone, it refers to both the node and the remote. Nnnnn|nodename Indicates that job queue information is displayed at the specified node(s) through the decimal node identifier or an EBCDIC nodename. NnnnnRmmmm|node.remote Indicates that job queue information is sent to the remote Rmmmm at the node Nnnnn. Rmmmm can also be specified as RMmmmm or RMTmmmm. Ummmm Indicates a special local routing for job queue information. Wildcards are not supported. node.destid Indicates that job queue information is displayed at the specified node. The destid refers to both the node and the remote. remote Indicates that job queue information is displayed at a remote. Remote can be specified in any of the following ways: LOCAL|ANYLOCAL Indicates that job queue information is displayed at the local node.
Chapter 5. Command Reference Section
327
$D N
Rmmmm Indicates that job queue information is displayed at the specified remote. Rmmmm can also be specified as RMmmmm or RMTmmmm. destid Indicates that job queue information is displayed at a destid referring to a remote. * node.* Displays output for all userids at the local node. node.*-node.* Displays all output for each node in the range. The range may include the local node. Nnnnn-Nnnnn Displays all output for each node in the range. The range may include the local node. Rmmmm-Rmmmm Displays all output for each remote in the range. Unnnn-Unnnn Displays all output for each special local node in the range. Wildcards are not supported. NnnnnRmmmm-NnnnnRmmmm Displays a range of remotes at a node. Both node identifiers must be the same. Q=CNV Jobs waiting for conversion are displayed. You can specify one of the following values for cnv: * Jobs waiting for conversion in all classes (A-Z, 0-9, STC, and TSU) are displayed. Specifying CNV* is equivalent to specifying CNV. Must be used as
Q=CNV*
Displays all output for the local node, including special local, userid, and a remote workstation on the local node.
. Cannot be used by itself. class The execution class (A-Z, 0-9) of jobs waiting for conversion are displayed.
STC|$ Started tasks waiting for conversion are displayed. This operand can be abbreviated $. TSU|@ Time-sharing users waiting for conversion are displayed. This operand can be abbreviated @. Q=XEQ Jobs waiting for execution are displayed. You can specify one of the following values for xeq: * Jobs waiting for execution in all classes (A-Z, 0-9, STC, and TSU) are displayed. Specifying XEQ* is equivalent to specifying XEQ. Must be used as
Q=XEQ*
328
$D N
. Cannot be used by itself. class The execution class (A-Z, 0-9) of jobs waiting for execution are displayed.
STC|$ Started tasks waiting for execution are displayed. This operand can be abbreviated $. TSU|@ Time-sharing users waiting for execution are displayed. This operand can be abbreviated @. Q=OUT Jobs waiting for output processing are displayed. Q=PPU Jobs queued for print/punch processing are displayed. When JES2 displays the status of a job awaiting print/punch processing, only the default print and punch routings are listed. This does not necessarily mean the job has any output data sets awaiting print/punch processing for the default destination; there might be one or more specially routed data sets awaiting output. The $D N display does not provide this type of job output information. Q=HOLD Jobs waiting for any activity and in hold status are displayed. Q=XMT Jobs queued for network transmission are displayed. See Route codes on page 97. for a description of how to specify route codes. The destination that is converted to the lower (or only) route code should be specified first, followed by the destination with the higher route code. If, for example, NEWYORK is the node name equivalent to N1 and DENVER is the node name equivalent to N10, then Q=XMT NEWYORK-DENVER is the order required to display jobs on the transmit queue for nodes N1,N2,...N10. If this command originates from another node in the network and the Q= operand does not specify a node (first-level destination), the receiving node defaults the first-level destination to the node where the command originated. If this command is sent to another node in the network using the $N command, be aware that the receiving node will default the node (first-level destination) of the Q= operand to the sending node. If another node is desired, specify a destination on the Q= operand that will resolve to the desired node (first level destination) at the receiving node. The valid specifications are: LOCAL|ANYLOCAL Indicates that the number of jobs queued is displayed at the local node. Nnnnn|nodename Indicates that the number of jobs queued is displayed at the specified node through the decimal node identifier or an EBCDIC nodename. You can also specify a range (low to high). destid Indicates that the number of jobs queued is displayed at the specified node(s) through an alias for the name of the node. Notes: 1. Since the system only transmits jobs to NJE nodes, destinations that refer to a remote work station are converted to the node to which that remote workstation is attached.
329
$D N
2. NODENAME=REQUIRED on the DESTDEF initialization statement will cause JES2 to require that a userid be prefixed with a node name.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If you specify only the Q= operand and omit all other operands (with the exception of the L= operand), JES2 displays information for jobs that have execution affinity for the member to which the console entering the command is attached. v If you omit the Q= operand, JES2 displays information for jobs in the following categories: All jobs queued for conversion All jobs queued for execution All jobs queued for network transmission All jobs queued for the output processor All jobs queued for print/punch Information for jobs in hold status is not displayed.
Scope
MAS-wide. This command can display information about jobs on any or all members of the MAS, depending on the parameters you provide.
Messages
The $HASP890 message displays job number, job name, job status, job class, job priority, and job member affinities. The $HASP646 message displays the percentage of spool utilization.
Example
1 $D N $dn,all,r=local,q=xeq JOB00017 $HASP890 JOB(MYJOB) $HASP890 JOB(MYJOB) STATUS=(AWAITING EXECUTION),CLASS=H, $HASP890 PRIORITY=9,SYSAFF=(ANY),HOLD=(JOB) $HASP646 9.1346 PERCENT SPOOL UTILIZATION
JES2 displays information for all jobs in the MAS configuration that are waiting for conversion and/or execution whose output routings are local.
2 $dn,q=xeqc JOB00011 $HASP890 JOB(JLNK1007) $HASP890 JOB(JLNK1007) STATUS=(AWAITING EXECUTION),CLASS=C, $HASP890 PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE)
330
$D NETACCT
Syntax
$D NETACCT Selection limiting keywords
,JACCT
,JTHRU
,NACCT
,NTHRU
,TYPE
, /
JACCT
= ^= > <
jacct
, /
JTHRU
= ^= > <
jthru
, /
NACCT
= ^= > <
nacct
, /
NTHRU
= ^= > <
nthru
, /
TYPE
= ^= > <
type
Parameters
NETACCT Displays JES2 networking account numbers. JACCT=jacct Specifies the 1 to 4 character name that defines a job account number. JTHRU=jthru Specifies the 1 to 4 character upper limit of the range of job account numbers. NACCT=nacct Specifies the 1 to 8 character name that defines a network account number. NTHRU=nthru Specifies the 1 to 8 character upper limit of the range of network account numbers.
Chapter 5. Command Reference Section
331
$D NETACCT
TYPE=type Specifies the type of account number defined by this statement.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only.
Messages
The individual parameter descriptions list the resulting messages.
Example
1 $D NETACCT $d netacct $HASP468 NETACCT $HASP468 NETACCT JACCT=1234,JTHRU=1234,NACCT=NET001A, $HASP468 NTHRU=NET001A,TYPE=BOTH
332
$D NETSRV(nnn)
| | | | | | |
Syntax
$D NETsrv NETSERV NSV nn , ( nn * ) mm * mm *
| | | | | | | |
,ASID
,LONG
,NAME
,SESSIONS
,SOCKet
,STACK
,STATUS ,TRaceio =(
, /
ASID
= ^= > <
asid
, /
NAME
= ^= > <
name
| |
, /
SOCKet
= ^= > <
socket
, /
STACK
= ^= > <
stack
| |
, /
STATUS
= ^=
333
$D NETSRV(nnn)
|
, , / / / TRaceio= ( / Jes Common = ^= No Yes )
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Parameters
SOCKET= Displays or filters on the name of a local socket upon which the NETSRV should listen. TRaceio=(YES|NO|JES=YES|NO|COMMON=YES|NO|VERBOSE=YES|NO) Displays or filters based on the trace settings of the server. YES Indicates all types of tracing are to be done. NO Indicates no tracing is to be done. JES=YES|NO Indicates whether data and control records passed between JES and TCP/IP are to be traced for this server. COMMON=YES|NO Indicates whether TCP/IP and other services called by IAZNJTCP are to be traced. VERBOSE=YES|NO Indicates whether diagnostic messages are to be issued to the master console and SYSLOG. STACK= Displays or filters based on the name of the TCP/IP stack to be used by this server. ASID= Specifies the hexadecimal address space id associated with the active NETSRV. NAME= Specifies the address space name associated with the active NETSRV. The address space name is the subsystem name followed by the character S followed by the 3digit device number, for example, JES2S001. SESSIONS= Displays a list of all the active connections associated with this server (line number/socket name). STATUS= Displays the status of the server. LONG= Displays extended parameters associated with the server (including SESSIONS)
334
$D NETSRV(nnn)
| | | | | | | | | | | | | | | | |
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure that the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single system.
Messages
$HASP898
Example
$dnetsrv2 $HASP898 NETSRV2 $HASP898 NETSRV2 STATUS=ACTIVE,ASID=0027,NAME=JES2S002 $HASP898 SOCKET=S2,STACK=,TRACEIO=(JES=NO,COMMON=NO, $HASP898 VERBOSE=NO)
335
$D NJEDEF
Syntax
$D NJEDEF ,DELAY ,HDRBUF , =( FREE LIMIT WARN ) ,JRNUM
,JTNUM
,LINENUM
,MAILMSG
,MAXHOP
,NODENUM
,OWNNAME
,OWNNODE
,PATH
,RESTMAX
,RESTNODE
,RESTTOL
,SRNUM
,STNUM
,TIMEtol
Parameters
DELAY Displays the maximum length of time, in seconds (10-999), that a message or command is delayed in any stage of transmission between nodes before the system assumes that possible lockout situations have occurred. HDRBUF=[FREE|LIMIT|WARN] Allows installations to display the amount of storage used by NJE headers and trailers. FREE Displays the number of header/trailer cells at an installation. LIMIT Displays the maximum number (10-9999) of NJE header and trailer cells allocated at this installation for jobs and SYSOUT data received from the network. WARN Displays the percentage (0-100) of NJE header and trailer cells in use at an installation. JRNUM Displays the number (0-7) of network job receivers associated with each line. JTNUM Displays the number (0-7) of network job transmitters associated with each line. | | LINENUM Displays the number of lines (0-65535), including CTC (channel to channel) adapters, to be used by this JES2 member for NJE communications. MAILMSG Displays whether (YES) or not (NO) JES2 issues the $HASP549 mail
336
$D NJEDEF
notification message automatically to notify a userid that a transmitted file has arrived from another node or a spool reload procedure. MAXHOP Displays the maximum number of nodes (0-32k) a job or output can cross to reach a destination. NODENUM Displays the maximum number (1-32767) of nodes in the NJE network to which this system belongs, or a value greater than or equal to the highest numbered node in your system. OWNNAME Displays the name of this node. OWNNODE Displays the number (1-32767) of this node. PATH Displays the maximum number (1-8) of paths from the local member to a given non-adjacent node that must be maintained simultaneously. RESTMAX Displays the maximum tolerable resistance (0 to 79992000) of a network connection for both adjacent and non-adjacent nodes. RESTNODE Displays the resistance (1-2000) of this node to the flow of jobs through the network. RESTTOL Displays the maximum difference in resistance (0-8000) allowed between the best possible path and an acceptable alternate path. SRNUM Displays the number (0-7) of NJE SYSOUT receivers associated with each NJE line. This value should match the STNUM specification at other subsystems with which this member communicates directly. STNUM Displays the number (0-7) of NJE SYSOUT transmitters associated with each NJE line. TIMEtol Displays the time variation in minutes (0-1500) that occurs between the time-of-day (TOD) clocks of this node and any adjacent node at signon.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T NODE(nnnn) command sets the command authority for a node. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single Member. The response to this command will be a display of information about this member only.
337
$D NJEDEF
Messages
The $HASP831 message displays the current values of all the parameters on the NJEDEF initialization statement.
Example
1 $D njedef $HASP831 NJEDEF OWNNAME=POK,OWNNODE=1,DELAY=120, $HASP831 HDRBUF=(LIMIT=10,WARN=80,FREE=10),JRNUM=1, $HASP831 JTNUM=3,SRNUM=4,STNUM=3,LINENUM=3,MAILMSG=NO, $HASP831 MAXHOP=0,NODENUM=5,PATH=1,RESTMAX=79992000, $HASP831 RESTNODE=100,RESTTOL=0,TIMETOL=1440
The $HASP831 message displays the current status of global network definitions in the installation.
338
$D NODE(nnnn)
Syntax
$D NODE nnnn xxxxxxxx , ( nnnn * xxxxxxxx xxxxxxxx ) nnnn * nnnn *
,ADJACENT
,OWNNODE
,COMPACT
,DIRECT
,ENDNODE
,HOLD
,LINE
,LOGMODE
,LOGON
,NAME
,NETSRV
,PATHMGR
,PENCRYPT
,PRIVATE
,RECeive
,REST
,SENTREST
,SIGNON
,STATUS
,SUBnet
,TRace
,TRAnsmit
339
$D NODE(nnnn)
Selection limiting keywords: |
,ADJACENT= YES NO
= ^= Net = ^= System = ^=
|
, / COMPACT = ^= > < nn ,DIRECT= NO YES
, /
ENDNODE
= ^=
No Yes
, /
HOLD
= ^=
JOBS NONE
, /
LINE
= ^= > <
line
, /
LOGMODE
= ^= > <
avvvvvvv
|
, / LOGON = ^= > < logon , / NETSRV = ^= > < nnn
|
,OWNNODE= YES NO , / PATHMGR = ^= No Yes
, /
PENCRYPT
= ^=
No Yes
, /
PRIVATE
= ^=
No Yes
, /
RECeive
= ^=
, /
REST
= ^= > <
nnnn
|
, / SENTREST = ^= ACCEPT IGNORE ,SIGNON= COMPAT SECURE
340
$D NODE(nnnn)
, /
SUBnet
= ^= > <
xxxxxxxx
, /
TRace
= ^=
No Yes
, /
TRAnsmit
= ^=
Parameters
nnnn|xxxxxxxx|* The subscript of the node(s). The subscript can specify: v A numeric value, 1-32767, as specified by the NODENUM parameter on the NJEDEF initialization statement, for example NODE(105). v The 1 to 8 alphanumeric or special ($, #, or @) character name of a node (jxxxxxxx) as specified by the NAME parameter on the NODE(nnnn) initialization statement For example, NODE(POKBLDG1). v Wild cards to specify a generic symbolic range. For example, POK* implies all defined nodes whose names begin with POK. Wildcards to specify a a generic value (* implies node 1 to the highest numbered node as specified by the NODENUM parameter on the NJEDEF initialization statement. See Using wildcards on page 98 for additional information. | | ADJACENT=YES|NO Specifies whether the node is currently directly attached. AUTH[=([Device[=Yes|No], Job[=Y|N], Net[=Y|N],System[=Y|N])] Displays the type of command authority assigned to the indicated node. Device[={Y|N}] Refers to the device authority of a node. Job[=Y|N] Refers to the job authority of a node. Net[=Y|N] Refers to the net authority of a node. System[=Y|N] Refers to the system authority of a node. COMPACT[=nn] Displays the compaction table number (0-99) used for outbound compaction in communicating with the specified node. Zero denotes no compaction. | | | | | | | | DIRECT=YES|NO Specifies whether the node must be directly attached: YES Indicates that only direct connections to this node will be considered when computing path information. NO Indicates that the node may be reached either through direct or indirect (for example, store-and-forward) paths.
Chapter 5. Command Reference Section
341
$D NODE(nnnn)
ENDNODE[=Yes|No] Displays whether the node is to be considered eligible for use in store-and-forward operations. HOLD[=JOBS|NONE] Displays whether the local node holds jobs (HOLD=JOBS) or does not hold jobs (HOLD=NONE) received from the specified node. | | LINE[=line] Displays a line that is dedicated to the NJE session associated with this node. The subscript is specified as a numeric value (1-65535). LOGMODE[=avvvvvvv] Displays the logon mode table entry name for this application. LOGON=logon Specifies the number (1-999) of the local LOGON DCT which should be used when specifying connections to the application. NAME The 1 to 8 alphanumeric or special ($, #, or @) character name that symbolically defines the node. | | | | | | NETSRV[=nnn] Specifies the device number of the NETSRV of the local network server (0-999) that is to be used to establish a TCP/IP NJE connection to this node. 0 is the default value which indicates no NETSRV is to be dedicated. OWNNODE=YES|NO Specifies whether the node is the local node. Password[=(SEND[,VERify])] Displays password information associated with the node. SEND Displays whether the 1 to 8 character password sent to a node by an NJE connection has been set. VERify Displays whether the 1 to 8 character password received from a node by an NJE connection has been set. PATHMGR[=No|Yes] Displays whether NCC records relevant to the path manager should be sent to this node. PENCRYPT[=No|Yes] Displays whether passwords sent in NJE headers are to be encrypted for jobs destined to the specified node. PRIVATE[=No|Yes] Displays whether the connection between this node and an adjacent node is broadcast to the rest of the network. This parameter is not used if the node is not a directly adjacent node. RECeive[={BOTH|JOBS|NONE|SYSOUT}] Displays what the local node (as specified by the OWNNODE parameter on the NJEDEF initialization statement) receives from the specified node. If the node is not a directly adjacent node, this parameter is not used. You can specify a keyword value below:
342
$D NODE(nnnn)
BOTH The local node receives both jobs and SYSOUT data from the specified node. JOBS The local node receives only jobs from the specified node. NONE The local node does not receive any data from the specified node. SYSOUT The local node receives only SYSOUT data from the specified node. REST[=nnnn] Displays an integer (0-2000) that represents the resistance rating of the connection as viewed by the installation manager and coordinated with other installations. SENTREST[=ACCEPT|IGNORE] Displays whether the resistance from an adjacent node is used in calculating the resistance of an adjacent connection. | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SIGNON=[COMPAT|SECURE] Specifies the type of signon security to be used when NJE connections to this node are established: COMPAT Specifies that node and line passwords, where applicable, are to be exchanged and verified by the NJE signon process. SECURE Specifies that encrypted session keys are to be exchanged rather than node and line passwords. STATUS Displays the available paths to the node in order of increasing path resistance. If multiple trunks (lines) are associated with a particular path, only the primary trunk will be displayed. The following can be displayed: VIA/LINEnnnn The node can be reached by the specified line. VIA/membername The node can be reached by a line at the specified member of the MAS. PENDING/node-Mnnn There is no active line to the target node even though static connections describe a path to the target. AWAITING RESET WITH node The primary trunk of a multi-trunk connection to node has gone down and the new primary is in the process of being established. SIGNON/LINEnnnn The path to the target node is through line nnnn as soon as the current signon completes. OWNNODE The node is the local node. UNCONNECTED The node can not be reached.
343
$D NODE(nnnn)
SUBnet[=xxxxxxxx] Displays the 1 to 8 alphanumeric or special ($, #, or @) character name of the subnet that is associated with this node. TRace[=No|Yes] Displays whether NCC records to and from the direct connection to the specified node should be traced. TRAnsmit[={BOTH|JOBS|NONE|SYSOUT}] Displays what type of data the local node (as specified by the OWNNODE parameter on the NJEDEF initialization statement) transmits to the specified node. If the node is not a directly adjacent node, this parameter is not used. You can specify a keyword value below: BOTH The local node transmits both jobs and SYSOUT data to the specified node. JOBS The local node transmits only jobs to the specified node. NONE The local node does not transmit any data to the specified node. SYSOUT The local node transmits only SYSOUT data to the specified node.
Authority Required
This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Messages
The $HASP826 message displays information about the specified node.
Example
| | | | | | | | | | |
1 $d node(4) $HASP826 NODE(4) NAME=NODE4,STATUS=(UNCONNECTED), $HASP826 AUTH=(DEVICE=YES,JOB=YES,NET=NO,SYSTEM=YES), $HASP826 TRANSMIT=BOTH,RECEIVE=BOTH,HOLD=NONE, $HASP826 PENCRYPT=NO,SIGNON=COMPAT,DIRECT=NO $HASP826 ENDNODE=NO,REST=0,SENTREST=ACCEPT,COMPACT=0 $HASP826 LINE=0,LOGMODE=,LOGON=0,NETSRV=0, $HASP826 PASSWORD=(VERIFY=(NOTSET),SEND=(NOTSET)), $HASP826 PATHMGR=YES,PRIVATE=NO,SUBNET=SUBNET1, $HASP826 TRACE=NO
344
$D O Job
Syntax
$D O Job JOBQ JQ Stc Tsu nn output , ( nn * output output ) mm * mm *
,ALL
,Burst
,CMDauth
,CRTIME
Age DAys
C FCB
FLash O
,Forms
,HELD
,HOLD
,HOLDRC
,Hours
JM JOBMASK
,LONG
,OFFS
OUTDisp
,OUTGrp
,PAGEs
,Priority
,PRMode
,Queue
,READY
,REBUILD
,RECords
Dest Routecde
,SECLABEL
,STATus
,TSOavail
T UCS
,USERID
,Writer
345
$D O Job
Selection limiting keywords:
, /
ALL
, /
Burst
= ^=
No Yes
, /
CMDauth
= ^=
, /
Age DAys /
> <
days
, /
C FCB /
= ^= > <
fcb
, /
FLash O /
= ^= > <
flash
, /
Forms
= ^= > <
forms
, /
HELD
, /
HOLD
= ^=
, /
HOLDRC
= ^= > <
holdrc
, /
Hours
> <
hours
, /
JM JOBMASK /
= ^= > <
jobmask
, /
OFFS
= ^=
346
$D O Job
, /
OUTDisp
= ^=
, /
OUTGrp
= ^=
outgrp
, /
PAGEs
= ^= > <
pages
, /
Priority
= ^= > <
priority
, /
PRMode
= ^= > <
prmode
, /
Queue
= ^=
queue
, /
READY
, /
REBUILD
= ^=
No Yes
, /
RECords
= ^= > <
records
, /
Dest Routecde /
= ^= > <
routecde
, /
SECLABEL
= ^= > <
seclabel
, /
TSOavail
= ^=
No Yes
, /
T UCS /
= ^= > <
ucs
, /
USERID
= ^= > <
userid
, /
Writer
= ^= > <
writer
347
$D O Job
Parameters
output Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). output The name of the job that is displayed. This name must appear as coded on the JOB statement and must be enclosed in apostrophes. If more than one job exists with this name, all output will be displayed. Job A Batch job or range of batch jobs is to be displayed. JOBQ|JQ Specifies all jobs, STCs, and TSUs across the MAS for processing. Stc A started task or range of started tasks is to be displayed. Tsu A time-sharing user or range of time-sharing users is to be displayed. Age|DAys<days | Age|DAys>days Specifies the age of affected output in days. Only output more (with DAYS>nn) or less (with DAYS<nn) than the specified number of days in age are displayed. The days are counted from the current hour. ALL JES2 displays the specified jobs output elements based on the presence of filters as follows:
ALL specified? YES YES NO NO Filters? YES NO YES NO Meaning ALL is ignored Command applies to all job output elements belonging to the specified job ALL is not considered Command applies to all job output elements belonging to the specified job
Burst={No|Yes} Specifies whether the printed output is to be burst into separate sheets (Yes) or to be in continuous, fanfold mode (No). | | | | | | | | | | | | CC=(ABEND|ABENDED|CANcelled|CNVT_abend|CODE| COMPleted|ENDed_by_cc|EOM_failure|JCLerror| SECurity_failure|TYPE) Displays the completion information associated with the job. ABENDED Display only jobs which have abnormally ended. ABEND Displays the ABEND code associated with the jobs termination. CANcelled Display only jobs which were cancelled by the operator. CNVT_abend Display only jobs which have abnormally ended during the conversion phase.
348
$D O Job
| | | | | | | | | | | | CODE Displays the last (or highest) completion code of steps in the job. COMPleted Display only jobs which completed. ENDed_by_cc Display only jobs which were ended by a step completion code. EOM_failure Display only jobs which failed in end-of-memory processing. JCLerror Display jobs which did not execute due to a JCL error. SECurity_failure Display jobs which failed security validation. C|FCB=fcb A 1 to 4 alphameric character or special character ($ # @) identifier for the data set forms control or carriage specifications. CMDauth=(auth1{,auth2}) Only the output that can be affected from the specified remote(s) or node(s) will be released. The valid specifications are: LOCAL|ANYLOCAL Only the local devices at the local node can affect the output. Nnnnn|nodename Only local devices at the specified node can affect the output. Rnnnn Only the specified remote device can affect the output. NnnnnRnnnn|nodename.Rnnnn Only the specified remote device at the specified remote node can affect the output. destid A destid corresponding to any of the above remote devices. Note: Specification of the CMDAUTH filter does not override the authority of the console from which the command is issued; both the authority of the console and the specified CMDAUTH filter must match for the job to be affected. CRTIME Specifies the time this piece of output was created. Dest|Routecde=routecde The destination assigned to the job output element(s). You may specify a remote destination (workstation), another node, or a specific local device. The value for all routing numbers can range from 1 to 32767. If this command originates from another node in the network and the D|ROUTECDE= operand does not specify a node (first-level destination), the receiving node defaults the first-level destination to the node were the command originated. If this command is sent to another node in the network using the $N command, be aware that the receiving node will default the node (first-level destination) of the D|ROUTECDE= operand to the sending node. If another node is desired,
349
$D O Job
specify a destination on the D|ROUTECDE= operand that will resolve to the desired node (first-level destination) at the receiving node. Notes: 1. If an output group is queued for transmission and an operator changes its destination, the userid portion of the routing is lost. If an output group is interrupted while printing and the destination is changed, the output group will begin printing from the top when it is printed at the new destination. 2. NODENAME=REQUIRED on the DESTDEF initialization statement will cause JES2 to require that a userid be prefixed with a node name. 3. Greater than (> or >=) and less than (< or <=) filters may be used in conjunction to support route code ranges. For example, you could specify the filters R>=R1,R<=R7 to affect output for all remotes in the range R1 to R7. Note that: v The destination being filtered upon is converted to its binary equivalent prior to the comparison. v When using nodal ranges, a specification of nodename.* must be used. Only the nodal routing of the output will be compared. The following specifications are valid: LOCAL|ANYLOCAL Indicates that jobs are to be printed or punched at the local node. destid Indicates that jobs are to be printed or punched at the specified node(s). You can specify this location by an alias for the name of a node. If destid is specified alone, it refers to both the node and the remote. Nnnnn|nodename Indicates that jobs are to be printed or punched at the specified node(s). You can specify a node using the decimal node identifier or an EBCDIC nodename. NnnnnRmmmm|node.remote|node.userid Indicates routing to the remote Rmmmm at the node Nnnnn. Rmmmm can also be specified as RMmmmm or RMTmmmm. Ummmm Indicates special local routing. node.destid Indicates a destination at the specified node. The destid refers to both the node and the remote. The node specified in the destid must be the same as the node portion of the route code. If the number of the remote is reassigned, you can use the destid to send to this node. remote Indicates routing to a remote. Remote can be specified in any of the following ways: LOCAL|ANYLOCAL Indicates that jobs are to be printed or punched at the local node. Rmmmm Indicates routing to the specified remote. Rmmmm can also be specified as RMmmmm or RMTmmmm. destid Indicates routing to a destid referring to a remote.
350
$D O Job
userid Indicates routing to a valid TSO userid. node.* Indicates that the node name is to be modified to the specified node name, but the remote name will remain the same. * Indicates that the node name is to be modified to the local node name, but the remote name will remain the same.
Forms=forms A 1 to 8 alphameric or special character ($ # @) identifier for the print or punch forms. HELD Output is HELD if it is destined for this node and the output disposition is HOLD or LEAVE. HOLD={NONE|OPER|SYS} This operand explicitly sets the operator HOLD type. The only hold type that can be set using this operand is OPER. This parameter prevents JES2 from selecting an output group for any processing other than purging. Specifying HOLD= for an output group is more restrictive than specifying an output groups output disposition. OUTDISP=HOLD or LEAVE prevents JES2 from selecting an output group for print/punch or external writer processing only. Specifying the REL= parameter on this command makes the output available for processing. HOLDRC=holdrc Specifies the hold reason code for system held output groups (HOLD=SYS). H|Hours>hours | H|Hours<hours Specifies the age of affected output in hours. Only output more (with HOURS>nn) or less (with HOURS<nn) than the specified number of hours in age are affected. JOBMASK|JM=jobmask Specifies 1 to 8alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). For a description of wildcards, see Using wildcards on page 98. Notes: 1. This is a positional parameter. Specify this following the job_id (JOB, STC, or TSU) or JOBQ parameter. 2. The JOBMASK parameter is not valid with the jobname parameter. LONG Displays additional information. Note: Because LONG automatically triggers a long display, you cannot add additional display-limiting parameters on this command; however, you can add selection-limiting parameters. OUTGrp=outgrp The job output element(s) that are displayed. grpid The 1 to 8character alphameric group ID that is either specified by the user in the JCL or generated by JES2.
351
$D O Job
joeid1 A number assigned by JES2 to distinguish between job output elements within the output group. joeid2 A number assigned by JES2 to distinguish between several copies of grpid.joeid1. OUTDISP={H|HOLD|K|KEEP|L|LEAVE|P| PURGE|W|WRITE} Indicates that you wish to display the output for the specified job that matches this current disposition. Specify WRITE, HOLD, LEAVE, or KEEP. Note: If you do not specify this parameter, all output with a disposition of WRITE, HOLD, KEEP, or LEAVE will be modified. FLASH|O=flash A 1 to 4 alphameric or special character ($ # @) overlay name (FLASH). OFFS=offs Displays offload device numbers on which sysout for the job has been archived or marked as archived by the $TO command. PAGEs Output groups with the specified number of pages are displayed. PRIORITY=priority The queue selection priority (0-255) assigned to the job output element(s). PRmode=prmode The process mode (1 to 8 alphanumeric characters) for the job output element(s). QUEUE=queue The output class (A-Z and 0-9) assigned to the job output element(s). READY Output is READY if it is not HELD. REBUILD={No|Yes} Output on the rebuild queue is to be cancelled (Yes) or not cancelled (No). RECORDS=records The number of print records associated with the output group. SECLABEL=seclabel The security label associated with the output group. T|UCS=ucs A 1 to 4 alphanumeric or special character ($ # @) identifier for the universal character set specification. This will also set the character set (CHAR1) to be used on non-impact printers unless the UCS and CHARS values are both assigned to an output data set by a jobs JCL and their values are not equal. TSOavail={No|Yes} Indicates whether the output group is available for TSO OUTPUT processing. USERID=userid The userid associated with the output group. Writer=writer A 1 to 8 alphanumeric or special character ($ # @) writer name assigned to the job output element(s).
352
$D O Job
Authority Required
This command requires job authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If you use this command to change both the destination and other output characteristics, those changes to the other output characteristics are ignored for duplicate output groups (those groups created by specifying more than one job copy or by issuing the $N command to repeat the processing of an output group). v If any of the characteristics that you specify on this command are also specified as work selection criteria with the WS= parameter on the device initialization statement or using the $T device command, then those characteristics are compared against the matching output device specifications; work is selected accordingly. v If the following characteristics are modified, the output group will begin printing from the top when the output starts printing again. Burst FCB Destination Form Overlay (Flash) Process mode(PRMODE) UCS Writer name v Once a held output group has been released (the output disposition is changed to WRITE or KEEP), the group is no longer available for processing by the TSO/E OUTPUT command. For more information, see the $HASP686 message in z/OS JES2 Messages.
Scope
MAS-wide. This command has an effect across the entire MAS.
Messages
The $HASP686 message displays the current output characteristics for each job output element specified.
Examples
1 $d o jiebgener,outgrp=1.1.1 JOB00005 $HASP686 OUTPUT(IEBGENER) $HASP686 OUTPUT(IEBGENER) OUTGRP=1.1.1,BURST=NO,FCB=****, $HASP686 FLASH=****,FORMS=STD,HOLD=(NONE), $HASP686 OUTDISP=WRITE,PRIORITY=144, $HASP686 PRMODE=LINE,QUEUE=A, $HASP686 RECORDS=(53 OF 53),ROUTECDE=LOCAL, $HASP686 SECLABEL=,TSOAVAIL=NO,UCS=****, $HASP686 USERID=++++++++,WRITER=
JES2 displays the attributes of output group 1,1,1 associated with job IEBGENER.
Chapter 5. Command Reference Section
353
$D O Job
2 $d o jobq,ready,r=local,outgrp JOB00005 JOB00005 JOB00005 JOB00006 JOB00006 STC00011 . . . $HASP686 $HASP686 $HASP686 $HASP686 $HASP686 $HASP686 OUTPUT(IEBGENER) OUTPUT(IEBGENER) OUTPUT(IEBGENER) OUTPUT(IEBGENE2) OUTPUT(IEBGENE2) OUTPUT(VTAM) OUTGRP=1.1.1 OUTGRP=2.1.1 OUTGRP=3.1.1 OUTGRP=1.1.1 OUTGRP=4.1.1 OUTGRP=1.1.1
JES2 displays the output group identifier of all ready output groups destined to print locally.
3 $d o job,offs= JOB00006 $HASP686 OUTPUT(IEBGENE2) OFFS=()
Displays the offload device numbers on which sysout for the job has been archived or marked as archived by the $TO command.
4 $d o jobq,q=h,hours>60 JOB00023 $HASP686 OUTPUT(IEBGENE1) $HASP686 OUTPUT(IEBGENE1) OUTGRP=3.1.1,BURST=NO,FCB=****, $HASP686 FLASH=****,FORMS=STD,HOLD=(NONE) $HASP686 OUTDISP=HOLD,PRIORITY=144, $HASP686 PRMODE=LINE,QUEUE=H, $HASP686 RECORDS=(43 OF 43),ROUTECDE=LOCA $HASP686 SECLABEL=,TSOAVAIL=YES,UCS=****, $HASP686 USERID=IBMUSER,WRITER=
Displays any job on the job queue with age greater than one day.
6 $dos1-*,hours>25 STC00003 $HASP686 OUTPUT(IRRDPTAB) $HASP686 OUTPUT(IRRDPTAB) OUTGRP=1.1.1,BURST=NO,FCB=****, $HASP686 FLASH=****,FORMS=DORA,HOLD=(NONE), $HASP686 OUTDISP=WRITE,PRIORITY=144, $HASP686 PRMODE=LINE,QUEUE=A, $HASP686 RECORDS=(53 OF 53),ROUTECDE=LOCAL, $HASP686 SECLABEL=,TSOAVAIL=NO,UCS=****, $HASP686 USERID=++++++++,WRITER=
354
$D OFF.JR
Syntax
$D OFF nn , ( nn * ) mm * mm * .JR
,CLass
,CReator
,Hold
,JOBname
,NOTify
,RANGE
,Routecde
,START
,STATUS
,SYSaff
,WS
, /
CLass
= = > <
class
, /
Hold
= =
No Yes
, /
JOBname
= = > <
jobname
355
$D OFF.JR
Hold / SYSaff /
No Yes sysaff
, /
NOTify
= =
No Yes
, /
SCHenv
= = > <
schenv
, /
SRVclass
= = > <
srvclass
, /
START
= =
No Yes
, /
STATUS
Parameters
CLass=class Specifies the job class(es) (A-Z, 0-9) to be loaded from the offload data set. A maximum of 15 job classes can be specified on this parameter. If you need to exceed the limit of 15 classes, specify CLass=, (that is, null) and do not code CLass in the WS= list on this statement; this allows all defined classes to be reloaded. CReator Specifies the 1 to 8 character userid whose job(s) are to be loaded from the offload data set. Hold=Yes|No Specifies whether jobs in HOLD status can be loaded. If you allow this parameter to default and HOLD is not in the work selection list, JES2 can select all jobs, whether held or not, for loading. If you allow this parameter to default and HOLD is in the work selection list, no jobs can be loaded. No Indicates that only jobs that are not in HOLD status can be loaded. Yes Indicates that only jobs that are in HOLD status can be loaded. JOBname=jobname Specifies the 1 to 8 character job name of the job(s) to be loaded from the offload data set.
356
$D OFF.JR
MOD={CLass|Hold|SYSaff} Specifies those characteristics of the pre-execution jobs that are to be automatically modified when these jobs are loaded from the offload data set. CLass=class Specifies the execution class for all pre-execution jobs loaded by this device. Hold={No|Yes} Specifies whether jobs are held for conversion after reloading. Routecde Specifies the destination from which jobs loaded by this device are run. ANYLOCAL|LOCAL Indicates that the jobs are to be run at the local node. destid Specifies the name of a node, or an alias for the name of a node, where the jobs are to be run. Nnnnn|nodename Indicates that the jobs are to be run at the specified node. The node can be specified using the binary node identifier (nnnn), or the EBCDIC nodename. SYSaff=sysaff Specifies the member affinity (sysid) for all pre-execution jobs loaded by this device. NOTify=Yes|No Specifies whether a notification message is sent to the TSO/E userid specified on either the JOB statement or the /*NOTIFY control statement. No Indicates that a notification message is not sent when a pre-execution job is loaded from the offload data set. Yes Indicates that a notification message is sent when a pre-execution job is loaded from the offload data set. RANGE Specifies the job ID range of those jobs that can be loaded from the offload data set. Routecde Specifies the execution node selection criteria for jobs to be loaded. Valid values are: ANYLOCAL|LOCAL Indicates that only jobs routed to the local node for execution can be selected. destid Indicates that only jobs routed to the specified destid for execution can be selected. The destid can be the name of a node, or an alias for the name of a node. Nnnnn|nodename Indicates that only jobs routed to the specified node for execution can be selected. The node can be specified using the binary node identifier (nnnn) or the EBCDIC nodename.
Chapter 5. Command Reference Section
357
$D OFF.JR
SCHenv=schenv Specifies the 1 to 16 alphanumeric, special ($, #, or @), or wildcard character (or combination of them) scheduling environment. Only those jobs with this SCHENV will be selected. SRVclass=srvclass Specifies the 1 to 8 alphanumeric, special ($, #, or @), or wildcard character (or a combination of them) service class name. Only those jobs with this service class will be selected. START=Yes|No Specifies the initial status of this receiver when its corresponding offload device is started for a receive operation, that is, when a $S OFFLOAD(n),TYPE=RECEIVE command is issued. No Indicates that this receiver is not started when a corresponding $S OFFLOAD(n) command is issued. This receiver can later be started individually by issuing the $S OFF(n).JR command and stopped as required by issuing the $P OFF(n).JR command. Yes Indicates that this receiver is started when a corresponding $S OFFLOAD(n) command is issued. STATUS Specifies the status of the offload job receiver. SYSaff Specifies the member affinity for jobs that are selected for loading. WS Specifies the job selection criteria for this device.
Authority Required
This command requires display authority. The description of the $T INTRDRnn command explains how to ensure the proper MVS system command group authority is assigned.
Scope
Single member. The command will be in effect for this member only.
Messages
The $HASP883 message is issued in response to this command.
Example
1 $doff1.jr $HASP883 OFF1.JR STATUS=STARTABLE, CLASS=ABCDEFGH,CREATOR=, $HASP883 HOLD=,JOBNAME=,MOD=(CLASS=,HOLD=,ROUTECDE=, $HASP883 SYSAFF=),NOTIFY=NO,RANGE=(J1,2147483647), $HASP883 ROUTECDE=(),START=YES,SYSAFF=(),WS=(CL/) 2 $doff1.jr $HASP883 OFF1.JR $HASP883 OFF1.JR STATUS=STARTABLE,CLASS=ABCDEFGH,CREATOR=,
358
$D OFF.JR
$HASP883 $HASP883 $HASP883 $HASP883 HOLD=,JOBNAME=,MOD=(CLASS=,HOLD=,ROUTECDE=, SYSAFF=),NOTIFY=NO,RANGE=(J1,2147483647), ROUTECDE=(),SCHENV=,SRVCLASS=,START=YES, SYSAFF=(),WS=(CL/)
359
$D OFF.JT
Syntax
$D OFF nn , ( nn * ) mm * mm * .JT
,CLass
,CReator
,DISP
,Hold
,JOBname
,LIMit
,NOTify
,RANGE
,Routecde
,START
,STATUS
,SYSaff
,Volume
,WS
, /
CLass
= = > <
class
, /
DISP
= =
, /
Hold
= =
, No Yes /
JOBname
= = > <
jobname
, /
NOTify
= =
No Yes
, /
SCHenv
= = > <
schenv
360
$D OFF.JT
, /
SRVclass
= = > <
srvclass
, /
START
= =
No Yes
, /
STATUS
Parameters
CLass=class Specifies the job class(es) (A-Z, 0-9) to be selected by this job transmitter. A maximum of 15 job classes can be specified on this parameter. If you need to exceed the limit of 15 classes, specify Class=, (that is, null) and do not code CLass in the WS= list on this statement; this allows all defined classes to be transmitted. CReator Specifies the 1 to 8 character userid whose job(s) are to be selected by this job transmitter. DISP={DELETE|HOLD|KEEP} Specifies the disposition of all jobs that are selected for transmitting to the offload data set. Hold={No|Yes} Specifies whether jobs in HOLD status (that is, jobs that have been held by specifying a $H J command, TYPRUN=HOLD, or JCL HOLD) can be transmitted. Jobs that have been previously held (in a held class) do not apply to this parameter; such jobs are not considered here. If you allow this parameter to default and HOLD is not in the work selection list, JES2 can select all jobs, whether held or not, for transmission. If you allow this parameter to default and HOLD is in the work selection list, no jobs can be transmitted. No Indicates that only jobs that are not in HOLD status can be selected. Yes Indicates that only jobs that are in HOLD status can be selected. JOBname=jobname Specifies the 1 to 8 character job name of the job(s) to be transmitted to the offload data set. LIMit Specifies the amount of output (in records) for which output can be selected. NOTify={No|Yes} Specifies whether a notification message is sent to the TSO/E userid specified on either the JOB statement or the /*NOTIFY control statement. No Indicates that a notification message is not sent when a pre-execution job is transmitted to the offload data set.
361
$D OFF.JT
Yes Indicates that a notification message is sent when a pre-execution job is transmitted to the offload data set. RANGE=Jnnnnn[-nnnnn]|J1-65534 Specifies the job ID range of those jobs that can be transmitted to the offload data set. Routecde Specifies the execution node selection criteria for jobs to be transmitted. Valid values are: ANYLOCAL|LOCAL Indicates that only jobs on the local node can be selected. destid Specifies the name of a node, or an alias for the name of a node, from which jobs can be selected. Note: If destid is used, it must be previously defined on a DESTID statement in the initialization stream. Nnnnn|nodename Indicates that only jobs which are to run on the specifically indicated node(s) can be selected. The nodes can be specified using the binary node identifier (nnnn) or the EBCDIC nodename. SCHenv=schenv Specifies the 1 to 16 byte scheduling environment. Only those job with this SCHENV will be selected. SRVclass=srvclass Specifies the 1 to 8 byte service class name. Only those jobs with this service class will be selected. START={No|Yes} Specifies the initial status of this transmitter when its corresponding offload device is started for a transmit operation, that is when a $S OFFLOAD(n),TYPE=TRANSMIT command is issued. No Indicates that this transmitter is not started when a corresponding $S OFFLOAD(n) command is issued. This transmitter can later be started individually by issuing the $S OFF(n).JT command and stopped, as required, by issuing the $P OFF(n).JT command. Yes Indicates that this transmitter is started when a corresponding $S OFFLOAD(n) command is issued. STATUS Specifies that the status of the offload job transmitter is to be displayed. SYSaff Specifies the member affinity for jobs that are selected for offloading. Volume Specifies the 5- or 6-character volume serial of a volume containing a spool data set. Only jobs using tracks on this volume(s) can be selected for dumping. As many as four volumes can be specified. WS Specifies the job selection criteria for this device. If a criterion is specified in the
362
$D OFF.JT
work selection list, job selection is based on the corresponding parameter specification on this initialization statement.
Authority Required
This command requires display authority. The description of the $T INTRDRnn command explains how to ensure the proper MVS system command group authority is assigned.
Scope
Single member. The command will be in effect for this member only.
Messages
The $HASP884 message is issued in response to this command.
Example
1 $d off1.jt $HASP884 OFF1.JT STATUS=STARTABLE,CLASS=ABCDEFGH,CREATOR=, $HASP884 DISP=DELETE,HOLD=,JOBNAME=,LIMIT=(0,*), $HASP884 NOTIFY=NO,RANGE=(J1,65534),ROUTECDE=(), $HASP884 START=YES,SYSAFF=(),VOLUME=(,,,),WS=(CL/) 2 $doff1.jt $HASP884 $HASP884 $HASP884 $HASP884 $HASP884 $HASP884 OFF1.JT OFF1.JT STATUS=STARTABLE,CLASS=ABCDEFGH,CREATOR=, DISP=DELETE,HOLD=,JOBNAME=,LIMIT=(0,*), NOTIFY=NO,RANGE=(J1,65534),ROUTECDE=(), START=YES,SCHENV=,SRVCLASS=,SYSAFF=(), VOLUME=(,,,),WS=(CL/)
363
$D OFF.SR
Syntax
$D OFF nn , ( nn * ) mm * mm * .SR
,Burst
,CReator
C FCB
FLash O
,Forms
,Hold
,JOBname
,MOD , =( Burst FCB FLash O Forms Hold OUTDisp PRMode Queue Routecde T UCS Writer )
,NOTify
,OUTDisp
,PRMode
,Queue
,RANGE
,Routecde
,START
,STATUS
T UCS
,Writer
,WS
364
$D OFF.SR
, /
Burst
= ^=
, No Yes /
C FCB /
= ^= > <
fcb
, /
FLash O /
= ^= > <
flash
, /
Forms
= ^=
, /
Hold
= ^=
, No Yes /
JOBname
= ^= > <
jobname
, , / MOD =( / FCB / = ^= > < FLash O / Forms / = ^= > < Burst = ^= fcb
No Yes
365
$D OFF.SR
PRMode / = ^= > < = ^= > < prmode / Queue = ^= > < = ^= > < queue
T / UCS /
ucs /
Writer
writer )
, /
NOTify
= ^=
No Yes
, /
Queue
= ^= > <
queue
, /
START
= ^=
No Yes
, /
STATUS
, /
T UCS /
= ^= > <
ucs
, /
Writer
= ^= > <
writer
Parameters
Burst Specifies the burst specification for which output is selected. If you allow this parameter to default, JES2 can select all output, regardless of burst specification, for loading. No Indicates that the printed output is not to be burst into separate sheets. Yes Indicates that the printed output is to be burst into separate sheets. CReator Specifies the 1 to 8character userid whose output is to be loaded from the offload data set. FCB|C=fcb Specifies the 1 to 4character name forms control image buffer or carriage control tape. If you allow this parameter to default, JES2 can select all output, regardless of its FCB, for loading. FLash|O=flash Specifies a 1 to 4character flash name for output loaded from the offload data set. If you allow this parameter to default, JES2 can select all output, regardless of the flash specification, for loading. Forms=forms Specifies the 1 to 8 character forms specification for which output is selected.
366
$D OFF.SR
Hold={No|Yes} Specifies whether output for held jobs are to be reloaded. If you allow this parameter to default and HOLD is not in the work selection list, JES2 can select all output, whether held or not, for reloading. If you allow this parameter to default and HOLD is in the work selection list, no output can be reloaded. No Specifies that output from held jobs cannot be selected by this device. Yes Specifies that output from held jobs can be selected by this device. JOBname=jobname Specifies the 1 to 8character job name of the job(s) to be loaded from the offload data set. MOD Specifies those characteristics of the post-execution jobs that are to be automatically modified when post-execution jobs are loaded from the offload data set. Burst=Yes|No Specifies whether job output from this device is to be burst (page-separated). FCB=fcb Specifies a valid forms control buffer image or carriage control tape for output loaded from the offload data set. FLash|O=flash Specifies a valid flash name for output loaded from the offload data set. Forms=forms Specifies a valid forms name for output loaded from the offload data set. Hold=No|Yes Specifies whether all jobs are held after loading. No Specifies that all jobs are released prior to output processing. Yes Specifies that all jobs are held prior to output processing. OUTDisp Specifies that output selected by this offload SYSOUT receiver should have its disposition changed to this value. You can specify one of the following valid dispositions: HOLD|H Hold the output. JES2 does not process the output until you either change the disposition to WRITE or KEEP, or release the output. When the output is released, the disposition changes to WRITE. Note: This specification is honored when the output reaches the destination node. KEEP|K Process the output, then keep a copy of it on spool. After processing, the disposition of this output becomes LEAVE.
367
$D OFF.SR
LEAVE|L JES2 does not process the output until you change the disposition to WRITE or KEEP, or release the output. When the output is released, the disposition changes to KEEP. WRITE|W Process the output then purge it. This modification defaults to the current disposition. PRMode=prmode Specifies a valid processing mode for output loaded from the offload data set. Queue=queue Specifies a valid output class (A-Z, 0-9) for all output loaded from the offload data set. A maximum of 15 classes can be specified on this parameter. If you need to exceed the limit of 15 classes, specify Queue=, (that is, null) and do not code Queue in the WS= list on this statement; this allows all defined classes to be reloaded. Routecde Specifies a destination for all output loaded from the offload data set. UCS|T=ucs Specifies a valid print train or character arrangement table for all output loaded from the offload data set. Writer=writer Specifies an external writer name for output loaded from the offload data set. NOTify={No|Yes} Specifies whether a notification message is sent to the userid specified on either the JOB statement or the /*NOTIFY control statement. No Indicates that a notification message is not sent when a post-execution job is offloaded to the offload data set. Yes Indicates that a notification message is sent when a post-execution job is offloaded to the offload data set. OUTDisp=(disposition[,...disposition]) Specifies the disposition(s) that the output must have in order to be eligible for processing by this offload receiver. The operator can specify one to four of the following valid dispositions: HOLD|H Hold the output. JES2 does not process the output until you either change the disposition to WRITE or KEEP, or release the output. When the output is released, the disposition changes to WRITE. KEEP|K Process the output, then keep a copy of it on spool. After processing, the disposition of this output becomes LEAVE. LEAVE|L JES2 does not process the output until you change the disposition to WRITE or KEEP, or release the output. When the output is released, the disposition changes to KEEP.
368
$D OFF.SR
WRITE|W Process the output then purge it. See z/OS JES2 Initialization and Tuning Guide for more information about specifying output disposition and how JES2 determines output disposition defaults. PRMode=(vvvvvvvv[,vvvvvvvv...]) Specifies the processing mode for which output can be selected. Use commas to separate individual processing modes and enclose the list in parenthesis if more than one processing mode is specified. Wildcard specifications are allowed on this parameter. If you allow this parameter to default, JES2 can select all output, regardless of its processing mode, for loading. Queue=queue Specifies the class(es) for which output can be selected. As many as 15 classes can be specified. If you allow this parameter to default, JES2 can select all output, regardless of its class, for loading. RANGE={J|S|T} nnnnnn[-nnnnnn]|J1-2147483647 Specifies the range (1-2147483647) of IDs for jobs (J), started tasks (S), or TSUs (T) of those jobs that can be loaded from the offload data set. If you code this parameter, you can specify one or two values: v If you specify one value, that value becomes both the low and the high end of the range. v If you specify two values, the first value is the low end of the range and the second value the high end. The two values can be equal. If they are not equal, the second value must be larger than the first value. Routecde Specifies a destination for a piece of output. Its meaning depends on whether it is used as a subparameter of MOD= or not: v If it is not used as a subparameter of MOD=, Routecde= means that output sent to the specified destination(s) can be selected. v If Routecde= is used as a subparameter of the MOD= parameter, it specifies the destination(s) to which you want this output to go. The maximum size of a route code is 18 characters. Use parentheses if more than one route code is specified. You can specify a route code in any of the forms listed. Note that a slash, a colon, or a matched set of parentheses can be used instead of a period anywhere a period appears as a separator in a route code. For example, you could specify node.remote, node:remote, node/remote, or node(remote) for an explicit route code. Wildcard specifications are allowed on this parameter for userids only. node NnnnnnRmmmmm Ummmmm destid node.remote node.user node.Ummmmm node.destid remote user
Chapter 5. Command Reference Section
369
$D OFF.SR
node.* * statement in the initialization stream. Explanations of the different forms of specifying route codes follow: LOCAL|ANYLOCAL Indicates routing to the local node. Nnnnnn Indicates routing to the node specified by its binary node identifier. The value specified for nnnnn can range from 1 to 32767. destid Indicates routing to the specified node(s). You can specify the name of a node, or an alias for the name of a node, for destid. nodename Indicates routing to the node specified by its EBCDIC node name. NnnnnnRmmmmm Indicates routing to the remote Rmmmmm at the node Nnnnnn. If the node is the local node, Nnnnnn may be omitted. Values specified for both nnnnn and mmmmm can range from 1 to 32767. Note: NnnnnnRmmmmm is restricted to a maximum of eight characters. Therefore, the combined number of digits nnnnn plus mmmmm cannot exceed six. Valid combinations are NnnnnnRmm, NnnnRmmm, NnnRmmmmm. Ummmmm Indicates special local routing. The special routing numbers range from 1 to 32767. destid Indicates routing to the specified node(s). If destid is specified alone, it refers to both the node and the remote. node.remote Indicates routing to a remote at the specified node. node.user Indicates routing to a user at the specified node. node.Ummmmm Indicates special local routing at the specified node. The special routing numbers range from 1 to 32767. node.destid Indicates a destination at the specified node. The destid refers to both the node and the remote. The node specified in the destid must be the same as the node portion of the route code. remote Indicates routing to a remote. Remote can be specified in any of the following ways: Rmmmmm Indicates routing to the specified remote. Rmmmmm can also be specified as RMmmmmm or RMTmmmmm. The value specified for mmmmm can range from 1 to 32767.
370
$D OFF.SR
destid Indicates routing to a destid referring to a remote. user Indicates routing to a specified userid. If Routecde= is not used as a subparameter of MOD=, a generic userid can be specified. A generic userid is a userid that ends in an asterisk (*), and refers to all userids that begin with any characters preceding the *. Note that the * can only be specified in the last position of the userid. A userid at the local node must be in the form of a valid TSO/E userid. It must begin with an alphabetic (A-Z) or a special character ( @ # or $ ) and the remaining characters can be alphabetic, numeric, or special characters. Userids at non-local nodes may contain any characters except separators (a period, a colon, a slash, or a set of parentheses), delimiters (a comma, or a blank), or an asterisk (*). node.* If Routecde= is not used as a subparameter of MOD=, node.* indicates that all output destined for the specified node is selected, regardless of the userid or remote specified. If Routecde= is used as a subparameter of MOD=, node.* indicates that the node name is to be modified to the specified node name, but the remote node will remain the same. * If Routecde= is not used as a subparameter of MOD=, * indicates that all output specified for the local node is selected, regardless of the userid or remote specified. If Routecde is used as a subparameter of MOD=, * indicates that the node number will be changed to the local node. However, the remote number originally specified will remain the same.
STATUS Specifies that the status of the offload sysout receiver is to be displayed. START=Yes|No Specifies the initial status of this receiver when its corresponding offload device is started for a receive operation, that is when a $S OFFLOAD(n),TYPE=RECEIVE command is issued. No Indicates that this receiver is not started when a corresponding $S OFFLOAD(n) command is issued. This receiver can later be started individually by issuing the $S OFF(n).SR command and stopped, as required, by issuing the $P OFF(n).SR command. Yes Indicates that this receiver is started when a corresponding $S OFFLOAD(n) command is issued. Modification: $S OFF(n).SR operator command or $T OFF(n).SR operator command. UCS|T=ucs Specifies the 1 to 4 character print train (universal character set) for output to be dumped. If you allow this parameter to default, JES2 can select all output, regardless of its UCS, for loading. Writer=writer Specifies the 1 to 8 character writer name for which output can be selected.
371
$D OFF.SR
If you allow this parameter to default, JES2 can select all output, regardless of its writer, for loading. WS Specifies the selection criteria for this device. If a criterion is specified in the work selection list, output selection is based on the corresponding parameter specification on this initialization statement.
Authority Required
This command requires display authority. The description of the $T INTRDRnn command explains how to ensure the proper MVS system command group authority is assigned.
Scope
Single member. The command will be in effect for this member only.
Messages
The $HASP885 message is issued in response to this command.
Example
1 $d off.sr $HASP885 OFF1.SR STATUS=STARTABLE,OUTDISP=(WRITE,HOLD,KEEP, $HASP885 LEAVE),CREATOR=,HOLD=,JOBNAME=,MOD=(BURST=, $HASP885 OUTDISP=,FCB=,FLASH=,FORMS=,HOLD=,PRMODE=, $HASP885 QUEUE=,ROUTECDE=,UCS=,WRITER=),NOTIFY=NO, $HASP885 RANGE=(J1,2147483647),ROUTECDE=(),START=YES, $HASP885 WS=(OUTD/),BURST=,FCB=,FLASH=,FORMS=(,,,,,,,), $HASP885 PRMODE=(),QUEUE=,UCS=,WRITER=
372
$D OFF.ST
Syntax
$D OFF nn , ( nn * ) mm * mm * .ST
,Burst
,CReator
,DISP
C FCB
FLash O
,Forms
,Hold
,JOBname
,LIMit
,NOTify
,OUTDisp
,PLIM
,PRMode
,Queue
,RANGE
,Routecde
,START
,STATUS
T UCS
,Volume
,Writer
,WS
, /
Burst
= =
, No Yes /
DISP
= =
, /
C FCB /
= = > <
fcb
, /
FLash O /
= = > <
flash
, /
Forms
= =
373
$D OFF.ST
, /
Hold
= =
, No Yes /
JOBname
= = > <
jobname
, /
NOTify
= =
No Yes
, /
Queue
= = > <
queue
, /
START
= =
No Yes
, /
STATUS
, /
T UCS /
= = > <
ucs
, /
Writer
= = > <
writer
Parameters
Burst={No|Yes} Specifies the burst specification for which output is selected. If you allow this parameter to default, JES2 can select all output, regardless of its burst specification, for transmission. No Indicates that the printed output is not to be burst into separate sheets. Yes Indicates that the printed output is to be burst into separate sheets. CReator Specifies the 1 to 8 character userid whose output is to be offloaded to the offload data set. DISP={KEEP|HOLD|DELETE} Specifies the disposition of all output that is selected for offload to the offload data set as follows: KEEP Indicates that selected output will not change status after offloading to the offload data set. HOLD Indicates that selected held output remains held after offloading to the offload data set, or HOLD indicates that selected non-held output is marked as non-selectable after offloading to the offload data set. The operator must issue a $T O command to release jobs specified here as HOLD. Note: Marking this output as non-selectable is not the same as putting a job in HOLD status.
374
$D OFF.ST
DELETE Indicates that the selected output groups are deleted after offloading to the offload data set. C|FCB=fcb Specifies the 1 to 4 character name forms control image buffer or carriage control tape. FLash|O=flash Specifies the 1 to 4 character name of a particular flash for which output is selected. Forms=forms Specifies the 1 to 8 character forms specification for which output is selected. Hold={No|Yes} Specifies whether SYSOUT for held jobs can be transmitted to the offload data set. Output for held jobs is output from jobs that the operator placed on hold using the $H command. If you allow this parameter to default and HOLD is not in the work selection list, JES2 can select all output, whether held or not, for transmission. If you allow this parameter to default and HOLD is in the work selection list, no output can be transmitted. No Specifies that output for held jobs cannot be transmitted to the offload data set. Yes Specifies that output for held jobs can be transmitted to the offload data set. JOBname=jobname Specifies the 1 to 8 character job name of the job(s) to be offloaded to the offload data set. Wildcard specifications are allowed on this parameter. LIMit Specifies the amount of output (in records) for which output can be selected. NOTify={No|Yes} Specifies whether a notification message is sent to the userid specified on either the JOB statement or the /*NOTIFY control statement. No Indicates that a notification message is not sent when a post-execution job is offloaded to the offload data set. Yes Indicates that a notification message is sent when a post-execution job is offloaded to the offload data set. OUTDisp Specifies the disposition(s) that the output must have in order to be eligible for processing by this offload transmitter. PLIM Specifies the amount of output (in pages) for which output can be selected. PRMode Specifies the processing mode for which output can be selected. Queue=queue Specifies the class(es) (A-Z, 0-9) for which output can be selected. A maximum of 15 classes can be specified on this parameter. If you need to exceed the limit
Chapter 5. Command Reference Section
375
$D OFF.ST
of 15 classes, specify Queue=, (that is, null) and do not code Queue in the WS= list on this statement; this allows all defined classes to be transmitted. RANGE={J|S|T} nnnnnn[-nnnnnn]|J1-65534 Specifies the job ID range (J), started task range (S), or TSU range (T) of those jobs that can be loaded from the offload data set. Use the Jnnnnn form for job routing, the Snnnnn form for STC routing, and the Tnnnnn form for TSU job routing. Routecde Specifies the one to four destination selection criteria for which output can be selected. If more than one route code is specified, enclose the list in parentheses. The maximum size of a route code is 18 characters. Explanations of the different forms of specifying route codes follow: LOCAL|ANYLOCAL Indicates that output routed to the local node is selected. Nnnnnn Indicates that output routed to the node specified by its binary node identifier is selected. The value specified for nnnnn can range from 1 to 32767. destid Indicates that output routed to the specified node(s) is selected. You can specify the name of a node, or an alias for the name of a node, for destid. nodename Indicates that output routed to the node specified by its EBCDIC node name is selected. NnnnnnRmmmmm Indicates that output routed to the remote Rmmmmm at the node Nnnnnn is selected. If the node is the local node, Nnnnnn may be omitted. Values specified for both nnnnn and mmmmm can range from 1 to 32767. Note: NnnnnnRmmmmm is restricted to a maximum of eight characters. Therefore, the combined number of digits nnnnn plus mmmmm cannot exceed six. Valid combinations are NnnnnnRmm, NnnnRmmm, NnnRmmmmm. Ummmmm Indicates that output for special local routing is selected. The special routing numbers range from 1 to 32767. destid Indicates that output routed to the specified node(s) is selected. If destid is specified alone, it refers to both the node and the remote. node.remote Indicates that output routed to a remote at the specified node is selected. node.user Indicates that output routed to a user at the specified node is selected. node.Ummmmm Indicates that output for special local routing at the specified node is selected. The special routing numbers range from 1 to 32767.
376
$D OFF.ST
node.destid Indicates that output to be routed to a destination at the specified node is selected. The destid refers to both the node and the remote. The node specified in the destid must be the same as the node portion of the route code. remote Indicates that output routed to a remote is selected. Remote can be specified in any of the following ways: Rmmmmm Indicates that output routed to the specified remote is selected. Rmmmmm can also be specified as RMmmmmm or RMTmmmmm. The value specified for mmmmm can range from 1 to 32767. destid Indicates that output routed to a destid referring to a remote is selected. user Indicates that output routed to a userid, or a generic userid, is selected. A generic userid is a userid that ends in an asterisk (*), and refers to all userids that begin with any characters preceding the *. Note that the * can only be specified in the last position of the userid. A userid at the local node must be in the form of a valid TSO/E userid. It must begin with an alphabetic (A-Z) or a special character ( @ # $ ), and the remaining characters may be alphabetic, numeric, or special characters. Userids at non-local nodes may contain any characters except separators (a period, a colon, a slash, or a set of parentheses), delimiters (a comma, or a blank), or an asterisk (*). node.* Indicates that all output destined for the specified node is selected, regardless of the userid or remote specified. * Indicates that all output specified for the local node is selected, regardless of the userid or remote specified.
If you allow this parameter to default, JES2 can select all output, regardless of the route code, for transmission. START={No|Yes} Specifies the initial status of this transmitter when its corresponding offload device is started for a transmit operation, that is when a $S OFFLOAD(n),TYPE=TRANSMIT command is issued. No Indicates that this transmitter is not started when a corresponding $S OFFLOAD(n) command is issued. This transmitter can later be started individually by issuing the $S OFF(n).ST command and stopped, as required by issuing the $P OFF(n).ST command. Yes Indicates that this transmitter is started when a corresponding $S OFFLOAD(n) command is issued. STATUS Specifies that the status of the offload SYSOUT transmitter is to be displayed. UCS|T=ucs Specifies the 1 to 4 character print train (universal character set) for output to be transmitted.
Chapter 5. Command Reference Section
377
$D OFF.ST
Volume Specifies the 5 or 6 character volume serial of a volume containing a spool data set. Only jobs using tracks on this volume(s) can be selected for dumping. As many as four volumes can be specified. Use commas to separate individual volume IDs and enclose the list in parenthesis if more than one ID is specified. Writer=writer Specifies the 1 to 8 character writer name for which output can be selected. WS Specifies the selection criteria for this device. If a criterion is specified in the work selection list, output selection is based on the corresponding parameter specification on this initialization statement. If the criterion is not listed here, the criterion is not considered during work selection.
Authority Required
This command requires display authority. The description of the $T INTRDRnn command explains how to ensure the proper MVS system command group authority is assigned.
Scope
Single member. The command will be in effect for this member only.
Messages
The $HASP886 message is issued in response to this command.
Example
1 $d off1.st $HASP886 OFF1.ST STATUS=STARTABLE,CREATOR=,DISP=DELETE, $HASP886 OUTDISP=(),HOLD=,JOBNAME=,NOTIFY=NO,RANGE=(J1, $HASP886 65534),ROUTECDE=(),START=YES,VOLUME=(,,,), $HASP886 WS=(OUTD/),BURST=,FCB=,FLASH=,FORMS=(,,,,,,,), $HASP886 LIMIT=(0,*),PLIM=(0,*),PRMODE=(),QUEUE=,UCS=, $HASP886 WRITER=
378
$D OFFLOAD
Syntax
| |
$D OFFLOAD nn , ( nn * ) mm * mm *
| | | | | | | | | | | | | |
,ARCHIVE ,CRTIME=
RESET RESTORE
,DSN
,LABEL
,PROTECT
,RETPD
,STATUS
,TYPE
,TRACE
,UNIT
,VALIDATE
,VOLS
,CRTIME=
RESET RESTORE
, /
DSN
= ^= > <
dsn
| |
, /
LABEL
= ^=
, /
PROTECT
= ^=
No Yes
| |
, /
RETPD
= ^= > <
retpd
, /
STATUS
|
Chapter 5. Command Reference Section
379
$D OFFLOAD
| | |
, /
TRACE
= ^=
No Yes
, /
TYPE
= ^=
RECEIVE TRANSMIT
| |
, /
VALIDATE
= ^=
No Yes
, /
VOLS
= ^= > <
vols
| |
Parameters
ARCHIVE Specifies which offload devices JES2 prevents from scheduling jobs for offload.
| | | | | | |
CRTIME={RESET|RESTORE} Specifies the creation time to be associated with jobs and output on reload. RESET Indicates that the time to be assigned is the time of the reload. RESTORE Indicates that the time to be assigned is the original creation time (before the data was offloaded). DSN=dsn Specifies the offload data set used to define the offload device. LABEL={AL|AUL|BLP|NL|NSL|SL|SUL } Specifies the type of label processing that is required for the tape that is to be allocated for a non-cataloged spool offload data set. AL American National Standard label AUL American National Standard label and American National Standard user-defined label BLP Bypass label processing NL No Label NSL Non-standard label SL IBM Standard label SUL IBM standard label and user-defined label PROTECT={No|Yes} Specifies whether the spool offload data set requires System Authorization Facility (SAF) protection. RETPD=retpd Specifies the retention period (1-9999), in days, if the offload data set is to be retained.
380
$D OFFLOAD
STATUS Indicates that the status of the offload device is to be displayed. TRACE={No|Yes} Displays whether trace records are to be cut for data read or written by this offload device. See specific trace ids for more information. TYPE=}TRANSMIT|RECEIVE} Indicates whether the offload device is in the process of offloading jobs to an offload data set (TYPE=TRANSMIT) or reloading jobs from an offload data set (TYPE=RECEIVE). VALIDATE={No|Yes} Specifies the action JES2 takes if it determines that the first record of the offload data set is not LRECL=80. VOLS=vols Specifies the volume count (1-255) to be used for the spool offload data set.
Authority Required
For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP882 message is issued in response to this command.
Example
1 $DOFFLOAD1 $HASP882 OFFLOAD1 DSN=OFFLOAD1.DATASET,STATUS=DRAINED, $HASP882 ARCHIVE=ONE,LABEL=SL,PROTECT=NO,RETPD=30, $HASP882 TRACE=NO,UNIT=(161,1),VALIDATE=YES,VOLS=255
381
$D OPTsdef
Syntax
$D OPTsdef ,HASPPARM ,MEMBER ,SPOOL ,STARTopt
,STARTYPE
,UNACTIVATE
Parameters
HASPPARM Displays the name of the data definition (DD) statement that defines the data set containing the initialization statements that JES2 is to use for initialization. MEMBER Displays the member of the MVS default PARMLIB concatenation containing the initialization statements that JES2 is to use for initialization. SPOOL Displays whether this member performed a spool validation on its last restart, and whether validation was forced. STARTopt Displays the type of start that was specified in the initialization options (FORMAT, COLD, WARM). STARTYPE Displays the type of start that was actually performed (FORMAT, COLD, ALL-MEMBER WARM, SINGLE-MEMBER WARM, QUICK, HOT). UNACTivate Displays whether the UNACTivate START PARM was specified.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
382
$D OPTsdef
Messages
The $HASP820 message is issued in response to this command.
Example
1 $d optsdef $HASP820 OPTSDEF HASPPARM=HASPPARM,MEMBER=,SPOOL=NOVALIDATE, $HASP820 UNACTIVATE=NO,STARTOPT=COLD,STARTYPE=COLD
383
$D OUTCLASS(n)
Syntax
$D OUTCLASS nn , ( nn * ) mm * mm *
,BLNKTrnc
,OUTDisp
,OUTPUT
,TRKCELL
, /
BLNKTrnc
= =
No Yes
, /
OUTPUT
= =
, /
TRKCELL
= =
No Yes
Parameters
(nn-mm) The subscript of the output class(es) (A-Z, 09) that are displayed BLNKTrnc Specifies whether (Yes) or not (No) JES2 truncates trailing blanks for non-page-mode data sets in this output class. OUTDisp Specifies the default output disposition for the SYSOUT data sets in this class, depending on the successful completion of the job. OUTPUT[=DUMMY|PRINT|PUNCH] Specifies the installations standard for output classes so that appropriate print and punch accounting can be maintained.
384
$D OUTCLASS(n)
DUMMY Specifies that JES2 is to process the output class as a dummy data set (the class will still be allocated spool space but will be marked non-printable to JES2). PRINT Specifies that the output class is to be printed. PUNCH Specifies that the output class is to be punched. TRKCELL={No|Yes} Specifies that physical records of each data set of this SYSOUT class are to be specially grouped on the spool volume(s), and are to be read from the spool volume in blocks.
Authority Required
This command requires display authority. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP842 message is issued in response to this command.
Example
1 $D OUTCLASS $d outclass(a) $HASP842 OUTCLASS(A) $HASP842 OUTCLASS(A) OUTPUT=PRINT,BLNKTRNC=YES,OUTDISP=(WRITE $HASP842 WRITE),TRKCELL=YES
385
$D OUTDEF
Syntax
$D OUTDEF ,BRODCAST ,COPIES ,DMNDSET ,JOEFREE
,JOENUM
,JOERBLDQ
,JOEWARN
,OUTTIME
,PRTYHIGH
,PRTYLOW
,PRTYOUT
,PRYORATE
,SEGLIM
,STDFORM
,USERSET
Parameters
BRODCAST Specifies that shared broadcasting is in use (Yes) or not in use (No) by this multi-access spool complex. Scope: MAS-Wide. This command can display information about jobs on any or all members of the MAS depending upon the parameters you provide. COPIES Specifies the maximum number (1-255) of job output copies that can be requested in the accounting field of your JOB statement or on a /*JOBPARM control statement. Scope: Single Member. The response to this command will be a display of information about this member only. DMNDSET Specifies whether inline printer setup will be allowed for data sets whose SYSOUT class matches the job message class. JOEFREE The number of available job output elements. Scope: MAS-Wide. This command can display information about jobs on any or all members of the MAS depending upon the parameters you provide. JOENUM Specifies the number (10-500000) of job elements (JOEs) to be generated. Scope: MAS-Wide. This command can display information about jobs on any or all members of the MAS depending upon the parameters you provide. JOERBLDQ Displays YES if there are output elements on the rebuild queue. Scope: MAS-Wide. This command can display information about jobs on any or all members of the MAS depending upon the parameters you provide.
386
$D OUTDEF
JOEWARN Specifies the percentage (0-100) of use of job output elements at which the operator will be alerted through message $HASP050. Scope: MAS-Wide. This command can display information about jobs on any or all members of the MAS depending upon the parameters you provide. OUTTIME Specifies whether JES2 will save the time stamp that indicates the creation time of an outputs JOE, or whether it will instead save the time when the JOE was last updated. Scope: Single Member. The response to this command will be a display of information about this member only. PRTYHIGH Specifies the upper priority limit (0-255) to be associated with the JES2 job priority aging feature. Scope: MAS-Wide. This command can display information about jobs on any or all members of the MAS depending upon the parameters you provide. PRTYLOW Specifies the lower priority limit (0-255) to be associated with the JES2 job priority aging feature. Scope: MAS-Wide. This command can display information about jobs on any or all members of the MAS depending upon the parameters you provide. PRTYOUT Specifies whether the priority specification on the JCL OUTPUT statement is supported (Yes) or ignored (No). Scope: Single Member. The response to this command will be a display of information about this member only. PRYORATE Specifies the number (0-1440) of time periods into which a 24-hour day is to be divided for use in increasing a jobs output priority by the JES2 output priority aging feature. Scope: MAS-Wide. This command can display information about jobs on any or all members of the MAS depending upon the parameters you provide. SEGLIM Specifies the maximum number of output segments (1-99999) JES2 creates for a SYSOUT data set. Scope: Single Member. The response to this command will be a display of information about this member only. STDFORM Specifies 1 to 8 character identifier to be used as a default forms ID when a forms ID is not specified. Scope: Single Member. The response to this command will be a display of information about this member only. USERSET Specifies whether the user is permitted (Yes) or not permitted (No) to create demand setup JOEs through the use of the JCL OUTPUT statement. Scope: Single member. The response to this command will be a display of information about this member only.
Chapter 5. Command Reference Section
387
$D OUTDEF
Authority Required
This command requires display authority. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
The scope of this command varies by parameter. See the description of each parameter for its scope. The values supplied for some parameters on this command will be in effect across the entire MAS, while the values supplied for other parameters will be in effect for this member only. Depending on your installations setup, you might want the parameters for this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP836 message is issued in response to this command.
Example
1 $D OUTDEF $d outdef $HASP836 OUTDEF $HASP836 OUTDEF BRODCAST=NO,COPIES=255,DMNDSET=NO,JOENUM=200, $HASP836 JOEFREE=198,JOEWARN=80,OUTTIME=CREATE, $HASP836 PRTYLOW=0,PRTYHIGH=255,PRTYOUT=NO,PRYORATE=0, $HASP836 SEGLIM=100,STDFORM=STD,USERSET=NO
388
$D OUTPRTY
Syntax
$D OUTPRTY nn , ( nn * ) mm * mm *
,PAGE
,PRIORITY
,RECORD
, /
PAGE
= = > <
page
, /
RECORD
= = > <
record
Parameters
PAGE=page Specifies the output page counts (1-16777215) that are associated with the priorities specified in the PRIORITY=parameter. PRIORITY Specifies the output selection priority (0-255) for the output interval specified by the corresponding RECORD= and PAGE= parameters. RECORD=record Specifies the output line counts (1-16777215) that are associated with the priorities specified in the PRIORITY parameter.
Authority Required
This command requires display authority. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
389
$D OUTPRTY
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP848 message is issued in response to this command.
Example
1 $D OUTPRTY PRIORITY=144,RECORD=2000,PAGE=50 PRIORITY=128,RECORD=5000,PAGE=100 PRIORITY=112,RECORD=15000,PAGE=300 PRIORITY=96,RECORD=16777215,PAGE=16777215 PRIORITY=80,RECORD=16777215,PAGE=16777215 PRIORITY=64,RECORD=16777215,PAGE=16777215 PRIORITY=48,RECORD=16777215,PAGE=16777215 PRIORITY=32,RECORD=16777215,PAGE=16777215 PRIORITY=16,RECORD=16777215,PAGE=16777215 $d outprty $HASP848 OUTPRTY(1) $HASP848 OUTPRTY(2) $HASP848 OUTPRTY(3) $HASP848 OUTPRTY(4) $HASP848 OUTPRTY(5) $HASP848 OUTPRTY(6) $HASP848 OUTPRTY(7) $HASP848 OUTPRTY(8) $HASP848 OUTPRTY(9)
390
$D PATH
Syntax
$D PATH n n * nodename , ( n * ) n * -
nodename nodename
Parameters
PATH Displays the path from the node at which the command is entered to the node specified in the command. (nodename|n|*) Specifies the target node. You can use nodename or node number or an asterisk ( * ) to obtain information for all nodes. You can also specify wildcards for the path name. See Using wildcards on page 98 for additional information.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MAS-wide. This command displays information about the entire MAS.
Messages
The $HASP231 message displays the nodes in the path from the node on which the command is entered to the node named in the command. The STATUS parameter will be displayed; however, this parameter cannot be specified (it is display-only). A STATUS=SIGNON VIA LINE will be displayed whenever the primary line displayed in the message is currently in the process of a sign-on.
Chapter 5. Command Reference Section
391
$D PATH
| | Note: If there are multiple paths through the same adjacent node, only the primary trunk is displayed.
Examples
1 $dpath(vmx02) $hasp231 path(vmx02) 634 $hasp231 path(vmx02) status=(through member d3x0),rest=100, $hasp231 path=(isof1,vmx02)
The path from local node isof1 to target node vmx02 is made through MAS member d3x0 and consists of only these two nodes.
2 $DPATH001 $HASP231 PATH(BATEST) 856 $HASP231 PATH(BATEST) STATUS=(THROUGH MEMBER ST37),REST=400, $HASP231 PATH=(S2324,AB2JES,BATEST), $HASP231 STATUS=(THROUGH LNE1101),REST=400, $HASP231 PATH=(S2324,JSYSTEM,BATEST), $HASP231 STATUS=(AWAITING RESET WITH AHFJES), $HASP231 REST=400,PATH=(S2324,AHFJES,BATEST)
The path from local node S2324 to target node BATEST occurs through MAS members ST37/LNE1101, causes the installation a resistance of 400, and consists of three nodes.
392
$D PCE
Syntax
$D PCE pce , ( pce pce * ) -pce -pce -*
,ACTive
,Allocated
,Defined
,DESC
,DETails , =( ACTive CURJOB JOBid ENDed EXIt I/O NAME TRace WAIT )
,Ended
,LONG
,TRace
, /
ACTive
= = > <
active
, /
Allocated
= = > <
allocated
393
$D PCE
Defined /
defined
Ended /
ended
, /
Defined
= = > <
defined
= = > <
curjob
, /
Ended
= = > <
ended
, /
TRace
= =
MIXED No P Yes
Parameters
(pce-type) JES2 displays the status of processors in the specified processor-type(s). If this operand is omitted, then all PCE types are displayed. The valid processor-types are: Command Input ALICE Processors Acquire lock and initiate cleanup executor
394
$D PCE
ASYNC BERTLOCK CKPT CNVT COMM DAWN ENF EOM EVTL EXEC FCLEANUP HOPE IRCLEAN JCMD JQRP MCON MLLM MISC NET.JR NET.JT NET.SR NET.ST NET.RR NET.RT NPM OFF.JR OFF.JT OFF.SR OFF.ST PRT PRTYO PRTY PSO PUN PURGE RDR RESOURCE RESTART RMT.RDR RMT.PRT RMT.PUN SJFSERV SNF SOM SPI SPIN SPOOL STAC TIME TIMER WARM XCF XCFCMND ASYNC I/O Processor BERT Lock Post Processor Checkpoint Processor JCL Converter Command Processor Distributed Available Work Notification ENF Listen Processor End of Memory Processor Event Trace Log Execution Services FSS Cleanup at EOM Output Processor Internal Reader Cleanup MAS Command Processor JQE Request Processor Remote Console Processor Line Manager Miscellaneous processor NJE Job Receiver NJE Job Transmitter NJE SYSOUT Receiver NJE SYSOUT Transmitter Job Route Receiver Job Route Transmitter Network Path Manager Offload Job Receiver Offload Job Transmitter Offload SYSOUT Receiver Offload SYSOUT Transmitter Printer Output Priority Aging Job Priority Aging Process SYSOUT Processor Punch Purge Processor Reader Resource Monitor ARM Support Processor RJE Reader RJE Printer RJE Punch SWB Modify Processor Spool Garbage Collector Spool Offload I/O Manager SYSOUT API Processor Spin Output Processor Spool Command Processor SSI Status/Cancel Services Elapsed Time Monitor STIMER/TTIMER Processor Warm Start Processor JESXCF Interface JESXCF Request Processor
| |
See PCE List in z/OS JES2 Messages for a list of PCEs and a description of their functions.
Chapter 5. Command Reference Section
395
$D PCE
ACTive=active $ACTIVE count of all PCEs of this type. The $ACTIVE count is the number of devices of this type that are currently active or the number of jobs active on PCEs of this type. Allocated=allocated Number of defined PCEs that have been created. COUNT=Allocated|Defined|Ended Allocated Number of defined PCEs that have been created. Defined Number of PCEs of this type defined to JES2. Ended Number of allocated PCEs that have ended. Defined=defined Number of PCEs of this type defined to JES2. DESC Displays a short description of the PCE type. DETails=PCE(pcetype) | NAME=name | WAIT=waitparms | MOD=csect | SEQ=seq | TIME=yyyy.ddd,hh:mm:ss | {CURJOB=jobnnnnn} | {ACTIVE=active} | {I/O=iii} | {ENDED=yes} | {EXIT=eee} Displays detailed information about every PCE of the type. pcetype The processor type for a group of JES2 processors. This value is the NAME operand for an entry in the JES2 installation PCE table. For a complete list of the JES2 processor types, see the $T PCE command, or Appendix A PCE list for a list of PCEs, their names, and whether they are required, and a description of their function. mod Module CSECT name where PCE is $WAITing. SEQ Sequence number in mod where PCE is $WAITing. TIME Date and time when PCE $WAITed. CURJOB Current job id of job being processed (if any) by the PCE. ACTIVE $ACTIVE count for the PCE. I/O Number of $EXCPs outstanding for the PCE. ENDED=yes Present only if the PCE has ended. EXIT=eee Present only if the PCE is in logic that is part of an installation exit. Ended=ended Number of allocated PCEs that have ABENDed and are now ended.
396
$D PCE
LONG Includes a description of the PCEs in the display. Note: Because LONG automatically triggers a long display, you cannot add additional display-limiting parameters on this command; however, you can add selection-limiting parameters. TRace={Mixed|No|P|Yes} Displays the current trace status.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
If the processors within the specified type do not all have the same TRACE status, JES2 displays the status as MIXED. You must then use individual $DU commands to determine the status of each processor.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP653 message displays the current tracing status and PCE counts for the processor types specified.
Examples
1 $d pce(prt) COUNT=(20,20,0),ACTIVE=0,TRACE=YES $HASP653 PCE(PRT)
20 local printers are defined to JES2 and all 20 are currently allocated (PCEs exist in storage for these printers). All allocated PCEs have processor tracing set (TR=P).
2 $d pce(rdr,rmt.rdr) COUNT=(15,10,0),ACTIVE=0,TRACE=MIXED COUNT=(20,0,0),ACTIVE=0,TRACE=
15 local readers are defined to JES2, 10 of which are currently allocated (PCEs exist in storage for these readers). The tracing status of the allocated local readers is mixed (some readers are currently being traced, others are not). 20 remote readers are defined to JES2. Because none of these readers is currently allocated, JES2 does not display the tracing status.
397
$D PCE
Note: Local devices (PRT, PUN, RDR) always have a PCE. Remote devices are dynamic (Rn.PR, Rn.PU, Rn.RD).
3 $d pce(stac) COUNT=(2,2,0),ACTIVE=0,TRACE=NO
$HASP653 PCE(STAC)
Two Status/Cancel Services processors are defined and both are currently allocated (PCEs exist in storage for these 2 processors). No allocated PCEs have processor tracing set (TR=N).
4 $d pce(npm),long
JOBID, ACTIVE, I/O and ENDED are optional. JOBID only displays if there is one. ACTIVE and I/O will display if non-zero.
6 $dpce(prt),d,a,e DEFINED=11,ALLOCATED=11,ENDED=0
$HASP653 PCE(PRT)
398
$D PCEDEF
Syntax
$D PCEDEF ,CNVTNUM ,OUTNUM ,PSONUM ,PURGENUM
,SPINNUM
,STACNUM
Parameters
CNVTNUM Specifies the number (1-10) of converted processors defined to JES2. OUTNUM Specifies the number (1-10) of output processors defined to JES2. PSONUM Specifies the number (1-10) of PSO processors defined to JES2. PURGENUM Specifies the number (1-10) of purge processors defined to JES2. SPINNUM Specifies the number (3-10) of pin processors defined to JES2. STACNUM Specifies the number (1-10) of TSO/E STATUS/CANCEL processors defined to JES2.
Authority Required
This command requires display authority. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP849 message is issued in response to this command.
399
$D PCEDEF
Example
1 $D PCEDEF $d pcedef $HASP849 PCEDEF $HASP849 PCEDEF CNVTNUM=2,PURGENUM=2,PSONUM=2,OUTNUM=2, $HASP849 STACNUM=2,SPINNUM=3
400
$D PRINTDEF
Syntax
$D PRINTDEF ,CCWNUM ,DBLBUFR ,FCB ,LINECT
,NEWPAGE
,NIFCB
,NIFLASH
,NIUCS
,RDBLBUFR
,TRANS
,UCS
Parameters
PRINTDEF The $HASP833 message displays the current JES2 print environment characteristics. CCWNUM Specifies the maximum number (1-233) of channel command words (CCWs) to be used per channel program area for local impact printers. DBLBUFR Specifies whether double buffering is to be used for local printers. FCB Specifies the name of the forms control buffer (FCB) image or the carriage control tape that JES2 initially assumes is mounted on every impact printer. LINECT Specifies the maximum number (1-254) of lines to be printed per page on job output. NEWPAGE Specifies how to skip to channel is counted as a new page. NIFCB Specifies the name of both the forms control buffer image that JES initially loads into every non-impact printer and the installations default FCB for data sets that do not explicitly request an FCB when printed on a non-impact printer. NIFLASH Specifies the 1 to 4 character name of the initial and default forms flash ID. NIUCS Specifies the name of both the character arrangement table that JES2 initially loads into every 3800 printer and the installations default character arrangement table that is loaded into the printer for data sets that do not specify a character arrangement table.
401
$D PRINTDEF
RDBLBUFR Specifies whether double (Yes) or single (No) buffering is to be used for remote printers. SEPPAGE[=LOCAL|REMOTE] Specifies the type of separator page JES2 produces on local and remote printers. TRANS Specifies whether (Yes) or not (No) character translation is to be used for local and remote printers. UCS Specifies the name of the print chain, print train, or print band default character set that is mounted on every impact printer for which a specific universal character set (UCS) image is not specified.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
The scope of some commands varies by parameter. Some parameters on certain commands will display information about the entire MAS, while other parameters will display information about this member only. For those commands that are single member scope, or have some parameters that are single member scope, you might want to use the parameters for that command to get information about all members of the MAS. If so, you can use the MVS ROUTE *ALL command to issue that command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP833 message is issued in response to this command. list the resulting messages.
Example
1 $d printdef $HASP833 PRINTDEF CCWNUM=49,LINECT=60,NEWPAGE=ALL,NIFCB=STD3, $HASP833 NIFLASH=****,NIUCS=GT10,FCB=6,TRANS=NO,UCS=0, $HASP833 DBLBUFR=YES,RDBLBUFR=NO,SEPPAGE=(LOCAL=HALF, $HASP833 REMOTE=HALF)
402
$D PROCLIB(xxxxxxxx)
Syntax
$D PROClib proclib , ( proclib proclib * ) -proclib -proclib -*
,CREATED
,DEBUG
,DDNAME
,USECOUNT
403
$D PROCLIB(xxxxxxxx)
, , / DD nn , / ( nn * ) mm * / VOLser mm * UNIT = = > < = = > < =( / DSName = = > < dsname )
unit
volser
Parameters
(xxxxxxxx) Specifies the 1- to 8- character PROCLIB DD name being displayed. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. CREATED Displays the time the PROCLIB concatenation was created. DD(nnn)= Can be used to select which PROCLIB concatenation to display. DSName=jxxx,,,x Specifies a 1-44 character data set name which is in a PROCLIB concatenation. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. UNIT=hhhh|/hhhh|nnnn|cccccccc Specifies unit information for the PROCLIB concatenations to be displayed. The data set must be specified in one of the following ways: hhhh | /hhhh specifies a 3 or 4 digit hexadecimal device number. Device numbers can be specified by any of the following formats: v UNIT=hhh v UNIT=/hhh v UNIT=/hhhh where hhh and hhhh represent the device numbers. A slash (/) must precede a 4 digit device number. nnnn Specifies a device name. cccccccc Specifies a 1 to 8 character group name assigned to the device or group of devices. VOLser=xxxxxx Specifies a 1 to 6 character volume serial number for the PROCLIBs to be displayed. DDNAME Displays the real DD name that is associated with this PROCLIB concatenation. DEBUG Displays additional information about PROCLIB concatenations including concatenation that have been logically deleted.
404
$D PROCLIB(xxxxxxxx)
Note: Because DEBUG automatically triggers a long display, you cannot add additional display-limiting parameters on this command; however, you can add selection-limiting parameters. USECOUNT Displays the current use count for a PROCLIB concatenation. A PROCLIB is considered in use if a conversion processor currently has the data set open.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
A $D PROCLIB command cannot display PROCLIB concatenations specified in the JES2 start PROC.
Scope
Single member. The response to this command will be a display of information about this member only. You may want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
$HASP319 displays the current PROCLIB concatenation. $HASP003 RC=52 indicates that no PROCLIBs exist matching the filters specified.
Example
1 $dproclib $HASP319 PROCLIB(PROC01) $HASP319 DD(1)=(DSNAME=SYS1.PROCLIB), DD(2)=(DSNAME=TEST.PROCLIB)
405
Syntax
$D PRINTER PRT nn , ( nn * ) mm * mm * L= a name name-a
,Burst
CHAR X
nn , ( nn * ) mm * mm *
,CKPTLINE
,CKPTMODE
,CKPTPAGE
,CKPTSEC
,COPYMARK
,CReator
,DEVFCB
,DEVFLASH
C FCB
FLASH O
,Forms
,FSAROLTR
= ^=
Yes No
,FSS
406
,JOBname
,LIMit
,LONG
,Mark
,MODE
MODIFY Y
,NAME
,NEWPAGE
,NPRO
,Pause
,PLIM
,PRESELCT
,PRMode
Queue Class
,PROC
,RANGE
,Routecde
,Sep
,SEPCHARS
,SEPDS
,SETUP
K SPACE
,SUSPEND
,TRace
,TRANS
,TRKCELL
T UCS
,UCSVerfy
,UNIT
,Volume
,Writer
,WS
, /
Burst
= ^=
, No Yes /
CKPTMODE
= ^=
PAGE SEC
, /
COPYMARK
= ^=
, /
CReator
= ^= > <
creator
, /
DEVFCB
= ^= > <
devfcb
DEVFLASH
= ^= > <
devflash
407
, /
C FCB /
= ^= > <
fcb
, /
FLASH O /
= ^= > <
flash
, /
Forms
= ^=
|
, / FSAROLTR = ^= No Yes , / FSS = ^= > < fss
, , / FSSINFO =( / = asid ^= > < FSSMADDR = fssmaddr ^= > < FSSMAPAR = fssmapar ^= > < FSSMLENG = fssmleng ^= > < FSSMPTF = fssmptf ^= > < HASPFSSM = haspfssm ^= > < NAME = name ^= > < PROC = proc ^= > < ASID )
, /
JOBname
= ^= > <
jobname
, /
Mark
= ^=
No Yes
408
, /
MODE
= ^=
, /
MODIFY Y /
= ^= > <
modify
, /
NEWPAGE
= ^=
ALL DEFAULT 1
, /
STATUS
= ^=
Active
, /
Pause
= ^=
, No Yes /
PRESELCT
= ^=
No Yes
, /
CLass Queue /
= ^= > <
queue
, /
Sep
= ^=
No Yes
, /
SEPCHARS
= ^=
CURRENT DEFAULT
, /
SEPDS
= ^=
No Yes
, /
SETUP
= ^=
HALT NOHALT
, /
K SPACE /
= ^=
, /
TRace
= ^=
No P Yes
, /
TRANS
= ^=
DEFAULT No Yes
409
, /
TRKCELL
= ^=
No Yes
, /
T UCS /
= ^= > <
ucs
, /
UCSVerfy
= ^=
No Yes
, /
UNIT
= ^= > <
unit
, /
Writer
= ^= > <
writer
Parameters
PRTnnnn The local printer displayed through this command. Rnnnn.PRm The remote printer displayed through this command. Burst Displays whether the printed output from this 3800 printer is burst into separate sheets (Yes) or continuous fanfold form (No). CHAR(1-4)|X1-4 Displays the 1 to 4 character identifier for the first through fourth character arrangement tables to be used in the specified 3800 printer. CKPTLINE Displays the maximum number of lines (range 0-32767) in a logical page. JES2 uses this value, with the CKPTPAGE value, to determine when to take output checkpoints. CKPTMODE Displays whether the functional subsystem is to take checkpoints based upon page count (PAGE) or elapsed time (SEC). CKPTPAGE Displays the number (1-32767) of logical pages to be printed before each output checkpoint is taken by JES2. This parameter and CKPTLINE control the amount of checkpoint activity to spool. CKPTSEC Displays the number of seconds (0-32767) to elapse before each output checkpoint is taken. This parameter is valid only for a printer under the control of a functional subsystem. CLass|Queue Displays, in priority sequence, the output class(es) (A-Z, 0-9) this printer is to process. COPYMARK Displays whether indicators of SYSOUT separation markings are incremented on a data set level (DATASET), on a job output element level (JOB), or not at all (CONSTANT).
410
411
412
413
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T INTRDR command sets the command authority for internal readers.
414
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP603 message displays the status of the printers.
Examples
| | | | | | | | | | | | | | |
1 $dprt1 $HASP603 PRT1 $HASP603 $HASP603 $HASP603 $HASP603 $HASP603 $HASP603 $HASP603 $HASP603 $HASP603 $HASP603 $HASP603 $HASP603 $HASP603 UNIT=0017,STATUS=HALTED,(STC00008 DIP), BURST=NO,CHAR(1)=GT10,CKPTLINE=0, CKPTMODE=PAGE,CKPTPAGE=100,CKPTSEC=0, CREATOR=,DEVFCB=,DEVFLASH=****,FCB=STD3, FORMS=(STD,,,,,,,),FSS=BLUEBERY,HONORTRC=YES, JOBNAME=,LASTFORM=STD,LIMIT=(0,*), COPYMARK=DATASET,MARK=NO,MODE=JES, NEWPAGE=DEFAULT,NPRO=300,PAUSE=NO,PLIM=(0,*), PRESELCT=YES,PRMODE=(LINE),QUEUE=A,RANGE=(J1, 999999),ROUTECDE=(LOCAL),SEP=YES, SEPCHARS=DEFAULT,SEPDS=NO,SETUP=HALT,SPACE=, TRACE=NO,TRANS=DEFAULT,TRKCELL=NO,UCS=GT10, UCSVERFY=NO,VOLUME=(,,,),WRITER=, WS=(W,Q,R,PRM,LIM/F,UCS,FCB),FSAROLTR=NO
JES2 displays detailed information about local printer 1 that has been defined.
2 $dprt6,class QUEUE=X
$HASP603 PRT16
$HASP603 R1.PR1
JES2 displays that printer 1 on remote 1 can use the printer-interrupt feature and does eject a page when not starting at the top of a page.
4 $dr(*).pr(*),eject,suspend R1.PR1 R2.PR1 R3.PR1 R4.PR1 R5.PR1 R5.PR2 R24.PR1 R24.PR2 EJECT=YES,SUSPEND=YES EJECT=YES,SUSPEND=YES EJECT=YES,SUSPEND=YES EJECT=YES,SUSPEND=YES EJECT=YES,SUSPEND=YES EJECT=YES,SUSPEND=YES EJECT=YES,SUSPEND=YES EJECT=YES,SUSPEND=YES
JES2 displays only the status of eject and suspend parameters for all remote printers in the MAS complex.
5 $dr1.pr1,suspend SUSPEND=YES
Chapter 5. Command Reference Section
$HASP603 R1.PR1
415
416
$D PUNCHDEF
Syntax
$D PUNCHDEF ,CCWNUM ,DBLBUFR ,RDBLBUFR
Parameters
PUNCHDEF The $HASP847 message displays the current JES2 punch environment characteristics. CCWNUM Specifies the maximum number (1-235) of double words to be used for the channel program area for local punches. DBLBUFR Specifies whether (Yes) or not (No) double buffering is used for local card punches. RDBLBUFR Specifies whether double buffering (Yes) or single buffering (No) is to be used for remote card punches.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
The scope of some commands varies by parameter. Some parameters on certain commands will display information about the entire MAS, while other parameters will display information about this member only. For those commands that are single member scope or have some parameters that are single member scope, you might want to use the parameters for that command to get information about all members of the MAS. If so, you can use the MVS ROUTE *ALL command to issue that command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP847 message is issued in response to this command. list the resulting messages.
417
$D PUNCHDEF
Example
1 $d punchdef $HASP847 PUNCHDEF CCWNUM=49,DBLBUFR=NO,RDBLBUFR=NO
418
Syntax
$D PUN PUNCH nn , ( nn * ) nn * nn *
,CKPTLINE
,CKPTPAGE
,CReator
,Forms
,JOBname
,LIMit
,Pause
,PRMode
CLass Queue
,RANGE
,Routecde
,Sep
,SEPDS
,SETUP
,STATUS
,TRace
,UNIT
,Volume
,Writer
,WS
, /
CReator
= ^= > <
creator
, /
Forms
= ^=
419
, /
JOBname
= ^= > <
jobname
, /
Pause
= ^=
No Yes
, /
CLass Queue /
= ^= > <
queue
, /
Sep
= ^=
No Yes
, /
SEPDS
= ^=
, No Yes /
SETUP
= ^=
HALT NOHALT
, /
STATUS
= ^=
ACTIVE
, /
TRace
= ^=
No P Yes
, /
UNIT
= ^= > <
unit
, /
Writer
= ^= > <
writer
Parameters
PUNnn The local punch displayed through this command. CKPTLINE Displays the maximum number of lines (range 0-32767) in a logical page. JES2 uses this value, with the CKPTPAGE value, to determine when to take output checkpoints. CKPTPAGE Displays the number (1-32767) of logical pages to be punched before each output checkpoint is taken by JES2. This parameter and CKPTLINE control the amount of checkpoint activity to spool. CLass|Queue=queue Displays, in priority sequence, the output class(es) (A-Z, 0-9) this punch processes. CReator=creator Displays the 1 through 8 character userid that creates the SYSOUT data sets to be processed. FLUSH Displays whether (YES) or not (NO) JES2 punches a blank card following each data set or data set copy processed by this device. Forms=form Displays the 1 through 8 character name of the forms loaded into this punch.
420
421
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T INTRDR command sets the command authority for internal readers. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP603 message displays the status of the punches.
Example
1 $dr1.pu1,lim,f LIMIT=(0,*),FORMS=STD $HASP603 R1.PU1
JES2 displays the forms name and the lower and upper limits for the record size of output selected by punch 1 on remote 1.
422
$D Q
Syntax
$D Q ,IND ,memname ,ANY ,ALL ,IND ,V=volser ,Q= CNV CLASS STC|$ TSU|@ * CLASS STC|$ TSU|@ *
XEQ
Parameters
Q JES2 displays the number of jobs on the specified job queue. memname The 1 to 4 alphameric character identifier of a member in the multi-access spool configuration. JES2 displays the number of jobs on the specified queue whose affinities include the member specified by member name. ANY JES2 displays the number of jobs on the specified queue whose affinity is for any member in the multi-access spool configuration. ALL JES2 displays the number of jobs on the specified queue, regardless of affinity. The counts are given for each member in the multi-access spool configuration. A job is counted multiple times if its queued affinity includes multiple members. IND JES2 displays the number of jobs on the specified queue whose affinity is for members operating in independent mode. Note: The first two operands of the $D Q command (those operands concerning affinity) are positional in nature; if entered, they must be in the order shown. V=volser JES2 displays job information and percentage of spool disk utilization for all jobs that have data on the spool volume specified by volser. R= The output group destination or range of destinations (low to high) for which job information is displayed. If you omit this operand or specify this operand without a node id when entering the command from a remote workstation or another node (through a node send command, $Nn), JES2 displays only those jobs with
Chapter 5. Command Reference Section
423
$D Q
a default print/punch routing to that particular remote or node. Therefore, if you want to display jobs with print/punch routing of the target node, this operand must be specified with a node id of the target node (for example, R=N2.U25 or R=NEWYORK.R41.) For further information, refer to the section on SEND commands through the network. See Route codes on page 97 for additional information. The value for all routing numbers can range from 1 to 32767. The valid specifications are: LOCAL|ANYLOCAL Indicates that the number of jobs queued is displayed at the local node. destid Indicates that the number of jobs queued is displayed at the specified node(s) through an alias for the name of the node. Nnnnn|nodename Indicates that the number of jobs queued is displayed at the specified node(s) through the decimal node identifier or an EBCDIC nodename. NnnnnRmmmm|node.remote Indicates that the number of jobs queued is displayed at the remote Rmmmm at the node Nnnnn. Rmmmm can also be specified as RMmmmm or RMTmmmm. Ummmm Indicates that the number of jobs queued is displayed at a special local routing. Wildcards are not supported. node.destid Indicates that the number of jobs queued is displayed at a destination at the specified node. The destid refers to both the node and the remote. remote Indicates that the number of jobs queued is displayed at a remote destination. Remote can be specified in any of the following ways: LOCAL|ANYLOCAL Indicates that the number of jobs queued is displayed at the local node. Rmmmm Indicates that the number of jobs queued is displayed at the specified remote. Rmmmm can also be specified as RMmmmm or RMTmmmm. destid Indicates that the number of jobs queued is displayed at a destid referring to a remote. * node.* Displays output for all userids at the local node. node.*-node.* Displays all output for each node in the range. The range may include the local node. Nnnnn-Nnnnn Displays all output for each node in the range. The range may include the local node. Displays all output for the local node, including special local, userid, and a remote workstation on the local node.
424
$D Q
Rmmmm-Rmmmm Displays all output for each remote in the range. Unnnn-Unnnn Displays all output for each special local node in the range. Wildcards are not supported. NnnnnRmmmm-NnnnnRmmmm Displays a range of remotes at a node. Both node identifiers must be the same. For the second value of the destination range, all specification values from the R= parameter are valid except for *, node.* and Ummmm. Refer to the syntax diagram. Q=CNV JES2 displays the number of jobs waiting for conversion. You can specify one of the following values for cnv: * JES2 displays the number of jobs waiting for conversion in all classes (A-Z, 0-9, STC, and TSU). Specifying CNV* is equivalent to specifying CNV. The execution class (A-Z, 0-9) for which jobs waiting for conversion are counted.
class
STC or $ JES2 displays the number of started tasks waiting for conversion. This operand can be abbreviated $. TSU or @ JES2 displays the number of time-sharing users waiting for conversion. This operand can be abbreviated @. Q=XEQ JES2 displays the number of jobs waiting for execution. You can specify one of the following values for xeq: * JES2 displays the number of jobs waiting for execution in all classes (A-Z, 0-9, STC, and TSU). Specifying XEQ* is equivalent to specifying XEQ. The execution class (A-Z, 0-9) for which jobs waiting for execution are counted.
class
STC or $ JES2 displays the number of started tasks waiting for execution. This operand can be abbreviated $. TSU or @ JES2 displays the number of time-sharing users waiting for execution. This operand can be abbreviated @. Q=OUT JES2 displays the number of jobs waiting for output processing. Q=PPU JES2 displays the number of jobs waiting for print/punch processing. Q=HOLD JES2 displays the number of jobs waiting for any activity and in hold status. Q=XMT JES2 displays the number of jobs queued for execution on other nodes. See
Chapter 5. Command Reference Section
425
$D Q
Route codes on page 97 for additional information. The destination that is converted to the lower (or only) route code should be specified first, followed by the destination with the higher route code. If, for example, NEWYORK is the node name equivalent to N1 and DENVER is the node name equivalent to N10, then Q=XMT NEWYORK-DENVER is the order required to display jobs on the transmit queue for nodes N1,N2,...N10. The valid specifications are: LOCAL|ANYLOCAL Indicates that the number of jobs queued is displayed at the local node. Nnnnn|nodename Indicates that the number of jobs queued is displayed at the specified node through the decimal node identifier or an EBCDIC nodename. You can also specify a range (low to high). destid Indicates that the number of jobs queued is displayed at the specified node(s) through an alias for the name of the node. Note: Since the system only transmits jobs to NJE nodes, destinations that refer to a remote work station are converted to the node to which that remote workstation is attached.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
If you do not specify the Q= parameter, JES2 displays the number of jobs in each of the queues described above, except the HOLD queue.
Scope
MAS-wide. This command can display information about jobs on any or all members of the MAS, depending on the parameters you provide.
Messages
JES2 issues the following messages in response to the $D Q commands: v $HASP630 displays the SPOOL volume status, if you specify the V= operand. v $HASP642 displays the number of jobs in HOLD, if you specify Q=HOLD. v v v v v $HASP643 $HASP644 $HASP645 $HASP646 $HASP647 queues. displays displays displays displays displays the the the the the number of jobs in the print/punch queue. number of jobs in the output queue. number of jobs in the transmit queue (XMT). percentage of spool utilization. number of jobs on the conversion and execution
426
$D Q
Examples
1 $dq,spl2 1 XEQ A SPL2 1 XEQ H SPL2 3 PPU LOCAL ANY PERCENT SPOOL UTILIZATION $HASP647 $HASP647 $HASP643 $HASP646 10
There is 1 job awaiting execution in class A and 1 in class H on a member identified as SPL2. There are 3 jobs in the print/punch queue. 10 percent of spool space is being used.
2 $dq,spl2,q=hold,v=spool4 25 PERCENT UTILIZATION
There is 1 job on the hold queue on a member identified as SPL2. 25 percent of volume SPOOL4 is allocated.
3 $dq,q=xeqc $HASP647 1 XEQ C IBM1 $HASP647 67.8095 PERCENT SPOOL UTILIZATION
427
$D R(nn).CON(mm)
Syntax
$D R nn , ( nn * ) mm * mm * .CON
,STATUS
, /
STATUS
Parameters
Rnn.CONmm Displays the status of the specified remote console. STATUS Displays information about JES2-managed devices. The following types of status can be displayed: Type STARTING DRAINED DRAINING Meaning The device is being started. Applies to FSS-owned devices only. JES2 does not use the device until you start it with a $S command. JES2 is using the device to process jobs, but will stop using this device once the current function has completed.
428
$D R(nn).CON(mm)
INACTIVE ACTIVE HALTED JES2 is not using the device, but would do so if a job were both available and eligible for the device. JES2 is using the device for job processing and will continue to do as long as jobs are both available and eligible for the device. JES2 has either requested operator assistance or an operator has entered the $Z command to halt the device. To start the device, you must enter a $S command.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T INTRDR command sets the command authority for internal readers. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP603 message displays the status of the remote console.
Example
1 $dr1.con STATUS=INACTIVE $HASP603 R1.CON
429
$D RDI
Syntax
$D RDI rdi , ( rdi rdi ) Selection limiting keywords
|
, MSGclass Q ,OWNER ,PRTDEST ,PUNDEST ,STATUS
,Sysaff
,TRace
430
$D RDI
, /
Class
= = > <
class
, /
HOLD
= =
No Yes
, /
MSGclass Q /
= = > <
msgclass
|
, , OWNER=( JOBID= jobid JOBNAME= jobname ASID= asid )
, /
PRTDEST
= =
prtdest
, /
PUNDEST
= =
pundest
|
, STATUS= DRAINING ACTIVE ALLOCATED , / TRace = = No P Yes
Parameters
Auth Displays whether (YES) or not (NO) the indicated reader has the specified authority to issue commands to the internal reader. Class=class Displays the default execution class (A-Z,0-9) for all jobs entered at this internal reader that do not have a job class specified on the JOB statement. HOLD={No|Yes} Displays whether (YES) or not (NO) all jobs read by the specified are held after JCL conversion. | | | | | LONG Displays additional information on the number of jobs submitted (JOBCOUNT=), the statistics for the current job on the internal reader including number of records submitted (RECORDS=), and the current card being processed (CARD=). MSGclass|Q=msgclass Displays the default message class assigned to jobs entered at this internal reader that do not have a MSGCLASS specified on the JOB statement. | | | OWNER=(JOBID=jobid,JOBNAME=jobname,ASID=asid) JES2 displays information on internal readers owned by the jobid, jobname, or asid specified. All the three support generic filters. PRTDEST=prtdest Displays the default destination for the print output from all jobs that are read by the internal reader and that do not have a /*ROUTE statement or DEST parameter. The value for all routing numbers can range from 1 to 32767.
Chapter 5. Command Reference Section
431
$D RDI
PUNDEST Displays the default destination for the punch output from all jobs that are read by the internal reader and that do not have a /*ROUTE statement or DEST parameter. Sysaff Displays the default affinities assigned to jobs read by the internal reader. TRace={Yes|No|P} Displays whether (Yes) or not (No) tracing is activated for this print processor.
Authority Required
This command requires display authority. The description of the $T INTRDR command explains how to ensure the proper MVS system command group authority is assigned. The $T INTRDR command sets the command authority for internal readers. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP603 message displays the status of the specified internal reader and its current characteristics.
Example
| | | | | | | | | | | | | | | | | | |
1 $d rdi(*) RDI(INTRDR) RDI(INTRDR) STATUS=ALLOCATED,AUTH=(DEVICE=NO, JOB=YES,SYSTEM=NO),CLASS=A,HOLD=NO, MSGCLASS=,OWNER=,(JOB00018,INTRDACB ASID=0021),PRTDEST=LOCAL,PUNDEST=LOCAL, SYSAFF=(ANY),TRACE=NO $DRDI(*) $HASP603 $HASP603 $HASP603 $HASP603 $HASP603 $HASP603
$drdi(*),long $HASP603 RDI(INTRDR) $HASP603 RDI(INTRDR) STATUS=ACTIVE,AUTH=(DEVICE=NO,JOB=YES, $HASP603 SYSTEM=NO),CLASS=A,HOLD=NO,JOBCOUNT=2, $HASP603 JOBSTAT=(RECORD=7,CARD=EOF),MSGCLASS=A, $HASP603 OWNER=(JOB00018,INTRDACB,ASID=0021), $HASP603 PRTDEST=LOCAL,PUNDEST=LOCAL, $HASP603 SYSAFF=(ANY),TRACE=NO
432
Syntax
$D RDR READER nn , ( nn * ) nn * nn * L= a name name-a
,Class
,Hold
MSGclass Q
,PRIOINC
,PRIOLIM
P PRTDEST
PUNDEST U
,STATUS
,Sysaff
,TRace
,UNIT
,Xeqdest
433
, /
Class
= ^= > <
class
, /
Hold
= ^=
No Yes
, /
MSGclass Q /
= ^= > <
msgclass
, /
PRIOINC
= ^= > <
prioinc
, /
PRIOLIM
= ^= > <
priolim
, /
STATUS
, /
TRace
= ^=
No P Yes
, /
UNIT
= ^= > <
unit
$D R nn , ( nn * ) mm * mm *
.RD nn , ( nn * ) mm * mm *
,Class
,Hold
MSGclass Q
,PRIOINC
,PRIOLIM
P PRTDEST
PUNDEST U
,STATUS
,Sysaff
,TRace
434
,Xeqdest
, /
Class
= ^= > <
class
, /
Hold
= ^=
No Yes
/ /
MSGclass Q
= ^= > <
msgclass
, /
STATUS
, /
TRace
= ^=
No P Yes
Parameters
RDRnn The local reader that is affected by this command. Rnn.RDmm The remote reader affected by this command. Auth Displays whether (YES) or not (NO) the indicated reader has the specified authority to issue commands to the local reader. A reader can have Device, Job, or System authority. These levels of authority are not mutually exclusive. Class=class Displays the default execution class (A-Z, 0-9) for all jobs entered at this remote reader that do not have a job class specified on the JOB statement. Hold={No|Yes} Displays whether (Y) or not (N) all jobs read by the specified reader are held after JCL conversion. You can release these jobs on an individual basis using the $A command. In an NJE environment, if a job contains a /*ROUTE XEQ or /*XEQ JES2 control statement specifying another node for execution, the job is not held at the entry node, but at the execution node (that is, the node which performs the JCL conversion). MSGclass|Q=msgclass Displays the default message class assigned to jobs entered at this remote reader that do not have a MSGCLASS specified on the JOB statement.
435
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T INTRDR command sets the command authority for internal readers. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP603 message displays the status of the readers.
436
Examples
1 $dr1.rd(*),msg,xeqdest MSGCLASS=A,XEQDEST=LOCAL $HASP603 R1.RD1
JES2 displays only the message class and execution class for all readers attached to remote reader 1.
2 $dr(*).rd(*),msg,xeqdest R1.RD1 R2.RD1 R3.RD1 R4.RD1 R5.RD1 R24.RD1 MSGCLASS=A,XEQDEST=LOCAL MSGCLASS=A,XEQDEST=LOCAL MSGCLASS=A,XEQDEST=LOCAL MSGCLASS=A,XEQDEST=LOCAL MSGCLASS=A,XEQDEST=LOCAL MSGCLASS=A,XEQDEST=LOCAL
JES2 displays the message class and execution class for all readers attached to all the remotes in the MAS member.
437
$D REBLD
Syntax
$D REBLD
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MAS-wide. This command has an effect across the entire MAS.
Messages
The $HASP890 message displays all the jobs (JOEs) and the $HASP686 message displays all the output elements (JQEs) on the rebuild queue. The $HASP890 message displays all the jobs (JOEs) and the $HASP686 message displays all the job queue elements (JQEs) on the rebuild queue.
Examples
1 $d rebld $HASP890 JOB(USRCLASA) JOB(USRCLASA) STATUS=(AWAITING OUTPUT),CLASS=A, PRIORITY=15,SYSAFF=(ANY),HOLD=(NONE), REBUILD=YES $HASP890 JOB(INIT) JOB(INIT) STATUS=(EXECUTING/N503),CLASS=STC, PRIORITY=15,SYSAFF=(N503),HOLD=(NONE), REBUILD=YES JOB00000 $HASP890 $HASP890 $HASP890 $STC0000 $HASP890 $HASP890 $HASP890
438
$D REBLD
JOB00006 $HASP686 OUTPUT(USRCLASB) $HASP686 OUTPUT(USRCLASB) OUTGRP=23.1.1,HOLD=(NONE),HOLDRC=, $HASP686 OUTDISP=WRITE,PAGES=,PRIORITY=144, $HASP686 QUEUE=A,RECORDS=(223 OF 223), $HASP686 ROUTECDE=LOCAL,TSOAVAIL=NO, $HASP686 USERID=D15USER,REBUILD=YES $HASP685 2 JOBS ON REBUILD QUEUE, 1 JOES ON REBUILD QUEUE 2 $d rebld $HASP890 JOB(INIT) JOB(INIT) STATUS=(EXECUTING/N504),CLASS=A, PRIORITY=15,SYSAFF=(N504),HOLD=(NONE), REBUILD=YES $HASP890 JOB(USRCLASA) JOB(USRCLASA) STATUS=(AWAITING OUTPUT),CLASS=A, PRIORITY=15,SYSAFF=(ANY),HOLD=(NONE), REBUILD=YES $HASP890 JOB(INIT) JOB(INIT) STATUS=(EXECUTING/N503),CLASS=STC, PRIORITY=15,SYSAFF=(N503),HOLD=(NONE), REBUILD=YES 3 JOBS ON REBUILD QUEUE, 0 JOES ON REBUILD QUEUE
STC00000 $HASP890 $HASP890 $HASP890 JOB00000 $HASP890 $HASP890 $HASP890 STC00000 $HASP890 $HASP890 $HASP890 $HASP685
439
$D RECVopts
Syntax
$D RECVopts type , ( type type ) ,COUNT ,INTERVAL
Parameters
RECVopts(type|*) The $HASP846 message displays the current RECVOPTS settings for the specified types of errors. COUNT For the MAIN type COUNT= specifies the number (1-99) of errors (within the INTERVAL= time period) below which the operator will not become involved in the recovery process. INTERVAL Specifies the number of hours (0-9999) in the current interval in which JES2 is counting errors.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
The scope of some commands varies by parameter. Some parameters on certain commands will display information about the entire MAS, while other parameters will display information about this member only. For those commands that are single member scope, or have some parameters that are single member scope, you might want to use the parameters for that command to get information about all members of the MAS. If so, you can use the MVS ROUTE *ALL command to issue that command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The individual parameter descriptions list the resulting messages.
440
$D RECVopts
Example
1 $D RECVOPTS RECVOPTS(MAIN) RECVOPTS(DISTERR) RECVOPTS(CKPT) RECVOPTS(PQE) RECVOPTS(IMAGE) RECVOPTS(ALLOCATE) RECVOPTS(SPOOL) RECVOPTS(SMF) RECVOPTS(VTAM) RECVOPTS(WTO) RECVOPTS(CONVERT) RECVOPTS(OFFLOAD) RECVOPTS(CKPTVRNS) RECVOPTS(GENERAL) RECVOPTS(CKPTONCF) COUNT=1,INTERVAL=1 COUNT=1,INTERVAL=24 COUNT=1,INTERVAL=24 COUNT=1,INTERVAL=24 COUNT=1,INTERVAL=24 COUNT=1,INTERVAL=24 COUNT=1,INTERVAL=24 COUNT=1,INTERVAL=24 COUNT=1,INTERVAL=24 COUNT=1,INTERVAL=24 COUNT=1,INTERVAL=24 COUNT=1,INTERVAL=24 COUNT=1,INTERVAL=24 COUNT=1,INTERVAL=24 COUNT=1,INTERVAL=24 $HASP846 $HASP846 $HASP846 $HASP846 $HASP846 $HASP846 $HASP846 $HASP846 $HASP846 $HASP846 $HASP846 $HASP846 $HASP846 $HASP846 $HASP846
441
$D REDIRect
Syntax
$D REDIRect entry_console entry_console , ( entry_console * entry_console entry_console ) entry_console * entry_console *
,DA
,DCONNECT
,DEF
,DF
,DI
DJ DS DT
,DN
,DNODE
,DQ
,DSPL
,DU
LJ LS LT
Parameters
entry_console Specifies the active MCS console. If you enter any redirected commands from this console, it displays responses to those commands at another console or area. * specifies the redirection for all consoles that have any redirection set up on them. Do not specify a console area. cmd Specifies the group of JES2 commands to be affected. You can specify more than one command. The allowed list of display commands includes the following: DA Display active job DCONNECT Display JES2 network connections DEF Display JES2 parameter definitions DF Display forms queue DI Display initiators DJ|DS|DT Display JOB, STC, TSU information DN Display queued jobs DNODE Display NJE nodes DQ Display number of queued jobs DSPL Display spool volumes DU Display units LJ|LS|LT List JOB, STC, TSU output
442
$D REDIRect
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T INTRDR Command sets the command authority for internal readers. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. There is no need to issue this command for all members of the MAS.
Messages
The $HASP818 message is issued in response to this command. If no redirection has been set up for the specified entry console, the $HASP003 RC=52 message indicates that the operator entered the command incorrectly.
Examples
1 $d redirect(cn3e0) $HASP818 REDIRECT(CN3EO) DA=CN3EO,DF=CN3EO,DI=CN3EO,DJ= CN3EO,DN=CN3EO,DQ=CN3EO,DU=CN3EO, DCONNECT=CN3EO,DNODE=320,DEF= CN3EO,DSPL=CN3EO,LJ=CN3EO
$HASP818 REDIRECT(CN3EO)
Shows the redirection for all consoles that have any redirection set up on them.
3 $d redirect(cn3e0),da,di $HASP818 REDIRECT(CN3EO) DA=CN3EO-A,DI=CN320
443
$D REQJOBID
Syntax
$D REQJobid ,JESLOG
Parameters
JESLOG=SPIN | NOSPIN | SUPPRESS Displays the default processing for the JESLOG data sets for request jobID jobs. SPIN JESLOG is spin-eligible. There is an optional second operand for SPIN: v JESLOG=(SPIN,hh:mm) JESLOG will be spun at time hh:mm each 24 hour period. For time intervals of less than one hour, you must specify the time in theJESLOG=(SPIN,+00:mm) format. v JESLOG=(SPIN,+hh:mm) JESLOG will be spun every hh:mm time interval. v JESLOG=(SPIN,nK |SPIN,nM) JESLOG will be spun when either data set has n lines. where: v hh is hours in the range 0 through 23 v mm is minutes in the range 00 through 59 v n is the number of lines in the data set in the range 1 through 999. n is specified as nnn, nnnK, or nnnM, where K is thousands and M is millions. You must specify a minimum number of 500 lines. Note: The order of precedence for request jobID address spaces from most dominant to least dominant is: 1. The specifications in the IEFSSRR SSOB extension (supplied by the application). 2. Specifications supplied by installation exits. 3. The REQJOBID statement. NOSPIN JESLOG will not be spun. SUPPRESS JESLOG will be suppressed.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned.
444
$D REQJOBID
This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
None.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
$HASP860 displays the current REQJOBID concatenation.
Example
1 $dreqjobid $HASP860 REQJOBID JESLOG=(NOSPIN)
Display
445
$D SMFDEF
Syntax
$D SMFDEF ,BUFFREE ,BUFNUM ,BUFWARN
Parameters
SMFDEF The $HASP841 message displays the current status of System Management Facility (SMF) buffers. BUFFREE Displays the number of SMF buffers which are currently not in use. BUFNUM Specifies the number (0-10000) of system management facilities (SMF) buffers JES2 obtains. BUFWARN Specifies the percentage (0-100) of SMF buffers in use at which the operator will be alerted.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
The scope of some commands varies by parameter. Some parameters on certain commands will display information about the entire MAS, while other parameters will display information about this member only. For those commands that are single member scope, or have some parameters that are single member scope, you might want to use the parameters for that command to get information about all members of the MAS. If so, you can use the MVS ROUTE *ALL command to issue that command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The individual parameter descriptions list the resulting messages.
446
$D SMFDEF
Example
1 $d smfdef BUFNUM=53,BUFFREE=53,BUFWARN=80 $HASP841 SMFDEF
447
$D SOCKET
| | | | | | |
Syntax
$D SOCKet socket , ( socket socket * ) socket socket *
| | | | | |
,IPaddr
,LINE
,NODE
,Port
| | | | | |
,PORTName
,REST
,SECURE
,STATUS
, /
IPaddr
= ^=
ipaddr
, /
LINE
= ^= > <
line
| |
, /
= ^= > <
netsrv
, /
NODE
= ^= > <
node
| |
, /
Port
= ^= > <
port
, /
PORTName
= ^= > <
portname
448
$D SOCKET
| |
, /
REST
= ^= > <
rest
, /
SECURE
= ^= > <
No Yes
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
, /
STATUS
= ^=
ACTIVE INACTIVE
Parameters
IPADDR= Specifies the TCP/IP address or hostname associated with this socket. The default value, *LOCAL, indicates all IP addresses associated with the local machine are to be considered. PORT= Specifies the port number associated with this socket. The default is the value associated with VMNET (typically 175) if SECURE=NO, and the value associated with NJENET-SSL (typically 2252) if SECURE=YES. PORTNAME= If PORT= is specified as the default value, it displays either VMNET or NJENET-SSL, depending on the value of SECURE=. LINE= Specifies a TCP/IP line which is to be dedicated to this socket. NODE= Specifies the NJE node associated with this socket. NETSRV= Specifies the device number of the NETSRV to be used when connecting to this remote socket. SECURE= Indicates whether SSL/TLS is to be used or not when communicating with this socket. YES Indicates that SSL/TLS is to be used when communicating with this socket. NO Indicates that SSL/TLS is not to be used when communicating with this socket. STATUS= Specifies the current status of the socket (ACTIVE or INACTIVE).
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide
449
$D SOCKET
| | | | | | | | | | |
Scope
Single system
Messages
$HASP897
Example
$dsocket(local) $HASP897 SOCKET(LOCAL) $HASP897 SOCKET(LOCAL) IPADDR=*LOCAL,PORTNAME=VMNET, $HASP897 SECURE=NO,LINE=0,NODE=1,REST=0, $HASP897 NETSRV=0
450
$D SPOOL
Syntax
$D SPL SPOOL nn volume , ( nn * ) mm * -volume -volume -* mm *
volume volume *
,ALL
,COMMAND
,LONG
,PERCENT
,STATUS
,Sysaff
,TGINUSE
,TGNUM
,TRKPERTGB
,Volume
, /
PERCENT
= = > <
percent
, /
STATUS
= =
451
$D SPOOL
, /
Sysaff
= =
sysaff
, /
TGINUSE
= = > <
tginuse
, /
TGNUM
= = > <
tgnum
, /
TRKPERTGB
= = > <
trkpertgb
trkpercyl
, /
Volume
= = > <
volume
Parameters
ALL The $HASP893 message displays the status and percent utilization for each spool volume defined to JES2. The $HASP646 message then displays the total percent spool utilization for the complex of all active spool volumes. Note: Because ALL automatically triggers a long display, you cannot add additional display-limiting parameters on this command; however, you can add selection-limiting parameters. AWAITING Lists any spool volumes whose unavailability is preventing this spool volume from draining, most likely because jobs which have space on that volume cannot purge. COMMAND Displays any commands which are outstanding on this spool volume (START, DRAIN, HALT, FORMAT). LONG Displays additional information on the $HASP893 message.
452
$D SPOOL
Note: Because LONG automatically triggers a long display, you cannot add additional display-limiting parameters on this command; however, you can add selection-limiting parameters. PERCENT=percent Displays the percentage of this spool volume that is utilized. STATUS=[ACTIVE|DRAINING|HALTING|INACTIVE| STARTING] Displays the status of the spool volume. ACTIVE Displays the current state of the spool volume. DRAINING The spool volume is transitioning to a DRAINED state. HALTING The spool volume is transitioning to a HALTED state. INACTIVE The spool volume has been started but has not selected a job. STARTING The spool volume has been started but has not fully initialized yet. SYSAFF=sysaff Displays the spool volume(s) associated with the specified member(s). TGINUSE=tginuse Displays the number of track groups in use on this spool volume. TGNUM=tgnum Displays the total number of track groups (either in use or free) on this spool volume. TRKPERTGB=trkpertgb Displays the number of tracks in each track group on this spool volume. UNITDATA=[BASETRAK|EXTent|M|Recmax|TRKPERCYL] Displays extended information about the spool volume. BASETRAK= Displays the base rack address if relative addressing is in use for this volume. EXTent|M The extent number (in hex) that JES2 has assigned this volume. TRKrange|TTrange The range of tracks on this volume that the spool data set occupies. Recmax The maximum record number within a track that JES2 will use. TRKPERCYL The number of tracks per cylinder on the spool device. Volume=volser Only volumes matching the specified volser will be displayed.
Related Commands
To display jobs with more than a specified amount of spool space or space on specific spool volumes, use the $D JOBQ,SPOOL= command.
453
$D SPOOL
Authority Required
This command requires display authority. The description of the $T INTRDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MAS-wide. This command displays information about the entire MAS.
Messages
The $HASP893 message displays information about individual spool volumes. The $HASP646 message displays the percentage of total spool space in the MAS that is in use.
Examples
1 $d spl $HASP893 VOLUME(SPOOL1) STATUS=ACTIVE,PERCENT=84 $HASP893 VOLUME(SPOOL2) STATUS=ACTIVE,PERCENT=92 $HASP646 88.1904 PERCENT SPOOL UTILIZATION
The total utilization of all spool volumes is displayed, as well as the status and total utilization of each individual spool volume.
2 $dspl(spool1)
The total utilization of all spool volumes is displayed, as well as the status and total utilization of spool volume SPOOL1.
3 $dspl(spool1),long $HASP893 $HASP893 $HASP893 $HASP646 VOLUME(SPOOL1) VOLUME(SPOOL1) STATUS=ACTIVE,SYSAFF=(ANY),TGNUM=525 TGINUSE=141,TRKPERTGB=1,PERCENT=26 88.1904 PERCENT SPOOL UTILIZATION
The total utilization of all spool volumes is displayed, as well as the status, the list of member(s) the spool volume is associated with, total utilization, and track group information about spool volume SPOOL1.
4 $dspl(*),unitdata
$HASP893 VOLUME(SPOOL1) $HASP893 VOLUME(SPOOL1) UNITDATA=(EXTENT=00,TRKRANGE=(0087, $HASP893 0293),RECMAX=12,TRKPERCYL=15) $HASP893 VOLUME(SPOOL2) $HASP893 VOLUME(SPOOL2) UNITDATA=(EXTENT=01,TRKRANGE=(0001, $HASP893 001E),BASETRAK=00000E,RECMAX=10, $HASP893 TRKPERCYL=15) $HASP646 2.5225 PERCENT SPOOL UTILIZATION
Unit-specific information about spool volumes SPOOL1 and SPOOL2 is displayed. Note that SPOOL1 is using absolute addressing and SPOOL2 is using relative addressing.
454
$D SPOOL
5 $dspl,sysaff $HASP893 $HASP893 $HASP893 $HASP893 $HASP893 $HASP646 VOLUME(SPOOL1) SYSAFF=(ANY) VOLUME(SPOOL2) SYSAFF=(PSU1) VOLUME(SPOOL3) SYSAFF=(ANY) VOLUME(SPOOL4) SYSAFF=() VOLUME(SPOOL5) SYSAFF=(PSU1,IBM1,NIH1) 43.2679 PERCENT SPOOL UTILIZATION
The member(s) with which all spool volumes are associated is displayed.
455
$D SPOOLDEF
Syntax
$D SPOOLDEF ,BUFSIZE ,DSNAME
|
,Fence , =( ACTive VOLumes ) GCRATE ,LASTSVAL ,LARGEDS
,SPOOLNUM
,TGSIZE
,TRKCELL
,Volume
Parameters
BUFSIZE The BUFSIZE parameter displays the size (1944-3992 in bytes) of each JES2 buffer. Scope: MAS-Wide. DSNAME The DSNAME parameter displays a 1 to 44 character name which is to be used as the data set name of the JES2 spool data set. This data set is normally named SYS1.HASPACE, but its name can be changed. Scope: MAS-Wide. FENCE The FENCE parameter displays how track groups for jobs will be assigned across spool volumes. ACTIVE=YES|NO Determines whether (YES) or not (NO) any fencing is active at the time. VOLUMES=nnn Is the number of volumes a job will be fenced to. Scope: MAS-Wide.
456
$D SPOOLDEF
GCRATE Specifies the rate for a JES2 spool garbage collection cycle. During a cycle, JES2 examines the signature records for every allocated track group on non-inactive spool volumes. JES2 recovers track groups for jobs no longer in the system and writes a symptom record. You can only set this parameter using a $T command. Note: Using GCRATE=FAST will not ease most SPOOL-full situations when the SPOOL space is legitimately owned by existing jobs. NORMAL Specifies that JES2 is pacing the examination of track group so that JES2 completes a spool garbage collection cycle in about seven days FAST Specifies that JES2 is performing an accelerated garbage collection cycle. JES2 is not performing pacing and is not waiting between track groups examination. JES2 resumes NORMAL pace processing after it completes this FAST cycle. ACTIVE=YES|NO Determines whether (YES) or not (NO) any fencing is active at the time. VOLUMES=nnn Is the number of volumes a job will be fenced to. Scope: MAS-Wide. LASTSVAL Displays the time (GMT time) of the last spool validation (yyyy/ddd,hh:mm:ss). This time stamp represents the last time the system was either cold started or spool=validate was issued on a warm start. This is used for diagnosis purposes, and the time stamp will be generated in one of three ways: v Cold start v Warm start with spool=validate v JES2 initiated spool=validate when there is a detected error. The source of this error will be reported by message $HASP492 Scope: MAS-Wide. | | | | | | | | | | | | | | LARGEDS Displays whether large SPOOL data sets (greater than 65,535 tracks) can be started or not. Also indicates whether the new format SPOOL record addresses (MTTRs) are in use or not. FAIL Any attempt to start a SPOOL data set with more than 65,535 tracks fails. ALLOWED SPOOL data sets with up to the current size limit (1,048,575 tracks) can be started. New format SPOOL addresses are used when starting a new volume that contains SPOOL data sets that are greater than 65,535 tracks. ALWAYS SPOOL data sets with up to the current size limit (1,048,575 tracks) can be started. The new format SPOOL addresses are used when stating any volume (regardless of data set size).
Chapter 5. Command Reference Section
457
$D SPOOLDEF
| Scope: MAS-Wide. SPOOLNUM The SPOOLNUM parameter displays the maximum number (1-253, rounded up to a multiple of 32 to 253) of spool volumes defined to a JES2 MAS configuration. Scope: MAS-Wide. TGSIZE Displays the number (1-255) of JES2 buffers in a track group. JES2 uses this parameter to determine the size of a track group on a new spool volume being added to the complex. Scope: Single Member. TGSPACE=[ACTIVE|DEFINED|FREE|MAX|PERCENT| WARN] The TGSPACE parameter displays the number of track groups on spool volumes. Information displayed for the type of spool volume follows: v ACTIVE - the total number of track groups on all available spool volumes. v DEFINED - the total number of track groups on all defined spool volumes. v FREE - the total number of track groups on all available spool volumes that are currently unallocated. v MAX - the maximum number of track groups that can be used in the complex. v PERCENT - The current percentage of the total amount of spool space that is in use. v WARN - the percentage of used track groups at which the operator will be alerted through message $HASP050 JES2 RESOURCE SHORTAGE. Scope: MAS-Wide. TRKCELL The TRKCELL parameter displays the size of a track cell in terms of spool buffers (1-120); that is, TRKCELL displays the number of direct-access spool records to be logically ordered on a spool track and the number of records to be despooled (read from the spool) in one operation during print processing. Scope: MAS-Wide. VOLUME The VOLUME parameter displays the 4- to 5-character prefix assigned to JES2 spool volumes. Scope: MAS-wide.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
The scope of this command varies by parameter.
458
$D SPOOLDEF
Some parameters on this command will display information about the entire MAS, while other parameters will display information about this member only. You might want to use the parameters for this command to get information about all members of the MAS. If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP844 message displays the current values of all the parameters on the SPOOLDEF initialization statement. The LASTSVAL parameter displays the time of the last spool validation (yyyy/ddd,hh:mm:ss). This parameter cannot be specified by command because it is display-only.
Example
1 $d spooldef BUFSIZE=3992,DSNAME=SYS1.HASPACE, FENCE=(ACTIVE=NO,VOLUMES=1),GCRATE=NORMAL, LASTSVAL=(2005.052,16:44:36),LARGEDS=FAIL, SPOOLNUM=32,TGSIZE=6,TGSPACE=(MAX=16288, DEFINED=525,ACTIVE=525,PERCENT=5.5238, FREE=496,WARN=80),TRKCELL=3,VOLUME=SPOOL
459
$D SSI(nnn)
Syntax
$D SSI nnn , ( nnn * ) nnn * nnn *
,ADDRess
,DESC
,MODULE
,TRace
, /
TRace
= ^=
No Yes
Parameters
ADDRess Displays the hexadecimal address of the SSI function routine in storage. DESC Displays a short description of the SSI function. MODULE Displays the assembly module containing the SSI function routine. SSI({nnn|*}) Specifies the SSI function number (1-256). Specify the SSI number to display information for a specific SSI function, or specify an asterisk (*) to display information for all SSI functions. Information only for SSI function routines which are defined will be displayed.
460
$D SSI(nnn)
TRace[=No|Yes] Displays whether tracing is active for this SSI function. You can specify the TRACE parameter without a keyword, or you can specify a trace keyword (Y or N) to request information about all SSI functions where tracing has been activated (Y) or no tracing is active (N).
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP648 message displays requested information about the SSI function.
Example
1 $d ssi(*) SSI(1) SSI(1) SSI(2) SSI(2) SSI(3) SSI(3) ADDRESS=0759D538,DESC=(PROCESS SYSOUT), MODULE=HASCSIRQ,TRACE=NO ADDRESS=07596050,DESC=(JOB CANCEL), MODULE=HASCSISC,TRACE=NO ADDRESS=07596388,DESC=(JOB STATUS), MODULE=HASCSISC,TRACE=NO $HASP648 $HASP648 $HASP648 $HASP648 $HASP648 $HASP648 $HASP648 $HASP648 $HASP648 . . .
This example displays the characteristics of all SSI functions that have been defined; this example shows only a portion of the complete output.
461
$D SUBTDEF
Syntax
$D SUBTDEF ,GSUBNUM
Parameters
GSUBNUM Defines the maximum number (1-50) general purpose subtasks available.
Authority Required
This command requires display authority. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
The scope of this command varies by parameter. Some parameters on this command will display information about the entire MAS, while other parameters will display information about this member only. You might want to use the parameters for this command to get information about all members of the MAS. If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP817 message displays the current values of all the parameters on the SUBTDEF statement.
Example
1 $D SUBTDEF $d subtdef $HASP817 SUBTDEF GSUBNUM=10
462
$D SUBNET
Syntax
$D SUBNET subnetname , ( subnetname subnetname )
Parameters
(subnetname) Specify the 1 to 8 alphanumeric or special ($, #, or @) character subnet name to obtain information for a specific subnet or specify an asterisk (*) to obtain information for all subnets. You can also specify wildcards for the subnet name. See Using wildcards on page 98 for additional information.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP816 message displays the nodes for the specified subnet.
463
$D SUBNET
Example
1 $d subnet(pok) $HASP816 SUBNET(POK) NODE4,NODE5,NODE6,POK,SANJOSE,WSC
464
$D TPDEF
Syntax
$D TPDEF ,AUTOINTV ,AUTONUM ,BSCBUF , =( FREE LIMIT SIZE WARN )
,MBUFSIZE
,RMTMSG
,RMTNUM
Parameters
TPDEF The $HASP839 message displays the current JES2 teleprocessing characteristics. AUTOINTV Specifies the autologon timer interval (10-600 seconds) (the time between JES2 automatic logon attempts) for this installation. AUTONUM The current number of RJE devices which can specify AUTOLOG=YES. BSCBUF[=FREE|LIMIT|SIZE|WARN] Specifies information about the BSC teleprocessing buffers JES2 allocates below 16 megabytes in virtual storage. FREE The current number of free TP buffers below the 16M line. LIMIT Specifies the maximum number (10-9999) of teleprocessing buffers JES2 allocates below 16 megabytes in virtual storage.
465
$D TPDEF
SIZE Specifies the size (520-32512) in bytes of the teleprocessing buffers JES2 allocates below 16 megabytes in virtual storage. WARN Specifies the threshold percentage (0-100) of the maximum use of teleprocessing buffers below 16 megabytes in virtual storage. SNABUF[=FREE|LIMIT|SIZE|WARN] Specifies information about the SNA teleprocessing buffers JES2 allocates above 16 megabytes in virtual storage. FREE The current number of free TP buffers above the 16M line. LIMIT Specifies the maximum number (10-9999) of teleprocessing buffers JES2 allocates above 16 megabytes in virtual storage. SIZE Specifies the size (520-3960) in bytes of the teleprocessing buffers JES2 allocates above 16 megabytes in virtual storage. WARN Specifies the threshold percentage (0-100) of the maximum use of teleprocessing buffers above 16 megabytes in virtual storage. MBUFSIZE Specifies the size (128-3960) in bytes (dependent upon JES2 macro expansions) of each JES2 multileaving buffer. RMTMSG Specifies the maximum number (1-255) of messages that may be queued by RTAM to a multileaving remote console. RMTNUM Specifies the highest number (0-32767) that can be defined for an RJE workstation on this member. SESSIONS[=FREE|FROZEN|LIMIT|WARN] Specifies information about the maximum number of VTAM sessions. FREE The current number of VTAM sessions available to JES2 which are not in use. FROZEN The current number of VTAM sessions which have been frozen due to an error on the session. LIMIT Specifies the maximum number (1-9999) of VTAM sessions (nnn) that can be active at one time. WARN Specifies a threshold percentage (0-100) of the maximum used number of VTAM sessions at which JES2 issues the $HASP050 to warn the operator of a resource shortage.
466
$D TPDEF
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
The scope of some commands varies by parameter. Some parameters on certain commands will display information about the entire MAS, while other parameters will display information about this member only. For those commands that are single member scope, or have some parameters that are single member scope, you might want to use the parameters for that command to get information about all members of the MAS. If so, you can use the MVS ROUTE *ALL command to issue that command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP839 message is issued in response to this command.
Example
1 $d tpdef $HASP839 TPDEF AUTOINTV=32,AUTONUM=3,BSCBUF=(LIMIT=48, $HASP839 WARN=80,FREE=48,SIZE=520),MBUFSIZE=400, $HASP839 RMTMSG=200,TMTNUM=32767,SESSIONS=(LIMIT=102, $HASP839 WARN=80,FREE=102,FROZEN=0),SNABUF=(LIMIT=30, $HASP839 WARN=80,FREE=30,SIZE=400)
467
$D TRace(nnn)
Syntax
$D TRace nnn , ( nnn * ) nnn * nnn *
,START
, /
START
= ^=
No Yes
Parameters
TRace(nnn) The $HASP667 message displays the current status of the specified trace ID(s). START={No|Yes} Specifies whether (Yes) or not (No) a specific trace ID or a range of IDs is activated.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
The scope of some commands varies by parameter. Some parameters on certain commands will display information about the entire MAS, while other parameters will display information about this member only.
468
$D TRace(nnn)
For those commands that are single member scope, or have some parameters that are single member scope, you might want to use the parameters for that command to get information about all members of the MAS. If so, you can use the MVS ROUTE *ALL command to issue that command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The individual parameter descriptions list the resulting messages.
Example
1 $D TRACE START=NO $d trace(4) $HASP667 TRACE(4)
469
$D TRACEDEF
Syntax
$D TRACEDEF ,ACTIVE ,LOG , =( CLASS SIZE START ) ,PAGES
,TABFREE
,TABLES
,TABWARN
Parameters
TRACEDEF The $HASP698 message displays the current JES2 TRACE environment characteristics. If you specify the STATS parameter, the message also displays statistics about the tracing facility. ACTIVE Specifies whether (Yes) or not (No) the TRACE facility is started. LOG[=CLASS|SIZE|START] Specifies the trace table logging environment. CLASS Specifies the output class (A-Z, 0-9) of the trace log data set. SIZE Specifies the maximum size (100-2147483647) (in bytes) that the trace log data set may attain before it is queued for printing. START Specifies whether (Yes) or not (No) the trace log information is formatted and periodically added to the trace log data set. PAGES Specifies the number (9-1250) of 4K-pages available to each trace table. STATS[=DISCARDS|IDS|TOTDISC] DISCARDS Discards since last successful trace. IDS The active trace IDs.
470
$D TRACEDEF
TOTDISC Total discards since tracing was started. TABFREE The number of unused trace tables. TABLES Specifies the number (0-2500) of trace tables that JES2 creates at initialization. TABWARN Specifies the percentage (0-100) of trace table use at which the operator will be alerted.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The individual parameter descriptions list the resulting messages.
Example
1 $D TRACEDEF $d tracedef $HASP698 TRACEDEF $HASP698 TRACEDEF ACTIVE=NO,TABLES=3,PAGES=9,TABWARN=80, $HASP698 TABFREE=3,LOG=(CLASS=A,START=NO,SIZE=500), $HASP698 STATS=(TOTDISC=0,DISCARDS=0,IDS=(NONE))
471
$D U
Syntax
|
$D U ,ALL ,LINEn ,LNEn ,LNES ,LOGONn ,LGNn ,LGNS ,NSVn ,NETSRVn ,NSVS ,OFFS ,PRTS ,PUNS ,RMT ,RMTS ,RMTn(-n|-*) ,RDRS ,TP ,device ,ACTIVE ,ACT ,LONG ,SHORT ,SH ,STARTED ,STAR .
Parameters
U If you do not specify any device operands, JES2 displays the status of all local JES2-controlled devices.
ALL JES2 displays the status of all local JES2-controlled devices and active remote devices. To display the status of internal readers, use the $D RDI command. LINEn|LNEn JES2 displays detailed information about the line and any remote devices or NJE nodes connected to the specified line. LNES JES2 displays the status of all lines and any connected remote devices or NJE nodes. LOGONn|LGNn JES2 displays detailed information about the specified JES2/VTAM interface. If an SNA session is established, JES2 also displays detailed information about the SNA remote terminal.
472
$D U
LGNS JES2 displays the status of all JES2/VTAM interfaces. | | | | NSVS JES2 displays the status of all network servers. NSVn|NETSRVn JES2 displays the status of a particular network server. OFFS JES2 displays the status of all defined offload devices and their associated transmitters and receivers. PRTS JES2 displays the status of all local printers. PUNS JES2 displays the status of all local punches. RMT JES2 displays the information for the remote from which the command is entered. For example, if the operator at the remote workstation, RMT34, enters $D U,RMT, JES2 responds with the information for remote 34 at the console attached to RMT34. This parameter can only be used from a console attached to a remote workstation. RMTS JES2 displays the status of all remote terminals, associated remote devices, and any lines to which a remote terminal is connected. RMTn[-n|-*] JES2 displays detailed information about the specified remote terminal or range of terminals, associated remote devices, and any lines to which they are connected. Note that n-* can be used to specify a range up to the highest-numbered RJE workstation attached to a JES2 member. RDRS JES2 displays the status of all local readers. TP JES2 displays the status of all lines and the JES2/VTAM interface. device JES2 displays detailed information about the specified devices. You can specify any of the following devices: Device OFFLOADn OFFn.JT OFFn.JR OFFn.ST OFFn.SR PUNnn PRTnnnn RDRnn Rnnnn.PRm Rnnnn.PUm Rnnnn.RDm Ln.STn Ln.SRn Definition A spool offload device A job transmitter associated with offload device n A job receiver associated with offload device n A SYSOUT transmitter associated with offload device n A SYSOUT receiver associated with offload device n A local punch A local printer A local reader A printer connected to remote terminal n A punch connected to remote terminal n A reader connected to remote terminal n A SYSOUT transmitter logically connected to NJE line n A SYSOUT receiver logically connected to NJE line n
Chapter 5. Command Reference Section
473
$D U
Ln.JTn Ln.JRn A job transmitter logically connected to NJE line n A job receiver logically connected to NJE line n
Notes: 1. When you specify PRn, PUn, and RDn from a remote console, JES2 displays detailed information for the specified devices connected to that remote system. 2. If you specify OFFLOADn, JES2 also displays detailed information for the associated transmitters and receivers. 3. The NPRO parameter displayed for cut sheet page printers (for example, the 3820) has no effect on these printers. 4. The number of lines displayed for a job on an active printer are only as accurate as the last valid checkpoint. 5. For the 3800 printer, the job name that is displayed is the name of the job that is currently visible at the transfer station. The following operands modify the default amount of information displayed. For example, if you want to display detailed information for all readers (a limited status display is the default), specify $DU,RDRS,LONG. If you want to limit this display for only those readers that are active, specify $DU,RDRS,LONG,ACTIVE. Although it is not invalid to specify all four modifiers, SHORT overrides LONG and ACTIVE overrides STARTED when specified together. In addition, the SHORT or LONG modifier may produce the same display as the default, depending on the device operand specified. The individual descriptions below explain the modifiers effects when used with specific device operands. ACTIVE|ACT JES2 displays the requested information only for devices that are connected to the function subsystem application level control block (FSA), and that are currently performing work or have lines currently dedicated for remote device configuration. LONG If you specify LONG for a group of devices (for example, RMTS), JES2 displays detailed information for all the major devices and any associated sub-devices (for example, Rnnnn.PRn). The exceptions to this rule are: 1. $DU,LONG, $DU,ALL,LONG and $DU,TP,LONG do not produce displays for any associated sub-devices (for example, OFFn.JT or Rnnnn.RDm). 2. $DU,LGNS,LONG does not produce a display for any SNA remote terminals connected to the interfaces. If you specify LONG for a single device (for example, LINE2), JES produces the default display of detailed information for the major device and any associated sub-devices (for example, Rnnnn.RDm). SHORT|SH If you specify SHORT for a group of devices (for example, RMTS), JES2 displays the status of only the major devices. No sub-devices (for example, Rnnnn.PRm) are displayed. Note: Specifying SHORT for $DU, $DU,ALL, $DU,TP, or $DU,LGNS produces the same display as the default. If you specify SHORT for a single device (for example, LINE4), JES2 displays only the status of the major device and any associated sub-devices (for example, Rnnnn.PRm).
474
$D U
STARTED|STAR JES2 displays information only for started devices or lines (as specified by the device operands). Note: This modifier operand is not valid for started offload transmitters and receivers unless the offload device is also started. JES2 issues the $HASP003 message indicating that the specified device could not be found.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The response to this command will be a display of information about this member only. You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
Table 54. $D U Messages Device LINEn LOGONn RMTnnnn OFFLOADn OFFn.JR OFFn.JT OFFn.SR OFFn.ST other devices Resulting Message $HASP880 $HASP881 $HASP879 $HASP882 $HASP883 $HASP884 $HASP885 $HASP886 $HASP603
Examples
1 $d u,line15 UNIT=SNA,STATUS=DRAINED,COMPRESS=YES,LOG=NO, PASSWORD=(NOTSET),REST=0,SESSIONS=, TRACEIO=NO,JRNUM=3,JTNUM=3,SRNUM=4,STNUM=2 UNIT=SNA,STATUS=DRAINED,HOLD=NO UNIT=SNA,STATUS=DRAINED,HOLD=NO UNIT=SNA,STATUS=DRAINED,HOLD=NO UNIT=SNA,STATUS=DRAINED UNIT=SNA,STATUS=DRAINED UNIT=SNA,STATUS=DRAINED UNIT=SNA,STATUS=DRAINED UNIT=SNA,STATUS=DRAINED
Chapter 5. Command Reference Section
$HASP880 LINE15 L15.JR1 L15.JR2 L15.JR3 L15.JT1 L15.JT2 L15.JT3 L15.SR1 L15.SR2
475
$D U
L15.SR3 L15.SR4 L15.ST1 L15.ST2 UNIT=SNA,STATUS=DRAINED UNIT=SNA,STATUS=DRAINED UNIT=SNA,STATUS=DRAINED,LIMIT=(0,*),PLIM=(0,*), WS=(/) UNIT=SNA,STATUS=DRAINED,LIMIT=(0,100), PLIM=(0,2),WS=(LIM/)
JES2 displays detailed information about line 15, including information about job receivers (JRx), job transmitters (JTx), SYSOUT receivers (SRx) and SYSOUT transmitters (STx). The SYSOUT transmitter information includes their work selection criterion (line and page limits). In this case, SYSOUT transmitter 1 (ST1) has no work selection limits specified for SYSOUT data sets that it selects. ST2 has work selection limits specified and selects SYSOUT data sets with up to 100 lines and up to 2 pages.
2 $d u,rdrs,l=pok RDR1 RDR2 RDR3 RDR4 UNIT=000C,STATUS=DRAINED UNIT=0011,STATUS=DRAINED UNIT=0012,STATUS=DRAINED UNIT=001A,STATUS=DRAINED
JES2 displays detailed information about all local printers that have been started.
4 $d u,offload1,offload2,offload3,short,active OFFLOAD2 DSN=SY1.DMP1.WORK,STATUS=ACTIVE OFF2.JT STATUS=ACTIVE,(JOB00002 MYJOB) OFF2.ST STATUS=INACTIVE OFF2.JR STATUS=DRAINED OFF2.SR STATUS=DRAINED
JES2 displays the status of offload devices 1, 2, and 3 and their associated transmitters and receivers, if the offload devices are currently active. In this case, offload device 2 is the only specified offload device that is currently performing work. Its associated offload job transmitter is in the process of transmitting job 2 (named MYJOB) to the offload data set.
5 $du,prt2 UNIT=0002,STATUS=DRAINED,CKPTLINE=0, CKPTMODE=PAGE,CKPTPAGE=100,CREATOR=,DEVFCB=, FCB=6,FORMS=(HFAMFORM,,,,,,,),FSS=BLUEBERY, JOBNAME=,LASTFORM=HFAMFORM,LIMIT=(0,*), MODE=JES,NEWPAGE=DEFAULT,NPRO=300,PAUSE=NO, PLIM=(0,*),PRMODE=(LINE), QUEUE=1A2B3C4D5E6F7G8,RANGE=(J1,32767), ROUTECDE=(LOCAL),SEP=YES,SEPCHARS=DEFAULT,
476
$D U
$HASP603 $HASP603 $HASP603 $HASP603 SEPDS=NO,SETUP=HALT,SPACE=,TRACE=NO, TRANS=DEFAULT,TRKCELL=NO,UCS=0,UCSVERFY=NO, VOLUME=(,,,),WRITER=, WS=(W,Q,R,PRM,LIM/F,UCS,FCB)
JES2 displays detailed information about local printer 2, which has been started.
477
$DEL CONNect
Syntax
$DEL CONNect , / MEMBA / MEMBERA / MA = n
, /
MB MEMBB / MEMBERB /
, /
NA NODEA /
xxxxxxxx nnnn
, /
NB NODEB /
xxxxxxxx nnnn
Parameters
NA|NODEA=xxxxxxxx|nnnn The 1 to 8 alphanumeric or special ($, #, or @) character symbolic node name (xxxxxxxx) or node number (nnnn) at one end of the connection. The name must match the NAME= parameter of the NODE initialization statement for the referenced node. Default: This parameter is required. NB|NODEB=xxxxxxxx|nnnn The 1 to 8 alphanumeric or special ($, #, or @) character symbolic node name (xxxxxxxx) or node number (nnnn) of the node at the other end of the connection. You must specify the NAME= parameter of the NODE initialization statement for the referenced node. Default: This parameter is required. MA|MEMBA|MEMBERA=n The member number at the NODEA end of the connection. Default: The default is 1. The value for MEMBERA if NODEA is the local node must be a 1. MB|MEMBB|MEMBERB=n The member number at the NODEB end of the connection.
478
$DEL CONNect
Default: The default is 1. The value for MEMBERB if NODEB is the local node must be a 1.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The values supplied for this command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP815 message is issued in response to this command.
Example
1 $DEL CONNECT,NODEA=PHOENIX,MEMBA=1,NODEB=TUCSON, MEMBB=1
This example deletes an old connection between member 1 at Tucson and member 1 at Phoenix.
479
$DEL DEStid
Syntax
$DEL DEStid xxxxxxxx , ( xxxxxxxx xxxxxxxx ) ,DEST=dest
Parameters
xxxxxxxx Specifies the 1 to 8 alphanumeric or special ($, #, or @) character symbolic destination name affected by this statement. DEST=dest Specifies a route code JES2 can use to route data.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
When you dynamically delete a JES2 symbolic destination (destid), JES2 honors the deletion across a restart only if you perform a hot start. To permanently delete the symbolic destination, remove the DEStid initialization statement before restarting JES2.
Scope
Single member. The values supplied for this command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP822 message indicates that the specified DESTID has been deleted.
480
$DEL DEStid
Example
1 $del destid(wrk1) DEST=U34-ELEMENT DELETED $HASP822 DESTID(WRK1)
481
$DEL PROCLIB(xxxxxxxx)
Syntax
$DEL PROClib Subscripts for PROCLIB Selection fragment
Selection fragment
Selection limiting keywords
, , / DD Subscripts for DD =( / / DSName Delimiters for DSNAME UNIT = unit = > < VOLser = volser = > < dsname )
Subscripts for DD
nn , ( nn * ) mm * mm *
482
$DEL PROCLIB(xxxxxxxx)
Delimiters for DSNAME
= = > <
Parameters
(xxxxxxxx) Specifies the to 8character PROCLIB DD name being deleted. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. DD(nnn)= Can be used to select which PROCLIB concatenation to delete. DSName=jxxx...x Specifies a 1 to 44character data set name which is in a PROCLIB concatenation. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. UNIT=hhhh|/hhhh|nnnn|cccccccc If the PROCLIB data set to be used is not cataloged, then the unit information for the device containing the data set must be specified in one of the following ways: hhhh | /hhhh Specifies unit information for the PROCLIB concatenation to be deleted. The data set must be specified in one of the following ways: v UNIT=hhh v UNIT=/hhh v UNIT=/hhhh where hhh and hhhh represent the device numbers. A slash (/) must precede a 4 digit device number. nnnn Specifies a device name. cccccccc Specifies a 1 to 8 character group name assigned to the device or group of devices. VOLser=xxxxxx Specifies a 1 to 6 character volume serial number for the PROCLIBs to be deleted.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
483
$DEL PROCLIB(xxxxxxxx)
Processing Considerations
A $DEL PROCLIB command cannot delete PROCLIB concatenation specified in the JES2 start PROC. Deleting a dynamic PROCLIB that has the same name as a PROCLIB DD in the JES2 start PROC causes JES2 to revert to using the PROCLIB DD in the JES2 start PROC. JES2 will delete all PROCLIB concatenations that match all keywords specified. | | See z/OS JES2 Initialization and Tuning Guide for more information on scratching a PDSE in the dynamic PROCLIB concatenation.
Scope
Single member. The values supplied for this command will be in effect for this member only. You may want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
$HASP319 displays the current PROCLIB concatenation. $HASP003 RC=52 indicates that you are trying to delete a PROCLIB concatenation that does not exist.
Example
1 $del proclib(proc01) $HASP319 PROCLIB(PROC01) $HASP319 PROCLIB(PROC01) $HASP319 $HASP319
484
$E CKPTLOCK
Issue this command only if normal processing has failed to release the lock and only after verifying the state of the member identified as holding the lock. When a member fails, normal processing in JES2 (if the checkpoint lock is on DASD) or normal processing in MVS (if the checkpoint is in a coupling facility structure) will typically release the lock. However, this code depends on the status of the JES2 address space which holds the lock. Before using this command to reset the checkpoint lock, you need to ensure that the JES2 member that holds the lock is no longer active. If MVS (specifically, XCF and JESXCF) still considers the member active, then that is why normal processing has not released the lock. To determine if MVS considers the JES2 member active, issue the following command:
D XCF,GROUP,group,node$member
where v group is the JES2 XCF group name obtained from a response to a $DMASDEF,XCFGRPNM command v node is the JES2 node name obtained from a response to $D NJEDEF,OWNNAME command v member is the name of the member that holds the lock. Typically, the XCF group name and the JES2 node name are the same. For example if the member is IBM1 and the XCF group name and the JES2 node name are POK the command would be:
D XCF,GROUP,POK,POK$IBM1
Based on the status in the resulting MVS IXC333I message, you can determine if issuing a $E CPKTLOCK command is appropriate. If the status is v FAILED or the member is not defined to the group (IXC326I response), then it is safe to issue the $E CKPTLOCK command v ACTIVE, then further investigation is required. You must first determine if the JES2 address space still exists. Issue:
ROUTE system,D A,JES2
where system is the SYSTEM name from the IXC333I message. Note: If the name of your JES2 subsystem is not JES2, use the actual subsystem name in
Chapter 5. Command Reference Section
485
$E CKPTLOCK
the ROUTE command. If the IEE115I response indicates JES2 NOT FOUND, then it is safe to issue the $E CKPTLOCK command. Otherwise, JES2 is still active and issuing the $E CKPTLOCK command could result in JES2 work queue damage. v Any state other than ACTIVE or FAILED, then JES2 should resolve the condition and resuming normal processing. In this case, do not issue a $E CKPTLOCK command.
Syntax
$E CKPTLOCK ,HELDBY= memname INITIALIZATION INITI
Parameters
CKPTLOCK The member to which the entering console is attached attempts to reset the checkpoint lock. HELDBY={memname|INITIALIZATION|INITI} Specifies the member that has failed while holding the checkpoint lock. memname Specifies the 1 to 8 alphanumeric or special ($, #, or @) character name of the failed member that is holding the checkpoint lock. INITIALIZATION|INITI The member failed during initialization before a member name was assigned to it (the $HASP264 message indicates this condition).
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v The lock reset should be automatic and you shouldnt have to issue this command. Make sure its appropriate to use this command as described above. v Issue this command from only one member in the multi-access spool configuration. v If the checkpoint lock is not held by the member specified by memname, JES2 does not reset the lock, but reissues the $HASP264 message. This happens only if you specified an incorrect memname or JES2 previously reset the lock. v If you do not plan to restart the failed member immediately, consider using the $EMEMBER(member) command to warm start it if your MASDEF specifications do not already automatically perform this function. Note: To determine your installations processing environment, consult your system programmer.
486
$E CKPTLOCK
Scope
Single member. The values supplied for this command will be in effect for this member only.
Messages
The $HASP000 message indicates the command was accepted.
Example
1 $e ckptlock,heldby=sysa $HASP000 OK
JES2 resets the checkpoint lock that is held by the failed member identified as sysa.
487
$E Job
Syntax
$E Job JOBQ JQ Stc Tsu nn job , ( nn * job job , / CMDauth = ^= cmdauth , (1) ( cmdauth , / JOBMASK / , / REBUILD = ^= , , / SPOOL / / / / Tgs > < Volumes tgs = ^= volume , (2) ( volume = ^= xeqnode SPL =( / Percent % > < percent ) No Yes JM , / DAys ) = ^= > < / jobmask Age > < days ) mm * mm *
, /
Hours
> <
hours
, /
TYPE
= ^=
, /
XEQNode
, /
Cancel
,OFFS
,Priority
,SCHENV
,SCHENV_AFF ,USERID
,SECLABEL
,SECLABEL_AFF
,SRVCLASS
,Sysaff
488
$E Job
2 volume can be coded up to 253 times
Parameters
Age|DAys<days | Age|DAys>days Specifies the age of affected jobs in days. Only jobs more (with DAYS>nn) or less (with DAYS<nn) than the specified number of days in age are affected, The days are counted from the current hour. Cancel Indicates that the job is to be cancelled and held prior to execution. This operand is equivalent to specifying a $H and $C command, in addition to the $E command. | | Class=class Specifies the class associated with the job CMDauth=(auth1{,auth2}) Only the jobs that can be affected from the specified remote(s) or node(s) will be restarted. The valid specifications are: LOCAL|ANYLOCAL Only the local devices at the local node can affect the output Nnnnn|nodename Only local devices at the specified node can affect the output Rnnnn Only the specified remote device can affect the output NnnnnRnnnn|nodename.Rnnnn Only the specified remote device at the specified remote node can affect the output destid A destid corresponding to any of the above remote devices Note: Specification of the CMDAUTH filter does not override the authority of the console from which the command is issued; both the authority of the console and the specified CMDAUTH filter must match for the job to be affected. Hours=hours Specifies the age of affected jobs in hours. Only jobs more (with HOURS>nn) or less (with HOURS<nn) than the specified number of hours in age are affected. JM|JOBMASK=jobmask Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). For a description of wildcards, see Using wildcards on page 98. Notes: 1. This is a positional parameter. Specify this following the job_id (JOB, STC, or TSU), or JOBQ parameter. 2. The JOBMASK parameter is not valid with the jobname parameter. job Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask).
Chapter 5. Command Reference Section
489
$E Job
job The name of the job that is restarted. This name must appear as coded on the JOB statement and must be enclosed in apostrophes. If more than one job exists with this name, no action is taken. Job A batch job or range of batch jobs is to be restarted. JOBQ|JQ Specifies all jobs, STCs, and TSUs across the MAS for processing. | | | | OFFS=offs Specifies offload device numbers on which the job has been archived. Priority=priority Specifies the priority of the job. REBUILD={No|Yes} Indicates that jobs on the rebuild queue are to be restarted (Yes) or not restarted (No). | | | | | | | | | | SCHENV=schenv Specifies the scheduling environment associated with the job. SCHENV_AFF=member Specifies the JES2 MAS members on which the scheduling environment for this job is available. SECLABEL_AFF=member Specifies the JES2 MAS members on which the SECLABEL for this job is available but only if the RACF SECLABEL_BY_SYS is also active. SECLABEL=seclabel Specifies the security label associated with the job. SPL|SPOOL={Percent|%|Tgs|Volumes} Only jobs with specific SPOOL characteristics are to be restarted: Percent|% Only jobs using more (with %>nn) or less (with %<nn) than the specified percentage of the total available spool space are to be released. Tgs Only jobs using more (with Tgs>nn) or less (with Tgs<nn) than the specified number of track groups are to be released. Volumes=(v1,v2,...) Only jobs which have allocated spool space on one or more specified spool volumes are to be released. | | | | | SRVCLASS=srvclass Specifies the service class of the job. The service class is available for batch jobs only. It is not available for started tasks or time-sharing users. The default workload manager (WLM) policy assigns a service class of blanks to all jobs, and WLM-managed initiators can then select such jobs for processing. Stc A started task or range of started tasks is to be restarted. | | Sysaff=member Specifies the jobs system affinity. Tsu A time-sharing user or range of time-sharing users is to be restarted.
490
$E Job
TYPE={JOB|STC|TSU} Indicates whether only batch jobs (JOB), started tasks (STC), or time-sharing users (TSU) are to be released. | | USERID=userid Specifies the userid associated with the job.
Authority Required
This command requires job and system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If you wish to restart a job, but do not want it to execute at this time, first hold the job using the $H command and then issue the $E command. v If you wish to cancel the current execution of the job, you should follow the $E command with the $C, MVS CANCEL or MVS REPLY command. v The $E command does not honor the restart parameter on the /*JOBPARM JECL statement or on the JOBCLASS initialization statement. v When a job is restarted, all non-spin SYSOUT data sets created during the previous execution are deleted. | | | | v A job can be put into HELD status if it is restarted (using $E command) while being transmitted. For Job transmitters, any failure other than trying to acquire the matching JR device on the other side will result in the job being held. Jobs that are held must then be activated with a $A command.
Scope
MAS-wide. This command has an effect across the entire MAS.
Messages
The $HASP890 message indicates the specified job is queued for re-execution.
Examples
1 $e j2-5 JOB00002 $HASP890 $HASP890 JOB00003 $HASP890 $HASP890 JOB00004 $HASP890 $HASP890 JOB00005 $HASP890 $HASP890 $HASP890 JOB(MYJOB) JOB(MYJOB) STATUS=(EXECUTING/IBM1),CLASS=A, PRIORITY=9,SYSAFF=(IBM1),HOLD=(NONE) $HASP890 JOB(MYJOBA) JOB(MYJOBA) STATUS=(EXECUTING/IBM1),CLASS=A, PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE) $HASP890 JOB(MYJOBB) JOB(MYJOBB) STATUS=(EXECUTING/IBM2),CLASS=A, PRIORITY=9,SYSAFF=(IBM2),HOLD=(NONE) $HASP890 JOB(MYJOBC) JOB(MYJOBC) STATUS=(EXECUTING/IBM1),CLASS=A, PRIORITY=9,SYSAFF=(IBM1),HOLD=(NONE)
491
$E Job
$HASP890 PRIORITY=9,SYSAFF=(IBM1),HOLD=(NONE) JOB00220 $HASP890 JOB(INFSPIN) $HASP890 JOB(INFSPIN) STATUS=(EXECUTING/IBM1),CLASS=A, $HASP890 PRIORITY=9,SYSAFF=(IBM1),HOLD=(NONE)
JES2 restarts jobs, beginning with job 1 through the highest-numbered job, whose name begins with the characters INF.
492
$E Lnnnn.xxn
Syntax
$E Lnnnn.JRn Lnnnn.JTn Lnnnn.SRn Lnnnn.STn ,Lnnnn.JRn ,Lnnnn.JTn ,Lnnnn.SRn ,Lnnnn.STn
Parameters
Lnnnn.JRn The job receiver on line nnnn currently receiving the job. The receiver sends a negative-close record to the transmitter and immediately queues the job for purge. The job is requeued for transmission at the transmitting node. The $HASP543 message displays the results of this command. | | | | | | | Lnnnn.JTn The job transmitter on line nnnn currently transmitting the job. The transmitter stops transmitting the job and then requeues it for transmission. The job is purged at the receiving node. A job can be put into HELD queue if it is restarted (using $E command) while being transmitted. For Job transmitters, any failure other than trying to acquire the matching JR device on the other side results in the job being held. Jobs that are held must be activated with the $A command. The $HASP522 message displays the results of this command. Lnnnn.SRn The SYSOUT receiver on line nnnn currently receiving the SYSOUT data. The receiver sends a negative-close record to the transmitter and purges the data already received. The SYSOUT data is requeued for transmission at the transmitting node. The $HASP543 message displays the results of this command. | | | | | | Note: Only if the SR device has received and processed the NJHeader from the sending node, JES2 issues $HASP543. If a device is active, issuing the $E command will not cause JES2 to issue $HASP659. Instead, JES2 issues message $HASP000 OK if a permission to allocate stream is sent to the receiver device. If the NJHeader has not been read in to build a job structure on the SR side, issuing $E will not generate the $HASP543. Lnnnn.STn The SYSOUT transmitter on line nnnn currently transmitting the SYSOUT data. The transmitter stops transmitting the data and requeues it for transmission. The SYSOUT data is purged at the receiving node. The $HASP532 message displays the results of this command.
493
$E Lnnnn.xxn
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The individual parameter descriptions list the resulting messages.
Examples
1 $e l2.st2 JOB00005 $HASP532 MYJOB L2.ST2 RESTARTED
The line 2 SYSOUT transmitter 2 stops transmitting the SYSOUT data for the current job and requeues the data for transmission at a later time. The SYSOUT receiver deletes any data it has already received.
2 $e l4.jr5
The line 4 job receiver 5 stops receiving data from the current job and immediately queues the job for purging. The job is requeued for transmission at the transmitting node.
494
$E LINE(nnnn)
Syntax
$E LINE LNE nnnn , ( nnnn * ) nnnn * nnnn *
Parameters
nnnn The subscript defining the line(s) that are restarted. The subscript may specify a specific value or a range of values. For information about specifying ranges for this subscript, see Syntax Conventions. You can also specify wildcards. See Using filtering to control and display information on page 103 for additional information.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
Any input currently being transmitted over the specified line immediately stops, and the partial input is purged. Any output being transmitted over the line is placed on the output queue. When the job is again selected for printing, the printer backspaces 1 page before resuming processing. When the job is again selected for punching, punching resumes at the last JES2 checkpoint. The NJE node or JES2 remote workstation currently signed on to the restarted line is disconnected. If the line status was active, new JES2 remote workstations can sign on to the line or it can be used for networking (through the $S N command). If the line status was draining (for example, after $P LINE(nnnn)), the line becomes drained and unusable for JES2 I/O until the operator starts it again. For an NJE line, $E negates the effect of a $S N,LINE(nnnn) command; that is, it stops attempts to sign on to another node. Note: If the line status remains draining because an I/O device missed an interrupt, you must issue a second $E LINE(nnnn) command to restart the line.
495
$E LINE(nnnn)
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP880 message displays the status of the specified lines and their current characteristics.
Example
1 $e line(2) $HASP880 LINE2 UNIT=0023,STATUS=INACTIVE
496
$E LOGON(nn)
Syntax
$E LGN LOGON nn , ( nn * ) nn * nn *
Parameters
nn The subscript defining the JES2/VTAM interface(s) that are restarted. You may specify a single interface using the value of n on the LOGONn initialization statement that defines that interface. The subscript can also specify a range of values.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
When you issue this command, the current transmission of data stops and the partial input is purged. Any output being transmitted is placed on the output queue. Upon restart, the output is transmitted from the point where it was stopped.
Scope
Single member. This command has an effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP881 message displays the current status of the specified LOGONs.
Example
1 $E LOGON(1) $HASP881 LOGON1 APPLID=JESA,STATUS=INACTIVE
JES2 stops and then restarts the specified JES2/VTAM interface. Upon restart, the output is transmitted from the point where it was stopped.
497
$E MEMBer
Syntax
$E MEMBer nn member , ( nn * ) mm * -member -member -* mm *
member member *
, /
SLEVEL
= = > <
slevel
, /
SSNAME
= = > <
ssname
, /
STATUS
MVS-GONE
, /
SYSNAME
= = > <
sysname
, /
VERSION
= = > <
version
498
$E MEMBer
Parameters
MEMBer The member to which the entering console is attached makes the jobs being processed on the specified failed member eligible for restart on other members in the MAS configuration. member Specifies the 1 to 8 alphanumeric or special ($, #, or @) character name of the failed member within the MAS configuration for which job processing is restarted. You can also specify the member number (or a range, to specify more than one member), or an asterisk (*) to specify all members. Note: Your installation determines the name of each member in the MAS configuration. The various member name used in examples throughout this publication might not be the names your installation selects. mm The numeric value (1-32), range of values member the 1 to 8 alphanumeric or special ($, #, or @) character name of the MAS member to be displayed. Specify the member number or the member name to obtain information on a specific member, or an asterisk (*) to obtain information for all members of the MAS. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. SLEVEL=slevel Specifies that only members at the specified service level are to be reset. STATUS= MVS-GONE Specifies that the MVS system on which JES2 was running is no longer available, and you must issue $E MEMBER or by using the AUTOEMEM function on the MASDEF initialization statement to clean up any held resources. SYSNAME=sysname Specifies that the system name of the MVS image of the member is to be restarted. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. The system name will not be displayed if it is equal to the member name (NAME=) or if the member is inactive. VERSION=version Indicates the version of the JES2 release that is running on this member.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
The failed member must re-IPL. When it does, it will automatically quick start instead of warm start, resulting in significantly less JES2 initialization processing.
Chapter 5. Command Reference Section
499
$E MEMBer
If your installation is participating in the AUTOEMEM option, jobs from a failed member can be restarted without this command. For information about the AUTOEMEM option, refer to the $T MASDEF command. Note: To determine your installations processing environment, consult your system programmer.
Scope
Single member. The values supplied for this command will be in effect for this member only.
Messages
The $HASP000 message indicates the command was accepted. JES2 issues the $HASP493 message when initialization processing is in progress. The $HASP492 message is issued when initialization has completed.
Examples
1 $e member(sysa) $HASP673 MEMBER(2) NAME=SYSA $HASP493 MEMBER SYSA QUICK START IS IN PROGRESS $HASP492 MEMBER SYSA QUICK START HAS COMPLETED
Assuming that the console on which you issue the $E command is attached to SYSC, this command causes the SYSC member to make the jobs that were being processed on SYSA (the failed member) eligible for restart on other members in the MAS configuration.
2 $e member(1)
The member (1) specified on the command does not need to be restarted, therefore, JES2 issues the $HASP003 message.
500
$E NETSRV(nnn)
| | | | | | | |
Syntax
$E NETsrv NETSERV NSV nn , ( nn * ) mm * mm *
| |
, /
ASID
= ^= > <
asid
, /
NAME
= ^= > <
name
| |
, /
SOCKet
= ^= > <
socket
, /
STACK
= ^= > <
stack
| | | | | | | | | | | | | | | | | | | | | |
Parameters
SOCKET= The name of a local socket upon which the NETSRV is to listen. TRaceio=(YES|NO|JES=YES|NO|COMMON=YES|NO|VERBOSE=YES|NO) Filters based on the trace settings of the server. YES Indicates all types of tracing are to be done. NO Indicates no tracing is to be done. JES=YES|NO Indicates whether data and control records passed between JES and TCP/IP are to be traced for this server. COMMON=YES|NO Indicates whether TCP/IP and other services called by IAZNJTCP are to be traced. VERBOSE=YES|NO Indicates whether diagnostic messages are to be issued to the master console and SYSLOG. STACK=(Selection limiting keyword) Indicates that the filters based on the name of the TCP/IP stack to be used by this server.
Chapter 5. Command Reference Section
501
$E NETSRV(nnn)
| | | | | | | | | | | | | | | | | | | | | | | ASID=(Selection limiting keyword) Specifies the hexadecimal address space id associated with the active NETSRV. NAME=(Selection limiting keyword) Specifies the address space name associated with the active NETSRV. The address space name is the subsystem name followed by the character S followed by the 3digit device number, for example, JES2S001.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide
Scope
Single system
Messages
$HASP898
Example
$e netsrv(2) $HASP898 NETSRV2 STATUS=ACTIVE,ASID=0027,NAME=JES2S002, $HASP898 SOCKET=S2,STACK=
502
$E OFFn.xx
Syntax
$E OFFn.JT OFFn.ST ,OFFn.JT ,OFFn.ST
Parameters
OFFn.JT The offload job transmitter to be restarted. The subscript specifies a numeric value (1-8) of the associated offload device. OFFn.ST The offload sysout transmitter to be restarted. The subscript specifies a numeric value (1-8) of the associated offload device.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
JES2 causes the job on the specified device to be stopped. The job remains on the current queue. JES2 selects the next job eligible to be processed by the device, which may be the same job that was stopped.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP000 message indicates JES2 has accepted the command. Upon completion, JES2 issues a message to indicate that the job on the device has been restarted.
Example
1 $e off1.jt, off1.st $HASP000 OK $HASP522 jobname -- OFF1.JT RESTARTED $HASP523 jobname -- OFF1.ST RESTARTED
JES2 restarts the processing of the job on offload job transmitter 1 and the job on offload sysout transmitter 1.
Chapter 5. Command Reference Section
503
Syntax
$E PRTnnnn Rnnnn.PRm ,PRTnnnn ,Rnnnn.PRm
Parameters
PRTnnnn The local printer that is restarted. Rnnnn.PRm The remote printer that is restarted.
Processing Considerations
v For the 3800 printer, JES2 restarts the output group that is visible at the transfer station. v When the output is again selected for processing, printing resumes at the beginning of the output group.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single Member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP170 message displays the status of output processing on the specified printer.
Example
1 $e prt2 $HASP170 PRT2 RESTARTED
Printer 2 stops printing the current output group and JES2 returns the output to the output queue in priority sequence. Printer 2 then selects the next available data set for processing.
504
Syntax
$E PUNnn Rnnnn.PUm ,PUNnn ,Rnnnn.PUm
Parameters
PUNnn The local punch that is restarted. Rnnnn.PUm The remote punch that is restarted.
Processing Considerations
When the output group is again selected for processing, punching resumes at the beginning of the output group.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP170 message displays the status of output processing on the specified punch.
Example
1 $e pun3 $HASP170 PUN3 RESTARTED
Punch 3 stops punching the current output group and JES2 returns the output to the output queue in priority sequence. Punch 3 then selects the next available data set for processing.
505
Syntax
, $F PRTnnnn Rnnnn ,D ,pages(,C) ,PRTnnnn . ,Rnnnn.PRm ,D ,pages(,C)
,D ,pages
Parameters
C Specifies that starting from the most recent checkpoint, output is advanced the number of pages (specified by pages). JES2 assumes that all data up to the most recent checkpoint has printed successfully. Therefore, advancing output from the most recent checkpoint is the only way JES2 can ensure no loss of data for remote printers. Output is advanced to the end of the data set. Printing resumes with the next data set or the next copy of the current data set. Note: The action of the CANCEL key on the 3800 printer emulates this operation. pages Specifies the number of pages, or for FSS printers, the number of sides, that the output is to be advanced. For FSS devices, this number can be up to 8 digits in length (1-99999999). For other devices, this number can be up to 4 digits in length (1-9999). Note: If you are using an impact printer and you specify pages for data sets with a line count of zero and no channel skips, JES2 advances output to the end of the data set. This happens regardless of the value specified for pages The line count for a data set is specified by the LINECT parameter on the PRINTDEF initialization statement or the LINECT parameter on the /*JOBPARM JES2 control statement, /*OUTPUT JES2 statement, in the JOB statement accounting field, or on the OUTPUT JCL statement.) For the 3800 printer running in JES mode, specifying 1-9999 causes advancing of the output for the specified number of physical pages. For FSS mode devices, specifying 1-99999999 causes advancing of the output for the specified number of sides. When simplex printing, there is one side per sheet of paper. When duplex printing, there are two sides per sheet of paper.
506
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If you omit D, C and nnnn, one page is the default advance. v For data sets with no channel skips and a line count of zero, the number of lines in a checkpoint page is specified by either: the CKPTLNS parameter on the /*OUTPUT JES2 statement the CKPTLINE parameter on the PRTnnnn and Rnnnn.PRm initialization statements, the OUTPUT JCL statement or specified using the $T device command Note: This applies to 3800 printers in compatibility mode and printers under FSS control. v The amount of output between checkpoints (checkpoint interval) is controlled by either: the CKPTLNS and CKPTPGS parameters on the /*OUTPUT JES2 statement the CKPTLINE and CKPTPAGE parameters on the PRTnnnn and Rnnnn.PRm initialization statements, the OUTPUT JCL statement, or specified using the $T device command v A backspace results if the printer is printing more than nnnn pages ahead of the most recent checkpoint and you specify an advance of C,nnnn. The backspace amount is the difference between the page indicated by C,nnnn and the current print page. For example, if page 275 is currently being printed and the most recent checkpoint is at page 225, specifying $F Rnnnn.PRm,15,C causes the printer to backspace to page 240. v If you try to advance the printer relative to a checkpoint (by specifying C) and no checkpoint exists, the printer backspaces to the beginning of the data set. v For the 3800 printer, forward spacing is relative to the page that is visible at the transfer station. v You can use this command to skip the printing of unneeded information. v The printer must be physically stopped before entering a forward space command for that printer in order to maintain proper line count displays using the $DU,PRTx command. v If you are using an impact printer and specify n for data sets with a line count of zero and no channel skips, the data set is advanced to the end. JES2 treats the data set as one contiguous page of data. A $B PRTx or $F PRTx command with the n parameter will either backspace to the beginning of the data set or forward space to the end of the data set, regardless of the value specified for CKPTLINE. before the printer jam and resume printing.
507
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP170 message displays the status of output processing on the specified printer.
Example
1 $f r9.pr1,4,c,prt4 $HASP170 R9.PR1 FWD-SPACED $HASP170 R9.PR2 FWD-SPACED
JES2 advances the output on printer 1 of remote 9 four pages forward of the most recent checkpoint. For exceptions, see processing considerations 4 and 5. JES2 advances the output on local printer 4 one page (see processing consideration 1).
508
Syntax
, $F PUNnn Rnnnn.PUm ,D ,nnnn(,C) PUNnn ,D ,nnnn(,C) Rnnnn.PUm ,D ,nnnn(,C)
Parameters
D Output is advanced to the end of the data set. Punching resumes with the next data set or the next copy of the current data set.
nnnn Output is advanced nnnn (1-9999) cards. nnnn(,C) Output is advanced nnnn cards from the most recent checkpoint. JES2 assumes that all data up to the most recent checkpoint has punched successfully. Therefore, advancing output from the most recent checkpoint is the only way JES2 can ensure no loss of data for remote punches. PUNnn The local punch on which JES2 advances output. Rnnnn.PUm The remote punch on which JES2 advances output.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If you omit D, C, and nnnn, one card is the default advance. v The amount of output between checkpoints is controlled by either: The CKPTLNS and CKPTPGS parameters on the /*OUTPUT JES2 statement The CKPTLINE and CKPTPAGE parameters on the PRTnnnn and Rnnnn.PRm initialization statements, the OUTPUT JCL statement, or specified using the $T device command. v If the punch is punching more than nnnn cards ahead of the most recent checkpoint and you specify an advance of C,nnnn, a backspace results. The amount of backspace is the difference between the card indicated by C,nnnn and the current punch card. For example, if card 275 is currently being punched and
Chapter 5. Command Reference Section
509
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP170 message displays the status of output processing on the specified punch.
Example
1 $f r9.pu1,1,c,pun2 $HASP170 R9.PU1 FWD-SPACED $HASP170 R9.PU2 FWD-SPACED
JES2 advances the output on punch 1 of remote 9 one card forward of the most recent checkpoint. For exceptions, see processing considerations 3 and 4. JES2 advances the output on local punch 2 one card (see processing consideration 1).
510
$G A
Syntax
$G A Nnnnn name destid ,jobname ,J|JOBn ,S|STCn ,T|TSUn ,O= LOCAL|ANYLOCAL Nnnnn|nodename destid
Parameters
J|JOBn or S|STCn or T|TSUn The job ID (batch job (Jn), started task (Sn) or time-sharing user (Tn)) assigned to the job by its originating node. This operand is necessary only if more than one job exists with the specified job name. jobname The name of the job that is released. The name must appear as coded on the JOB statement and must be enclosed in apostrophes. If the job did not originate at the sending node (or have default print and/or punch output for the sending node), the destination node must have the sending node flagged as having network authority. Nnnnn|name|destid The destination node to which JES2 sends this command. You can specify this location by an alias for the name of a node. The destination node must have the sending node flagged as having job authority. O= The node on which the job originated. You must specify this parameter if the originating node is not the node at which this $G A command is entered. If you fail to identify the originating node, JES2 issues the $HASP693 message indicating that the job was not found. The valid specifications: LOCAL|ANYLOCAL Indicates that jobs are to be run at the local node. Nnnnn|nodename Indicates that jobs are to be run at the specified node(s). You can specify a node using a decimal node identifier ranging from 1 to 32767 or an EBCDIC nodename. destid Indicates that jobs are to be run at the specified node(s). You can specify this location by an alias for the name of a node.
Authority Required
This command requires job authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
511
$G A
Processing Considerations
If you do not know the job ID of the job with this jobname, use the $G D command to display the job IDs of all jobs with this jobname at a specific node.
Scope
Network-wide. This command only needs to be issued from a single member; the command has an effect across the entire MAS.
Messages
The $HASP000 message indicates the command was accepted.
Example
1 $g a n2,jobx,j25 $HASP000 OK
JES2 sends a global release command record through the network to node 2. Node 2 releases the job named JOBX whose originating node job identifier is J25, and then sends a response back to the sending node.
512
$G C
Syntax
$G C Nnnnn name destid ,Dump ,Purge ,jobname ,J|JOBn ,S|STCn ,T|TSUn ,O= LOCAL|ANYLOCAL Nnnnn|nodename destid
Parameters
Dump JES2 provides a storage dump. J|JOBn or S|STCn or T|TSUn The job ID (batch job (Jn), started task (Sn), or time-sharing user (Tn)) assigned to the job by its originating node. This operand is necessary only if more than one job exists with the specified job name. jobname The name of the job that is cancelled. This name must appear as coded on the JOB statement and must be enclosed in apostrophes. If the job did not originate at the sending node (or have default print and/or punch output for the sending node), the destination node must have the sending node flagged as having network authority. Note: Started tasks and time-sharing users can be cancelled only after they completed execution. Nnnnn|name|destid The destination node to which JES2 sends this command. You can specify this location by an alias for the name of a node. The destination node must have the sending node flagged as having job authority. O= The node on which the job originated. You must specify this parameter if the originating node is not the node at which this $G C command is entered. If you fail to identify the originating node, JES2 issues the $HASP693 message which indicates the job was not found. The valid specifications: LOCAL|ANYLOCAL Indicates that jobs are to be run at the local node. Nnnnn|nodename Indicates that jobs are to be run at the specified node(s). You can specify a node using a decimal node identifier from 1 to 32767 or an EBCDIC nodename. destid Indicates that jobs are to be run at the specified node(s). You can specify this location by an alias for the name of a node.
Chapter 5. Command Reference Section
513
$G C
Purge JES2 cancels the job output. You must specify this operand to cancel a job that is already in the output phase.
Authority Required
This command requires job authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If you do not know the job ID of the job with this jobname, use the $G D command to display the job IDs of all jobs with this jobname at a specific node. v The $T NODE,Auth= command sets the command authority of a specified node.
Scope
Network-wide. This command only needs to be issued from a single member; the command has an effect across the entire MAS.
Messages
The $HASP000 message indicates the command has been accepted. The $HASP890 message, displaying the current status of the indicated job, is sent from node 2 to node 1.
Examples
1 $g c n2,myjob $HASP000 OK JOB00018 $HASP540 MYJOB ON L15.SR1 285 RECORDS JOB00017 N2 M2 $HASP890 MYJOB EXECUTING A PRIO 9 CANCEL IBM2
JES2 sends a global cancel command record through the network to node 2. Node 2 terminates the job named MYJOB (if found and owned by the sending node) and then sends the $HASP890 to the sending node. The following messages are displayed on the console at node 2:
2 JOB00017 $H ASP395 MYJOB ENDED $HASP309 INIT 3 INACTIVE ******** C=ABC JOB00017 $HASP530 MYJOB ON L15.ST1 285 RECORDS $HASP534 L15.ST1 INACTIVE JOB00017 $HASP250 MYJOB IS PURGED
514
$G D
Syntax
$G D Nnnnn name destid ,jobname ,J|JOBn ,S|STCn ,T|TSUn ,O= LOCAL|ANYLOCAL nodename destid
Parameters
J|JOBn or S|STCn or T|TSUn The job ID (batch job (Jn), started task (Sn), or time-sharing user (Tn)) assigned to the job by the originating node. If more than one job exists with the specified job name, and you want to display only one particular job, you must specify this parameter. jobname The name of the job for which information is displayed. The name must appear as coded on the job statement and must be enclosed in apostrophes. If the job did not originate at the sending node (or have default print and/or punch output for the sending node), the destination node must have the sending node flagged as having network authority. Nnnnn|name|destid The destination node to which JES2 sends this command. You can specify this location by an alias for the name of a node. If you omit this operand, JES2 treats this as a global locate command and sends it to all reachable nodes in the network. Each node responds individually to the command. Note: This command is rejected if the destination node is not currently connected to the network. O= The node on which the job originated. You must specify this parameter if the originating node is not the node at which this $G D command is entered. If you fail to identify the originating node, JES2 issues the $HASP693 message which indicates the job was not found. The valid specifications: LOCAL|ANYLOCAL Indicates that jobs are to be run at the local node. Nnnnn|nodename Indicates that jobs are to be run at the specified node(s). You can specify a node using a decimal node identifier from 1 to 32767 or an EBCDIC nodename. destid Indicates that jobs are to be run at the specified node(s). You can specify this location by an alias for the name of a node.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned.
Chapter 5. Command Reference Section
515
$G D
This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v The information returned from the other node for display contains the same job information displayed in response to a $D J command. v The job number displayed is the number assigned to the job by its originating node. v The $T NODE,Auth= command sets the command authority of a specified node.
Scope
Network-wide. This command only needs to be issued from a single member; the command has an effect across the entire MAS.
Messages
The $HASP000 command indicates that the command has been accepted. The message id of the message displaying the status of the job is dependent on the operating system on the node to which the command was issued. For example, a command issued to a JES2 system may display $HASP890, depending on the level of JES2 on the target system.
Examples
1 $gdn2,myjob M2 $HASP890 MYJOB EXECUTING A PRIO 9 IBM2 $HASP000 OK JOB00019 N2
JES2 sends a global display command record through the network to node 2. Node 2 returns to the sending node a display of job information for all jobs named MYJOB on node 2 that are owned by the sending node (that is, jobs originating at the sending node or jobs for which the sending node has network authority at node 2).
2 $gd,joba,j17,o=denver JOB NOT FOUND
Because a specific destination node was not specified, JES2 sends a global display command to every reachable node in the network. Each node responds with either a JOB NOT FOUND response or a display of job information for the job named JOBA that originated at the node named DENVER and had an original job number of 17. (Note that, unless the node entering the command is named DENVER, it must have network authority at the node where the job is currently located.)
516
$G H
Syntax
$G H Nnnnn name destid ,jobname ,J|JOBn ,S|STCn ,T|TSUn ,O= LOCAL|ANYLOCAL Nnnnn|nodename destid
Parameters
J|JOBn or S|STCn or T|TSUn The job ID (batch job (Jn), started task (Sn), or time-sharing user (Tn)) assigned to the job by its originating node. This operand is necessary only if more than one job exists with the specified job name. jobname The name of the job that is held. The name must appear as coded on the JOB statement and must be enclosed in apostrophes. If the job did not originate at the sending node (or have default print and/or punch output for the sending node), the destination node must have the sending node flagged as having network authority. Nnnnn|name|destid The destination node to which JES2 sends this command. You can specify this location by an alias for the name of a node. The destination node must have the sending node flagged as having job authority. O= The node on which the job originated. You must specify this parameter if the originating node is not the node at which this $G H command is entered. If you fail to identify the originating node, JES2 issues the $HASP693 message indicating that the job was not found. The valid specifications: LOCAL|ANYLOCAL Indicates that jobs are to be run at the local node. Nnnnn|nodename Indicates that jobs are to be run at the specified node(s). You can specify a node using a decimal node identifier from 1 to 32767 or an EBCDIC nodename. destid Indicates that jobs are to be run at the specified node(s). You can specify this location by an alias for the name of a node.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
517
$G H
Processing Considerations
v If you do not know the job ID of the job with this jobname, use the $G D command to display the job IDs of all jobs with this jobname at a specific node. v The $T NODE,Auth= command sets the command authority of a specified node.
Scope
Network-wide. This command only needs to be issued from a single member; the command has an effect across the entire MAS.
Messages
The $HASP000 command indicates that the command has been accepted.
Example
1 $g h newyork,jobc $HASP000 OK JOB00019 N2 M2 $HASP890 JOBC EXECUTING A PRIO 9 HOLD IBM2
JES2 sends a global hold command record through the network to the node named NEWYORK. That node places the job named JOBC in hold status (if found and owned by the sending node) and then sends a response back to the sending node.
518
$G R, OUT
Syntax
$G R Nnnnn name destid ,D= LOCAL|ANYLOCAL Nnnnn|nodename destid Nnnnn.Rmmmm Ummmm node.remote ,R= ,OUT,jobname ,J|JOBn ,S|STCn ,T|TSUn ,O= LOCAL|ANYLOCAL Nnnnn|nodename destid
Rnnnn|nodename destid
Parameters
D= Specifies a destination for a piece of output. Indicates that output sent to the specified destinations can be selected. The value for all routing numbers can range from 1 to 32767. Use parentheses if more than one route code is specified. For specification requirements, see Route codes on page 97. LOCAL|ANYLOCAL Indicates that jobs are to be run at the local node. Nnnnn|nodename Indicates that jobs are to be run at the specified node(s). You can specify a node using the decimal node identifier or an EBCDIC nodename. destid Indicates that jobs are to be run at the specified node(s). You can specify this location by an alias for the name of a node. If destid is specified alone, it refers to both the node and the remote. NnnnnRmmmm|node.remote Indicates routing to the remote Rmmmm at the node Nnnnn. Rmmmm can also be specified as RMmmmm or RMTmmmm. Ummmm Indicates special local routing. node.destid Indicates a destination at the specified node. The destid refers to both the node and the remote. The node specified in the destid must be the same as the node portion of the route code. If the number of the remote is reassigned, you can use the destid to send to this node. remote Indicates routing to a remote. Remote can be specified in any of the following ways: LOCAL|ANYLOCAL Indicates that jobs are to be run at the local node.
Chapter 5. Command Reference Section
519
$G R, OUT
Rmmmm Indicates routing to the specified remote. Rmmmm can also be specified as RMmmmm or RMTmmmm. destid Indicates routing to a destid referring to a remote. For more information about specifying userids as remotes, refer to Route codes on page 97. If you specify Nnnnn[Rnnnn], Nnnnn is converted to an 8-byte EBCDIC node name and, optionally, Rnnnn is right-padded with blanks to create an 8-byte EBCDIC remote name (it is overridden by the R= parameter, if specified). This destination name is placed in the global route command record for the receiving node. If you specify an installation-defined name for a destination, the name is right-padded with blanks and then placed in the global route command record for the receiving node. The symbolic destination names are validated and converted to internal route codes at the receiving node, not the node at which the $G R command is entered. J|JOBn or S|STCn or T|TSUn The job ID (batch job (Jn), started task (Sn), or time-sharing user (Tn)) assigned to the job by its originating node. This operand is necessary only if more than one job exists with the specified job name. jobname The name of the job for which output is rerouted. The name must appear as coded on the JOB statement and must be enclosed in apostrophes. If the job did not originate at the sending node (or have default print and/or punch output for the sending node), the destination node must have the sending node flagged as having network authority. Nnnnn|name|destid The destination node to which JES2 sends this command. You can specify this location through an alias for the name of a node. The destination node must have the sending node flagged as having job authority. O= The node on which the job originated. You must specify this parameter if the originating node is not the node at which this $G R command is entered. If you fail to identify the originating node, JES2 issues the $HASP693 message which indicates the job was not found. In addition, the originating node must have authorized this node for network commands or the $HASP693 message will be issued. For more information about authorizing nodes, refer to the $T NODE command. The valid specifications: LOCAL|ANYLOCAL Indicates that jobs are to be run at the local node. Nnnnn|nodename Indicates that jobs are to be run at the specified node(s). You can specify a node using a decimal node identifier from 1 to 32767 or an EBCDIC nodename. destid Indicates that jobs are to be run at the specified node(s). You can specify this location by an alias for the name of a node. OUT Job output is rerouted.
520
$G R, OUT
R=Rnnnn|nodename|destid If you specified a symbolic name for a node on the D= parameter, this parameter allows you to specify a remote destination off that node. Whatever is entered is right-padded with blanks to create an 8-byte EBCDIC remote name, that is placed in the global route command record. Validation and conversion to a remote destination route code is performed at the receiving node. Note: This parameter overrides a remote specification on the D= parameter.
Authority Required
This command requires job authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v The receiving node ignores the $G R command if the specified job is currently being received on a reader, being received or transmitted on an NJE or RJE line, or if its output is TSO held output. v If you do not know the job ID of the job with this jobname, use the $G D command to display the job IDs of all jobs with this jobname at a specific node. v The $T NODE,Auth= command sets the command authority for a specified node.
Scope
Network-wide. This command only needs to be issued from a single member; the command has an effect across the entire MAS.
Messages
The $HASP000 message indicates the command was accepted.
Examples
1 $g r n4,out,myjob,d=n3r1 $HASP000 OK
JES2 sends a global route command record through the network to node 4. Node 4 routes all normal output for the job named MYJOB to node 3 remote workstation 1.
2 $g r denver,out,joba, d=newyork, r=broadway
$HASP000 OK
JES2 sends a global route command record through the network to the node named DENVER. That node routes all normal output for the job named JOBA to the remote workstation with the installation-defined name BROADWAY on the node with the installation-defined name NEWYORK.
521
$G R, XEQ
Syntax
$G R Nnnnn name destid ,D= LOCAL|ANYLOCAL Nnnnn destid nodename Nnnnn.Rmmmm Ummmm node.remote node.destid remote ,XEQ,jobname(,J|JOBn) ,O= LOCAL|ANYLOCAL Nnnnn|nodename destid
Parameters
D= The node to which the job is routed. If you specify Nnnnn, Nnnnn is converted to an 8-byte EBCDIC node name that is placed in the global route command record for the receiving node. If you specify an installation-defined node name, the name is right-padded with blanks and then placed in the global route command record for the receiving node. Symbolic node names are validated and converted to internal route codes at the receiving node, not the node at which the $G R command is entered. The value for all routing numbers can range from 1 to 32767. The valid specifications: LOCAL|ANYLOCAL Indicates that jobs are to be run at the local node. destid Indicates that jobs are to be run at the specified node(s). You can specify this location by an alias for the name of a node. If destid is specified alone, it refers to both the node and the remote. Nnnnn|nodename Indicates that jobs are to be run at the specified node(s). You can specify a node using the decimal node identifier or an EBCDIC nodename. NnnnnRmmmm|node.remote Indicates routing to the remote Rmmmm at the node Nnnnn. Rmmmm can also be specified as RMmmmm or RMTmmmm. Ummmm Indicates special local routing. node.destid Indicates a destination at the specified node. The destid refers to both the node and the remote. The node specified in the destid must be the
522
$G R, XEQ
same as the node portion of the route code. If the number of the remote is reassigned, you can use the destid to send to this node. remote Indicates routing to a remote. Remote can be specified in any of the following ways: LOCAL|ANYLOCAL Indicates that jobs are to be run at the local node. Rmmmm Indicates routing to the specified remote. Rmmmm can also be specified as RMmmmm or RMTmmmm. The value specified for mmmm can range from 1 to 32767. destid Indicates routing to a destid referring to a remote. For more information about specifying userids as remotes, see Route codes on page 97. J|JOBn The job ID (Job n) assigned to the job by its originating node. jobname The name of the job that is routed for execution. The name must appear as coded on the JOB statement and must be enclosed in apostrophes. If the job did not originate at the sending node (or have default print and/or punch output for the sending node), the destination node must have the sending node flagged as having network authority. Nnnnn|name|destid The destination node to which JES2 sends this command. You can specify the location by an alias for the name of a node. The destination node must have the sending node flagged as having job authority. O= The node on which the job originated. You must specify this parameter if the originating node is not the node at which the $G R command is entered. If you fail to identify the originating node, JES2 issues the $HASP693 message indicating that the job was not found. The valid specifications: LOCAL|ANYLOCAL Indicates that jobs are to be run at the local node. Nnnnn|nodename Indicates that jobs are to be run at the specified node(s). You can specify a node using a decimal node identifier from 1 to 32767 EBCDIC nodename. destid Indicates that jobs are to be run at the specified node(s). You can specify this location by an alias for the name of a node. XEQ The job is routed for execution.
Authority Required
This command requires job authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Chapter 5. Command Reference Section
523
$G R, XEQ
Processing Considerations
v The receiving node rejects the $G R command if the specified job is currently being received on a reader, is currently being received or transmitted on an NJE or RJE line, has already executed, or is currently in execution. v If you do not know the job ID of the job with this jobname, use the $G D command to display the job IDs of all jobs with this jobname at a specific node. v The $T NODE,Auth= command sets the command authority for a specified node.
Scope
Network-wide. This command only needs to be issued from a single member; the command has an effect across the entire MAS.
Messages
The $HASP000 message indicates the command was accepted.
Example
1 $g r n3,xeq,jobc,d=n4 $HASP000 OK
JES2 sends a global route command record through the network to node 3. Node 3 routes the job named JOBC to node 4 for execution.
524
$H A
Syntax
$H A ,memname ,ALL
Parameters
A All jobs currently in the member are held. If this is a multi-access spool configuration, and neither member name nor ALL is specified, all jobs that have affinity for the member through which the command is entered are held. Even if the member name is specified in the command, all jobs that do not explicitly specify a member affinity is held across the MAS. ALL All jobs, regardless of their affinities, are held. memname The 1 to 4 character alphameric identifier of a member in the multi-access spool configuration. All jobs that have affinity for the specified member are held.
Authority Required
This command requires job authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v Any new jobs read into the member after you issue this command will not be held. v Use the $A command to release the held jobs.
Scope
MAS-wide. This command has an effect across the entire MAS.
Messages
The $HASP000 message indicates the command was accepted.
525
$H A
Examples
1 $h a $HASP000 OK
JES2 holds all jobs that are currently in the member. If the member is in a multi-access spool configuration, JES2 holds all jobs that have affinity for the member through which the command is entered.
2 $h a,sysa
$HASP000 OK
JES2 holds all jobs that have affinity for member SYSA.
526
$H Job
Syntax
$H Job JOBQ JQ Stc Tsu nn job , ( nn * job job , / CMDauth = ^= cmdauth , (1) ( cmdauth , / JOBMASK / , / Queue = ^= CNV INPUT OUT PPU PURGE RCV SETUP SPIN XEQ XMT , , / SPOOL / / / / Tgs > < Volumes tgs = ^= volume , (2) ( volume ,CARDS SPL =( / Percent % > < percent ) , / REBUILD JM , / DAys ) = ^= > < = ^= / jobmask Age > < days ) mm * mm *
, /
Hours
> <
hours
No Yes
) ,Class
|
, / TYPE = ^= JOB STC TSU ,BUSY= YES ANY NO NONE
,OFFS
,Priority
,SCHENV
,SCHENV_AFF
,SECLABEL
527
$H Job
,SECLABEL_AFF , / XEQNode
,SRVCLASS = ^= xeqnode
,Sysaff
,USERID
Notes: 1 2 cmdauth can be coded up to 2 times volume can be coded up to 253 times
Parameters
Age|DAys<days | Age|DAys>days Specifies the age of affected jobs in days. Only jobs more (with DAYS>nn) or less (with DAYS<nn) than the specified number of days in age are affected, The days are counted from the current hour. | | | | | | | | | | | | BUSY= Specifies one of the following: v The system name or number on which the job is busy. Note that you can specify a value of 0 to indicate the job is not busy. You can also specify values above 32 to match systems with invalid values in the BUSY value (for example, $HJOBQ,BUSY>32) v YES or ANY, indicating that all busy jobs are to match v NO or NONE, indicating that all non-busy jobs are to match CARDS=cards Specifies the number of input cards associated with the job. Class=class Specifies the class associated with the job CMDauth=(auth1{,auth2}) Only the jobs that can be affected from the specified remote(s) or node(s) will be held. The valid specifications are: LOCAL|ANYLOCAL Only the local devices at the local node can affect the output. Nnnnn|nodename Only local devices at the specified node can affect the output. Rnnnn Only the specified remote device can affect the output. NnnnnRnnnn|nodename.Rnnnn Only the specified remote device at the specified remote node can affect the output. destid A destid corresponding to any of the above remote devices. Note: Specification of the CMDAUTH filter does not override the authority of the console from which the command is issued; both the authority of the console and the specified CMDAUTH filter must match for the job to be affected.
528
$H Job
Hours=hours Specifies the age of affected jobs in hours. Only jobs more (with HOURS>nn) or less (with HOURS<nn) than the specified number of hours in age are affected. JM|JOBMASK=jobmask Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). For a description of wildcards, see Using wildcards on page 98. Notes: 1. This is a positional parameter. Specify this following the job_id (JOB, STC, or TSU), or JOBQ parameter. 2. The JOBMASK parameter is not valid with the jobname parameter. job Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). job The name of the job that is held. This name must appear as coded on the JOB statement and must be enclosed in apostrophes. If more than one job exists with this name, no action is taken. Job A Batch job or range of batch jobs is to be held. JOBQ|JQ Specifies all jobs, STCs, and TSUs across the MAS for processing. | | | | OFFS=offs Specifies offload device numbers on which the job has been archived. Priority=priority Specifies the priority of the job. Queue={CNV|INPUT|OUT|PPU|PURGE|RCV| SETUP|SPIN|XEQ|XMT} Only jobs on the specified job queue are to be held. CNV Only jobs awaiting conversion are to be held. INPUT Only jobs on the JES2 $INPUT queue are to be held. OUT Only jobs awaiting output processing are to be held. PPU Only jobs awaiting print/punch processing are to be held. PURGE Only jobs awaiting purge processing are to be held. RCV Only jobs on the JES2 $RECEIVE queue are to be held. SETUP Only jobs on the JES2 $SETUP queue are to be held. SPIN Only jobs awaiting spin processing are to be held.
Chapter 5. Command Reference Section
529
$H Job
XEQ Only jobs awaiting execution are to be held. XMT Only jobs queued for network transmission are to be held. REBUILD={No|Yes} Jobs on the rebuild queue are to be held (Yes) or not held (No). | | | | | | | | | | SCHENV=schenv Specifies the scheduling environment associated with the job. SCHENV_AFF=member Specifies the JES2 MAS members on which the scheduling environment for this job is available. SECLABEL_AFF=member Specifies the JES2 MAS members on which the SECLABEL for this job is available but only if the RACF SECLABEL_BY_SYS is also active. SECLABEL=seclabel Specifies the security label associated with the job. SPL|SPOOL={Percent|%|Tgs|Volumes} Only jobs with specific SPOOL characteristics are to be held: Percent|% Only jobs using more (with %>nn) or less (with %<nn) than the specified percentage of the total available spool space are to be held. Tgs Only jobs using more (with Tgs>nn) or less (with Tgs<nn) than the specified number of track groups are to be held. Volumes=(v1,v2,...) Only jobs which have allocated spool space on the specified spool volume(s) are to be held. | | | | | SRVCLASS=srvclass Specifies the service class of the job. The service class is available for batch jobs only. It is not available for started tasks or time-sharing users. The default workload manager (WLM) policy assigns a service class of blanks to all jobs, and WLM-managed initiators can then select such jobs for processing. Stc A started task or range of started tasks is to be held. | | Sysaff=member Specifies the jobs system affinity. Tsu A time-sharing user or range of time-sharing users is to be held. TYPE={JOB|STC|TSU} Indicates whether only batch jobs (JOB), started tasks (STC), or time-sharing users (TSU) are to be held. | | USERID=userid Specifies the userid associated with the job. XEQNode=xeqnode Only jobs which are destined to execute at the specified node, or which have already executed at the specified node, are to be held. The node name may be specified using the decimal node number (Nnnnnn) or an EBCDIC node name.
530
$H Job
Related Commands
To hold entire job classes, or all jobs, see the $A Job, $H A, or $T JOBCLASS commands.
Authority Required
This command requires job authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
When a job is restarted using the automatic restart management. the hold status of the job is carried over to the restarted job.
Scope
MAS-wide. This command has an effect across the entire MAS.
Messages
The $HASP890 message displays the current status of the indicated job.
Examples
1 $h j34-36 $HASP890 JOB(TESTA) JOB(TESTA) STATUS=(AWAITING XMITTER N2),CLASS=A, PRIORITY=9,SYSAFF=(ANY),HOLD=(JOB) $HASP890 JOB(HOLDJOB) JOB(HOLDJOB) STATUS=(AWAITING EXECUTION),CLASS=H, PRIORITY=9,SYSAFF=(ANY),HOLD=(JOB) $HASP890 JOB(SPINTWO) JOB(SPINTWO) STATUS=(AWAITING EXECUTION),CLASS=A, PRIORITY=9,SYSAFF=(ANY),HOLD=(JOB) JOB00034 $HASP890 $HASP890 JOB00035 $HASP890 $HASP890 JOB00036 $HASP890 $HASP890
JES2 places batch jobs in hold status that fall in the range of 100 through 105, and whose job name includes EBG as the second, third and fourth characters.
3 $h jq,jm=ib*,q=xeq $HASP890 JOB(IBMUSERX) JOB(IBMUSERX) STATUS=(AWAITING EXECUTION),CLASS=B, PRIORITY=9,SYSAFF=(ANY),HOLD=(JOB) $HASP890 JOB(IBMUSERY) JOB(IBMUSERY) STATUS=(AWAITING EXECUTION),CLASS=B, PRIORITY=9,SYSAFF=(ANY),HOLD=(JOB)
Chapter 5. Command Reference Section
531
$H Job
JES2 places all batch jobs, STCs, and TSUs whose job name begins with the characters IB that are on the execution queue in hold status.
532
Syntax
$I PRTnnnn Rnnnn.PRm ,PRTnnnn ,Rnnnn.PRm
Parameters
PRTnnnn The local printer that is interrupted. Rnnnn.PRm The remote printer that is interrupted.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v For the 3800 printer, JES2 interrupts the output group that is visible at the transfer station. v If a checkpoint interval was designated on a device initialization statement, this command causes the printer to backspace to the last checkpoint taken (based on that interval) and requeue the printer data at that point. Otherwise, the printer backspaces 1 or more pages and requeues the data at that point. For printers controlled by JES2, a page is defined as: 1. The last page eject (skip to channel 1) supplied by JES2 (LINECT value) when the programmer did not supply any page ejects (skip to channel commands). The LINECT value (system default page value) is specified on the PRINTDEF initialization statement. 2. The entire output group, if the programmer supplied LINECT=0 on the /*JOBPARM statement, the /*OUTPUT JES2 statement, in the accounting field on the JOB statement, or on the OUTPUT JCL statement. For a description of the /*OUTPUT JES2 statement and OUTPUT JCL statement, see z/OS MVS JCL Reference. 3. The last page eject (skip to any channel) supplied by the programmer, if that eject is not further back than the value of the LINECT parameter specified on the JOB or JOBPARM statement or on the OUTPUT JES2 statement or OUTPUT JCL statement or on the PRINTDEF initialization statement. For printers controlled by the print services facility (PSF), a page is defined as the data bracketed by begin page (BPG) and end page (EPG) PSF control records. These records delimit one impression, or one side, of a sheet of paper.
Chapter 5. Command Reference Section
533
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP170 message displays the status of output processing on the specified printer.
Example
1 $i prt2,prt4 $HASP170 PRT2 INTERRUPTED $HASP170 PRT4 INTERRUPTED
Printers 2 and 4 stop printing their current output, and JES2 returns the output to the output queue. These printers select the next available output groups for processing.
534
Syntax
$I PUNnnnn Rnnnn.PUm ,PUNnnnn ,Rnnnn.PUm
Parameters
PUNnnnn The local punch that is interrupted. Rnnnn.PUm The remote punch that is interrupted.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v When the output is interrupted, JES2 does not recalculate its selection priority. The original priority value is used. v When the output group is again selected for processing, the punch resumes at the last JES2 checkpoint.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP170 message displays the status of output processing on the specified punch.
Example
1 $i pun3,r1.pu5 $HASP170 PUN3 INTERRUPTED
Local punch 3 and remote workstation 1 punch 5 stop punching their current output, and JES2 returns the output to the output queue. These punches select the next available output groups for processing.
535
$JDDETAILS
Syntax
$JD DETAILS ( RESOURCE MAIN WAIT ERROR )
| |
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure you assign the proper MVS system command group authority. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
The following restrictions apply to all monitor commands. They: v Can only be issued through the MVS command interface (consoles or MGCRE) or JES2 automatic commands v Cannot be issued from the JES2 initialization data set, NJE/RJE, $M commands, or through a reader (INTRDR) v Can be the object of a $VS command v Are not limited by CONDEF CMDNUM= v Are not limited by CONDEF DISPMAX= v Support L= for directing the output but do not honor CONDEF RDIRAREA= or REDIRECT= parameters v Cannot use the JES2 command separator, semicolon (;), to separate monitor commands unless it is also the MVS command separator.
536
$JDDETAILS
| | | | | | | | | | | | | The $JDDETAILS command supports subscripts to limit the information that is being returned. If no subscript is provided, JES2 will display all the information. The valid subscripts are: RESOURCE Displays $HASP9104 with information on the current JES2 resource usage. MAIN Displays $HASP9105 with information on the current breakdown of CPU samples. WAIT Displays $HASP9106 which contains the table of MVS WAITs in the JES2 main task. ERROR Displays $HASP9107 with ocunts of errors JES2 has recently encountered.
Scope
Single Member. The response to this command will be a display of information about this member only.
Messages
Example
1 $JDDETAILS $HASP9103 D DETAIL $HASP9104 JES2 RESOURCE USAGE SINCE 2002.149 23:00:00 RESOURCE LIMIT USAGE LOW HIGH AVERAGE -------- -------- -------- -------- -------- -------BERT 1100 89 89 89 89 BSCB 42 0 0 0 0 BUFX 249 0 0 0 0 CKVR 2 0 0 0 0 CMBS 208 0 0 0 0 CMDS 200 0 0 0 0 ICES 101 0 0 0 0 JNUM 9999 6 6 6 6 JOES 200 2 2 2 2 JQES 500 6 6 6 6 LBUF 151 0 0 0 0 NHBS 23 0 0 0 0 SMFB 53 0 0 0 0 TGS 525 13 13 13 13 TTAB 3 0 0 0 0 VTMB 24 0 0 0 0 $HASP9105 JES2 SAMPLING STATISTICS SINCE 2002.149 23:00:00 TYPE COUNT PERCENT ---------------- ------ ------ACTIVE 134 0.22 IDLE 58257 99.77 LOCAL LOCK 0 0.00 NON-DISPATCHABLE 0 0.00 PAGING 0 0.00 OTHER WAITS 0 0.00 TOTAL SAMPLES 58391 $HASP9106 JES2 MAIN TASK MVS WAIT TABLE DATE TIME ADDRESS MODULE OFFSET WT-COUNT SM-COUNT -------- -------- -------- -------- ------ -------- -------2002.149 22:34:06 011340B4 IGC018 +000B74 4 13 2002.149 22:33:57 043B2BAE IGC0013I+001BAE 1 1 2002.149 22:33:57 0003D5F2 HASPCKPT+0065F2 1 2 2002.149 22:34:01 06C02108 HASPIRA +001108 2 142
PCE --23 23 23 23
537
$JDDETAILS
2002.149 2002.149 2002.149 2002.149 2002.149 22:34:06 22:34:04 22:34:06 22:34:06 22:34:06 00FE2FF6 06C057C2 01182426 0003FC00 00066F7A IEAVEWAT+0007DE HASPIRDA+0027C2 IEWFETCH+00152E HASPCKPT+008C00 HASPDYN +000F7A 3 1 3 1 1 6 24 4 6 1 MLT 23 23 23 23 JCO JCO JCO JCO JCO
The WT-COUNT in the above $HASP9106 response is the number of distinct times this MVS wait was encountered. The SM-COUNT is the number of times the sampling task sampled this wait. For the first wait, it has a wait count of 4 and a sample count of 13. It waited an average of 3 sample intervals at this wait. The sample interval is about 1/20 of a second; therefore, this MVS wait lasted on average 3/20 of a second each of the 4 times it was encountered. In the MVS wait table, the PCE column can contain one of the following: v nnn PCEID value for the PCE in control at the time of the MVS wait. v MLT Multiple PCEs have MVS waited at this point. In v v v the MVS wait table, the XIT column can contain one of the following: nnn JES2 exit number at the time of the MVS wait. JCO MVS wait occurred in JES2 code only (never in an exit). JNX JES2 code and exit code both encountered this MVS wait.
v MLT The MVS wait occurred under multiple exits but never in non-exit JES2 code.
538
$JDHISTORY
Syntax
, ) HOURS= H= hours
| | | | | | | | | | | |
Authority Required
The $JDHISTORY command supports subscripts to limit the information returned. If no subscript is provided, then all information is displayed. The valid subscripts are: MAIN Main task sampling percent history. BERT JES2 BERT usage history. BSCB JES2 BSC buffer usage history. BUFX JES2 Extended buffer usage history.
Chapter 5. Command Reference Section
539
$JDHISTORY
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CKVR JES2 CKPT versions usage history. CMBS JES2 CMB usage history. CMDS JES2 CMD usage history. ERROR JES2 error history. ICES JES2 ICE usage history. JNUM JES2 Job number usage history. JOES JES2 JOE usage history. JQES JES2 JQE usage history. LBUF JES2 logical buffer usage history. NHBS JES2 NJE header buffer usage history. SMFB JES2 SMF buffer usage history. TGS JES2 track group usage history. TTAB JES2 trace table usage history. VTMB JES2 VTAM buffer usage history.
Parameters
HOURS=|H= Indicates how many history entries are to be displayed. If not specified, the default is 72 hours, or however many hours the monitor has been active. HOURS= can increase or decrease the number of intervals displayed. The monitor maintains history for the life of the monitor address space.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure you assign the proper MVS system command group authority. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
The following restrictions apply to all monitor commands. They:
540
$JDHISTORY
v Can only be issued through the MVS command interface (consoles or MGCRE) or JES2 automatic commands v Cannot be issued from the JES2 initialization data set, NJE/RJE, $M commands, or through a reader (INTRDR) v Can be the object of a $VS command v Are not limited by CONDEF CMDNUM= v Are not limited by CONDEF DISPMAX= v Support L= for directing the output but do not honor CONDEF RDIRAREA= or REDIRECT= parameters v Cannot use the JES2 command separator, semicolon (;), to separate monitor commands unless it is also the MVS command separator.
Scope
Single member. This response to this command displays information about this member only.
Messages
Example
1 $JD HISTORY $HASP9130 D HISTORY $HASP9131 JES2 BERT USAGE HISTORY DATE TIME LIMIT USAGE -------- -------- -------- -------2002.149 23:00:00 1100 89 2002.149 22:33:57 1100 89 $HASP9131 JES2 BSCB USAGE HISTORY DATE TIME LIMIT USAGE -------- -------- -------- -------2002.149 23:00:00 42 0 2002.149 22:33:57 42 0 $HASP9131 JES2 BUFX USAGE HISTORY DATE TIME LIMIT USAGE -------- -------- -------- -------2002.149 23:00:00 249 0 2002.149 22:33:57 249 0 $HASP9131 JES2 CKVR USAGE HISTORY DATE TIME LIMIT USAGE -------- -------- -------- -------2002.149 23:00:00 2 0 2002.149 22:33:57 2 0 $HASP9131 JES2 CMBS USAGE HISTORY DATE TIME LIMIT USAGE -------- -------- -------- -------2002.149 23:00:00 208 0 2002.149 22:33:57 208 0 $HASP9131 JES2 CMDS USAGE HISTORY DATE TIME LIMIT USAGE -------- -------- -------- -------2002.149 23:00:00 200 0 2002.149 22:33:57 200 0 $HASP9131 JES2 ICES USAGE HISTORY DATE TIME LIMIT USAGE -------- -------- -------- -------2002.149 23:00:00 101 0 2002.149 22:33:57 101 0 $HASP9131 JES2 JNUM USAGE HISTORY DATE TIME LIMIT USAGE -------- -------- -------- -------2002.149 23:00:00 9999 6
LOW HIGH AVERAGE -------- -------- -------89 89 89 83 90 89 LOW HIGH AVERAGE -------- -------- -------0 0 0 0 0 0 LOW HIGH AVERAGE -------- -------- -------0 0 0 0 7 0 LOW HIGH AVERAGE -------- -------- -------0 0 0 0 0 0 LOW HIGH AVERAGE -------- -------- -------0 0 0 0 0 0 LOW HIGH AVERAGE -------- -------- -------0 0 0 0 0 0 LOW HIGH AVERAGE -------- -------- -------0 0 0 0 0 0 LOW HIGH AVERAGE -------- -------- -------6 6 6
Chapter 5. Command Reference Section
541
$JDHISTORY
2002.149 22:33:57 9999 6 0 6 $HASP9131 JES2 JOES USAGE HISTORY DATE TIME LIMIT USAGE LOW HIGH -------- -------- -------- -------- -------- -------2002.149 23:00:00 200 2 2 2 2002.149 22:33:57 200 2 0 2 $HASP9131 JES2 JQES USAGE HISTORY DATE TIME LIMIT USAGE LOW HIGH -------- -------- -------- -------- -------- -------2002.149 23:00:00 500 6 6 6 2002.149 22:33:57 500 6 0 6 $HASP9131 JES2 LBUF USAGE HISTORY DATE TIME LIMIT USAGE LOW HIGH -------- -------- -------- -------- -------- -------2002.149 23:00:00 151 0 0 0 2002.149 22:33:57 151 0 0 0 $HASP9131 JES2 NHBS USAGE HISTORY DATE TIME LIMIT USAGE LOW HIGH -------- -------- -------- -------- -------- -------2002.149 23:00:00 23 0 0 0 2002.149 22:33:57 23 0 0 0 $HASP9131 JES2 SMFB USAGE HISTORY DATE TIME LIMIT USAGE LOW HIGH -------- -------- -------- -------- -------- -------2002.149 23:00:00 53 0 0 0 2002.149 22:33:57 53 0 0 0 $HASP9131 JES2 TGS USAGE HISTORY DATE TIME LIMIT USAGE LOW HIGH -------- -------- -------- -------- -------- -------2002.149 23:00:00 525 13 13 13 2002.149 22:33:57 525 13 9 13 $HASP9131 JES2 TTAB USAGE HISTORY DATE TIME LIMIT USAGE LOW HIGH -------- -------- -------- -------- -------- -------2002.149 23:00:00 3 0 0 0 2002.149 22:33:57 3 0 0 0 $HASP9131 JES2 VTMB USAGE HISTORY DATE TIME LIMIT USAGE LOW HIGH -------- -------- -------- -------- -------- -------2002.149 23:00:00 24 0 0 0 2002.149 22:33:57 24 0 0 0 $HASP9132 MAIN TASK SAMPLING PERCENT HISTORY DATE TIME COUNT ACTIVE IDLE WAIT L-LOCK -------- -------- ------ ------ ------ ------ -----2002.149 23:00:00 58811 0.23 99.76 0.00 0.00 2002.149 22:33:57 30791 0.29 99.07 0.61 0.00 6 AVERAGE -------2 2 AVERAGE -------6 6 AVERAGE -------0 0 AVERAGE -------0 0 AVERAGE -------0 0 AVERAGE -------13 13 AVERAGE -------0 0 AVERAGE -------0 0 N-DISP PAGING ------ -----0.00 0.00 0.00 0.00
In the $HASP9132 message above, status is one of: v ACTIVE Subtask is active and processing normally. v INITIALIZING Subtask is still completing its initialization processing (or is reinitializing after a failure.) v TERMINATING Subtask is in the process of shutting down. v TERMINATED Subtask has shut down. Alerts are based on the individual subtask and the functions they perform. Alerts include: v AWAITING JES2 The JES2 address space is not active; therefore, the subtask is not performing its normal function. v RECOVERING The subtask has ABENDed and is in the process of recovering. The module information display includes the name of the module, where it is located in the monitor address space, the length of the module (in hex), the date
542
$JDHISTORY
and time the module was assembled, and information on what maintenance was applied to the module.
543
$JDJES
Syntax
$JD JES
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority you assign. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
The following restrictions apply to all monitor commands. They: v Can only be issued through the MVS command interface (consoles or MGCRE) or JES2 automatic commands v Cannot be issued from the JES2 initialization data set, NJE/RJE, $M commands, or through a reader (INTRDR) v Can be the object of a $VS command v Are not limited by CONDEF CMDNUM= v Are not limited by CONDEF DISPMAX= v Support L= for directing the output but do not honor CONDEF RDIRAREA= or REDIRECT= parameters v Cannot use the JES2 command separator, semicolon (;), to separate monitor commands unless it is also the MVS command separator.
Scope
Single member. This response to this command displays information about this member only.
544
$JDJES
Messages
Example
1 $JD JES $HASP9120 D JES $HASP9121 OUTSTANDING ALERTS $HASP9201 JES2 MAIN TASK WAIT DETECTED AT HASPSXIT+01F626 DURATION-000:00:16.39 PCE-COMM EXIT-NONE JOB ID-NONE COMMAND-$TJOBDEF,JOBNUM=3000 $HASP9122 NO INCIDENTS BEING TRACKED $HASP9150 NO JES2 NOTICES
545
$JDMONITOR
Syntax
$JD MONITOR
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority you assign. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
The following restrictions apply to all monitor commands. They: v Can only be issued through the MVS command interface (consoles or MGCRE) or JES2 automatic commands v Cannot be issued from the JES2 initialization data set, NJE/RJE, $M commands, or through a reader (INTRDR) v Can be the object of a $VS command v Are not limited by CONDEF CMDNUM= v Are not limited by CONDEF DISPMAX= v Support L= for directing the output but do not honor CONDEF RDIRAREA= or REDIRECT= parameters v Cannot use the JES2 command separator, semicolon (;), to separate monitor commands unless it is also the MVS command separator.
Scope
Single Member. This response to this command displays of information about this member only.
Messages
Example
1 $JD MONITOR $HASP9100 D MONITOR NAME STATUS ALERTS -------- ------------ -----------------------MAINTASK ACTIVE SAMPLER ACTIVE COMMANDS ACTIVE PROBE ACTIVE $HASP9102 MONITOR MODULE INFORMATION NAME ADDRESS LENGTH ASSEMBLY DATE LASTAPAR LASTPTF
546
$JDMONITOR
-------HASJMON HASJSPLR HASJCMDS -------06C2B000 06C31000 06C2D000 -------00001088 00002838 000030B0 -------------04/13/02 03.05 04/13/02 02.23 04/13/02 02.23 -------NONE NONE NONE -------NONE NONE NONE
Status in the $HASP9100 message is one of: v ACTIVE Subtask is active and processing normally. v INITIALIZING Subtask is still completing its initialization processing (or is reinitializing after a failure.) v TERMINATING Subtask is in the process of shutting down. v TERMINATED Subtask has shut down. Alerts are based on the individual subtask and the functions they perform. Alerts include: v AWAITING JES2 The JES2 address space is not active; therefore, the subtask is not performing its normal function. v RECOVERING The subtask has ABENDed and is in the process of recovering. The module information in the $HASP9102 display includes the name of the module, where it is located in the monitor address space, the length of the module (in hex), the date and time the module was assembled, and information on what maintenance was applied to the module.
547
$JDSTATUS
Syntax
$JD STATUS
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority you assign. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
The following restrictions apply to all monitor commands. They: v Can only be issued through the MVS command interface (consoles or MGCRE) or JES2 automatic commands v Cannot be issued from the JES2 initialization data set, NJE/RJE, $M commands, or through a reader (INTRDR) v Can be the object of a $VS command v Are not limited by CONDEF CMDNUM= v Are not limited by CONDEF DISPMAX= v Support L= for directing the output but do not honor CONDEF RDIRAREA= or REDIRECT= parameters v Cannot use the JES2 command separator, semicolon (;), to separate monitor commands unless it is also the MVS command separator.
Scope
Single member. This response to this command displays information about this member only.
548
$JDSTATUS
Messages
Example
1 $JD STATUS $HASP9120 D STATUS $HASP9121 NO OUTSTANDING ALERTS
Message $HASP9201 indicates that alerts have been issued for JES2. The main task appears to be MVS waiting in JES2 module HASPSXIT and and the current PCE is a $TJOBDEF command.
549
$JSTOP
Syntax
$J STOP
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority you assign. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
The following restrictions apply to all monitor commands. They: v Can only be issued through the MVS command interface (consoles or MGCRE) or JES2 automatic commands v Cannot be issued from the JES2 initialization data set, NJE/RJE, $M commands, or through a reader (INTRDR) v Can be the object of a $VS command v Are not limited by CONDEF CMDNUM= v Are not limited by CONDEF DISPMAX= v Support L= for directing the output but do not honor CONDEF RDIRAREA= or REDIRECT= parameters v Cannot use the JES2 command separator, semicolon (;), to separate monitor commands unless it is also the MVS command separator.
Scope
Single Member. The command effects this member only.
Messages
Example
1 $jstop $HASP9101 MONITOR STOPPING
550
$JSTOP
The JES2 monitor is stopped. JES2 address space restarts the monitor within 32 seconds.
551
$L Job
Syntax
| |
$L Job JOBQ JQ Stc Tsu nn job , ( nn * output job ) mm * mm *
| | | | | | | | | | | |
,CMDauth
,Held
JM JOBMASK
,LONG
,OUTGRPS
,PAGES
,Ready
,RECORDS
, /
CMDauth
= ^=
,Held
| |
, /
JM JOBMASK /
= ^= > <
jobmask
,LONG
,OUTGRPS
,PAGES
| | | |
,Ready
,RECORDS
552
$L Job
Parameters
CMDauth=(auth1{,auth2}) Only the jobs that can be affected from the specified remote(s) or node(s) will be released. The valid specifications are: LOCAL|ANYLOCAL Only the local devices at the local node can affect the output. Nnnnn|nodename Only local devices at the specified node can affect the output. Rnnnn Only the specified remote device can affect the output. NnnnnRnnnn|nodename.Rnnnn Only the specified remote device at the specified remote node can affect the output. destid A destid corresponding to any of the above remote devices. Note: Specification of the CMDAUTH filter does not override the authority of the console from which the command is issued; both the authority of the console and the specified CMDAUTH filter must match for the job to be affected. | | | | HELD Specifies that the $HASP891 message displays all the held job output elements for the specified jobs. When specified as a filter, only jobs matching the specified count of held output elements, regardless of class, are displayed. Held Specifies that the $HASP891 message displays all the held job output elements for one or more specified jobs. JM|JOBMASK=jobmask Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). For a description of wildcards, see Using wildcards on page 98. Notes: 1. This is a positional parameter. Specify this following the job_id (JOB, STC, or TSU) or JOBQ parameter. 2. The JOBMASK parameter is not valid with the jobname parameter. job Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). job The name of the job that is displayed. This name must appear as coded on the JOB statement and must be enclosed in apostrophes. If more than one job exists with this name, no action is taken. Job A batch job or range of batch jobs is to be displayed. | | JOBQ|JQ Specifies all jobs, STCs, and TSUs across the MAS for processing.
Chapter 5. Command Reference Section
553
$L Job
| | | | | | | | | | | | | | | LONG Displays all output information. Only HELD and READY output element counts are displayed if LONG is not specified. PAGES TOTAL Displays or filters the total number of records in all output elements. HELD Displays or filters the total number of records in all held output elements. READY Displays or filters the total number of records in all ready output elements. READY Specifies that the $HASP891 message displays all the ready job output elements for the specified jobs. When specified as a filter, only jobs matching the specified count of ready output elements, regardless of class, are displayed. Ready Specifies that the $HASP891 message displays all the ready job output elements for the specified job(s). | | | | | | | | | | | RECORDS TOTAL Displays or filters the total number of records in all output elements. HELD Displays or filters the total number of records in all held output elements. READY Displays or filters the total number of records in all ready output elements. OUTGRPS Displays the total count of output elements associated with the job regardless of class or hold/ready status. Stc A started task or range of started tasks is to be displayed. Tsu A time-sharing user or range of time-sharing users is to be displayed.
Related Commands
To display a jobs output data set, see the $DO Job command.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
554
$L Job
Processing Considerations
Using the $L command to display output information for a large range of batch jobs, started tasks, or time-sharing users could result in a shortage of console message buffers (CMBS).
Scope
MAS-wide. This command displays information about the entire MAS.
Messages
The $HASP891 message displays the count of output groups.
Examples
1 $l j12 JOB00012 $HASP891 JOB(D15USERC) READY=(A=3),HELD=(NONE) 2 $l j11,h
JES2 displays the count of held output groups for batch job 11.
3 $l j11,ready
JES2 displays the count of ready output groups for batch job 11. | | | | | | | | | | | | |
4 $l j12,long $HASP891 OUTPUT(SMALLOUT) OUTPUT(SMALLOUT) READY=(A=1),HELD=NONE RECORDS=(READY=110,HELD=0), PAGES=(READY=0,HELD=0)
JES2 displays the number of output groups by class, the number of records, and pages associated with output for job 12.
5 $Ljq,outgrps>1000
JES2 displays all jobs that currently have over 1000 output groups associated with them.
555
$Mnn
Parameters
,command Specifies the command to be transmitted. The command is preceded by a comma and enclosed in single quotes. The command will be transmitted as it appears and should be in the same format as it would be if entered from the local console of the receiving system. If the command is a JES2 command, be sure to begin it with the appropriate remote/reader command character (usually a dollar sign) or, optionally, the valid JES2 command character of the receiving system. nn The specific multi-access spool member of this node to which the command is to be sent.
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The values supplied for this command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP000 message indicates the command was accepted.
Example
1 $m 2,$d q $HASP000 OK
A JES2 command to display the number of queued jobs is sent to member 2, acted upon by JES2 in member 2, and the resulting display is transmitted back through the network and appears at the active MCS console of the entry member. If the entry member is not defined as having network authority at member 2, the resulting display includes only a count of those jobs owned by the entry MAS configuration member.
556
$Nnnnn
Parameters
,command Specifies the command to be transmitted. The command is preceded by a comma and enclosed in single quotes. The command will be transmitted as it appears and should be in the same format as it would be if entered from the local console of the receiving system. If the command is a JES2 command, be sure to begin it with the appropriate remote/reader command character (usually a dollar sign) or, optionally, the valid JES2 command character of the receiving system. Note: 1. If one of the commands listed below originates from another node in the network and the operand does not specify a node (first-level destination), the receiving node defaults the first-level destination to the node where the command originated. 2. If one of the commands listed below is sent to another node in the network using the $N command, be aware that the receiving node will default the node (first-level destination) of the operand to the sending node. If another node is desired, specify a destination on the operand that will resolve to the desired node (first level destination) at the receiving node. These rules apply to the following commands and operands: v $COJ,R= v $D F, R= v $D M, D= v $D N, R= v $D N, XMTnnnn v $O J, R= v $POJ,R= v $R, R= v $R, D= v $T O, D= D=Nnnnn|name Identifies the node (by number or installation-defined name) to which the command text is to be sent. nnnn[Mnn] Identifies the node and, optionally, the specific multi-access spool member of that node to which the command text is to be sent.
557
$Nnnnn
Authority Required
This command requires display authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Network-wide. This command only needs to be issued from a single member; the command has an effect across the entire MAS.
Messages
v The $HASP000 message indicates the command was accepted. v The $HASP249 message echoes the command you issued, indicating that the command was received from a remote job entry (RJE) workstation or another JES2 node.
Example
1 $n 2,$d q $HASP000 OK $HASP249 N1 $DQ
A JES2 command to display the number of queued jobs is sent to node 2, acted upon by JES2 in node 2, and the resulting display is transmitted back through the network and appears at the active MCS console of the entry node. If the entry node is not defined as having network authority at node 2, the resulting display includes only a count of those jobs owned by the entry node.
558
Syntax
$N PRTnnnn Rnnnn.PRm ,PRTnnnn ,Rnnnn.PRm
Parameters
PRTnnnn The local printer currently printing the output. Rnnnn.PRm The remote printer currently printing the output.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v For the 3800 printer, JES2 repeats the printing of the output group that is visible at the transfer station. v When you want to print several copies of an output group, wait for the $HASP170 PRINTER REPEATED message to appear between the scheduling of each printing.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP170 message displays the status of output processing on the specified printer.
Example
1 $n prt3 $HASP170 PRT3 REPEATED
When the output currently being printed by printer 3 finishes, JES2 places the output group back on the output queue for reprinting.
559
Syntax
$N PUNnn Rnnnn.PUm ,PUNnn ,Rnnnn.PUm
Parameters
PUNnn The local punch currently punching the output. Rnnnn.PUm The remote punch currently punching the output.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
When you want to punch several copies of an output group, wait for the $HASP170 PUNCH REPEATED message to appear between the scheduling of each punching.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP170 message displays the status of output processing on the specified punch.
Example
1 $n pun2 $HASP170 PUN2 REPEATED
When the output currently being processed on punch 2 finishes, JES2 places the output back on the output queue for repeated punching.
560
$O Job
Syntax
| |
$O Job JOBQ JQ Stc Tsu nn output , ( nn * output output ) mm * mm * , / ALL , / CANcel ,Burst= NO YES
| |
C FCB
=fcb
FLash O
=flash
,Forms=forms
| | | |
,PRIORITY=priority
,PRmode=prmode
,RECORDS=records
,SECLABEL=seclabel
T UCS
=ucs
,USERID=userid
,Writer=writer
, /
CMDauth
= ^=
| |
, /
Age DAys /
> <
days
, /
Hours
> <
hours
, /
JM JOBMASK /
= ^= > <
jobmask
| |
, /
OUTGrp
= ^=
outgrp
, /
PAGES
= ^= > <
pages
, /
PROTected
| |
, /
Queue
= ^=
queue
, /
REBUILD
= ^=
No Yes
, /
RECORDS
= ^= > <
records
561
$O Job
|
, / Routecde / Dest = ^= > < routecde
Parameters
Age|DAys<days | Age|DAys>days Specifies the age of affected output in days. Only output more (with DAYS>nn) or less (with DAYS<nn) than the specified number of days in age are affected, The days are counted from the current hour. ALL The Held output in all classes is released or cancelled. The ALL operand and the Q=keyword are mutually exclusive. | | | Burst={No|Yes} Specifies whether the printed output is to be burst into separate sheets (Yes) or to be in continuous, fanfold mode (No). CANcel JES2 cancels all of the selected held output. Note: If CANCEL is not specified on the $O command, the output will not be deleted, but only released, meaning that it will be moved from the HELD to OUTPUT queue. | | | | | | | | | | | | | | | | | | | | | | CC=(ABEND|ABENDED|CANcelled|CNVT_abend|CODE| COMPleted|ENDed_by_cc|EOM_failure|JCLerror| SECurity_failure|TYPE) Displays the completion information associated with the job. ABENDED Display only jobs which have abnormally ended. ABEND Displays the ABEND code associated with the jobs termination. CANcelled Display only jobs which were cancelled by the operator. CNVT_abend Display only jobs which have abnormally ended during the conversion phase. CODE Displays the last (or highest) completion code of steps in the job. COMPleted Display only jobs which completed. ENDed_by_cc Display only jobs which were ended by a step completion code. EOM_failure Display only jobs which failed in end-of-memory processing. JCLerror Display jobs which did not execute due to a JCL error.
562
$O Job
| | | | | SECurity_failure Display jobs which failed security validation. C|FCB=fcb A 1 to 4 alphameric character or special character ($ # @) identifier for the data set forms control or carriage specifications. CMDauth=(auth1{,auth2}) Only the output that can be affected from the specified remote(s) or node(s) will be released. The valid specifications are: LOCAL|ANYLOCAL Only the local devices at the local node can affect the output. Nnnnn|nodename Only local devices at the specified node can affect the output. Rnnnn Only the specified remote device can affect the output. NnnnnRnnnn|nodename.Rnnnn Only the specified remote device at the specified remote node can affect the output. destid A destid corresponding to any of the above remote devices. Note: Specification of the CMDAUTH filter does not override the authority of the console from which the command is issued; both the authority of the console and the specified CMDAUTH filter must match for the job to be affected. Dest|Routecde=routecde Specifies the destination to which the output should be released. When preceded by a slash (/), it indicates that only held output which has already been routed to this destination should be released. Notes: 1. NODENAME=REQUIRED on the DESTDEF initialization statement will cause JES2 to require that a userid be prefixed with a node name. 2. Greater than (> or >=) and less than (< or <=) filters may be used in conjunction to support route code ranges. For example, you could specify the filters R>=R1,R<=R7 to affect output for all remotes in the range R1 to R7, Note that: v The destination being filtered upon is converted to its binary equivalent prior to the comparison. v When using nodal ranges, a specification of nodename.* must be used. Only the nodal routing of the output will be compared. | | | | | FLASH|O=flash A 1 to 4 alphameric or special character ($ # @) overlay name (FLASH). Forms=forms A 1 to 8 alphameric or special character ($ # @) identifier for the print or punch forms. H|Hours>hours | H|Hours<hours Specifies the age of affected output in hours. Only output more (with HOURS>nn) or less (with HOURS<nn) than the specified number of hours in age are affected.
563
$O Job
JM|JOBMASK=jobmask Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). For a description of wildcards, see Using wildcards on page 98. Notes: 1. This is a positional parameter. Specify this following the job_id (JOB, STC, or TSU), or JOBQ parameter. 2. The JOBMASK parameter is not valid with the output parameter. Job A batch job or range of batch jobs is to be released/cancelled. JOBQ|JQ Specifies all jobs, STCs, and TSUs across the MAS for processing. OUTGrp=outgrp Specifies the job output element(s) that are to be released or cancelled. grpid The 1 to 8 character alphanumeric group ID that is either specified by the user in the JCL or generated by JES2. If you specify only group ID (OUTGRP=grpid) on this command, JES2 releases or cancels all the held job output elements in that group. joeid1 A number assigned by JES2 to distinguish between job output elements within the output group. If you specify only group ID and the first qualifier (OUTGRP=grpid.joeid1) on this command, JES2 releases or cancels all copies of the specified job output element in that group. joeid2 A number assigned by JES2 to distinguish between several copies of grpid.joeid1. If you specify group ID and both qualifiers (OUTGRP=grpid.joeid1.joeid2) on this command, JES2 releases or cancels only the specified copy (joeid2) within the job output element (joeID) in that group. output Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). output The name of the job that is to released/cancelled. This name must appear as coded on the JOB statement and must be enclosed in apostrophes. If more than one job exists with this name, no action is taken. PAGES Only output groups with the specified number of pages are to be released or cancelled. | | | | | PRIORITY=priority The queue selection priority (0-255) assigned to the job output element(s). PRmode=prmode The process mode (1 to 8 alphanumeric characters) for the job output element(s). PROTected Indicates that all specified output groups, including output groups that have
564
$O Job
been specified protected, should be purged. The protected attribute is assigned to programs running in a transactional environment such as APPC or OMVS, where the transaction output is associated with the initiators like ASCHINIT or BPXAS. The protected attribute can also be assigned to jobs by JES2 installation exits. APPC output is always protected. This parameter is only valid when used with the CANCEL parameter. Note: Since the OUTGRP= parameter identifies the output to be cancelled, you do not need to specify PROTECTED with this operand, even for output that is protected. Queue=queue The held output in the specified output class(es) (A-Z and 0-9) is released or cancelled. A maximum of 36 classes may be specified. REBUILD={No|Yes} Output on the rebuild queue is to be released/cancelled (Yes) or not released/cancelled (No). | | RECORDS=records The number of print records associated with the output group. RECORDS=records Only output groups with the specified number of records are to be released or cancelled. | | SECLABEL=seclabel The security label associated with the output group. Stc A started task or range of started tasks is to be released/cancelled. Tsu A time-sharing user or range of time-sharing users is to be released/cancelled. | | | | | | | | | | T|UCS=ucs A 1 to 4 alphanumeric or special character ($ # @) identifier for the universal character set specification. This will also set the character set (CHAR1) to be used on non-impact printers unless the UCS and CHARS values are both assigned to an output data set by a jobs JCL and their values are not equal. USERID=userid The userid associated with the output group. Writer=writer A 1 to 8 alphanumeric or special character ($ # @) writer name assigned to the job output element(s).
Authority Required
This command requires job authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
Once a held output group has been released, the group is no longer available for processing by the TSO/E output command. For more information, see the $HASP686 message in z/OS JES2 Messages.
Chapter 5. Command Reference Section
565
$O Job
Scope
MAS-wide. This command has an effect across the entire MAS.
Messages
THE $HASP686 message is displayed to indicate which output groups were released or cancelled by this command.
Examples
1 $o jpayroll,q=abc,r=r2 $HASP686 $HASP686 $HASP686 $HASP686 OUTPUT(PAYROLL) OUTPUT(PAYROLL) OUTPUT(PAYROLL) OUTPUT(PAYROLL) OUTGRP=1.1.1 RELEASED OUTGRP=8.1.1 RELEASED OUTGRP=9.1.1 RELEASED OUTGRP=24.1.1 RELEASED JOB00213 JOB00213 JOB00213 JOB00213
JES2 releases all held output data sets in classes A, B, and C, that belong to the batch job named PAYROLL, to remote work station 2. Output data sets in other output classes are unaffected.
2 $o jpayroll,q=abc,/r=r2
JOB00213 $HASP686 OUTPUT(PAYROLL) OUTGRP=1.1.1 RELEASED JOB00213 $HASP686 OUTPUT(PAYROLL) OUTGRP=9.1.1 RELEASED
JES2 releases all held output data sets in classes A, B, and C, that belong to the batch job named PAYROLL and currently specify a routing to remote workstation 2. Output data sets in other output classes or destined for other remote work stations are unaffected.
3 $o j1-20,days>2 -or- $o j1-20,hours>48 $HASP686 OUTPUT(REPORT1) OUTGRP=1.1.1 RELEASED $HASP686 OUTPUT(REPORT1) OUTGRP=2.1.1 RELEASED $HASP686 OUTPUT(REPORT2) OUTGRP=1.1.1 RELEASED
JES2 releases all held output that is at least 2 days old for batch jobs 1 through 20.
4 $o jq,q=abjk
JOB00020 $HASP686 OUTPUT(MYJOB) OUTGRP=1.1.1 RELEASED JOB00037 $HASP686 OUTPUT(YOURJOB) OUTGRP=2.1.1 RELEASED
566
$P
Syntax
$P
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
Although JES2 discontinues scheduling of work, it continues to accept new jobs through input devices. The $DMEMBER command will tell you if a $P is in effect.
Scope
Single member. This command will be in effect for this member only. However, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP623 message indicates the member is draining. When all functions are complete, JES2 issues the $HASP099 message.
Example
1 $p $HASP623 MEMBER DRAINING $HASP099 ALL AVAILABLE FUNCTIONS COMPLETE
JES2 discontinues scheduling of work and does not start any new functions.
567
$P I[nnmm]
Syntax
$P I Init nn init , ( nn * init init ) mm * mm *
, /
ASID
= ^= > <
asid
, /
STATUS
= ^=
, /
STC
= ^= > <
stc
Parameters
I[nn[-mm]] Specifies the subscript (1-9999) of the initiator(s) that are stopped after completing their current activity. Notes: 1. If you omit the initiator identification (nnmm), JES2 stops all initiators. 2. JES2 commands do not recognize JES2controlled initiators that are numbered (with subscripts) greater than the PARTNUM= specification on the INITDEF initialization statement. For information about naming initiators, see z/OS JES2 Initialization and Tuning Reference. ASID=asid Specifies the ASID of the initiator to be stopped.
568
$P I[nnmm]
STATUS[=ACTIVE|DRAINED|DRAINING|HALTED| HALTING|INACTIVE|RESTARTING|STARTING] Displays information about JES2-managed devices. Displays the current state of the initiator. Type ACTIVE DRAINED DRAINING HALTED HALTING INACTIVE Meaning A job is active on the initiator. The initiator is drained. The initiator is transitioning to a DRAINED state. The initiator has been halted by a $Z I command. The initiator is transitioning to a HALTED state. The initiator has been started but has not selected a job.
RESTARTING The initiator has terminated abnormally and is in the process of restarting automatically. STARTING The initiator has been started but has not fully initialized yet.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
If JES2 has not received verification of address space creation for the specified initiator, it stops the specified logical initiator; no MVS initiator job is cancelled.
Scope
Single member. The values supplied for this command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP395 message indicates the specified initiator is stopped.
Example
1 $p i3-5 STC00003 $HASP395 INIT ENDED STC00004 $HASP395 INIT ENDED STC00005 $HASP395 INIT ENDED
569
$P I[nnmm]
JES2 stops initiators in the EBCDIC range X'404040F3' to X'404040F5'. JES2 stops initiators 3, 4, and 5 after they complete processing their current jobs, and then frees the associated system resources.
570
$P JES2
Syntax
$P JES2 ,ABEND(,FORCE) ,QUICK ,TERM
Parameters
ABEND JES2 terminates immediately, with one exception, regardless of any JES2 or system activity. The $HASP095 message displays the $PJ2 termination code. The exception occurs if the checkpoint resides on a coupling facility structure and the member is processing a write request. JES2 issues the $HASP552 message and delays the $P JES2,ABEND command until the checkpoint write has completed. Note: If $P JES2, ABEND does not succeed, specify FORCE. FORCE A call is made to the recovery termination manager (RTM) to immediately terminate the JES2 address space. The $HASP095 message displays the $PJF termination code. Use this parameter only if the JES2 main task is not responding to the $P JES2, ABEND. If you enter the FORCE parameter without first attempting a $P JES2,ABEND command, JES2 issues the $HASP553 message and ignores the command until you try the ABEND option. Specifying the FORCE parameter can cause unpredictable results. Note: The $PJES2,ABEND,FORCE command must be specified as a string of characters. Blanks are not permitted within either the command verb or the individual parameters of the command. JES2 JES2 terminates. If $P JES2 does not successfully remove JES2 from the system, specify ABEND or TERM. Note: If JES2 is processing any jobs, or any devices are active, you cannot remove JES2 from the system unless you specify the ABEND or TERM operand. Started RJE and NJE linesalso prevent withdrawal, even if no remotes or NJE nodes are active on those lines. In this case, the JES2 operand is ignored, and the $PJES2 command merely stops JES2 processing (which can be restarted by $S) and drains JES2 work from the system. You may display any activity using the $D A or $D U commands. QUICK JES2 attempts to withdraw cleanly, regardless of any cross-system activity.
Chapter 5. Command Reference Section
571
$P JES2
TERM JES2 terminates but does not terminate active programs and devices. A JES2 hot start will not be permitted. It is recommended that the JES2 address space be terminated prior to bringing down MVS. The preferred method to do this is by a clean shutdown of JES2 using the $PJES2 command. If this is not possible, a $PJES2,TERM should be used. Note: This termination option ensures that track groups are not lost.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v The $P JES2 command deactivates event tracing with the same results as specifying $T TRACEDEF,ACTIVE=N. v After the $P JES2 command completes its processing, you should issue the HALT EOD command if you are planning to turn the system over for software or hardware maintenance. Issuing the HALT EOD command ensures that important statistics and data records in storage are not permanently lost. Refer to z/OS MVS System Commands for further information regarding system action. v You can return JES2 to the system by issuing an MVS START command which invokes a procedure in SYS1.PROCLIB that contains the JCL necessary to start JES2. v Since the QUICK keyword ignores cross-system users while deciding whether to end the JES2 program, those applications (cross-system users) can abnormally end.
Scope
Single member. This command will be in effect for this member only. However, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP085 message indicates JES2 termination is complete. The $HASP607 message indicates that you have attempted to withdraw from the system before all JES2 functions are down. See z/OS JES2 Messages for an explanation of the return codes. If the JES2 main task encountered an error, JES2 issues message $HASP088 to describe the error. Message $HASP198 (an informational message) lists the termination options and precedes the $HASP098 message. The $HASP098 message requests a termination option.
572
$P JES2
The $HASP552 message informs the operator that JES2 is writing to a checkpoint data set; the JES2 member cannot terminate until the checkpoint write has completed. The $HASP553 message informs the operator that a $P JES2,ABEND,FORCE command was entered before attempting a $P JES2,ABEND command. You must specify the $P JES2,ABEND command to bring the JES2 member down.
Examples
1 $p jes2 $HASP085 JES2 TERMINATION COMPLETE
JES2 ends and displays a short dump analysis. Following the analysis, JES2 displays message $HASP198 with termination options from which to choose; JES2 then issues $HASP098 and waits for you to enter a termination option.
3 $p jes2,abend,force $HASP553 $PJES2,ABEND,FORCE COMMAND DENIED. ISSUE THE $PJES2, ABEND COMMAND FIRST
JES2 does not terminate because the FORCE parameter has been entered before attempting the $P JES2,ABEND command.
573
$P Job
Syntax
| |
$P Job JOBQ JQ Stc Tsu nn job , ( nn * job job ) mm * mm *
| |
, /
CMDauth
= ^=
, / ) = ^= > < /
Age DAys
> <
days
| |
, /
Hours
> <
hours
jobmask
JOBMASK
| |
, /
PROTected
, /
Queue
= ^=
CNV INPUT OUT PPU PURGE RCV SETUP SPIN XEQ XMT
| | | |
, /
REBUILD
= ^= ,
No Yes
, / /
SPL SPOOL
=( / /
> <
percent
574
$P Job
|
, / TYPE = ^= JOB STC TSU ,BUSY= YES ANY NO NONE ,CARDS=cards
,Class=class
,OFFS=offs
,SCHENV=schenv
,SECLABEL=seclabel ,Sysaff=member
,DELAY=
YES NO
, /
XEQNode
= ^=
xeqnode
Notes: 1 2 cmdauth can be coded up to 2 times volume can be coded up to 253 times
Parameters
Age|DAys<days | Age|DAys>days Specifies the age of affected jobs in days. Only jobs more (with DAYS>nn) or less (with DAYS<nn) than the specified number of days in age are affected, The days are counted from the current hour. | | | | | | | | | | | | | | | BUSY= Specifies one of the following: v The system name or number on which the job is busy. Note that you can specify a value of 0 to indicate the job is not busy. You can also specify values above 32 to match systems with invalid values in the BUSY value (for example, $PJOBQ,BUSY>32) v YES or ANY, indicating that all busy jobs are to match v NO or NONE, indicating that all non-busy jobs are to match CARDS=cards Specifies the number of input cards associated with the job. CC=(ABEND|ABENDED|CANcelled|CNVT_abend|CODE| COMPleted|ENDed_by_cc|EOM_failure|JCLerror| SECurity_failure|TYPE) Specifies the completion information associated with the job. ABENDED Specifies only jobs which have abnormally ended.
575
$P Job
| | | | | | | | | | | | | | | | | | | | | ABEND Specifies the ABEND code associated with the jobs termination. CANcelled Specifies only jobs which were cancelled by the operator. CNVT_abend Specifies only jobs which have abnormally ended during the conversion phase. CODE Specifies the last (or highest) completion code of steps in the job. COMPleted Specifies only jobs which completed. ENDed_by_cc Specifies only jobs which were ended by a step completion code. EOM_failure Specifies only jobs which failed in end-of-memory processing. JCLerror Specifies jobs which did not execute due to a JCL error. SECurity_failure Specifies jobs which failed security validation. Class=class Specifies the class associated with the job CMDauth=cmdauth Only the jobs that can be affected from the specified remote(s) or node(s) will be released. The valid specifications are: LOCAL|ANYLOCAL Only the local devices at the local node can affect the output. Nnnnn|nodename Only local devices at the specified node can affect the output. Rnnnn Only the specified remote device can affect the output. NnnnnRnnnn|nodename.Rnnnn Only the specified remote device at the specified remote node can affect the output. destid A destid corresponding to any of the above remote devices. Note: Specification of the CMDAUTH filter does not override the authority of the console from which the command is issued; both the authority of the console and the specified CMDAUTH filter must match for the job to be affected. | | | | | | | DELAY={BUSY_ON_HOLD|HOLD|LIMIT|LOCKED| No|QUEUE_ERROR|SCHENV|SECLABEL|SPOOLS_NOT_AVAILABLE|SYSAFF| MEMBER_STATUS|Yes} Specifies reasons why a pre-execution job does not enter execution: BUSY_ON_DEVICE The job does not execute because it is busy on a device (such as an offload job transmitter).
576
$P Job
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Yes Display only jobs which are delayed for any of the above reasons. No Display only jobs which are not delayed for any of the above reasons. H|Hours=hours Specifies the age of affected jobs in hours. Only jobs more (with HOURS>nn) or less (with HOURS<nn) than the specified number of hours in age are affected. HOLD The job does not execute because it is held, its job class is held, or another job with the same jobname is executing. LIMIT The job does not execute because the job class execution limit has been reached (as specified by JOBCLASS XEQCOUNT=(MAX=)). LOCKED The job does not execute because its being updated by JES2. SECLABEL The security label (SECLABEL) assigned to the job is not defined as active on any member that is active. SYSAFF Each of the members for which the job has affinity (SYSAFF) is inactive, or the job has specified independent state, and the JES2 member is not independent (IND=NO). SCHENV The jobs scheduling environment is not available on any member, or is available only on systems where JES2 is inactive. Use the $DJjobname,LONG command to find out what scheduling environment a job requires. Then use the D WLM,SCHENV=schenv-name command to find out the current status of the scheduling environment on each system in the sysplex. The SCHENV state masks other reasons why the job might be ineligible to run, such as the $P and $P XEQ commands having been issued. Also, note that the SCHENV delay is detected only after a job goes through conversion. If a job is delayed prior to conversion because of system affinity requirements, scheduling environments are not considered in determining delay status. MEMBER_STATUS A combination of system affinity, scheduling environment and SECLABEL restrictions is preventing the job from running or other member events prevent the job from running on systems where the job is otherwise eligible. These events on other members include the following: v $P command has been issued v $P XEQ command has been issued v BOSS=NO (used in a poly-JES environment only) When used as a command filter, the string MEMBER_STATUS matches on jobs delayed for SYSAFF, SCHENV, SECLABEL, or MEMBER_STATUS. To get detail on why a job is delayed, display job status with the $DJjobname,LONG command or display member status with the $DJMEMBER(member-name) command.
577
$P Job
| | | | | | | | | | | | | HOLD Specifies the hold status of the job. ALL Specifies jobs held by the $H A command. JOB Specifies jobs held by the $H J command, TYPRUN=HOLD, TYPRUN=JCLHOLD, or held due to error. DUP Specifies jobs held for duplicate job name. ARM Specifies jobs which are held awaiting restart through ARM. NONE Specifies jobs which are not held. JM|JOBMASK=jobmask Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). For a description of wild cards, see Using wildcards on page 98. Notes: 1. This is a positional parameter. Specify this following the job_id (JOB, STC, or TSU) or JOBQ parameter. 2. The JOBMASK parameter is not valid with the jobname parameter. job Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). job The name of the job that is cancelled. This name must appear as coded on the JOB statement and must be enclosed in apostrophes. If more than one job exists with this name, no action is taken. Job A batch job or range of batch jobs is to be cancelled. JOBQ|JQ Specifies all jobs, STCs, and TSUs across the MAS for processing. | | OFFS=offs Specifies offload device numbers on which the job has been archived. PROTected Indicates that all specified output groups, including output groups that have been specified protected, should be purged. The protected attribute is assigned to programs running in a transactional environment such as APPC or OMVS, where the transaction output is associated with the initiators like ASCHINIT or BPXAS. The protected attribute can also be assigned to jobs by JES2 installation exits. APPC output is always protected. Note: Since the OUTGRP= parameter identifies the output to be cancelled, you do not need to specify PROTECTED with this operand, even for output that is protected.
578
$P Job
Queue={CNV|INPUT|OUT|PPU|PURGE|RCV| SETUP|SPIN|XEQ|XMT} Only jobs on the specified job queue are to be purged. CNV Only jobs awaiting conversion are to be cancelled. INPUT Only jobs on the JES2 $INPUT queue are to be cancelled. OUT Only jobs awaiting output processing are to be cancelled. PPU Only jobs awaiting print/punch processing are to be cancelled. PURGE Only jobs awaiting purge processing are to be cancelled. RCV Only jobs on the JES2 $RECEIVE queue are to be cancelled. SETUP Only jobs on the JES2 $SETUP queue are to be cancelled. SPIN Only jobs awaiting spin processing are to be cancelled. XEQ Only jobs awaiting execution are to be cancelled. XMT Only jobs queued for network transmission are to be cancelled. REBUILD={No|Yes} Jobs on the rebuild queue are to be cancelled (Yes) or not cancelled (No). | | | | | | | | | | SCHENV=schenv Specifies the scheduling environment associated with the job. SCHENV_AFF=member Specifies the JES2 MAS members on which the scheduling environment for this job is available. SECLABEL_AFF=member Specifies the JES2 MAS members on which the SECLABEL for this job is available but only if the RACF SECLABEL_BY_SYS is also active. SECLABEL=seclabel Specifies the security label associated with the job. SPL|SPOOL={Percent|%|Tgs|Volumes} Only jobs with specific SPOOL characteristics are to be cancelled: Percent|% Only jobs using more (with %>nn) or less (with %<nn) than the specified percentage of the total available spool space are to be cancelled. Tgs Only jobs using more (with Tgs>nn) or less (with Tgs<nn) than the specified number of track groups are to be cancelled. Volumes=(v1,v2,...) Only jobs which have allocated spool space on the specified spool volume(s) are to be cancelled.
579
$P Job
| | | | | SRVCLASS=srvclass Specifies the service class of the job. The service class is available for batch jobs only. It is not available for started tasks or time-sharing users. The default workload manager (WLM) policy assigns a service class of blanks to all jobs, and WLM-managed initiators can then select such jobs for processing. Stc A started task or range of started tasks is to be cancelled. | | Sysaff=member Specifies the jobs system affinity. Tsu A time-sharing user or range of time-sharing users is to be cancelled. TYPE={JOB|STC|TSU} Indicates whether only batch jobs (JOB), started tasks (STC), or time-sharing users (TSU) are to be cancelled. | | USERID=userid Specifies the userid associated with the job. XEQNode=xeqnode Only jobs which are destined to execute at the specified node, or which have already executed at the specified node, are to be cancelled. The node name may be specified using the decimal node number (Nnnnnn) or an EBCDIC node name.
Related Commands
To purge a jobs output data set, see the $PO Job command.
Authority Required
This command requires job authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MAS-wide. This command has an effect across the entire MAS.
Messages
The $HASP890 message displays the jobs that are to be deleted. If all output has been purged for a specified job, JES2 issues the $HASP250 message to indicate that the job has been purged.
Examples
1 $p jmyjob JOB00002 $HASP890 JOB(MYJOB) $HASP890 JOB(MYJOB) STATUS=(AWAITING EXECUTION),CLASS=A, $HASP890 PRIORITY=9,SYSAFF=(IBM1),HOLD=(NONE), $HASP890 PURGE=YES
580
$P Job
2 $p jobq,q=ppu,days>2 $HASP890 JOB(MYJOB) JOB(MYJOB) STATUS=(AWAITING HARDCOPY),CLASS=A, PRIORITY=1,SYSAFF=(IBM1),HOLD=(NONE), PURGE=YES $HASP890 JOB(D96CLW1A) JOB(D96CLW1A) STATUS=(AWAITING HARDCOPY),CLASS=A, PRIORITY=1,SYSAFF=(IBM1),HOLD=(NONE), PURGE=YES
All batch jobs, STCs, and TSUs awaiting print that are more than two days old are purged from the system.
3 $pj9,age<1
JOB00009 $HASP890 JOB(IE) $HASP890 JOB(IE) STATUS=(AWAITING PURGE),CLASS=A, $HASP890 PRIORITY=1,SYSAFF=(ANY),HOLD=(NONE), $HASP890 PURGE=YES JOB00009 $HASP250 IE PURGED -- (JOB KEY WAS B3FB7D66)
$HASP003 RC=(52), $HASP003 RC=(52),J9-25 - NO SELECTABLE ENTRIES FOUND MATCHING $HASP003 SPECIFICATION
581
$P Lnnnn.xxn
Syntax
$P Lnnnn.JRn Lnnnn.JTn Lnnnn.SRn Lnnnn.STn ,Lnnnn.JRn ,Lnnnn.JTn ,Lnnnn.SRn ,Lnnnn.STn
Parameters
Lnnnn.JRn The job receiver on line nnnn that is stopped. Lnnnn.JTn The job transmitter on line nnnn that is stopped. Lnnnn.SRn The SYSOUT receiver on line nnnn that is stopped. Lnnnn.STn The SYSOUT transmitter on line nnnn that is stopped.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP000 message indicates the command was accepted. Upon completion, the $HASP097 message indicates that the device is drained.
582
$P Lnnnn.xxn
Example
1 $p l3.sr1,l5.jt2 $HASP000 OK $HASP097 SR1 IS DRAINED $HASP097 JT2 IS DRAINED
JES2 stops SYSOUT receiver 1 on line 3 and job transmitter 2 on line 5 after they complete their current activity.
583
$P LINE(nnnn)
Syntax
$P LINE LNE nnnn , ( nnnn * ) nnnn * nnnn *
Parameters
nnnn The subscript defining the RJE or NJE line(s) that are stopped. The subscript may specify a specific value or a range of values. For information about entering a range of values for this subscript, see Syntax Conventions at the front of this chapter.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP880 message displays the current status of the specified lines.
Example
1 $p line(2-*) LINE2 LINE3 LINE4 LINE5 LINE6 LINE7 LINE8 UNIT=0023,STATUS=DRAINED UNIT=0024,STATUS=DRAINED UNIT=0025,STATUS=DRAINED UNIT=0026,STATUS=DRAINED UNIT=0027,STATUS=DRAINED UNIT=0021,STATUS=DRAINED UNIT=0020,STATUS=DRAINED/RMT5 . . $HASP880 $HASP880 $HASP880 $HASP880 $HASP880 $HASP880 $HASP880 .
584
$P LINE(nnnn)
. . . . . . $HASP880 LINE24 UNIT=0C45,STATUS=DRAINED
JES2 stops all defined lines that are numbered 2 and higher after they complete their current activity.
585
$P LOGON(nn)
Syntax
$P LGN LOGON nn , ( nn * ) mm * mm *
Parameters
(nn|mm|*) The subscript defining the JES2/VTAM interface(s) that are stopped. You may specify a single interface using the value of n on the LOGON(n) initialization statement that defines that interface. The subscript can also specify a range of values.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
Sessions that are already established on this interface are allowed to finish normally.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP881 message displays the current status of the specified LOGONs.
Example
1 $p logon1 $HASP881 LOGON1 APPLID=JESA,STATUS=DRAINED
586
$E NETSRV(nnn)
| | | | | | |
Syntax
$P NETsrv NETSERV NSV nn , ( nn * ) mm * mm *
| |
, /
ASID
= ^= > <
asid
, /
NAME
= ^= > <
name
| |
, /
SOCKet
= ^= > <
socket
, /
STACK
= ^= > <
stack
| | | | | | | | | | | | | | | | | | | | | |
Parameters
SOCKET= The name of a local socket upon which the NETSRV should listen. TRaceio=(YES|NO|JES=YES|NO|COMMON=YES|NO|VERBOSE=YES|NO) Displays or filters based on the trace settings of the server. YES Indicates all types of tracing are to be done. NO Indicates no tracing is to be done. JES=YES|NO Indicates whether data and control records passed between JES and TCP/IP are to be traced for this server. COMMON=YES|NO Indicates whether TCP/IP and other services called by IAZNJTCP are to be traced. VERBOSE=YES|NO Indicates whether diagnostic messages are to be issued to the master console and SYSLOG. STACK=(Selection limiting keyword) Displays or filters based on the name of the TCP/IP stack to be used by this server.
587
$E NETSRV(nnn)
| | | | | | | | | | | | | | | | | | | | | | ASID=(Selection limiting keyword) Specifies the hexadecimal address space id associated with the active NETSRV. NAME=(Selection limiting keyword) Specifies the address space name associated with the active NETSRV. The address space name is the subsystem name followed by the character S followed by the 3digit device number, for example, JES2S001.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide
Scope
Single system
Messages
$HASP898
Example
$pnetsrv(2) $HASP898 NETSRV2 STATUS=DRAINING,ASID=0027,NAME=JES2S002 $HASP898 SOCKET=S2,STACK=
588
$P O Job
Syntax
| |
$P O Job JOBQ JQ Stc Tsu nn output , ( nn * output output ) mm * mm * , / ALL
| |
, /
CMDauth
= =
| |
, /
Age DAys /
> <
days
, /
HELD
| |
, /
Hours
> <
hours
, /
JM JOBMASK /
= = > <
jobmask
| |
, /
OUTGrp
= =
outgrp
, /
PAGES
= ^= > <
pages
| | | |
, /
PROTected
, /
Queue
= =
queue
, /
READY
, /
REBUILD
= =
No Yes
, /
RECORDS
= ^= > <
records
589
$P O Job
| |
, /
Dest Routecde /
= = > <
routecde
,Burst=
NO YES
| |
,CC
C FCB
=fcb
FLash O
=flash
=(
| |
,Forms=forms
,HOLD=
OUTDISP
| | | | | | | |
,PRIORITY=priority
,PRmode=prmode
,RECORDS=records
,SECLABEL=seclabel
T UCS
=ucs
,USERID=userid
,Writer=writer
Parameters
Age|DAys<days | Age|DAys>days Specifies the age of affected output in days. Only output more (with DAYS>nn) or less (with DAYS<nn) than the specified number of days in age are affected, The days are counted from the current hour. ALL JES2 cancels the specified jobs output elements based on the presence of filters as follows:
ALL specified? YES YES NO NO Filters? YES NO YES NO Meaning ALL is ignored Command applies to all job output elements belonging to the specified job ALL is not considered Command applies to all job output elements belonging to the specified job
590
$P O Job
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Burst={No|Yes} Specifies whether the printed output is to be burst into separate sheets (Yes) or to be in continuous, fanfold mode (No). CC=(ABEND|ABENDED|CANcelled|CNVT_abend|CODE| COMPleted|ENDed_by_cc|EOM_failure|JCLerror| SECurity_failure|TYPE) Displays the completion information associated with the job. ABENDED Display only jobs which have abnormally ended. ABEND Displays the ABEND code associated with the jobs termination. CANcelled Display only jobs which were cancelled by the operator. CNVT_abend Display only jobs which have abnormally ended during the conversion phase. CODE Displays the last (or highest) completion code of steps in the job. COMPleted Display only jobs which completed. ENDed_by_cc Display only jobs which were ended by a step completion code. EOM_failure Display only jobs which failed in end-of-memory processing. JCLerror Display jobs which did not execute due to a JCL error. SECurity_failure Display jobs which failed security validation. C|FCB=fcb A 1 to 4 alphameric character or special character ($ # @) identifier for the data set forms control or carriage specifications. CMDauth=(auth1{,auth2}) Only the output that can be affected from the specified remote(s) or node(s) will be purged. The valid specifications are: LOCAL|ANYLOCAL Only the local devices at the local node can affect the output. Nnnnn|nodename Only local devices at the specified node can affect the output. Rnnnn Only the specified remote device can affect the output. NnnnnRnnnn|nodename.Rnnnn Only the specified remote device at the specified remote node can affect the output. destid A destid corresponding to any of the above remote devices.
591
$P O Job
Note: Specification of the CMDAUTH filter does not override the authority of the console from which the command is issued; both the authority of the console and the specified CMDAUTH filter must match for the job to be affected. Dest|Routecde=routecde Only those data sets that are to be routed to the specified destination are cancelled. If more than one R= operand is specified, the last one entered is used. For routing specification requirements, see Route codes on page 97. A variety of filters can be used to select a range of routecdes. For example, R>R1, R<=R10. You can also specify wildcards on this parameter. See Using wildcards on page 98. If this command originates from another node in the network and the R= operand does not specify a node (first-level destination), the receiving node defaults the first-level destination to the node where the command originated. If this command is sent to another node in the network using the $N command, be aware that the receiving node will default the node (first-level destination) of the R= operand to the sending node. If another node is desired, specify a destination on the R= operand that will resolve to the desired node (first-level destination) at the receiving node. Notes: 1. NODENAME=REQUIRED on the DESTDEF initialization statement will cause JES2 to require that a userid be prefixed with a node name. 2. Greater than (> or >=) and less than (< or <=) filters may be used in conjunction to support route code ranges. For example, you could specify the filters R>=R1,R<=R7 to affect output for all remotes in the range R1 to R7, Note that: v The destination being filtered upon is converted to its binary equivalent prior to the comparison. v Open-ended ranges (for example, a > filter without a < filter, or a < filter without a > filter) are not allowed. v When using nodal ranges, a specification of nodename.* must be used. Only the nodal routing of the output will be compared. The valid specifications are: LOCAL|ANYLOCAL Indicates that jobs are to be run at the local node. Nnnnn|nodename Indicates that jobs are to be run at the specified node(s). You can specify a node using the decimal node identifier or an EBCDIC nodename. destid Indicates that jobs are to be run at the specified node(s). You can specify this location by an alias for the name of a node. If destid is specified alone, it refers to both the node and the remote. NnnnnRmmmm|node.remote|node.userid Indicates routing to the remote Rmmmm at the node Nnnnn. Rmmmm can also be specified as RMmmmm or RMTmmmm. Ummmm Indicates special local routing.
592
$P O Job
node.destid Indicates a destination at the specified node. The destid refers to both the node and the remote. The node specified in the destid must be the same as the node portion of the route code. If the number of the remote is reassigned, you can use the destid to send to this node. remote Indicates routing to a remote. Remote can be specified in any of the following ways: LOCAL|ANYLOCAL Indicates that jobs are to be run at the local node. Rmmmm Indicates routing to the specified remote. Rmmmm can also be specified as RMmmmm or RMTmmmm. destid Indicates routing to a destid referring to a remote. userid Indicates routing to a valid TSO userid. If the userid ends in *, this route code refers to all userids beginning with the characters that precede the *. Note: Exercise caution when specifying non-local userids that end with *. For example, if you specify NODE2.FRED*, it will cause all output with current route codes NODE2.FREDDY as well as NODE2.FRED* to be purged. * node.* Displays output for all userids at the local node. node.*-node.* | | | | | FLASH|O=flash A 1 to 4 alphameric or special character ($ # @) overlay name (FLASH). Forms=forms A 1 to 8 alphameric or special character ($ # @) identifier for the print or punch forms. HELD Output is HELD if it is destined for this node and the output disposition is HOLD or LEAVE. H|Hours>hours | H|Hours<hours Specifies the age of affected output in hours. Only output more (with HOURS>nn) or less (with HOURS<nn) than the specified number of hours in age are affected. | | | | | | | HOLD Displays the hold status of the job. ALL Display jobs held by the $H A command. JOB Display jobs held by the $H J command, TYPRUN=HOLD, TYPRUN=JCLHOLD, or held due to error. Indicates all output for the local node, including special local, userid, and a remote workstation on the local node.
593
$P O Job
| | | | | | DUP Display jobs held for duplicate job name. ARM Display jobs which are held awaiting restart through ARM. NONE Display jobs which are not held. HOLDRC Only output groups with the specified system hold reason code are to be purged (when HOLD=SYS). JM|JOBMASK=jobmask Specifies 1 to 8alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). For a description of using wildcards, see Using wildcards on page 98. Notes: 1. This is a positional parameter. Specify this following the job_id (JOB, STC, or TSU), or JOBQ parameter. 2. The JOBMASK parameter is not valid with the jobname parameter. Job A Batch job or range of batch jobs is to be cancelled. JOBQ|JQ Specifies all jobs, STCs, and TSUs across the MAS for processing. | | | | | OUTDISP={H|HOLD|K|KEEP|L|LEAVE|P| PURGE|W|WRITE} Indicates that you wish to display the output for the specified job that matches this current disposition. Specify WRITE, HOLD, LEAVE, or KEEP. Note: If you do not specify this parameter, all output with a disposition of WRITE, HOLD, KEEP, or LEAVE will be modified. OUTGrp=outgrp The job output element(s) that are cancelled. grpid The 1 to 8character alphameric group ID that is either specified by the user in the JCL or generated by JES2. If you specify only group ID (OUTGRP=grpid) on this command, JES2 cancels all the held job output elements in that group. joeid1 A number assigned by JES2 to distinguish between job output elements within the output group. If you specify only group ID and the first qualifier (OUTGRP=grpid.joeid1) on this command, JES2 releases or cancels all copies of the specified job output element in that group. joeid2 A number assigned by JES2 to distinguish between several copies of grpid.joeid1. If you specify group ID and both qualifiers (OUTGRP=grpid.joeid1.joeid2) on this command, JES2 releases or cancels only the specified copy (joeid2) within the job output element (joeid) in that group.
594
$P O Job
Note: This parameter is positional. If specified, it must immediately follow the jobid (JOB, STC, TSU), JOBQ or jobname (or JOBMASK if coded) parameter. output Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). output The name of the job that is cancelled. This name must appear as coded on the JOB statement and must be enclosed in apostrophes. If more than one job exists with this name, no action is taken. PAGES Only output groups with the specified number of pages are to be cancelled. | | | | | PRIORITY=priority The queue selection priority (0-255) assigned to the job output element(s). PRmode=prmode The process mode (1 to 8 alphanumeric characters) for the job output element(s). PROTected Indicates that all specified output groups, including output groups for jobs that have been specified protected, should be cancelled. The protected attribute is assigned to programs running in a transactional environment such as APPC or OMVS, where the transaction output is associated with the initiators like ASCHINIT or BPXAS. The protected attribute can also be assigned to jobs by JES2 installation exits. Queue=queue The held output in the specified output class(es) (A-Z and 0-9) is cancelled. A maximum of 36 classes may be specified. The Q= keyword and the ALL parameter are mutually exclusive. READY Output is READY if it is not HELD. REBUILD={No|Yes} Output on the rebuild queue is to be cancelled (Yes) or not cancelled (No). RECORDS=records Only output groups with the specified number of records are to be cancelled. | | | | RECORDS=records The number of print records associated with the output group. SECLABEL=seclabel The security label associated with the output group. Stc A started task or range of started tasks is to be cancelled. Tsu A time-sharing user or range of time-sharing users is to be cancelled. | | | | | T|UCS=ucs A 1 to 4 alphanumeric or special character ($ # @) identifier for the universal character set specification. This will also set the character set (CHAR1) to be used on non-impact printers unless the UCS and CHARS values are both assigned to an output data set by a jobs JCL and their values are not equal.
Chapter 5. Command Reference Section
595
$P O Job
| | | | | USERID=userid The userid associated with the output group. Writer=writer A 1 to 8 alphanumeric or special character ($ # @) writer name assigned to the job output element(s).
Authority Required
This command requires job authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MASwide. This command has an effect across the entire MAS. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP000 message indicates the command was accepted. Upon completion, JES2 issues the $HASP686 message. The $HASP686 message is issued for each output group to be cancelled.
Examples
1 $p o jfred,outgrp=1.1.1 OUTGRP=1.1.1 CANCELLED JOB00012 $HASP686 OUTPUT(FRED)
JES2 cancels all class output in classes B and K destined for DENVER. (DENVER is an installation-defined name, which must equate to one of the valid destination forms.)
4 $p o jobq,q=c,hours>12,days<1
JOB00041 $HASP686 OUTPUT(IEBGENE1) OUTGRP=1.1.1 CANCELLED JOB00042 $HASP686 OUTPUT(IEBGENE1) OUTGRP=3.1.1 CANCELLED
596
$P O Job
JOB00042 $HASP686 OUTPUT(IEBGENE1) OUTGRP=2.1.1 CANCELLED JOB00042 $HASP686 OUTPUT(IEBGENE1) OUTGRP=1.1.1 CANCELLED JOB00043 $HASP686 OUTPUT(IEBGENE1) OUTGRP=3.1.1 CANCELLED
JES2 cancels all class C output that is at least 12 hours old but not more than 1 day old.
5 $poj11-12,hours>0 JOB00011 JOB00012 JOB00012 JOB00011 $HASP686 $HASP686 $HASP250 $HASP250 OUTPUT(IEBANY) OUTGRP=1.1.1 CANCELLED OUTPUT(IEBGENER) OUTGRP=1.1.1 CANCELLED IEBGENER PURGED -- (JOB KEY WAS B3FB7D76) IEBANY PURGED -- (JOB KEY WAS B3FB7D6D)
597
$P OFFn.xx
Syntax
$P OFFn.JR OFFn.JT OFFn.SR OFFn.ST ,OFFn.JR ,OFFn.JT ,OFFn.SR ,OFFn.ST
Parameters
OFFn.JR The offload job receiver that is stopped. n is the number (1-8) of the associated offload device. OFFn.JT The offload job transmitter that is stopped. n is the number (1-8) of the associated offload device. OFFn.SR The offload SYSOUT receiver that is stopped. n is the number (1-8) of the associated offload device. OFFn.ST The offload SYSOUT transmitter that is stopped. n is the number (1-8) of the associated offload device.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v Once the device is stopped, JES2 does not automatically start it when the corresponding offload device (OFFLOADn) is started. You must use the $S command to individually start the device. v If you stop both receivers while the corresponding offload device is still reloading data, JES2 automatically halts the offload device. To stop the reload operation, issue the $P OFFLOADn command. To continue loading, issue a $S OFFn.xR command and then restart the offload device ($S OFFLOADn).
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
598
$P OFFn.xx
Messages
The $HASP000 message indicates the command was accepted. Upon completion, JES2 issues the $HASP097 message to indicate the device has been drained.
Example
1 $p off2.jt,off4.jt $HASP000 OK $HASP097 OFF2 IS DRAINED $HASP097 OFF4 IS DRAINED
JES2 stops the offload job transmitters for offload devices 2 and 4 when they complete their current work.
599
$P OFFLOADn
Syntax
$P ,OFFLOADn
Parameters
OFFLOADn The offload device (1-8) that is stopped.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v This command causes the associated active transmitters and receivers to stop selecting work. v If you issue this command for an offload device that has been halted ($Z) during the receive operation, you may need to issue the $S OFFLOADn command to finish reloading the job that was halted, before the device will stop. v During the receive operation, JES2 automatically stops the offload device when an end-of-file is encountered.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP000 message indicates the command was accepted. Upon completion, JES2 issues the $HASP097 message to indicate the device has been drained.
Example
1 $p offload2 $HASP000 OK $HASP097 OFFLOAD2 IS DRAINED
JES2 stops offload device 2 when it completes its current work and then closes and deallocates the offload data set. The associated transmitters and receivers that are currently active no longer select work.
600
Syntax
$P PRTnnnn Rnnnn.PRm ,PRTnnnn ,Rnnnn.PRm
Parameters
PRTnnnn The local printer that is stopped. Rnnnn.PRm The remote printer that is stopped.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If the printer being stopped is a 3800-1, there is always output remaining in the paperline (that is, between the fuser and the stacker) after JES2 has freed the system resources. The operator should issue a non-process runout to stack this output group. (The non-process runout is issued by depressing the following 3800 keys in succession: STOP, NPRO, and READY.) v If the printer being stopped is a 3800 printer or another channel attached printer operating in FSS mode, the device automatically generates NPRO if it is inactive for a period greater than the NPRO= value on the PRTnnnn statement. However, if NPRO is set to zero, this means that the timer-based NPRO is not to be used, and the operator must issue a non-process runout using the process described above.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
Upon completion, JES2 issues the $HASP097 message to indicate the device has been drained.
601
Example
1 $p prt4,prt6,prt8,prt9 PRT4 PRT6 PRT8 PRT9 IS IS IS IS DRAINED DRAINED DRAINED DRAINED $HASP097 $HASP097 $HASP097 $HASP097
JES2 stops printers 4, 6, 8, and 9 after they complete processing their current work and then frees the associated system resources.
602
Syntax
$P PUNnn Rnnnn.PUm ,PUNnn ,Rnnnn.PUm
Parameters
PUNnn The local punch that is stopped. Rnnnn.PUm The remote punch that is stopped.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
Upon completion, JES2 issues the $HASP097 message to indicate the device has been drained.
Example
1 $p pun1 $HASP097 PUN1 IS DRAINED
JES2 stops punch 1 after it completes processing the current output group and then frees the associated system resources.
603
Syntax
$P RDRnn Rnnnn.RDm ,RDRnn ,Rnnnn.RDm
Parameters
RDRnn The local reader that is stopped. Rnnnn.RDm The remote reader that is stopped.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP097 message is issued after the device has drained.
Example
1 $p rdr1, rdr2, rdr3 $HASP097 RDR1 IS DRAINED $HASP097 RDR2 IS DRAINED $HASP097 RDR3 IS DRAINED
JES2 stops readers 1, 2, and 3 after they complete their current activity and then frees the associated system resources.
604
$P RMT(nnnn)
Syntax
$P RMT nnnn , ( nnnn * ) nnnn * nnnn *
Parameters
nnnn|* The subscript defining the remote terminals that are disconnected. The subscript may specify a specific value or a range of values.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
If the remote terminal is not currently connected, but the operator has issued the $S RMTnnnn command to request its connection, the connection request is cancelled.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP879 message displays the current status of the specified remote terminals.
Example
1 $p rmt20 $HASP879 RMT(20) DEVTYPE=LUTYPE1,STATUS=ACTIVE/LINE16 $HASP210 SESSION LU3770PC LOGGED OFF LINE16 $HASP203 RMT20 DISCONNECTED
605
$P SPOOL
Syntax
$P SPL SPOOL volser volser , ( volser * volser volser ) volser * volser *
Modification keywords
Modification keywords:
,Cancel
, /
Volume
= ^= > <
volume
Parameters
| | | | | | | | | | | | Cancel JES2 cancels all jobs that have used the volume (those jobs that can be cancelled). If any of the jobs being cancelled have data sets residing on another volume, those jobs are also cancelled. JES2 cancels output for non-selectable jobs as well. For the jobs being cancelled, all track groups across all spool volumes are cancelled. If you specify this parameter for an INACTIVE volume, JES2 deletes any work remaining on the volume. This could result in lost spool space on other volumes if the jobs on the volume being cancelled have allocated space on other volumes. All other job resources are recovered. JES2 is able to recover the lost spool space at an all-member warm start if you include SPOOL=VALIDATE as a restart option or automatically within 7 days as provided by the automatic spool reclamation function, whichever occurs first.
606
$P SPOOL
| | If the volume can be remounted, issue the start ($S SPOOL,CANCEL,P) command to prevent the loss of spool space. Volume=volume The volume serial number of the spool volume.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
During the draining process, JES2 moves any spooled messages or JESNEWS to an ACTIVE spool volume. If a spool failure occurs, the operator should be instructed to issue a $Z SPL command for each volume that is in error. This will prevent JES2 from trying to allocate more space from that volume, and from being selected for work (i.e. conversion, execution, and printing). If a member wide warm start is done without the volumes that had errors on them, then JES2 message $HASP424, VOLUME NOT MOUNTED, will be issued followed by JES2 message $HASP853, REPLY GO, QUIT, or PURGE. If the volume is thought to be recoverable at some time, reply GO. This will cause the volume to come up in an inactive state. The jobs that have space allocated from this volume will not be available for work. JES2 will not attempt to use any space from the volume until a $S SPL command is used. If the volume is permanently damaged, reply PURGE to this message. Reply PURGE only if you are absolutely certain that all volumes cannot be recovered. Replying PURGE will cause all jobs with space allocated from that volume to be purged. No messages or warnings will be issued indicating that this happened. You can use the FENCE parameter on the SPOOLDEF initialization statement to define the spooling environment by controlling the partitioning of the spool volumes. This can be a safeguard against spool failure. You use the FENCE parameter to tell JES2 how to partition spool volumes when performing I/O operations. If fencing is turned off, then jobs that have already obtained some spool space when fencing was active will not be fenced. The syntax of the FENCE= keyword is changed to FENCE=(ACTIVE=YES,VOLUMES=nnn) to indicate that all space that a job requires will be allocated from nnn volumes. (FENCE=(ACTIVE=YES,VOLUMES=1) is equivalent to FENCE=YES in prior releases.) These volumes are determined by JES2 as the first available volume from which this job can allocate space. Although, FENCE=(ACTIVE=YES,VOLUMES=nnn) indicates that JES2 will fence to nnn volumes in most cases. However, more than nnn volumes may be used in certain situations (when spool volumes fill or if the job obtains spool space on different systems as it goes through different phases.) JES2 will allocate space from a subsequent volume(s) when, and if, the nnn becomes full. Refer to the FENCE=
607
$P SPOOL
parameter on the SPOOLDEF statement in z/OS JES2 Initialization and Tuning Reference for how to use this parameter. You may also set the FENCE= parameter using the $T SPOOLDEF command. JES2 exits 11 and 12 can be used as an alternative method for limiting the volumes from which a job may allocate space.
Scope
MAS-wide. This command has an effect across the entire MAS.
Messages
If the volume already has a status of DRAINING, JES2 issues the $HASP893 message indicating the status of the volume. When all work on the volume is completed and the volume is deallocated, the $HASP806 message notifies the member on which this command is entered that the volume is drained.
Examples
1 $pspl(spool1) $HASP893 VOLUME(SPOOL1) STATUS=ACTIVE,COMMAND=(DRAIN) $HASP646 39.4285 PERCENT SPOOL UTILIZATION
JES2 cancels all work that can be cancelled on SPOOL2 and then drains the spool volume.
608
$P TRace
Syntax
$P TRace nnn , ( nnn * ) nnn * nnn *
Parameters
| | | | nnn|* The subscript defining the trace ID(s) that are deactivated. The subscript may specify a specific trace identifier or a range of trace identifiers. Trace Identifiers 1-39 have specific meanings that are described in z/OS JES2 Diagnosis. Trace identifiers 40-255 are available for customer use.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. However, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP667 message displays the current status of the specified trace identifier.
Example
1 $ptrace(1) START=NO $HASP667 TRACE(1)
609
$P XEQ
$P XEQ - Prevents JES2 and WLM-controlled initiators from selecting work Function
To prevent JES2 and WLM-controlled initiators from selecting work.
Syntax
$P XEQ
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
$P XEQ stops all JES2 and WLM initiators from selecting new work. Message $HASP222 is displayed while JES2 is in this state. The $S JOB command will continue to run WLM-managed jobs even if a $P XEQ was previously issued. The $DMEMBER command will tell you if a $PXEQ is in effect.
Scope
Single member. The values will be in effect for this member only.
Messages
The $HASP000 message indicates the command has been accepted. The $HASP222 message indicates that no jobs will be selected for execution on this member until a $S XEQ command is issued.
Example
1 $p xeq $HASP000 OK *$HASP222 XEQ DRAINING
JES2 and WLM initiators may not select jobs from the JES2 job queue.
610
$R
Syntax
$R ALL(,Q=C1(...C36)) PRT PUN ,J= J|JOBn S|STCn T|TSUn jobname ,R= LOCAL|ANYLOCAL Nnnnn|nodename destid NnnnnRmmmm Ummmm node.remote node.destid node.* * remote userid
,D=
LOCAL|ANYLOCAL Nnnnn|nodename destid NnnnnRmmmm Ummmm node.remote node.destid node.* * remote userid
,OUTDisp=(outdisp,...)
Parameters
ALL Specifies both print and punch output that is rerouted. PRT Specifies print output that is rerouted. PUN Specifies punch output that is rerouted. Q=c1[...c36] Specifies the class(es) (A-Z and 0-9) of output that is rerouted. You can specify a maximum of thirty-six classes. This parameter is valid only when ALL is specified. J= Specifies jobs for which output is rerouted. J|JOBn Specifies the batch job for which output is rerouted.
611
$R
S|STCn Specifies the started task for which output is rerouted. T|TSUn Specifies the time-sharing user for which output is rerouted. jobname Specifies the name of the job for which output is rerouted. The name must appear as coded on the JOB statement and must be enclosed in apostrophes. If more than one job exists with this name, no action is taken. Note: If you do not code ALL,Q= or OUTDISP= with the J= parameter (in conjunction with the D= parameter), both the routing for that jobs output and the command authority are transferred. R= Specifies the current destination for output that is rerouted. For routing specification requirements, see Route codes on page 97. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. For specification requirements, see Route codes on page 97. If this command originates from another node in the network and the R= operand does not specify a node (first-level destination), the receiving node defaults the first-level destination to the node where the command originated. If this command is sent to another node in the network using the $N command, be aware that the receiving node will default the node (first-level destination) of the R= operand to the sending node. If another node is desired, specify a destination on the R= operand that will resolve to the desired node (first-level destination) at the receiving node. LOCAL|ANYLOCAL Indicates that jobs are routed to the local node. Nnnnn|nodename Indicates that jobs are routed to the specified node(s). You can specify a node using the decimal node identifier or an EBCDIC nodename. destid Indicates that jobs are routed to the specified node(s). You can specify this location by an alias for the name of a node. If destid is specified alone, it refers to both the node and the remote. NnnnnRmmmm|node.remote Indicates routing to the remote Rmmmm at the node Nnnnn. Rmmmm can also be specified as RMmmmm or RMTmmmm. Ummmm Indicates special local routing. node.destid Indicates a destination at the specified node. The destid refers to both the node and the remote. The node specified in the destid must be the same as the node portion of the route code. If the number of the remote is reassigned, you can use the destid to send to this node. node.* Indicates that all output destined for the specified node, including userids, special local, remotes, and destids, is rerouted.
612
$R
* Indicates that all output for the local node, including special local, userid, and a remote workstation are on the local node.
remote Indicates routing to a remote. Remote can be specified in any of the following ways: LOCAL|ANYLOCAL Indicates that jobs are to be run at the local node. Rmmmm Indicates routing to the specified remote. Rmmmm can also be specified as RMmmmm or RMTmmmm. destid Indicates routing to a destid referring to a remote. userid Indicates that output is destined to a valid TSO userid. If the userid ends in *, all output with userids beginning with any characters that precede the * will be rerouted. See Route codes on page 97 for a description of how to specify a userid. Notes: 1. NODENAME=REQUIRED on the DESTDEF initialization statement will cause JES2 to require that a userid be prefixed with a node name. 2. If you do not code ALL,Q= or OUTDISP= with the R= parameter (in conjunction with the D= parameter), both the routing for that jobs output and the command authority are transferred. D= Specifies the new destination to which currently existing output is routed. This does not apply to output groups not yet created. If this command originates from another node in the network and the D= operand does not specify a node (first-level destination), the receiving node defaults the first-level destination to the node where the command originated. If this command is sent to another node in the network using the $N command, be aware that the receiving node will default the node (first-level destination) of the D= operand to the sending node. If another node is desired, specify a destination on the D= operand that will resolve to the desired node (first-level destination) at the receiving node. * Indicates that all output for the local node, including special local, userid, and a remote workstation are on the local node.
For valid specifications, see the list for the R= parameter. Notes: 1. NODENAME=REQUIRED on the DESTDEF initialization statement will cause JES2 to require that a userid be prefixed with a node name. 2. If an output group is interrupted while printing and the destination is changed, the output group will begin printing from the top when it is printed at the new destination. OUTDisp=outdisp Specifies the disposition of output to be rerouted. The valid output dispositions are W|WRITE, H|HOLD, K|KEEP, and L|LEAVE. You can specify as many as four dispositions. Note: If you do not specify this parameter, all output with a disposition of WRITE, HOLD, KEEP, or LEAVE will be rerouted.
Chapter 5. Command Reference Section
613
$R
For further information about this parameter, see Processing Considerations in this command.
Authority Required
This command requires job authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v The $R command changes a jobs output. This command does not apply to jobs on the input, SYSOUT receiver, or purge queue since output has not been created. It will change only the destination of data sets that have already been spun for a job in execution. The remote(s) or node(s) that can issue commands that affect this job will be updated by the $R command unless: You specify the Q= or the OUTDisp= parameter If you specify the R= parameter and it does not match the jobs current command authority. v If you enter this command and the job output element is being processed, wait and reissue the command again. v All output (held and non-held) will be sent to the new network destination as soon as the $R command has been processed.
Scope
MAS-wide. This command has an effect across the entire MAS.
Messages
The $HASP000 message indicates the command was accepted.
Examples
1 $r all,j=j3,d=r6 $HASP000 OK
JES2 reroutes output for batch job 3 to remote workstation 6 off the local node. JES2 transfers the jobs default routing to remote workstation 6. Refer to Processing Considerations above for more details.
2 $r all,r=r3,d=r6
$HASP000 OK
JES2 reroutes output for remote workstation 3 to remote workstation 6 off the local node. If the jobs default print and/or punch is remote workstation 3, JES2 transfers the jobs default print and/or punch routing to remote workstation 6. Refer to Processing Considerations above for more details.
3 $r all,r=r6,d=n3r1,q=a
$HASP000 OK
JES2 reroutes all class A routed output destined for remote workstation 6 to node 3 remote workstation 1. The jobs command authority is unchanged.
614
$R
4 $r all,r=local,outdisp=(w,k),d=n2
$HASP000 OK
JES2 reroutes all ready local output to node 2. The jobs command authority is unchanged.
5 $r all,j=j894,outd=(h,l),d=r3
$HASP000 OK
JES2 reroutes all held output for job number 894 to remote 3. The jobs command authority is unchanged.
6 $r all,r=n3.*,d=n5.*
$HASP000 OK
JES2 reroutes all output for node N3 to node N5. At N5, the output retains the original remote specification.
7 $r all,r=n3,d=n5
$HASP000 OK
JES2 reroutes all local output for node N3 to node N5. At N5, the output will be LOCAL.
8 $r all,r=n3.*,d=n5r6
$HASP000 OK
615
$R XEQ
Syntax
$R XEQ ,J= J|JOBn jobname ,R= LOCAL|ANYLOCAL Nnnnn|nodename destid
,D=
Parameters
D= The new execution node for the specified job(s). All specifications for the R= parameter are valid. J=J|JOBn|jobname The job ID (Jn) or name (jobname) of the batch job that is routed for execution. If you specify jobname, it must appear as coded on the JOB statement and must be enclosed in apostrophes. If more than one job exists with this name, no action is taken. R= All jobs in the system that are supposed to execute on the specified node are routed to the node specified in the D= parameter for execution. The following specifications are valid: LOCAL|ANYLOCAL Indicates that only jobs routed to the local node for execution can be selected. Nnnnn|nodename Indicates that only jobs routed to the specified location through a decimal node identifier from 1 to 32767 or an EBCDIC nodename can be selected for execution. destid Indicates that only jobs routed to the specified location through an alias for the name of a node can be selected for execution. XEQ JES2 routes the specified job(s) to the D= location for execution.
Authority Required
This command requires job authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
616
$R XEQ
Processing Considerations
v To be routed by this command, a job must be owned by the input console and must be on the queue awaiting either conversion, execution, or transmission to another node. v You cannot route remote message data sets, a special type of STC, with the $R command.
Scope
MAS-wide. This command has an effect across the entire MAS.
Messages
The $HASP000 message indicates the command was accepted.
Examples
1 $r xeq,j=myjob,d=denver $HASP000 OK
JES2 routes the job named MYJOB to the node named DENVER for execution.
2 $r xeq,r=n3,d=n4 $HASP000 OK
JES2 routes all jobs in the local system currently scheduled to execute on node 3 to node 4 for execution.
617
$S
Syntax
$S
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T RDI command sets the command authority for internal readers. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP000 message indicates the command was accepted.
Example
1 $s $HASP000 OK
618
$S A
Syntax
$S A, ALL
Parameters
ALL JES2 starts processing any commands that were specified for automatic processing with the $T A command.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP000 message indicates the command was accepted.
Example
1 $s a,all $HASP000 OK
JES2 begins processing any commands that were specified for automatic processing with the $T A command.
619
$S I[vvvv]
Syntax
$S I Init nn init , ( nn * init init ) mm * mm *
, /
ASID
= ^= > <
asid
, /
STATUS
= ^=
, /
STC
= ^= > <
stc
Parameters
ASID=asid The initiator associated with the specific address space is to be started. I[init[-init]] Specifies the subscript (1-9999) of the initiator(s) that are started. Notes: 1. If you omit the initiator identification (vvvv), JES2 starts only those initiators stopped by a prior $Z I or $P I command that also did not specify an identifier. For example, note that if initiator 1 was stopped with the $P I1 command and is later to be restarted, you must issue $S I1; issuing $S I will return message $HASP000 OK, but initiator 1 is not restarted. If JES2 is started with the option START=NO on the INIT statement, a $SI will not be successful. In such case, the $SI command needs to be qualified with a specific or range of initiators like $SI (1*) for example. $SI unqualified will only work if a previous $PI or $ZI was issued.
| | | |
620
$S I[vvvv]
2. JES2 commands do not recognize JES2controlled initiators that are numbered (with subscripts) greater than the PARTNUM= specification on the INITDEF initialization statement. For information about naming initiators, see z/OS JES2 Initialization and Tuning Reference. STATUS[=ACTIVE|DRAINED|DRAINING|HALTED|HALTING |INACTIVE|RESTARTING|STARTING} Initiators in the specified state are to be started. The following types of status can be displayed: Type ACTIVE DRAINED DRAINING HALTED HALTING INACTIVE Meaning A job is active on the initiator The initiator is drained The initiator is transitioning to a DRAINED state The initiator has been halted by the $Z I command The initiator is transitioning to a HALTED state The initiator has been started but has not selected a job
RESTARTING The initiator has terminated abnormally and is in the process of restarting automatically STARTING The initiator has been started but has not fully initialized yet
STC=stc The initiator associated with the specific STC that is to be started.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP892 message indicates the command was accepted. When the initiator starts processing a job from the job classes assigned to it, JES2 issues the $HASP373 message.
Example
1 $s i3 STATUS=STARTING,CLASS=ABC,NAME=3 $HASP892 INIT(3)
Initiator 3 (X'404040F3') begins processing jobs from the job classes assigned to it.
621
$S Job
Syntax
$S Job nn job ( nn job job
Parameters
job Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). For a description of wildcards, see Using wildcards on page 98. job The name of the job that is to be started. This name must appear as coded on the JOB statement and must be enclosed in apostrophes. If more than one job exists with this name, no action is taken. nn A Batch job or range of batch jobs is to be started.
Authority Required
This command requires job authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
The following must all be true for a job to be started by the $S J command: v WLM must be active in GOAL mode; | | v The JOBCLASS associated with this job must be MODE=WLM; v The job must have affinity to an active member and is a boss JES2 (which can start WLM initiators); v The scheduling environment for the job, if any, must be available; v The security label (SECLABEL) assigned to the job must be available if SECLABEL by system is active; v The jobname is not be a duplicate of a job currently in execution (unless DUPL_JOB=NODELAY was specified on the JOBDEF initialization statement).
622
$S Job
If all of these conditions are met, WLM initiates the job on a system where the job is eligible to run. Note: If many jobs are initiated into execution with the $S J command in a short interval (for example, 1 minute), WLM may initiate them on the same system instead of distributing them to multiple systems.
Scope
MAS-wide. This command has an effect across the entire MAS.
Messages
The $HASP890 message is issued to indicate that the job can be started. The $HASP003 message is issued if no jobs are found in the specified range that are eligible to be started.
Example
1 $s j5 JOB00005 $HASP890 JOB(STARTJOB) $HASP890 JOB(STARTJOB) STATUS=(AWAITING EXECUTION),CLASS=A, $HASP890 PRIORITY=1,SYSAFF=(IBM1),HOLD=(NONE)
623
$S Lnnnn.xxn
Syntax
$S Lnnnn.JRn Lnnnn.JTn Lnnnn.SRn Lnnnn.STn ,Lnnnn.JRn ,Lnnnn.JTn ,Lnnnn.SRn ,Lnnnn.STn
Parameters
Lnnnn.JRn The job receiver on line nnnn that is started. Lnnnn.JTn The job transmitter on line nnnn that is started. Lnnnn.SRn The SYSOUT receiver on line nnnn that is started. Lnnnn.STn The SYSOUT transmitter on line nnnn that is started.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
If a transmitter attempts to send a unit of work to a receiving node that has (1) the corresponding receiver drained, (2) the corresponding receiving function drained, or (3) no corresponding receiver, the transmitter will drain. To activate the receiving function, the operator at the receiving end (except for case 3) should start the function ($T NODE,RECEIVE=) or receiver ($S) before the operator at the transmitting end attempts to start the transmitter.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP000 message indicates the command was accepted. If there is work for the line to transmit, JES2 issues the $HASP520 message indicating the job transmitter has begun transmitting the indicated job to another node for execution.
624
$S Lnnnn.xxn
Example
1 $s l1.jt1 $HASP000 OK JOB00015 $HASP520 YOURJOB ON JT1
JES2 starts job transmitter 1 on line 1. If any jobs are waiting for transmission over that line, the job transmitter selects a job and begins transmitting.
625
$S LINE(nnnn)
Syntax
$S LINE LNE nnnn , ( nnnn * ) nnnn * nnnn *
Parameters
nnnn|* The subscript defining the RJE or NJE lines that are started. The subscript may specify a specific value or a range of values.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v To start a line for an SNA remote workstation, you must know how the system programmer defined your RJE network (the terminals and lines) in the JES2 initialization procedure; that is, you must know which workstations can use which lines. Ask the system programmer for this information. v JES2 cannot be withdrawn from the system until all lines are drained (see the $P LINE(nnnn) command).
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP880 message displays the current status of the specified line(s). The $HASP626 message indicates that the unit device has not been specified or is invalid. The $HASP627 message indicates that the unit device has been specified, but is unavailable.
626
$S LINE(nnnn)
Example
1 $s line(1-2) $HASP880 LINE1 UNIT=0C14,STATUS=INACTIVE $HASP880 LINE2 UNIT=SNA,STATUS=INACTIVE
627
$S LOGON
Syntax
$S LGN LOGON nn , ( nn * ) nn * nn *
Parameters
nn|* The subscript defining the JES2/VTAM interface(s) that are started. You may specify a single interface using the value of n on the LOGON(n) initialization statement that defines that interface. The subscript can also specify a range of values.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
Before you can start the JES2/VTAM interface, VTAM must be started and the network must be activated. The network consists of both the network controllers or communication links needed to establish a path to the remote workstation and the physical unit and logical unit associated with the workstation. The network is activated with the VTAM VARY command or automatically if specified in the VTAM network definition. For information on starting VTAM and activating the network, refer to z/OS Communications Server: SNA Operation.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP091 message indicates the access control block (ACB) for LOGON(n) opened successfully and the $HASP881 message displays the current status of LOGON(n).
628
$S LOGON
Example
1 $s logon1 $HASP091 LOGON1 IS ACTIVE $HASP881 LOGON1 APPLID=JESA,STATUS=INACTIVE
JES2 starts the JES2/VTAM interface with the identifier 1, making it available to process connection requests from SNA remote workstations.
629
$S N
Syntax
$S N ,LINEnnnn ,P=password ,N=nodename
Parameters
N Identifies this as a start networking command. LINEnnnn The BSC line with which this system tries to establish an NJE connection. The system attempts to sign on to the system at the other end of the specified line by sending an NJE sign-on record over the line. Notes: 1. If the line is currently signed on for RJE or NJE activity, this command is rejected. 2. Before starting networking on a line that is not dedicated, it is necessary that the line be started from both nodes using a $S LINE(nnnn) command. 3. To enter the password used previously, specify the $S,LINE command. 4. If a dedicated line exists but is drained, it will automatically be started and a connection will be attempted by the $S N,N= command. P=password The password (1 to 8 alphameric characters) used to verify the identity of the node attempting to establish the NJE connection. This password is transmitted in the sign-on record resulting from this command. If you omit this parameter: v The password specified by the PASSWORD=(SEND= ) parameter on the NODE initialization statement (for the node to which JES2 is trying to connect) is used if you specify that nodename on the N= parameter of this command. v If there is no password specified by the PASSWORD=(SEND= ) parameter, the PASSWORD=(VERIFY= ) parameter on the NODE initialization statement (for the local node) is used. v If there is no SEND= or VERIFY= password, no password is used. N=nodename The 1 to 8 alphanumeric or special ($, #, or @) character name of the node through which you can begin networking.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. $T NODE(nnnn) sets the command authority for a node. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
630
$S N
Processing Considerations
v If the $S N command is unsuccessful, enter a $D U command to ensure that the BSC line is started. If it is not started, issue a $S LINE(nnnn) command. If the line is active, issue a $E LINE(nnnn) command to stop the current activity, and then reissue the $S N command. v If this also fails (having been attempted from both nodes, if necessary), drain the line from both nodes using a $P LINE(nnnn) command followed by a $E LINEnnnn command. v Then, start the line from both nodes with a $S LINE(nnnn) command (if dial-up line is used, you will have to re-dial after the $S). v Finally, enter the $S N command from one of the nodes. Note: Each side of the connection must assign the same password for the line used in the connection. For information about establishing a network connection, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS. Note: All the members of the MAS are connected to that node.
Messages
The $HASP000 message indicates the command was accepted. The $HASP200 message indicates the target node name is started on the specified line.
Examples
1 $s n,line6,p=secret $HASP000 OK $HASP200 POK STARTED ON LINE6
JES2 tries to form a network connection with the node (POK) attached by line 6 with a node password of secret.
2 $s n,n=wsc POK NJEDEF OWNNODE=1 NODE(1) NAME=POK NODE(2) NAME=WSC, LINE=20 LINE20 UNIT=017 WSC NJEDEF OWNNODE=2 NODE(1) NAME=POK, LINE=21 NODE(2) NAME=WSC LINE21 UNIT=017
The $S N command is entered from NODE(POK) to begin networking. POKs initialization deck has LINE20 dedicated to node(2) or WSC. Since the node has a dedicated line, the line is automatically started and POK initiates signon processing to establish a connection.
Chapter 5. Command Reference Section
631
$S N
Note: If POKs initialization deck did not dedicate LINE20 to WSC, a $SLINE20 would be needed to start the line before $SN,N=WSC can be issued.
632
$S N
Syntax
$S N ,LINEnnnn ,A=applname ,N=nodename
Parameters
N Identifies this as a start networking command. LINEnnnn The started logical line that is used for the application-to-application session. The physical SDLC line(s) involved are managed by VTAM and the Network Control Program (NCP). If you omit this parameter, JES2 will select an SNA logical line from a pool of available, idle SNA logical lines. At least one SNA line must be available to establish an SNA session. If you specify a currently-used or drained line, the command is rejected. If a line has been dedicated to this application, (LINE= on the APPL statement) or to this node (LINE= on the NODE statement) it will be automatically started and an SNA connection will be established. A=applname The name of the application with which an SNA application-to-application session is started. This name corresponds to the APPLID= value on the LOGON(1) initialization statement at the node with which a session is desired. Note: When a $SN is applid qualified and the applid is not defined but happens to be a known node name, it dynamically adds the applid and then tries to start the connection with that applid. N=nodename The 1 to 8 alphanumeric or special ($, #, or @) character name of the node used to start networking. Use an APPLID= associated with node or dynamically create an application with this nodename.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. $T NODE(nnnn) sets the command authority for a node. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
If a node is a multi-access spool node, each member of that node must be uniquely defined as an application to VTAM and the application names used must be defined to JES2 with APPL initialization statements. APPL initialization statements must be supplied at every node in the network that may initiate SNA sessions with these applications.
Chapter 5. Command Reference Section
633
$S N
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS. Note: All the members of the MAS are connected to that node.
Messages
The $HASP200 message indicates that the NJE node at which this SNA session is requested has correctly identified itself to this JES2 system.
Example
1 $s n,a=wsc SESSION DENVER $HASP200 POK STARTED ON LINE15
This JES2 system tries to initiate an SNA application-to-application session with the application defined to JES2 and VTAM as DENVER.
NJEDEF OWNNODE=1 NJEDEF OWNNODE=2 NODE(1) NAME=POK NODE(1) NAME=POK, NODE(2) NAME=WSC, LINE=21 LINE=20 NODE(2) NAME=WSC LINE20 UNIT=SNA LINE21 UNIT=SNA APPL(POK) NODE=1 APPL(WSC) NODE=2, LOGON1 APPL=POK LOGON1 APPL=WSC ------------------------------------------------------$SLOGON1 ... $SN,N=WSC ... $SLOGON1 ...
At NODE(POK), $SN searches for an APPL that is assigned to node 2. If none is found, APPL(WSC) is created. NODE(WSC) points to LINE20, which is automatically started. The node password is automatically obtained from NODE(WSC). At NODE(WSC), HASPSNA searches for an APPL assigned to node 1. If none is found, APPL(POK) is created. NODE(POK) points to LINE21, which is automatically started.
2 $SN,A=XXXXXX where WASHDC is not defined as applid, but is a valid node name. SNA ,17,0000,
The $SN fails because the applid is not known 087D0001,141001000000002484800000,XXXXXX $DAPPL(XXXXXX) $HASP821 APPL(XXXXXX) 240 $HASP821 APPL(XXXXXX) NODE=38,COMPACT=0,LINE=0,LOGMODE=,
634
$S N
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Syntax
$S N ,LINEnnnn ,SOCKET=socketname ,N=nodename
,S=socketname
Parameters
N Identifies this as a start networking command. LINEnnnn Specifies a logical TCP/IP line (UNIT=TCP) to be used by this network connection. If you omit this parameter, a TCP/IP logical line will be selected from a pool of available or idle TCP/IP lines. At least one TCP/IP line must be available to establish a TCP/IP connection. If a line has been dedicated to this socket (LINE=on the SOCKET statement) or to this node (LINE= on the NODE statement), it will be automatically started and a TCP/IP connection will be established. S=|SOCKET= Specifies the name of a TCP/IP socket with which a NJE connection should be initiated. N=nodename 1-8 alphanumeric or special character name ($, #, or @) of the node can be used to start networking. Use a socket associated with the node.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. $T NODE(nnnn) sets the command authority for a node. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single system
Messages
The $HASP000 message indicates the command was accepted. The $HASP200 message indicates the target node name is started on the specified line.
635
$S N
| | | | | | | | | | | | | | | | | | | | | | | |
Example
This JES2 system tries to initiate an SNA application-to-application session with the application defined to JES2 and VTAM as DENVER.
NJEDEF OWNNODE=1 NJEDEF OWNNODE=2 NODE(1) NAME=POK NODE(1) NAME=POK, NODE(2) NAME=WSC, LINE=21 LINE=20 NODE(2) NAME=WSC LINE20 UNIT=TCP LINE21 UNIT=TCP SOCKET(POK) NODE=1 SOCKET(POK) NODE=1, SOCKET(WSC) NODE=2, IPADDR=POK.IBM.COM, IPADDR=WSC.IBM.COM, PORT=175 PORT=175 SOCKET(WSC) NODE=2 NETSRV1 SOCKET=POK NETSRV1 SOCKET=WSC ------------------------------------------------------$SNETSRV1 ... $SN,S=WSC ... $SNETSRV1 ...
At NODE(POK), $SN searches for a SOCKET that is assigned to node 2. NODE(WSC) points to LINE20, which is automatically started. The node password is automatically obtained from NODE(WSC). At NODE(WSC), HASPTCP searches for a SOCKET assigned to node 1. NODE(POK) points to LINE21, which is automatically started.
636
$S NETSRV(nnn)
| | | | | | |
Syntax
$S NETsrv NETSERV NSV nn , ( nn * ) mm * mm *
| | | | |
Modification keywords
Modification keywords:
,SOCKet=socket
,STACK=stack
| | |
, / SOCKet = ^= > < socket , / STACK = ^= > < stack
| | | | | | | | | | | | | | | | |
Parameters
SOCKET= The name of a local socket upon which the NETSRV should listen. TRaceio=(YES|NO|JES=YES|NO|COMMON=YES|NO|VERBOSE=YES|NO) Specifies whether tracing is to be active, and which types of traces are to be activated for the server. YES Indicates all types of tracing are to be done. NO Indicates no tracing is to be done. JES=YES|NO Indicates whether data and control records passed between JES and TCP/IP are to be traced for this server. COMMON=YES|NO Indicates whether TCP/IP and other services called by IAZNJTCP are to be traced.
637
$S NETSRV(nnn)
| | | | | | | | | | | | | | | | | | | | | | | | | | | | VERBOSE=YES|NO Indicates whether diagnostic messages are to be issued to the master console and SYSLOG. STACK= Specifies the name of a TCP/IP stack to be used by this server. If not specified, all stacks on the local machine will be used. ASID= Specifies the hexadecimal address space id associated with the active NETSRV. NAME= Specifies the address space name associated with the active NETSRV. The address space name is the subsystem name followed by the character S followed by the 3digit device number, for example, JES2S001.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single system
Messages
$HASP898
Example
$s netsrv2 $HASP898 NETSRV2 STATUS=INACTIVE,SOCKET=S2,STACK=
638
$S OFFn.xxn
Syntax
$S OFFn.JRn OFFn.JTn OFFn.SRn OFFn.STn ,OFFn.JRn ,OFFn.JTn ,OFFn.SRn ,OFFn.STn
Parameters
OFFn.JRn The offload job receiver that is started, where n is the number (1-8) of the corresponding offload device. OFFn.JTn The offload job transmitter that is started, where n is the number (1-8) of the corresponding offload device. OFFn.SRn The offload SYSOUT receiver that is started, where n is the number (1-8) of the corresponding offload device. OFFn.STn The offload SYSOUT transmitter that is started, where n is the number (1-8) of the corresponding offload device.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If the offload device is already active, the transmitters and/or receivers start immediately. v You can start only one job receiver, SYSOUT receiver, job transmitter and SYSOUT transmitter for a specific offload device and each must be specified with the corresponding device number. v If you issue the $DU command for the transmitters before the associated offload device is started, it will display their status as STARTABLE.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
639
$S OFFn.xxn
Messages
The $HASP000 message indicates the command was accepted.
Example
1 $s off1.jt,off2.sr $HASP000 OK
JES2 starts the offload job transmitter for offload device 1 and the offload SYSOUT receiver for offload device 2.
640
$S OFFLOADn
Syntax
$S OFFLOADn ,TYPE= TRANSMIT RECEIVE
Parameters
OFFLOADn The offload device (1-8) that is started. TYPE= Specifies the type of operation that the offload device performs. TRANSMIT The offload device is used to transmit jobs and/or SYSOUT from the spool data set to the offload data set. RECEIVE The offload device is used to receive jobs and/or SYSOUT from the offload data set to the spool data set.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If the offload device is already in use on any member in the multi-access configuration, JES2 denies the start and issues the $HASP593 message. v If the corresponding offload data set is already in use by another offload device, JES2 denies the start and issues the $HASP614 message. v When you start an offload device, any associated transmitters/receivers that have been started, become active.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP000 message indicates the command was accepted.
Example
1 $s offload1,type=transmit $HASP000 OK
Chapter 5. Command Reference Section
641
$S OFFLOADn
JES2 starts offload device 1 to transmit jobs and/or SYSOUT from the spool data set to the offload data set.
642
Syntax
$S PRTnnnn Rnnnn.PRm ,PRTnnnn ,Rnnnn.PRm
Parameters
PRTnnnn The local printer that is started. Rnnnn.PRm The remote printer that is started.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP000 message indicates the command was accepted. If work is found, JES2 issues the $HASP150 message indicating that the specified device is starting to process output. If no work is found, JES2 issues the $HASP160 message indicating that the specified device found no work in the queue(s). The $HASP626 message indicates that the unit device has not been specified or is invalid. The $HASP627 message indicates that the unit device has been specified, but is unavailable.
Example
1 $s prt1, r2.pr3 $HASP000 OK
Chapter 5. Command Reference Section
643
644
Syntax
$S PUNnn Rnnnn.PUm ,PUNnn ,Rnnnn.PUm
Parameters
PUNnn The local punch that is started. Rnnnn.PUm The remote punch that is started.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP000 message indicates the command was accepted. If work is found, JES2 issues the $HASP150 message indicating that the specified device is starting to process output. If no work is found, JES2 issues the $HASP160 message indicating that the specified device found no work in the queue(s). The $HASP626 message indicates that the unit device has not been specified or is invalid. The $HASP627 message indicates that the unit device has been specified, but is unavailable.
Example
1 $s pun1,r3.pu2 $HASP000 OK
Chapter 5. Command Reference Section
645
646
Syntax
$S RDRnn Rnnnn.RDm ,RDRnn ,Rnnnn.RDm
Parameters
RDRnn The local system input reader that is started. Rnnnn.RDm The remote reader that is started.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T RDI command sets the command authority for internal readers. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP000 message indicates the command was accepted. The $HASP626 message indicates that the unit device has not been specified or is invalid. The $HASP627 message indicates that the unit device has been specified, but is unavailable.
Example
1 $s rdr1,r4.rd2 $HASP000 OK
JES2 starts local reader 1 and reader 2 at remote workstation 4, making them available to process job streams.
647
$S RMT(nn)
Syntax
$S RMT nn , ( nn * ) nn * nn *
Parameters
nn The subscript defining the remote terminal(s) that are automatically connected. The subscript may specify a specific 1 to 4 digit remote terminal identifier or a range as defined by an RMTnn initialization statement.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v The correct LUNAME= parameter must have been specified on the RMT(nn) initialization statement for the automatic logon to be successful. v The actual logon will take place when needed system resources are available. See z/OS JES2 Initialization and Tuning Reference for further information. v This command is for SNA remote terminals only; remote terminals connected over a BSC line are not supported by automatic logon. BSC remote terminals are started using a control card. See Operators Library: OS/VS2 Remote Terminals (JES2) for more information.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP879 message displays the current status of the specified remote terminal(s).
648
$S RMT(nn)
Example
1 $s rmt(125-127) $HASP879 RMT125 DEVTYPE=LUTYPE1,STATUS=INACTIVE $HASP879 RMT126 DEVTYPE=LUTYPE1,STATUS=INACTIVE $HASP879 RMT127 DEVTYPE=LUTYPE1,STATUS=INACTIVE
JES2 automatically logs on to remote terminals 125, 126 and 127 when the needed system resources are available.
649
$S SPOOL
Syntax
$S SPL SPOOL volser volser ( volser * volser ,Cancel ) , Drain P
,Format
Sysaff=
HALT Z
Parameters
Cancel JES2 cancels all jobs on the volume that can be cancelled and then deletes the volume from the configuration. If you specify CANCEL, you must also specify the P operand to allow JES2 to recover the space on other spool volumes allocated by jobs on the spool volume to be cancelled. Drain|P JES2 brings the new spool volume (if used with FORMAT) or the INACTIVE spool volume into the spool environment with a status of DRAINING. For an INACTIVE spool volume, this allows work to complete without permitting allocation to the spool volume. Format JES2 formats the new spool volume. You need to specify this parameter if you want to reformat a new spool volume that is already formatted or if you want to specify the P or Z operands for a new spool volume. Note: If SYS1.HASPACE has ever been scratched or deleted from the volume, you should specify FORMAT.
650
$S SPOOL
SYSAFF=memberlist JES2 associates the spool volume with the specified member(s). Memberlist is some combination of the following keywords separated by commas. ANY This volume is associated with all members in the JES2 multi-access spool configuration. +|-memname The memnames (1 to 4 characters) to be added to (+) or deleted from (-) the current list of members that this volume is associated with. If neither + nor - is specified, the affinities of the volume is explicitly to the specified members. * specifies the member the command was issued on. HALT|Z JES2 brings the spool volume into the spool environment with a status of INACTIVE. A new volume can also be formatted but allocation of spool space is prevented. volser The volume serial number of the spool volume. The first 4 or 5 characters must be identical to the 4-5 character prefix specified by the VOLUME= parameter on the SPOOLDEF initialization statement. If the specified spool volume is already in use, JES2 issues the $HASP893 message indicating that it is active and allocation is permitted.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
If a spool failure occurs, the operator should be instructed to issue a $Z SPL command for each volume that is in error. This will prevent JES2 from trying to allocate more space from that volume, and from being selected for work (i.e. conversion, execution, and printing). If a member wide warm start is done without the volumes that had errors on them, then JES2 message $HASP424, VOLUME NOT MOUNTED, will be issued followed by JES2 message $HASP853, REPLY GO, QUIT, or PURGE. If the volume is thought to be recoverable at some time, reply GO. This will cause the volume to come up in an inactive state. The jobs that have space allocated from this volume will not be available for work. JES2 will not attempt to use any space from the volume until a $S SPL command is issued. If the volume is permanently damaged, reply PURGE to this message. Reply PURGE only if you are absolutely certain that the volume cannot be recovered. Replying PURGE will cause all jobs with space allocated from that volume to be purged. No messages or warning will be issued indicating that this happened. To lessen the impact of a spool failure, use the SPOOLDEF FENCE=(ACTIVE=YES,VOLUMES=nn)option to specify the number (nn) of volumes to initially allocate for jobs. This can be set at initialization or may be changed through an operator command. This will cause JES2 to allocate all the
Chapter 5. Command Reference Section
651
$S SPOOL
track groups for a job from the specified number of volumes. If spool fencing is not used, JES2 will allocate the track groups for a job from as many spool volumes as it can. Without spool fencing, the loss of one spool volume may affect more jobs in the system than if spool fencing had been used. For more information about spool fencing, see z/OS JES2 Initialization and Tuning Guide. JES2 exits 11 and 12 can be used as an alternative method for limiting the volumes from which a job may allocate space.
Scope
MAS-wide. This command has an effect across the entire MAS.
Messages
The $HASP893 message indicates the command was accepted. The $HASP423 message indicates that an unformatted spool volume is now being formatted.
Examples
1 $sspl(spool1),format,p $HASP893 VOLUME(SPOOL2) STATUS=INACTIVE,COMMAND=(START,FORMAT, $HASP893 DRAIN) $HASP646 2.0952 PERCENT SPOOL UTILIZATION
JES2 formats a new spool volume, spool1, and then drains it.
2 $sspl(spool1),format,z
$HASP893 VOLUME(SPOOL2) STATUS=INACTIVE,COMMAND=(START,FORMAT, $HASP893 HALT) $HASP646 2.0952 PERCENT SPOOL UTILIZATION
JES2 formats a new spool volume, spool2, and then halts it.
3 $sspl(spool3)
JES2 starts a spool volume, spool3. The volume was previously draining.
4 $sspl(spool4),p,cancel
JES2 restarts spool volume spool4, cancels the jobs on it, and then drains the volume.
5 $sspl(spool5),p
JES2 restarts spool volume spool5, and then drains the volume.
6 $sspl(spool6),z
652
$S SPOOL
JES2 restarts spool volume spool6, and then puts it in a halting state.
653
$S TRACE(nn)
Syntax
$S TRace nn , ( nn * ) nn * nn *
Parameters
| | | | | nn The subscript defining the trace ID(s) that are activated. The subscript may specify a specific trace ID or a range of trace IDs. The current range of trace IDs used by IBM are from 1 to 39. Trace IDs 40 to 255 are available for customer use. For more information about specific identifier meanings, see z/OS JES2 Diagnosis.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v Each trace ID may be started independent of the overall trace facility. However, no tracing is done unless the trace facility is also started. See the description of the TRACE facility and the TRACEDEF initialization statement in z/OS JES2 Initialization and Tuning Reference for information about starting the trace facility. v The trace table entries are added to JES2 trace tables as they are generated. These tables are reused if trace logging is not in effect. If trace logging is enabled, then full trace tables are formatted and added to the JES2 event trace log.
Scope
Single member. This command will be in effect for this member only. However, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
654
$S TRACE(nn)
Messages
The $HASP667 message displays the current status of the specified trace IDs.
Example
1 $s trace(1-3) $HASP667 TRACE(1) START=YES $HASP667 TRACE(2) START=YES $HASP667 TRACE(3) START=YES
655
$S XEQ
Syntax
$S XEQ
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
$S XEQ negates a prior $P XEQ (if any) and allows JES2 and WLM initiators to resume selecting new work.
Scope
Single member. The values will be in effect for this member only.
Messages
The $HASP000 message indicates the command has been accepted.
Examples
1 $s xeq $HASP000 OK
JES2 and WLM initiators may now select jobs from the JES2 job queue.
656
$T A
Syntax
$T A ,ALL ,ALL cccc cccc ,I=sssss ,T=hhh.mm ,T=hhh.mm ,I=sssss ,I=sssss ,T=hhh.mm ,T=hhh.mm ,I=sssss ,L= a name name-a ,command(;command)... ,command(;command)... ,command(;command)... ,command(;command)...
Parameters
ALL If you specify ALL without any other parameters except the optional L= parameter, JES2 displays all automatic command entries you are authorized to see. If you specify ALL with additional operands, JES2 modifies all automatic command entries you are authorized to change. cccc The 1 to 4character identifier of an existing automatic command entry or a new entry generated by JES2. If you do not specify any other parameters except the optional L= parameter, and an automatic command entry with the specified identifier already exists, JES2 displays the entry. If you specify cccc with additional parameters, and an automatic command entry with this identifier exists, JES2 modifies the entry. If there is no entry with the specified identifier, JES2 generates one. Notes: 1. If you omit this operand and this is not a display-only request, JES2 assigns an identifier for you. 2. Do not specify an identifier that will cause the $TA command to match any existing JES2 command. For example, $TA LLOG,I=hh.mm,$command, requests an automatic command be created with the identifier LLOG. Similarly, if $TA PPL,I=hh.mm,$command is specified, it will be misinterpreted as a $TAPPL command. I=sssss The time interval, in seconds, at which the specified command(s) are repeated; 10 seconds is the minimum value. Leading zeros may be omitted. The maximum number of seconds is 86,400 (the number of seconds in one day).
Chapter 5. Command Reference Section
657
$T A
If you specify an interval, but do not specify a start time, JES2 assumes an immediate start time, runs the command when entered, and then repeats it continuously at the specified interval. See Processing Considerations below for additional information on how a time or date change affects this parameter. T=hh.mm The time of day, in hours and minutes from the last midnight, that the specified command(s) are issued. The maximum value is 168.59 (168 hours, 59 minutes). A leading zero may be omitted from the hour specification. See Processing Considerations below for additional information on how a time or date change affects this parameter. The following example is set to run at 12:30 am, at an interval of 24 hours.
$T A,T=00.30,I=86400,$VS,I SMF
However, if the above command is given at 13:00, it will be run immediately and repeat every 24 hours. Notes: 1. If you specify a time that is earlier than the current time, and you have specified an interval, the command is issued immediately and is repeated according to the specified time interval. If you specify a time that is earlier than the current time, without specifying an interval, the command is issued immediately and then cancelled. 2. If you specify a time that does not include an hour specification (hh) but only a minute specification (mm), the command is cancelled without being issued. 3. If you modify the system time to an earlier time, the interval is not remembered for more than 168.59 hours (7 days, 59 minutes). command The JES2 command that is automatically issued. Multiple commands must be separated by semicolons (;). Apostrophes within the command text must be doubled, as shown in the following examples. Within a command string, a pair of single quotes is interpreted as one single quote. If the command you wish to enter is: $VS,D A, and you want the command to be issued at 20-second intervals starting at 12:05, you would enter: $TA,I=20,T=12.05,$VS,D A. To issue the MVS SEND command as an automatic command, you would enter: $TA,I=20,T=12.05,$VS,SENDmessage text,USER=(userid). Notes: 1. JES2 verifies the validity of and the authority for these commands at command execution time, not when you issue the $T A command. 2. You can route the response messages associated with these commands by specifying the L= operand within the quotes. L=a|name|name-a The area (a), console name (name), or console name and output area (name-a) of the active MCS console at which the responses to the $T A commands appear. If this operand is omitted, the console of entry is assumed. If the automatic commands are entered through a card reader or an internal reader, console 1 is assumed.
658
$T A
Authority Required
When $T A creates a command element, it requires a console of at least equal authority to reference it with another $T A command. This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command can require control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide. Access level to create an automatic command is always READ. Access level to modify (or cancel) an automatic command depends on whether the requestor created the automatic command. If the requestor created the automatic command, the access level is READ. If not, the access level required is CONTROL.
Processing Considerations
When you code this command, JES2 establishes a starting point (when to begin issuing a command), and an interval (when to repeat a command). Effects on Automatic Commands When Changing the Date or Time When a time or date change occurs, the interval (for example, every 2 hours) remains the same, but the time (for example, 1:00 a.m.) when the command will next be issued is recomputed. Using the example below, several scenarios follow to help you understand the effects of changing the time or date. By issuing the command:
$TA, T=1:00,I=7200,$D LINE 1
the interval is set for an automatic command to be issued every two hours. It is first issued at 1:00 a.m. The next issuance would be at 3:00 a.m. When You Change the Time Backward or Forward: v If, at 1:15 a.m., the clock is set back one hour, making the current time 12:15 a.m., the command will not be issued again at 1:00 a.m., but will be issued at the next interval (two hours beyond 1:00 a.m.), which is 3:00 a.m. v If, at 1:15 a.m., the clock is set ahead two hours, making the current time 3:15 a.m., the command will be issued immediately, at 3:15 a.m., and will be issued again at the next interval (two hours beyond 3:15 a.m.), which is 5:15 a.m. When You Change the Date Backward or Forward: v If the date is changed at 1:15 a.m., from day 200 to day 199, the command will not be issued again at the intervals where the command was already issued. Thus, it wont be issued again until 3:00 a.m. on day 200. v If the date is changed at 1:15 a.m., from day 200 to day 201, the command is issued immediately, then scheduled to be issued again at the next interval, which is 3:15 a.m.
Scope
Single member. This command applies to this member only.
Chapter 5. Command Reference Section
659
$T A
Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP604 message indicates the contents of the command element being created, displayed, modified, or deleted.
Examples
1 $t a,i=90,$du,prt6 T=**.** I= 90 L=01 $DU,PRT6 UNIT=000F,STATUS=DRAINED,BURST=NO,CKPTLINE=0, CKPTMODE=PAGE,CKPTPAGE=100,CKPTSEC=0, CREATOR=,DEVFCB=,FCB=STD3,FORMS=(STD,,,,,,,), FSS=HFAM,JOBNAME=,LASTFORM=STD,LIMIT=(0,*), COPYMARK=DATASET,MARK=NO,MODE=FSS, NEWPAGE=DEFAULT,NPRO=300,PAUSE=NO,PLIM=(0,*), PRESELCT=YES,PRMODE=(LINE),QUEUE=HFAM, RANGE=(J1,32767),ROUTECDE=(LOCAL),SEP=YES, SEPCHARS=DEFAULT,SEPDS=NO,SETUP=HALT,SPACE=, TRACE=NO,TRANS=DEFAULT,TRKCELL=NO,UCS=GT10, UCSVERFY=NO,VOLUME=(,,,),WRITER=, WS=(W,Q,R,PRM,LIM/F,UCS,FCB) $HASP604 ID 2 $HASP603 PRT6 $HASP603 $HASP603 $HASP603 $HASP603 $HASP603 $HASP603 $HASP603 $HASP603 $HASP603 $HASP603 $HASP603
JES2 issues the $HASP604 message in response to the $T A command. JES2 issues the automatic command ($D U,PRT6) every 90 seconds. JES2 issues the $HASP603 message in response to the automatic command.
2 $t a,all $HASP604 ID 2 T=17.29 I= 90 L=CN3D8 $DPRINTDEF $HASP604 ID 1 T=17.30 I= 90 L=CN3E0 $DUPRT6
JES2 displays all the automatic command entries you are authorized to see.
3 $t a,i=90,$du,prt6,1=cn3d8-a,l=b
ID 6 T=**.** I= 90 L=01 $DU,PRT6,1=CN3D8-A $HASP603 PRT6 UNIT=000F,STATUS=DRAINED,BURST=NO,CKPTLINE=0, $HASP603 CKPTMODE=PAGE,CKPTPAGE=100,CKPTSEC=0, $HASP603 CREATOR=,DEVFCB=,FCB=STD3,FORMS=(STD,,,,,,,), $HASP603 FSS=HFAM,JOBNAME=,LASTFORM=STD,LIMIT=(0,*), $HASP603 COPYMARK=DATASET,MARK=NO,MODE=FSS, $HASP603 NEWPAGE=DEFAULT,NPRO=300,PAUSE=NO,PLIM=(0,*), $HASP603 PRESELCT=YES,PRMODE=(LINE),QUEUE=HFAM, $HASP603 RANGE=(J1,32767),ROUTECDE=(LOCAL),SEP=YES, $HASP603 SEPCHARS=DEFAULT,SEPDS=NO,SETUP=HALT,SPACE=, $HASP603 TRACE=NO,TRANS=DEFAULT,TRKCELL=NO,UCS=GT10, $HASP603 UCSVERFY=NO,VOLUME=(,,,),WRITER=, $HASP603 WS=(W,Q,R,PRM,LIM/F,UCS,FCB)
JES2 redirects the response to the $T A command to out-of-line area B at the console where the $T A command was entered. JES2 issues the automatic command ($D U,PRT6) every 90 seconds. JES2 issues the $HASP603 message in response to the automatic command, then redirects this response to out-of-line area A of console CN3D8. Neither $HASP604 nor $HASP603 message ID appears when the response is directed to an out-of-line area.
660
$T A
4 $t a,i=30,$du,rdr1,l=CN3E0 T=16.16 I= 90 L=01 $DURDR1 UNIT=000C,STATUS=DRAINED,AUTH=(DEVICE=NO, JOB=NO,SYSTEM=NO),CLASS=A,HOLD=NO,MSGCLASS=A, PRIOINC=0,PRIOLIM=15,PRTDEST=LOCAL, PUNDEST=LOCAL,SYSAFF=(ANY),TRACE=NO, XEQDEST=LOCAL
JES2 redirects the response the $T A command ($HASP604) to console CN3E0. JES2 issues the automatic command ($d u,rdr1) every 30 seconds. JES2 issues the $HASP603 message in response to the automatic command and redirects this response to console CN3E0. Note: Neither $HASP604 nor $HASP603 message ID appears when the response is directed to an out-of-line area.
661
$T APPL
Syntax
$T APPL aaaaaaaa , ( aaaaaaaa aaaaaaaa ) Selection limiting keywords
Modification keywords
Modification keywords:
,COMPACT=nn
,LINE=nnnn
,LOGMODE=xxxxxxxx
,LOGON=logon
,NODE=
nnnn xxxxxxxx
,REST=nnnn
COMPACT
= ^= > <
nn
LINE
= ^= > <
nnnn
LOGMODE
= ^= > <
xxxxxxxx
LOGON
= ^= > <
logon
NODE
= ^= > <
nnnn xxxxxxxx
, /
STATUS
= ^=
662
$T APPL
Parameters
aaaaaaaa Specifies the 1 to 8alphanumeric or special ($, #, or @) character subscript defining the JES2 application(s) affected by this command. You may specify a particular application name (for example, JES2) or a wildcards to specify a generic name (for example, JES* or *). See Using wildcards on page 98 for additional information. COMPACT=nn The compaction table number (0-99) that is used for outbound compaction in communicating with the specified application(s) at the indicated node. Zero denotes no compaction. | | | | LINE=nnnn The line used for the SNA NJE session associated with this application. To change this parameter, you must ensure that the application is inactive. Valid range is 0-65535. LOGON=logon Specifies the number (1-999) of the local LOGON DCT which should be used when specifying connections to the application. LOGMODE=xxxxxxxx The 1 to 8character name of the logon mode table entry that is used for this VTAM application. A logon mode table entry determines which entry the VTAM application logon mode table uses. If the program participates as the secondary end of a session (SLU), the table entry provides a set of session parameters. This parameter is used only for NJE applications. If it is specified for non-NJE applications, the parameter is ignored. The parameter input should adhere to the VTAM naming conventions for a logon mode table entry name. To change this parameter, the application must be inactive. Default: If you omit the parameter, the system uses the VTAM defaults. NODE=nnnn|xxxxxxxx Specifies the 1 to 8alphanumeric or special ($, #, or @) character symbolic name or number (1-32767) of the node at which the JES2 application is defined to VTAM. Note: The symbolic name must have been specified on the NAME= parameter of the NODE initialization statement for the referenced node, or must have been defined on the DESTID initialization statement. REST=nnnn An integer (0-2000), that represents the resistance rating of the connection as viewed by the installation manager and coordinated with other installations. See z/OS JES2 Initialization and Tuning Reference for details about selecting resistances. STATUS={IN-SESSION|NOT-IN-SESSION|OPNDST-PENDING| OPNSEC-PENDING} The status of current applications: IN-SESSION The application is currently in a session with another application. NOT-IN-SESSION The application is not currently in a session.
663
$T APPL
OPNDST-PENDING The application is in the process of establishing a session with another application. An SNA OPNDST is expected. OPNSEC-PENDING The application is in the process of establishing a session with another application. An SNA OPNSEC is expected.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
If the application is active, you cannot change the specifications.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP821 message displays the current values of all the parameters on the APPL initialization statement.
Example
1 $t appl(jesc),node=4 $HASP821 APPL(JESC) NODE=4,COMPACT=0,LINE=0,LOGMODE=,REST=0
664
$T BUFDEF
Syntax
$T BUFDEF , ,BELOWBUF=( LIMIT=nnnn WARN=nnn )
Parameters
BELOWBUF= The specifications for buffers that reside below 16 megabytes of virtual storage. LIMIT=nnnn The maximum number (10-2000) of buffers that is allowed. You can only increase the limit using this command. WARN=nnn The percentage (0-100) of local buffers used at which the $HASP050 message alerts the operator of a shortage of local buffers. JES2 deletes this message from the console when the resource shortage is relieved (either by a decrease in resource use or an increase in the threshold). Note: If you do not want JES2 to issue a message, specify zero for this parameter. EXTBUF= The specifications for buffers that reside above 16 megabytes of virtual storage. LIMIT=nnnn The maximum number (10-9999) of buffers that is allowed. You can only increase the limit using this command. WARN=nnn The percentage (0-100) of local buffers used at which the $HASP050 message alerts the operator of a shortage of local buffers. JES2 deletes this message from the console when the resource shortage is relieved (either by a decrease in resource use or an increase in the threshold). Note: If you do not want JES2 to issue a message, specify zero for this parameter.
665
$T BUFDEF
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP840 message displays the current values of all the parameters on the BUFDEF initialization statement.
Example
1 $t bufdef,belowbuf=(limit=200,warn=75), extbuf=(limit=225,warn=5) $HASP840 BUFDEF BELOWBUF=(LIMIT=200,WARN=75,FREE=200), EXTBUF=(LIMIT=225,WARN=65,FREE=225)
The WARN value indicates that, when 75% of the local buffers are in use, JES2 issues the $HASP050 message to alert the operator of a local buffer shortage.
666
$T CKPTDEF
Syntax
$T CKPTDEF ,DUPLEX= OFF ON ,MODE= DUAL DUPLEX
,OPVERIFY= No Yes
,RECONFIG=
No Yes ,VERSIONS=(
, NUMBER=number WARN=warn )
ONECKPT=
Parameters
DUPLEX={OFF|ON} Specifies whether this member of the multi-access spool configuration uses the duplexing function. OFF No writes are made to the CKPT2 duplex data set from this member of the multi-access spool configuration. ON CKPT2 is used as a backup of the CKPT1 data set, if MODE=DUPLEX has been specified on the CKPTDEF initialization statement.
667
$T CKPTDEF
Notes: 1. If MODE=DUPLEX has been specified on the CKPTDEF initialization statement, at least one member of the MAS should specify DUPLEX=ON. If no member specifies DUPLEX=ON, an I/O error on the CKPT1 data set is disastrous to your single member or multi-access spool complex if JES2 also fails. It is recommended that all members specify DUPLEX=ON unless CKPT2 must be placed on a volume that may be reserved for other uses. In this case you should limit the number of members specifying DUPLEX=ON to avoid availability problems. 2. If MODE=DUPLEX and only one of the CKPTn data sets is marked INUSE=YES, DUPLEX=ON is not allowed. If you try to set DUPLEX=ON, JES2 issues the $HASP288 message and forces DUPLEX to OFF. 3. If MODE=DUAL, JES2 does not use the value assigned to the DUPLEX= parameter. If any CKPT data sets are defined as being on CF (CKPT1, CKPT2, NEWCKPT1, NEWCKPT2) then the mode must be DUPLEX and it cannot be altered. If both checkpoint data sets are in use, to change to DUAL mode, all active members must have DUPLEX=ON. If any member is DUPLEX=OFF, the command will fail with a $HASP003 message. Scope: Single Member. MODE=DUAL|DUPLEX Specifies whether the multi-access spool configuration will use the data set defined by CKPT2= as the alternate primary checkpoint data set (DUAL) or as the backup to the CKPT1 data set (DUPLEX). DUAL Specifies that the data set specified by CKPT2 be used as the alternate primary checkpoint data set. The two data sets, specified by CKPT1= and CKPT2= are used in a flip-flop alternating scheme. (Refer to z/OS JES2 Initialization and Tuning Guide for a further discussion of DUAL mode processing.) If any checkpoint data set resides on a coupling facility (STRname= is coded for CKPT1, CKPT2, NEWCKPT1, or NEWCKPT2), JES2 forces the MODE= parameter to DUPLEX. DUPLEX Specifies that the data set specified by CKPT2 be used as the backup to the primary checkpoint data set. The data set specified by CKPT1= is the primary checkpoint data set and the data set specified by CKPT2= is the backup (duplex) checkpoint data set. (Refer to z/OS JES2 Initialization and Tuning Guide for a further discussion of DUPLEX mode processing.) Notes: 1. If you specify MODE=DUAL, the DUPLEX= specification is ignored. 2. If you specify MODE=DUPLEX and DUPLEX=OFF for a specific member of the multi-access spool configuration, that member will neither use nor allocate a backup (CKPT2=) checkpoint data set. 3. If you specify MODE=DUPLEX and DUPLEX=ON for a specific member of the multi-access spool configuration, that member will use the data set defined by CKPT2= as the backup checkpoint data set.
668
$T CKPTDEF
4. The MODE= parameter must be specified the same for all members of the multi-access spool configuration. 5. The MODE= parameter can be changed through Operator Command. Performance Considerations: If you specify MODE=DUAL on CKPTDEF, also specifying HOLD=99999999 on the MASDEF statement causes performance degradation. If you must use HOLD=99999999 on MASDEF, be certain to also specify MODE=DUPLEX on CKPTDEF. NEWCKPTn=(DSName=dsname)|(STRname=strname)|VOLser=volser) Specifies the alternate checkpoint data sets that can be used to replace the CKPTn data sets. Should either CKPTn data set experience a failure or otherwise become unavailable, NEWCKPT1 could replace CKPT1 and NEWCKPT2 could replace CKPT2. The DSNAME= parameter and the VOLSER= parameter are mutually exclusive with the STRNAME= parameter. To remove the value for this parameter without specifying a replacement, specify null values:
$T CKPTDEF,NEWCKPT1=(DSN=,VOL=)
-or$T CKPTDEF,NEWCKPT1=(STR=)
DSName=dsname The (1 to 44 character) name of the NEWCKPTn data set. STRname=strname Specifies the 1 to 16 character name of the coupling facility structure to be used as a checkpoint data set. This structure must have been defined in the coupling facility policy. The name can contain numeric, uppercase alphabetic, dollar sign ($), at sign (@), pound sign (#), or underscore (_) characters. You cannot specify the same STRNAME= subparameter for the NEWCKPTn= parameter as that on the CKPTn parameter; the coupling facility does not allow the CKPTn structure name to be forwarded to the NEWCKPTn structure name. VOLser=volser The volume serial number on which the data set specified by DSName resides. Although it is not a system requirement that all four checkpoint data sets (CKPT1, CKPT2, NEWCKPT1, NEWCKPT2) reside on separate volumes, it is strongly recommended that at least CKPT1 and CKPT2 reside on their own volumes. Notes: 1. Although it is not a system requirement that you predefine the NEWCKPTn data sets (either on the CKPTDEF initialization statement or using the $T CKPTDEF command), it is recommended that you do so for ease of use. If you issue the $T CKPTDEF,NEWCKPTn=... command on any one member in the multi-access spool configuration and wait a sufficient length of time (based on the individual systems HOLD= specifications), that change is reflected across all active members through the CKPTn data set(s). 2. If you do not predefine the NEWCKPTn data sets, you may dynamically define them when and if needed during the reconfiguration dialog. 3. If you change the NEWCKPTn values (either using the $T CKPTDEF command or during the dialog) and then warm start JES2, the values of
Chapter 5. Command Reference Section
669
$T CKPTDEF
NEWCKPTn in the CKPTn data set(s) are used instead of those specified on the CKPTDEF initialization statement (unless PARM=RECONFIG was specified, in which case the values from the CKPTDEF statement are used). Scope: MAS-Wide. OPVERIFY=[No|Yes] Displays whether (Yes) or not (No) JES2 prompts the operator during a JES2-initiated I/O error checkpoint reconfiguration to verify or alter the default reconfiguration action. JES2 propagates this parameter specification to all members in the MAS. OPVERIFY has no meaning for a checkpoint reconfiguration entered for any other reasons. No Suppresses operator verification during the checkpoint reconfiguration dialog. JES2 takes the following default reconfiguration actions: v For message $HASP273, JES2 replaces the checkpoint data set with its replacement data set defined on the NEWCKPTn parameter of the CKPTDEF statement. v For message $HASP278, when JES2 cannot locate the specified replacement checkpoint data set, JES2 automatically creates one. This new checkpoint data set can always be defined on DASD, but if you require that it be a new coupling facility structure, JES2 can only create it if you previously defined the coupling facility resource management (CFRM) policy. JES2 cannot dynamically create a CFRM policy even if the original checkpoint was defined as a coupling facility structure. Refer to z/OS MVS Setting Up a Sysplex for information on how to define a CFRM policy. Yes JES2 prompts the operator during the checkpoint reconfiguration when entered by JES2 for I/O errors only to respond to message pairs $HASP273 and $HASP272 or $HASP278 and $HASP272. Scope: MAS-Wide. RECONFIG={No|Yes} Specifies whether JES2 should enter the checkpoint reconfiguration dialog. No JES2 does not enter the checkpoint reconfiguration dialog. Yes JES2 enters the checkpoint reconfiguration dialog so that you can supply the information needed for the checkpoint data set specifications. The dialog allows you to allocate an existing backup data set, create a new data set to replace the checkpoint data set currently in use, or suspend the use of a data set. No other JES2 processing is done during a checkpoint reconfiguration dialog. If you specify RECONFIG=Y, you must not specify any other operands on the $T CKPTDEF command because: v Those modifications are not reflected on any other member in the MAS configuration. v When JES2 command processing is unable to accept commands, JES2 can still process the $TCKPTDEF,RECONFIG=Y command if no other operands are specified on the command. The command must be entered in one of the following formats for it to be accepted: accepted:
670
$T CKPTDEF
$TCKPTDEF,RECONFIG=Y $TCKPTDEF,RECONFIG=YES $T CKPTDEF,RECONFIG=Y $T CKPTDEF,RECONFIG=YES No other operands, blanks, or comments can be entered with the command string. Scope: MAS-Wide. VERSIONS=(NUMBER=nn|WARN=mmm) Indicates modification to the checkpoint versioning parameter. NUMBER=nn Changes the maximum number (2-50) of versions of the checkpoint data set that JES2 maintains. Too low a number could result in an application program having to use a copy that does not contain the most recent checkpoint data. Default: Set by JES2 WARN=mmm Changes a percent (0-100) usage threshold of versions of the checkpoint data set. When the percentage of checkpoint data versions reaches this threshold, the operator is alerted with the message $HASP050 JES2 RESOURCE SHORTAGE. If you specify 0, no alert is given. Default: Set by JES2 Scope: Single Member. VOLATILE= Specifies how JES2 should respond when a checkpoint data set that resides on a coupling facility enters the state where, if power to the coupling facility is lost, all data on the coupling facility is lost. This parameter does not apply when a coupling facility structure becomes volatile during the checkpoint reconfiguration dialog. Before modifying this parameter, consult with your systems programmer and refer to z/OS JES2 Initialization and Tuning Guide. ALLCKPT= Specifies the action that should be taken if all available checkpoint data sets (INUSE=YES) reside on coupling facilities that become volatile (unstable). If only one checkpoint resides on a coupling facility, JES2 uses the ALLCKPT subparameter setting. DIALOG Specifies that JES2 enters the checkpoint reconfiguration dialog. IGNORE Specifies that JES2 ignores when a coupling facility becomes volatile (unstable). WTOR Specifies that JES2 issues a WTOR so the operator can determine whether to suspend or continue use of the checkpoint(s) that reside on coupling facility structure(s).
671
$T CKPTDEF
ONECKPT= Specifies the action taken if the coupling facility on which a checkpoint data set resides becomes volatile (unstable). JES2 uses the ONECKPT= subparameter settings if: v Only one of the two checkpoint data sets resides on a coupling facility structure and that coupling facility becomes volatile. v Both checkpoint data sets reside on a coupling facility, but only one becomes volatile. DIALOG Specifies that JES2 enters the checkpoint reconfiguration dialog. IGNORE Specifies that JES2 ignores when the coupling facility becomes volatile (unstable). WTOR Specifies that JES2 issues a WTOR so the operator can determine whether to suspend or continue use of the checkpoint that resides on a coupling facility structure. Scope: Single member.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
If JES2 is currently in the checkpoint reconfiguration dialog, the $T CKPTDEF command is not accepted. JES2 issues the $HASP003 message with RC=30, which indicates the device change request is prohibited.
Scope
The scope of this command varies by parameter. See the description of each parameter for its scope. The values supplied for some parameters on this command will be in effect across the entire MAS, while the values supplied for other parameters will be in effect for this member only. Depending on your installations setup, you might want the parameters for this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP829 message displays the current values of all the parameters on the CKPTDEF initialization statement.
672
$T CKPTDEF
Example
1 $t ckptdef,newckpt1=(dsn=sys1.replace1,vol=j2com1), newckpt2=(dsn=sys1.replace2,vol=j2com1)
$HASP829 CKPTDEF CKPT1=(DSNAME=SYS1.JESCKPT1,VOLSER=DATA1, $HASP829 INUSE=YES,VOLATILE=NO), $HASP829 CKPT2=(DSNAME=SYS1.JESCKPT2,VOLSER=DATA1, $HASP829 INUSE=YES,VOLATILE=NO), $HASP829 NEWCKPT1=(DSNAME=SYS1.REPLACE1,VOLSER=J2COM1), $HASP829 NEWCKPT2=(DSNAME=SYS1.REPLACE2,VOLSER=J2COM1), $HASP829 MODE=DUAL,DUPLEX=ON,LOGSIZE=4,APPLCOPY=NONE, $HASP829 VERSIONS=(STATUS=INACTIVE,NUMBER=2,WARN=80, $HASP829 MAXFAIL=0,NUMFAIL=0,VERSFREE=2,MAXUSED=0), $HASP829 RECONFIG=NO,VOLATILE=(ONECKPT=WTOR, $HASP829 ALLCKPT=WTOR),OPVERIFY=YES
If the data set and/or volume, on which CKPT1 resides, has a failure, JES2 assigns CKPT1 to the SYS1.REPLACE1 data set on volume J2COM1. If the data set and/or volume on which CKPT2 resides has a failure, JES2 assigns CKPT2 to the SYS1.REPLACE2 data set on volume J2COM1.
673
$T CKPTSPACE
Syntax
$T CKPTSPACe ,BERTNUM=bertnum ,BERTWARN=bertwarn
Parameters
BERTNUM=bertnum The number (200500000) of BERT (Block Extent Reuse Table) entries defined in the checkpoint. The lower limit when decreasing this value is based on the number of JQEs defined on the system. In addition, you cannot decrease it below the number of BERTs that are in use. For example, if BERT 23176 is the highest BERT in use, then 23177 is the lowest you can reduce BERTNUM to. This is true even if 23175 is not currently in use. Specifying a value that is too low will result in a HASP003 message with the lowest valid value displayed. BERTWARN=bertwarn The threshold of BERT utilization at which the $HASP050 message should be issued. The valid range is 1 to 100.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MAS-wide. The command has an effect across the entire MAS.
Messages
The $HASP852 message displays the current values of all the parameters on the CKPTSPACE initialization statement.
Example
1 $t ckptspace,bertnum=6100 $HASP852 CKPTSPACE BERTNUM=6100,BERTFREE=6014,BERTWARN=80, $HASP852 CKPT1=(CAPACITY=168,UNUSED=3), $HASP852 CKPT2=(CAPACITY=168,UNUSED=3)
674
$T CONDEF
Syntax
$T CONDEF ,BUFNUM=nnnn ,BUFWARN=nnnn ,CMDNUM=nnnn
,CONCHAR=c
,DISPLEN=nnn
,DISPMAX=nnnnnnnnnn
,MASMSG=nnn
,RDIRAREA=c
,RDRCHAR=c
Parameters
BUFNUM=nnnn The BUFNUM parameter specifies the number (4-9999) of console message buffers to be provided for JES2 from private storage (above 16-megabytes in virtual storage). The value specified for BUFNUM will be rounded up to the next page boundary to take advantage of available storage. You can only increase the limit using this command. BUFWARN=nnnn The percentage (0-100) of console message buffers used at which the $HASP050 message alerts the operator of a shortage of console message buffers. JES2 deletes this message from the console when the resource shortage is relieved (either by a decrease in resource use or an increase in the threshold). Note: If you specify 0, no alert is given. CMDNUM=nnnn The CMDNUM parameter specifies the maximum number (4-9999) of console message buffers to be allocated from common storage for JES2 command processing. CONCHAR=c A single character used to identify JES2 commands from MCS consoles. The specification must be one of the following characters:
| % @ : . $ + / ? # = [ _ ] ( ! * & "
Note: To use the MVS ROUTE *ALL command to expand the scope of a command, each member of the MAS must have the same CONCHAR character. DISPLEN=nnn The display length (50-70) that is used for the displays and error message processing of: v All initialization statements
675
$T CONDEF
v Those commands processed by $SCAN (most of those commands are the $D and $T commands for initialization statement parameters) v The $DU command. The main purpose of the DISPLEN= parameter is to control message wrapping on MCS consoles. You should set it to a value that takes into account the MFORM value used for most MCS consoles in your installation. The value 64 is appropriate for single MFORM options, such as MFORM=(J). The minimum value of 50 is appropriate for two MFORM options, such as MFORM=(J,T). DISPMAX=nnnnnnnnnn The maximum number (10-2147483647) of lines that JES2 displays for those requests processed by the $SCAN facility. Those requests include initialization parameters and the $T and $D commands for initialization parameters. Note: The DISPMAX= parameter is not honored when any of the following occur: v Output is displayed for error conditions. v Output is destined for an out-of-line area on the MCS console. v A command is issued with the explicit L= keyword specifying an out-of-line area. MASMSG=nnn The maximum number (10-999) of messages or commands that are queued between any two members of a multi-access spool configuration. Messages or commands exceeding this number are discarded. RDIRAREA=c This parameter specifies the default console out-of-line area which JES2 uses to direct display responses for commands subject to redirection. All redirectable commands which do not use either an L= or do not have redirection set up on the issuing console for that command have their responses directed to the RDIRAREA specification. Default: If RDIRAREA is not specified, JES2 uses a default console area specification of Z. RDRCHAR=c The character used to identify all JES2 operator commands entered from a local or remote card reader. The specification must be one of the following characters:
| % @ : . $ + / ? # = [ _ ] ( ! ) & * "
Notes: 1. The RDRCHAR value may be the same as that specified for the CONCHAR parameters on the CONDEF initialization statement. 2. If you change this parameter to a value other than its default ($), the command control statement varies from the format given in z/OS MVS JCL Reference.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned.
676
$T CONDEF
This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP830 message displays the current values of all the parameters on the CONDEF statement.
Examples
1 $t condef,masmsg=300,rdrchar=% $HASP830 CONDEF AUTOCMD=20,CONCHAR=$,BUFNUM=200,CMDNUM=100, $HASP830 BUFFREE=200,BUFWARN=80,MASMSG=300,RDIRAREA=Z, $HASP830 RDRCHAR=%,SCOPE=SYSTEM,DISPLEN=64,DISPMAX=100
JES2 queues a maximum of 300 messages between any two members of a multi-access spool configuration. All commands entered from a local or remote card reader that begin with a percent sign (%) are identified as JES2 commands.
2 $t condef,bufnum=9998
The number of console message buffers to be provided has been increased. Note that the value specified for BUFNUM has been rounded up to the next page boundary.
677
$T CONNect
Syntax
$T CONNect Selection limiting keywords
Modification keywords
Modification keywords:
,PATHMGR=
No RESET Yes
,REST=nnnn
, /
MA MEMBA / MEMBERA /
, /
MB MEMBB / MEMBERB /
, /
NA NODEA /
xxxxxxxx nnnn
, /
NB NODEB /
xxxxxxxx nnnn
Parameters
MA|MEMBA|MemberA=n The member number at the NODEA end of the connection.
678
$T CONNect
Default: The default is 1. The value for MEMBERA if NODEA is the local node must be a 1. If the member number is greater than a 1 for the local node, the command is rejected. MB|MEMBB|MemberB=n The member number at the NODEB end of the connection. Default: The default is 1. The value for MEMBERB if NODEB is the local node must be a 1. If the member number is greater than a 1 for the local node, the command is rejected. NA|NODEA=xxxxxxxx|nnnn The 1 to 8alphanumeric or special ($, #, or @) character symbolic node name (xxxxxxxx) or node number (nnnn) at one end of the connection. You can specify wildcards on this parameter. See Using wildcards on page 98 for additional information. The name must match the NAME= parameter of the NODE initialization statement for the referenced node. NB|NODEB=xxxxxxxx|nnnn The 1 to 8alphanumeric or special ($, #, or @) character symbolic node name (xxxxxxxx) or node number (nnnn) at one end of the connection. You can specify wildcards on this parameter. See Using wildcards on page 98 for additional information. The name must match the NAME= parameter of the NODE initialization statement for the referenced node. PATHMGR={No|RESET|Yes} Indicates whether this connection supports path manager type protocols. PATHMGR=RESET indicates that the value of PATHMGR= should be reset to the default. Default: The default depends on the specifications for the NODEA= and NODEB= parameters. v If either node is defined as PATHMGR=NO, the default is PATHMGR=NO. v If both nodes are defined as PATHMGR=YES, the default is PATHMGR=YES. REST=nnnn An integer (2-8000) that represents the resistance rating of the connection as viewed by the installation manager and coordinated with other installations. For information about selecting resistances, see z/OS JES2 Initialization and Tuning Guide. Default: None
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
679
$T CONNect
Scope
Single member. The values supplied for this command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP815 message is issued in response to this command.
Example
An installation is able to change the resistance for a direct connection between two nodes, for example, Phoenix and Tucson.
1 $T CONNECT, NODEA=PHOENIX, MEMBA=1, NODEB=TUCSON, MEMBB=1, RES=30
The above example changes the resistance between the PHOENIX and TUCSON nodes to 30.
680
$T DEBUG
Syntax
$T DEBUG=( $T DEBUG DEBUG CHOICES Y N )
DEBUG CHOICES:
,BERT = YES NO YES NO YES NO ,CKPT = YES NO ,MISC = YES NO YES NO
,SECURITY =
,STORAGE =
YES NO
,SYMREC =
,VERSION =
Parameters
DEBUG={Y|N} Specifies whether JES2 is to record certain JES2 events and monitor certain JES2 activities. Specifying DEBUG=YES requests JES2 to record all events listed individually (BERT=YES, CKPT=YES, and so on) for this command. BERT={YES|NO} Specifies whether (YES) or not (NO) JES2 provides error code $BR3 to inform the operator that a data error has been detected in a chain of BERTs. CKPT={YES|NO} Specifies whether (YES) or not (NO) JES2 should verify the integrity of the checkpoint data set and protect the storage containing JQEs, JOEs and other checkpoint data when a member releases the checkpoint. MISC={YES|NO} Specifies whether (YES) or not (NO) JES2 provides occurrence counting of certain JES2 events. SECURITY={YES|NO} Specifies whether (YES) or not (NO) JES2 indicates that the security product (ex: RACF) is to log information contained in the $HASP186 message, or if in WARN mode. This applies JES2 output selection when the security authorization fails. STORAGE={YES|NO} Specifies whether (YES) or not (NO) JES2 provides $HASP095 error code GW3 to inform the operator that $RETWORK macro processing detected that
Chapter 5. Command Reference Section
681
$T DEBUG
the storage being returned was modified beyond the length specified by its associated $GETWORK macro invocation. SYMREC={YES|NO} Specifies whether (YES) or not (NO) JES2 should issue the $HASP805 message when it invokes the MVS SYMREC service to indicate a possible error. VERSION={YES|NO} Specifies whether (YES) or not (NO) JES2 should verify the integrity of a newly created checkpoint version.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide .
Processing Considerations
Be aware that if you specify YES for the CKPT, or VERSION parameters in a production environment, these options will affect JES2 performance because there is a noticeable increase in the processor cycles JES2 uses. By using the DEBUG command with the CKPT, or VERSION parameters, you can detect some incorrect updates resulting from checkpoint serialization programming errors in JES2 modules or installation exits. Use the DEBUG command, with the CKPT parameter specified, for testing installation exits that update checkpointed information. Some common program errors such as failing to use the $QSUSE macro before updating checkpointed information, or failing to use the $CKPT macro after updating the checkpoint may be found by using CKPT=YES. However, you should not rely on CKPT=YES since timing and the order of events play a large part in surfacing serialization errors.
Scope
Single member. This command will be in effect for this member only. However, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP827 message displays the current setting of the DEBUG option.
Examples
1 $t debug=y $HASP827 DEBUG $HASP827 DEBUG BERT=YES,CKPT=YES,MISC=YES, $HASP827 SECURITY=YES,STORAGE=YES,SYMREC=YES,VERSION=YES
682
$T DEBUG
JES2 monitors all specifiable JES2 activities.
2 $T DEBUG,STORAGE=N,MISC=N,SECURITY=Y $HASP827 DEBUG BERT=YES,CKPT=YES,MISC=NO, $HASP827 SECURITY=YES,STORAGE=NO,SYMREC=YES, $HASP827 VERSION=YES
683
$T DESTDEF
Syntax
$T DESTDEF ,SHOWUSER= No NOLOCAL WITH WITHLOCAL
Parameters
SHOWUSER={No|NOLOCAL|WITH|WITHLOCAL} Specifies whether destinations for the local node that have user routines are (WITH or WITHLOCAL) or are not (No or NOLOCAL) to be displayed with a LOCAL. prefix. No|NOLOCAL Specifies that JES2 is to display destinations for the local node that contain user routings without the LOCAL. prefix. For example, SYSOUT routed to a TSO/E userid of FRED at the local node will display as FRED. WITH|WITHLOCAL Specifies that JES2 is to display destinations for the local node that contain user routings with a prefix of LOCAL. For example, SYSOUT routed to a TSO/E userid of FRED at the local node will display as LOCAL.FRED. When the DESTDEF initialization statement parameters specify USER, you should specify SHOWUSER=WITHLOCAL to avoid possible confusion between displays of explicit routings and displays of user routings.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
684
$T DESTDEF
Messages
The $HASP812 message displays the current status of DESTDEF parameters in the installation.
Example
1 $t desdtef,showuser=withlocal $HASP812 DESTDEF LOCALNUM=9999,NDEST=NODE,RDEST=REMOTE,RMDEST= $HASP812 REMOTE,RMTDEST=REMOTE,UDEST=SPLOCAL,SHOWUSER= $HASP812 WITHLOCAL
685
$T DEStid
PRIMARY=YES is necessary for application products such as SDSF. Notes: 1. None of the route codes specified on the DEST= of this command are affected by the DESTDEF initialization statement or the $T DESTDEF command. 2. If any parameters on the DESTDEF initialization statement specify USER and multiple destids can match the routing, then at least one of these multiple destids must specify PRIMARY=YES. One or more parameters on this command accepts wildcards. Parameter descriptions will note that.
Syntax
$T DEStid xxxxxxxx , ( xxxxxxxx xxxxxxxx ) Selection limiting keywords
Modification keywords
Modification keywords:
,DEST=
nodename Nnnnn
,PRIMARY=
No Yes
PRIMARY
= ^=
No Yes
686
$T DEStid
Parameters
xxxxxxxx Specifies the 1 to 8 alphanumeric or special ($, #, or @) character symbolic destination name affected by this statement. You may specify a particular symbolic destination name or wildcards for a generic name (for example, POK* or *). See Using wildcards on page 98 for additional information. DEST={nodename|Nnnnn} Specifies a route code JES2 can use to route data. When specifying only the node (first-level destination): nodename|Nnnnn References only the nodal portion (first-level destination) of a JES2 route code. nodename Specify a symbolic node name. For example, if NODE(10) is defined with NAME=ALBANY on the NODE(nnnn) initialization statement, then an installation can create a DESTID(NYCAP) with DEST=ALBANY. Nnnnn Specify N followed by a numeric value (1-32767). For example, DESTID(NYCAP),DEST=N10. When specifying only the destination at a node (second-level destination): LOCAL|ANYLOCAL|Rmmmm|RMmmmm|RMTmmmm|Unnnn|userid References only the destination at a node (second-level destinations). When these destids are referenced, users must specify either an explicit first-level destination or allow JES2 to assign a default first-level destination. JES2 determines the first-level destination from one of the following: v /*ROUTE PRT JES2 control statement v /*ROUTE PUN JES2 control statement v The output route code associated with the device through which the job entered the system. For example, DESTID(REMOTE5),DEST=R5 defines a second-level destination. Using the destids DESTID(NYCAP) DEST=ALBANY and DESTID(NYCAP) DEST=N10 as specified on DESTID(jxxxxxxx) initialization statements, JCL can route a data set to R5 at N10 by specifying DEST=NYCAP.REMOTE5. However, if the JCL only specifies DEST=REMOTE5, the nodal portion of the destination is obtained from the default routing of the job. (A job submitted from N10 without any /*ROUTE JES2 control statements has a default nodal routing of N10, regardless of where in the network it executes.) Valid destinations: LOCAL|ANYLOCAL Data is not associated with any specific routing.
687
$T DEStid
Rmmmm|RMmmmm|RMTmmmm Specify R, RM, or RMT, followed by a numeric value (0 32767). For example, R17 represents remote work station 17. Unnnn Specify U followed by a numeric value that can range from 1 through the value specified on the LOCALNUM= parameter of the DESTDEF initialization statement. For example, U19 represents special local routing 19. Wildcards are not supported. Use the LOCALNUM= parameter on the DESTDEF initialization statement to specify the highest number for a special local route code. JES2 assumes that numbers beyond this range are userids. userid Specify a 1 to 8 character string that is interpreted on the destination node. For example, the string TANYA represents a userid (assuming that there are no destids that define TANYA at the destination node). When specifying both the node and a destination at that node (first and second level destinations): NnnnnRmmmm|node.destination Allows an installation to define the complete JES2 route code (destination at a specified node). JES2 does not use information from the default routing. NnnnnRmmmm Specify N followed by a numeric value (1 - 32767), then R followed by a numeric value (0 - 32767). For example, N5R7 indicates remote 7 at node 5. node.destination Specify a first-level destination, followed by a period (.), followed by either a second-level destination or a complete destination. If destination is a second-level destination, the routing associated with this destid is the composite of node and destination. For the following examples, assume that node 1 is the local node: v N1.R3 indicates data routed to remote 3 at the local node. v N2.R5 indicates data routed to whatever R5 is at node 2. v N5.BOB indicates data is routed to whatever BOB is at node 5. If destination is a complete destination, the final routing associated with this destid depends on node. For the following examples, assume that node 1 is the local node: v N2.N2R3 indicates data routed to remote 3 at node 2 because the first-level destination of destination matches node.
688
$T DEStid
v N5.N2R3 indicates data routed to N2R3 at node 5 because the first-level destination of destination does not match node and node is not the local node. If node 5 has not explicitly defined N2R3, node 5 routes the data to destination R3 at node 2. v N1.N5R3 results in an error because the first-level destination of destination does not match node and node is the local node. Note that you can use existing destids to define additional destids. For example, assume that the following destids are defined:
DESTID(ALBANY) DEST=N10 DESTID(REMOTE5) DEST=R5
The routing associated with CAPITOL is N10.R5. PRIMARY={No|Yes} Specifies whether (YES) or not (NO) this destid for job and SYSOUT routing is to be displayed. Use this parameter if multiple destids have the same routing. When searching for a destid to display for a jobs or SYSOUTs routing, JES2 selects: 1. Node name (destid with STATUS=NODENAME) if routed to a node. 2. First destid found that specifies PRIMARY=YES. 3. If only one destid is found, that destid is used. 4. If multiple destids are found, no destid is used (and routing is displayed explicitly). If USER is specified for either the Ndest=, Udest=, or R|RM|RMTdest= parameters on the DESTDEF initialization statement and multiple destids can match the routing of a job or SYSOUT data set, then at least one of these multiple destids must specify PRIMARY=YES. If not, products such as SDSF may have problems altering the routing of a job or SYSOUT data set to any of these multiply defined destids. Because PRIMARY=YES can affect SDSFs security procedures, consult SDSF Guide and Reference before using this parameter.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure that the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
You cannot alter a destid that is a node name (STATUS=DESTID). (Use the $D DESTID command to display the status of a destid). Change the node name first (to make it inactive) through the $T NODE(nnnn),NAME= command, then change the destid.
689
$T DEStid
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP822 message displays the current values of all the parameters on the DEStid initialization statement.
Examples
1 $t destid(houston),dest=n3 DEST=N3,STATUS=DESTID,PRIMARY=NO $HASP822 DESTID(HOUSTON)
Users and operators can use the symbolic destination name HOUSTON to refer to any local device at node 3. The STATUS= keyword indicates that the symbolic name HOUSTON does not match the name of a node.
2
In the installation described for example 2, JES2 displays multiple destids with a DEST= routing of special local U3.
$d destid(*),dest,primary $HASP822 $HASP822 $HASP822 $HASP822 DESTID(CLW2Z18) DESTID(JPK2Z37) DESTID(RMJ2AA18) DESTID(SJG2Z19) DEST=N1.U3,PRIMARY=NO DEST=N1.U3,PRIMARY=NO DEST=N1.U3,PRIMARY=NO DEST=U3,PRIMARY=NO
Note that without specifying PRIMARY=YES on any of the above, the SYSOUT is displayed (through the $L J command below) with the explicit route code, not with a DESTID:
$DO j55,all $HASP686 OUTPUT(NEWJOBS) $HASP686 $HASP686 $HASP686 $HASP686 $HASP686 $HASP686 OUTGRP=1.1.1,BURST=NO,FCB=****, FLASH=****,FORMS=STD,HOLD=(NONE), HOLDRC=,OUTDISP=KEEP,PAGES=, PRIORITY=144,PRMODE=LINE,QUEUE=X, RECORDS=(72 OF 72),ROUTECDE=U3 SECLABEL=SYSHIGH,TSOAVAIL=YES,UCS=****, USERID=BERNER,WRITER=
Users and operators can use the symbolic destination name CAM2X37 to refer to the special local printer at U3. The STATUS= keyword displayed in the $HASP822 message indicates that the symbolic name CAM2X37 does not match the name of a node. Note that by specifying PRIMARY=YES, JES2 displays the SYSOUT (through the $L J command) with the destid CAM2X37 as the destination for the SYSOUT:
690
$T DEStid
$DO j55,all $HASP686 OUTPUT(NEWJOBS) $HASP686 $HASP686 $HASP686 $HASP686 $HASP686 $HASP686 OUTGRP=1.1.1,BURST=NO,FCB=****, FLASH=****,FORMS=STD,HOLD=(NONE), HOLDRC=,OUTDISP=KEEP,PAGES=, PRIORITY=144,PRMODE=LINE,QUEUE=X, RECORDS=(72 OF 72),ROUTECDE=CAM2X37 SECLABEL=SYSHIGH,TSOAVAIL=YES,UCS=****, USERID=BERNER,WRITER=
691
$T ESTBYTE
$T ESTBYTE - Control the default spool space utilization per job Function
To specify the default amount of spool space needed for a jobs output and the action that JES2 takes if the output exceeds this amount.
Syntax
$T ESTBYTE ,INT=nnnnn ,NUM=nnnnn ,OPT= 0 1 2
Parameters
INT=nnnnn The interval (1-99999), in thousands of bytes of spool space, at which JES2 repeats the $HASP375 message to the operator. NUM=nnnnn The number (1-99999) of bytes of spool space, in thousands, used by a jobs output, after which the $HASP375 message informs the operator that the jobs estimated output has been exceeded. OPT={0|1|2} Specifies the action JES2 takes when a job exceeds the estimated spool utilization value as specified by the NUM= parameter. The options and subsequent action are: 0 Job is allowed to continue execution. 1 Job is cancelled without a dump. 2 Job is cancelled with a dump (if a dump statement was coded for this job step).
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
This command affects only those jobs that have not yet been selected for execution.
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this
692
$T ESTBYTE
command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP845 message displays the current values of all the parameters on the ESTBYTE initialization statement.
Example
1 $t estbyte,num=4500,int=300 $HASP845 ESTBYTE NUM=4500,INT=300,OPT=0
If a jobs output exceeds 4,500,000 bytes of spool space, JES2 issues the $HASP375 message to inform the operator that the jobs output has been exceeded. JES2 reissues this message each time the job exceeds another 300,000 bytes until the job finishes execution.
693
$T ESTIME
Syntax
$T ESTIME ,INT=nn ,NUM=nnnn ,OPT= No Yes
Parameters
INT=nn The interval (1-99), in minutes, at which JES2 repeats the $HASP308 message to the operator. NUM=nnnn The default execution time (1-9999), in minutes, after which the $HASP308 message informs the operator that the job has exceeded its estimated execution time. OPT={No|Yes} Specifies whether you want to use the JES2 elapsed time monitor feature. If you specify Y, JES2 issues the $HASP308 message as specified on the NUM= and INT= parameters. JES2 does not issue the $HASP308 message if you specify N.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
If changed by this command after a job was submitted, the ESTIME parameters are affected as follows: v the INT= and OPT= values are effected immediately and are reflected during job execution v the NUM= value remains equal to the value when the job was submitted. It takes affect for only newly submitted jobs.
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this
694
$T ESTIME
command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP845 message displays the current values of all the parameters on the ESTIME initialization statement.
Example
1 $t estime,num=120 $HASP845 ESTIME NUM=120,INT=10,OPT=YES
JES2 assigns a default execution time of 120 minutes to jobs that have not yet been selected for execution. If a job exceeds 120 minutes, JES2 issues the $HASP308 message every 10 minutes until the job completes execution.
695
$T ESTLNCT
$T ESTLNCT - Control the default print line count per job Function
To specify the default print line count for a jobs output and the action JES2 takes if a job exceeds this line count.
Syntax
$T ESTLNCT ,INT=nnnnnnn ,NUM=nnnn ,OPT= 0 1 2
Parameters
INT=nnnnnnn The interval (1-9999999), in lines, at which JES2 repeats the $HASP375 message to the operator. NUM=nnnn The default print line count (1-9999), in thousands of lines, after which the $HASP375 message informs the operator that the job has exceeded its estimated output. OPT={0|1|2} Specifies the action JES2 takes when a job exceeds the estimated number of output lines as specified by the NUM= parameter. The options and subsequent action are: 0 Job is allowed to continue execution. 1 Job is cancelled without a dump. 2 Job is cancelled with a dump (if a dump was coded for this job step).
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
If changed by this command after a job was submitted, the ESTLNCT parameters are affected as follows: v the INT= and OPT= values are effected immediately and are reflected during job execution v the NUM= value remains equal to the value when the job was submitted. It takes affect for only newly submitted jobs.
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across
696
$T ESTLNCT
the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP845 message displays the current values of all parameters on the ESTLNCT initialization statement.
Example
1 $t estlnct,opt=1 $HASP845 ESTLNCT NUM=50,INT=1000,OPT=1
If a job that has not yet been selected for execution exceeds 50,000 print lines (NUM=50) during its execution, JES2 cancels the job without a dump.
697
$T ESTPAGE
Syntax
$T ESTPAGE ,INT=nnnnnn ,NUM=nnnnnn ,OPT= 0 1 2
Parameters
INT=nnnnnn The interval (1-999999), in number of pages, at which JES2 repeats the $HASP375 message to the operator. NUM=nnnnnn The number of pages (1-999999) produced for a job after which the $HASP375 message informs the operator that the jobs estimated output has been exceeded. OPT={0|1|2} Specifies the action JES2 takes when a job exceeds the estimated page output as specified by the NUM= parameter. The options and subsequent action are: 0 Job is allowed to continue execution. 1 Job is cancelled without a dump. 2 Job is cancelled with a dump (if a dump statement was coded for this job step).
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
If changed by this command after a job was submitted, the ESTPAGE parameters are affected as follows: v the INT= and OPT= values are effected immediately and are reflected during job execution v the NUM= value remains equal to the value when the job was submitted. It takes affect for only newly submitted jobs.
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across
698
$T ESTPAGE
the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP845 message displays the current values of all the parameters on the ESTPAGE initialization statement.
Example
1 $t estpage,int=10 $HASP845 ESTPAGE NUM=200,INT=10,OPT=0
If a job that has not yet been selected for execution exceeds 200 pages of output (NUM=200) during its execution, the $HASP375 message informs the operator that the jobs estimated output has been exceeded. JES2 repeats the $HASP375 message to the operator every 10 pages that exceed the estimated page output (200 pages) until the job completes execution.
699
$T ESTPUN
$T ESTPUN - Control the default punched card output per job Function
To specify the default number of punched cards per job and the action JES2 takes if a job exceeds this punched card amount.
Syntax
$T ESTPUN ,INT=nnnnnnn ,NUM=nnnnnnn ,OPT= 0 1 2
Parameters
INT=nnnnnnn The interval (1-9999999), in cards, at which JES2 repeats the $HASP375 message to the operator. NUM=nnnnnnn The default punched output (0-9999999), in cards, for a job after which the $HASP375 message informs the operator that the job has exceeded its estimated output. OPT={0|1|2} Specifies the action JES2 takes when a job exceeds the estimated number of cards as specified by the NUM= parameter. The options and subsequent action are: 0 Job is allowed to continue execution. 1 Job is cancelled without a dump. 2 Job is cancelled with a dump (if a dump statement was coded for this job step).
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
If changed by this command after a job was submitted, the ESTPUN parameters are affected as follows: v the INT= and OPT= values are effected immediately and are reflected during job execution v the NUM= value remains equal to the value when the job was submitted. It takes affect for only newly submitted jobs.
Scope
Single member. This command will be in effect for this member only.
700
$T ESTPUN
Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP845 message displays the current values of all the parameters on the ESTPUN initialization statement.
Example
1 $t estpun,opt=0 $HASP845 ESTPUN NUM=3000,INT=100,OPT=0
If a job that has not yet been selected for execution, exceeds 3000 punched cards while executing, JES2 allows it to continue execution.
701
$T EXIT(nn)
Syntax
$T EXIT nn , ( nn * ) nn * nn *
Modification keywords
Modification keywords:
,DISABLE
,ENABLE
,STATUS=
DISABLED ENABLED
,TRace=
No Yes
STATUS
= ^=
DISABLED ENABLED
TRace
= ^=
No Yes
Parameters
nn The subscript defining the exit point(s) affected by this command. The subscript can specify a numeric value or a range of values. For information about specifying a range of values for this subscript, see Syntax Conventions at the front of this chapter. STATUS={DISABLED|ENABLED} Specifies the status of the JES2 exit point(s). DISABLED JES2 does not invoke any exit routines at this exit point. ENABLED JES2 invokes the exit routines at this exit point providing the job being processed is eligible to use the exit. TRace={No|Yes} Specifies whether the specified exit point(s) are to be traced. Note: Trace ID 13 must be activated for tracing to occur for any JES2 exit point. Individual trace IDs can be activated either during initialization on the TRACE(n) initialization statement, or using the $S TRACE(n) command.
702
$T EXIT(nn)
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP823 message displays the current values of all the parameters on the EXIT(nnn) initialization statement.
Example
1 $t exit(30),status=enabled $HASP823 EXIT(30) STATUS=ENABLED,ROUTINES=(PRTPROC),TRACE=YES, USECOUNT=0
JES2 invokes the exit routine named PRTPROC at exit point (30) providing the job being processed is eligible to use exit(30). In the $HASP823 message, USECOUNT=0 indicates no processors are using the exit point at this time.
703
$T FSS
Syntax
$T FSS FSSDef accccccc , ( accccccc accccccc )
Modification keywords
Modification keywords:
,AUTOstop=
No Yes
,HASPFSSM=
HASPFSSM accccccc
,PROC=accccccc
AUTOstop
= ^=
No Yes
HASPFSSM
= ^= > <
=HASPFSSM accccccc
PROC
= ^= > <
accccccc
Parameters
(accccccc|ac*|*) The 1 to 8character subscript naming the functional subsystem(s) affected by this command. You may specify either a particular FSS name (for example, MYFSS) or wildcards to specify a generic name (for example, FSS* or *). See Using wildcards on page 98 for additional information. AUTOstop={No|Yes} Specifies whether JES2 is to automatically stop the FSS address space when all devices attached to the FSS are drained. HASPFSSM={accccccc|HASPFSSM} The 1 to 8character name of the load module that is loaded into the functional subsystem address space. This load module contains the various JES2-supplied FSI service routines.
704
$T FSS
PROC=accccccc The 1 to 8character name of the procedure in SYS1.PROCLIB that contains the JCL required to start the functional subsystem.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
If the FSS address space defined by this FSS is active, you can change the AUTOSTOP option but you may not change the other specifications.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP824 message displays the current values of all the parameters on the FSS initialization statement.
Example
1 $t fss(quikprt) haspfssm=fssmtest $HASP824 FSS(QUIKPRT) PROC=MYPROC,HASPFSSM=FSSMTEST, AUTOSTOP=NO
JES2 loads the FSSMTEST load module into the QUIKPRT FSS address space when the first printer assigned to that FSS is started.
705
$T Init
Syntax
$T I Init nn init , ( nn * init init ) mm * mm *
Modification keywords
Modification keywords:
,Class=class
,NAME=name
Class
= ^= > <
class
NAME
= ^= > <
name
, /
STATUS
= ^=
, /
STC
= ^= > <
stc
Parameters
nnmm]] Specifies the subscript (1-9999) of the initiator(s) that you are controlling. Note: JES2 commands do not recognize JES2controlled initiators that are numbered (with subscripts) greater than the PARTNUM= specification on the INITDEF initialization statement.
706
$T Init
For information about naming initiators, see z/OS JES2 Initialization and Tuning Reference. Class=class The job classes (A-Z and 0-9), in priority sequence, that the initiator processes. You may specify up to 36 classes. NAME=name The EBCDIC name associated with the initiator. STATUS[=ACTIVE|DRAINED|DRAINING|HALTED| HALTING|INACTIVE|RESTARTING|STARTING} Only initiators in the specified state will be modified. The following types of status can be displayed: Type ACTIVE DRAINED DRAINING HALTED Meaning JES2 is using the initiator for job processing and will continue to do as long as jobs are both available and eligible for the device. JES2 does not use the initiator until you start it with a $S command. JES2 is using the initiator to process jobs, but will stop using this device once the current function has completed. JES2 has either requested operator assistance or an operator has entered the $Z command to halt the initiator. To start the initiator, you must enter a $S command. The initiator is transitioning to a HALTED state. JES2 is not using the initiator, but would do so if a job were both available and eligible for the initiator.
HALTING INACTIVE
RESTARTING The initiator has terminated abnormally and is in the process of restarting automatically. STARTING The initiator is being started. Applies to FSS-owned devices only.
STC=stc The initiator associated with the specific STC that is to be controlled.
Authority Required
This command requires device and system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T NODE(nnnn) command sets the command authority for a node. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
The $T INTRDR command affects all internal readers generated and can not be used to control a single internal reader.
Scope
Single member. The values supplied for this command will be in effect for this member only.
707
$T Init
Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP892 message displays the characteristics of internal readers and their current characteristics.
Examples
1 $t i1,c=abcde STATUS=INACTIVE,CLASS=ABCDE,NAME=1,ASID=0017 $HASP892 INIT(1)
Initiator 2 is modified to select work from job classes V, W, X, Y, and Z. In this case, class V will not be selected because it is held (by JOBCLASS(V) QHELD=Y) and class W will not be selected because the job class is WLM-managed (by JOBCLASS(w) MODE=WLM).
708
$T INTRDR
Syntax
$T INTRDR Selection limiting keywords
Modification keywords
Modification keywords:
,Class=class ,Hold=
No Yes
No Yes
,HONORlim=
No Yes
,PRTYINC=
o n-n
,PRTYLIM=
15 n-n
Sysaff=
,TRace=
No P Yes
709
$T INTRDR
System
Parameters
INTRDR All internal readers are affected by this command. Auth The command authority for internal readers, that is, the JES2 command groups that the reader is authorized to enter. DEVICE={No|Yes} Specifies whether the commands that have the authority to affect devices can enter the system from the internal readers. Job={No|Yes} Specifies whether the commands that have the authority to affect jobs can enter the system from the internal readers. System={No|Yes} Specifies whether the commands that have the authority to affect system resources can enter the system from the internal readers. This parameter affects JES2 command statements only. Use the AUTH parameter of the JOBCLASS initialization statement to specify the authorization for JCL command statements. JES2 command statements begin with /* in columns 1 and 2. JCL command statements begin with // in columns 1 and 2. Notes: 1. A reader may not be used to set the command authority for any local reader device. The $T INTRDR,AUTH command can be issued only by a console with device and system authority. 2. The command authorities that are set only operate on JES2 commands; they do not apply to MVS commands. CLASS=class The default execution class (A-Z, 0-9) for jobs that are read by internal readers and that do not have a job class specified on the JOB statement. Note: If you specify this parameter, the command requires device authority. Hold|H={No|Yes} Specifies whether (Y) or not (N) all jobs submitted through internal readers are to be held after JCL conversion. You can release these jobs on an individual basis using the $A command.
710
$T INTRDR
HONORlim|HONOR={No|Yes} Specifies whether (Y) or not (N) data sets sent to the internal reader are to be counted toward the byte limit for a job. PRTYINC={n-n} Specifies a number (0-15) to be added to the selection priority of each job entered at this card reader. If the total of this number and a jobs priority exceeds the priority level specified by PRTYLIM= (described next), JES2 uses the priority level specified by PRTYLIM=. PRTYLIM={n-n} Specifies the maximum priority level (0-15) that can be assigned to jobs entered at this card reader. Any job that exceeds this priority is reduced to this level. Sysaff|S The default affinities assigned to jobs read by internal readers. ANY The jobs are eligible to run on any member in the JES2 multi-access spool configuration. If you specify ANY followed by the IND parameter, they must be separated by a comma and the list must be enclosed in parentheses, for example, (ANY,IND). +|The subsequent IND, and/or memnames are to be added to (+) or deleted from (-) the current list of members which are eligible to process these jobs. If neither + nor - is specified, the affinities of the jobs are set explicitly to the specified members. Note: If you specify IND without any member names (memname), you must specify (+) or (-). IND The jobs are added to the list of jobs eligible to run on independent mode processors (+), deleted from the list of jobs eligible to run on independent mode processors (-), or, if neither + nor - is specified, IND affinity must be specified with a member name. memname|* The identifier (1 to 4 alphameric characters) of a member in the JES2 multi-access spool configuration that is added to (+), deleted from (-), or explicitly set (neither) as the affinity for jobs read by internal readers. Use an asterisk to specify the member executing the command. TRace={No|P|Yes} Specifies whether tracing is to be activated or deactivated for all of the internal readers. This parameter requires system authority. No Tracing is disabled. P|Yes Tracing is activated if trace IDs 11 and 12 are currently enabled. Note: Trace IDs 11 and 12 may be enabled either at initialization on the TRACE(n) statement or using the $S TRACE(n) command.
711
$T INTRDR
Authority Required
This command requires device and system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T NODE(nnnn) command sets the command authority for a node. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The values supplied for this command will be in effect for this member only. The $T INTRDR command affects all internal readers generated and can not be used to control a single internal reader. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP838 message displays the characteristics of internal readers and their current characteristics.
Examples
1 $t intrdr,sysaff=(n1m1,n1m2),tr=y $HASP838 INTRDR AUTH=(DEVICE=NO,JOB=NO,SYSTEM=NO),BATCH=YES $HASP838 CLASS=A,HOLD=NO,PRTYINC=0,PRTYLIM=15,RDINUM=2, $HASP838 SYSAFF=(N1M1,N1M2),TRACE=YES
JES2 assigns the affinities of N1M1, and N1M2 to all internal readers and activates tracing for the associated JES2 reader processor.
2 $t intrdr,c=f,s=+ind,sysa
JES2 assigns execution class F to all jobs submitted through internal readers which do not specify a job class on their JOB statements. In addition, all jobs read by internal readers are eligible to run on members SYSA and SYSB if these members are operating in independent mode.
712
$T Job
Syntax
| |
$T Job JOBQ JQ Stc Tsu nn job , ( nn * job job * ) mm * mm *
| | | | | |
Modification keywords
Modification keywords:
,Class=class
,OFFS=
,Priority=priority
| | | |
,SCHENV=schenv
,SPIN
,SRVCLASS=srvclass
,Sysaff=
+ -
+ -
IND
Class
class
, /
CMDauth
= =
| |
, / /
Age DAys
days
, /
HOLD
= =
|
Chapter 5. Command Reference Section
713
$T Job
| |
, /
Hours
> <
hours
, / /
JM JOBMASK
= = > < /
jobmask
| |
OFFS
= =
offs , (4) ( offs CNV INPUT OUT PPU PURGE RCV SETUP SPIN XEQ XMT ,CARDS=cards ,
, )
Priority
= = > <
priority
| |
, /
Queue
= =
REBUILD /
= =
No Yes
| |
,BUSY=
,DELAY=
YES NO
| |
,SCHENV_AFF=member
,SECLABEL=seclabel
| | | |
,USERID=userid
> <
percent
| |
SRVCLASS
= = > < = =
srvclass
| |
Sysaff
, / )
TYPE
= =
714
$T Job
|
, / USERID = = > < userid , / XEQNode = = xeqnode
| | Notes: 1 2 3 4 5 6 offs can be coded up to 8 times member can be coded up to 33 times acmdauth can be coded up to 2 times offs can be coded up to 8 times volume can be coded up to 253 times member can be coded up to 33 times
Parameters
Age|DAys<days | Age|DAys>days Specifies the age of affected jobs in days. Only jobs more (with DAYS>nn) or less (with DAYS<nn) than the specified number of days in age are affected, The days are counted from the current hour. | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUSY= Specifies one of the following: v The system name or number on which the job is busy. Note that you can specify a value of 0 to indicate the job is not busy. You can also specify values above 32 to match systems with invalid values in the BUSY value (for example, $TJOBQ,BUSY>32) v YES or ANY, indicating that all busy jobs are to match v NO or NONE, indicating that all non-busy jobs are to match CARDS=cards Specifies the number of input cards associated with the job. CC=(ABEND|ABENDED|CANcelled|CNVT_abend|CODE| COMPleted|ENDed_by_cc|EOM_failure|JCLerror| SECurity_failure|TYPE) Specifies the completion information associated with the job. ABENDED Specifies only jobs which have abnormally ended. ABEND Specifies the ABEND code associated with the jobs termination. CANcelled Specifies only jobs which were cancelled by the operator. CNVT_abend Specifies only jobs which have abnormally ended during the conversion phase. CODE Specifies the last (or highest) completion code of steps in the job. COMPleted Specifies only jobs which completed. ENDed_by_cc Specifies only jobs which were ended by a step completion code.
Chapter 5. Command Reference Section
715
$T Job
| | | | | | EOM_failure Specifies only jobs which failed in end-of-memory processing. JCLerror Specifies jobs which did not execute due to a JCL error. SECurity_failure Specifies jobs which failed security validation. Class=class The new class (A-Z and 0-9) that is assigned to the specified job(s). You may not move jobs in the execution-batch-processing class to a non-execution batch processing class and vice versa. Notes: 1. When changing the job class, be sure the new job class is defined on the member on which the job executes. 2. The class change resulting from this command affects JES2 job scheduling only. If you move a job from class P to class S with this command, the job is eligible for initiators processing class S jobs, and is no longer eligible for class P initiator processing. If you enter the command before the jobs conversion, the class remains P for conversion purposes, but is then scheduled for an initiator selecting class S jobs. If you enter the command after conversion, job attributes determined by class during conversion (for example, default region size) are unchanged, but the job is scheduled for an initiator selecting class S jobs. 3. If these values are modified for a job in execution note that the service class is not changed. If these changes would result in a different service class this takes effect only if the job is restarted. The service class of an executing job can be modified only by explicitly changing the service class. CMDauth=cmdauth Only the jobs that can be affected from the specified remote(s) or node(s) will be changed. The valid specifications are: LOCAL|ANYLOCAL Only the local devices at the local node can affect the output. Nnnnn|nodename Only local devices at the specified node can affect the output. Rnnnn Only the specified remote device can affect the output. NnnnnRnnnn|nodename.Rnnnn Only the specified remote device at the specified remote node can affect the output. destid A destid corresponding to any of the above remote devices. Note: Specification of the CMDAUTH filter does not override the authority of the console from which the command is issued; both the authority of the console and the specified CMDAUTH filter must match for the job to be affected. | | DELAY={BUSY_ON_HOLD|HOLD|LIMIT|LOCKED| No|QUEUE_ERROR|SCHENV|SECLABEL|SPOOLS_NOT_AVAILABLE|SYSAFF|
716
$T Job
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Yes Specifies only jobs which are delayed for any of the above reasons. MEMBER_STATUS|Yes} Specifies reasons why a pre-execution job will not enter execution: BUSY_ON_DEVICE The job will not execute because it is busy on a device (such as an offload job transmitter). HOLD The job will not execute because it is held, its job class is held, or another job with the same jobname is executing. LIMIT The job will not execute because the job class execution limit has been reached (as specified by JOBCLASS XEQCOUNT=(MAX=)). LOCKED The job will not execute because its being updated by JES2. SECLABEL The security label (SECLABEL) assigned to the job is not defined as active on any member that is active. SYSAFF Each of the members for which the job has affinity (SYSAFF) is inactive, or the job has specified independent state, and the JES2 member is not independent (IND=NO). SCHENV The jobs scheduling environment is not available on any member, or is available only on systems where JES2 is inactive. Use the $DJjobname,LONG command to find out what scheduling environment a job requires. Then use the D WLM,SCHENV=schenv-name command to find out the current status of the scheduling environment on each system in the sysplex. The SCHENV state masks other reasons why the job might be ineligible to run, such as the $P and $P XEQ commands having been issued. Also, note that the SCHENV delay is detected only after a job goes through conversion. If a job is delayed prior to conversion due to system affinity requirements, scheduling environments are not considered in determining delay status. MEMBER_STATUS A combination of system affinity, scheduling environment and SECLABEL restrictions are preventing the job from running, or, other member states prevent the job from running on systems where the job is otherwise eligible. These states include: v $P command has been issued v $P XEQ command has been issued v BOSS=NO (used in a poly-JES environment only) When used as a command filter, the string MEMBER_STATUS matches on jobs delayed for SYSAFF, SCHENV, SECLABEL, or MEMBER_STATUS. To get detail on why a job is delayed, display job status with the $DJjobname,LONG command or display member status with the $DJMEMBER(member-name) command.
717
$T Job
| | No Specifies only jobs which are not delayed for any of the above reasons. H|Hours=hours Specifies the age of affected jobs in hours. Only jobs more (with HOURS>nn) or less (with HOURS<nn) than the specified number of hours in age are affected. HOLD={ALL|ARM|DUP|JOB|NONE} Only jobs with the specified hold attributes are modified. ALL Changes jobs held by the $H A command. ARM Changes jobs which are held awaiting a restart through ARM. DUP Change jobs held for a duplicate job name. JOB Change jobs held by the $H J command, TYPRUN=HOLD, TYPRUN=JCLHOLD, or held due to error. NONE Change jobs which are not held. job Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). job The name of the job that is to be changed. This name must appear as coded on the JOB statement and must be enclosed in apostrophes. If more than one job exists with this name, no action is taken. Job A Batch job or range of batch jobs is to be changed. JOBMASK|JM=jobmask Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). For a description of wildcards, see Using wildcards on page 98. Notes: 1. This is a positional parameter. Specify this following the job_id (JOB, STC, or TSU) or JOBQ parameter. 2. The JOBMASK parameter is not valid with the jobname parameter. JOBQ|JQ Specifies all jobs, STCs, and TSUs across the MAS for processing. OFFS=(n[,n,n...])|(+n,[n,n...])|(-n,[n,n...])|0 Specifies updates to the archival status of this job. Jobs will be marked as already offloaded for all offload device numbers that were specified and as not offloaded for all offload device numbers not specified. Specifying + or - before the offload device number(s) updates offload status of the job for only the specified offload device numbers. Specifying + marks the output as offloaded and specifying - marks it as not having been offloaded by
718
$T Job
the specified offload device number(s). Use this option to allow offloading of job(s) that have been already been offloaded or to prevent offloading of jobs by an offload device. Priority=priority The new priority (0-15), or the value that is added to (+n) or subtracted from (-n) the present priority for the specified job(s). If the job priority is adjusted to a value less than zero, zero is assumed. If the priority is adjusted to a value greater than 15, JES2 assigns a maximum priority. This maximum priority is greater than 15, which allows the operator to selectively run jobs at a priority higher than any jobs submitted with a priority of 15. Notes: 1. Even though a job has been assigned a maximum priority, JES displays the job priority as 15. 2. If these values are modified for a job in execution note that the service class is not changed. If these changes would result in a different service class this takes effect only if the job is restarted. The service class of an executing job can be modified only by explicitly changing the service class. Queue={CNV|INPUT|OUT|PPU|PURGE|RCV| SETUP|SPIN|XEQ|XMT} Only jobs on the specified job queue are to be modified. CNV Only jobs awaiting conversion are to be modified. INPUT Only jobs on the JES2 $INPUT queue are to be modified. OUT Only jobs awaiting output processing are to be modified. PPU Only jobs awaiting print/punch processing are to be modified. PURGE Only jobs awaiting purge processing are to be modified. RCV Only jobs on the JES2 $RECEIVE queue are to be modified. SETUP Only jobs on the JES2 $SETUP queue are to be modified. SPIN Only jobs awaiting spin processing are to be modified. XEQ Only jobs awaiting execution are to be modified. XMT Only jobs queued for network transmission are to be modified. REBUILD={No|Yes} Jobs on the rebuild queue are to be changed (Yes) or not changed (No). | | | | | | SCHENV_AFF=member Specifies the JES2 MAS members on which the scheduling environment for this job is available. SECLABEL_AFF=member Specifies the JES2 MAS members on which the SECLABEL for this job is available but only if the RACF SECLABEL_BY_SYS is also active.
Chapter 5. Command Reference Section
719
$T Job
| | SECLABEL=seclabel Specifies the security label associated with the job. SPIN Indicates that the JESLOG data (JESMSGLG and JESYSMSG data sets) are to be immediately spun off for this job. Note: The message, $HASP138 JESLOG SPIN REQUESTED BY OPERATOR is placed in the JESMSGLG and JESYSMSG data sets. $HASP138 is not placed in the console or SYSLOG. SPL|SPOOL={Percent|%|Tgs|Volumes} Only jobs with specific SPOOL characteristics are to be changed: Percent|% Only jobs using more (with %>nn) or less (with %<nn) than the specified percentage of the total available spool space are to be changed. Tgs Only jobs using more (with Tgs>nn) or less (with Tgs<nn) than the specified number of track groups are to be changed. Volumes=(v1,v2,...) Only jobs which have allocated spool space on the specified spool volume(s) are to be changed. SRVCLASS=srvclass Change the WLM service class for the job to the specified service class. If the service class keyword is specified without a service class, the job is reclassified. See the MVS RESET command RESUME keyword description for more information. Stc A started task or range of started tasks is to be changed. Sysaff=(member, IND) Changes the jobs system affinity. You can code up to 33 member names. Use the plus (+) or minus (-) to specify whether to add or delete a member. And specify +IND to define the member in independent mode or -IND to drop the independent mode definition. Tsu A time-sharing user or range of time-sharing users is to be changed. TYPE={JOB|STC|TSU} Indicates whether only batch jobs (JOB), started tasks (STC), or time-sharing users (TSU) are to be changed. | | USERID=userid Specifies the userid associated with the job. XEQNode=xeqnode Only jobs which are destined to execute at the specified node, or which have already executed at the specified node, are to be changed. The node name may be specified using the decimal node number (Nnnnnn) or an EBCDIC node name.
Authority Required
This command requires job authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned.
720
$T Job
This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MAS-wide. This command has an effect across the entire MAS.
Messages
The $HASP890 message displays the current status of the specified job. The $HASP003 message indicates that the command was improperly specified.
Examples
1 $t j3,s=-sysa JOB00003 $HASP890 JOB(MYJOB) $HASP890 JOB(MYJOB) STATUS=(AWAITING EXECUTION),CLASS=A, $HASP890 PRIORITY=9,SYSAFF=(SYSB,SYSC,SYSD),HOLD=NONE
JES2 adds SPL2 to the affinities for batch job 27, and sets the job to run on an independent mode processor.
3 $t j3,c=b,p=+4
JOB00003 $HASP890 JOB(MYJOB) $HASP890 JOB(MYJOB) STATUS=(AWAITING EXECUTION),CLASS=B, $HASP890 PRIORITY=13,SYSAFF=(SYSB,SYSC,SYSD), $HASP890 HOLD=NONE
JES2 changes the class of batch job 3 to class B and increases its priority by 4 (to 13). Note that, if this increase had adjusted the priority to a value greater than 15, JES2 would have assigned a maximum priority to batch job 3.
4 $t jq,/userid=ibmuser,/q=xeq,class=d
JOB00022 $HASP890 JOB(IJOB1) $HASP890 JOB(IJOB1) STATUS=(EXECUTING/IBM1),CLASS=D, $HASP890 PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE), $HASP890 USERID=IBMUSER
JES2 modifies all jobs on the execution queue for user IBMUSER to class D.
5 $t jq,/q=xeq,/c=a,c=b JOB00003 $HASP890 $HASP890 JOB00009 $HASP890 $HASP890 $HASP890 JOB(MYJOB) JOB(MYJOB) STATUS=(AWAITING EXECUTION),CLASS=B, PRIORITY=9,SYSAFF=(SYSB,SYSC,SYSD),HOLD=NONE $HASP890 JOB(MYJOB2) JOB(MYJOB2) STATUS=(AWAITING EXECUTION),CLASS=B, PRIORITY=9,SYSAFF=(SYSB,SYSC,SYSD),HOLD=NONE
721
$T Job
JOB00037 $HASP890 JOB(DEST11) $HASP890 JOB(DEST11) STATUS=(AWAITING EXECUTION),CLASS=A, $HASP890 PRIORITY=7,SYSAFF=(ANY),HOLD=(NONE)
The JESMSGLG (job log) and JESYSMSG (system messages) data sets for STC 5 are spun off. In order for the data sets to be spun off, the job has to be marked as spinnable.
722
$T JOBCLASS
Syntax
$T JOBCLASS jobclass , ( jobclass jobclass * ) -jobclass -jobclass -*
Modification keywords
Modification keywords:
,ACCT=
No Yes
,AUTH=
,BLP=
No Yes
,COMMAND=
,CONDPURG=
No Yes
,COPY=
No Yes
,HOLD=
No Yes
,IEFUJP=
No Yes
,IEFUSO=
No Yes
JESLOG=
SPIN ( SPIN
SUPPRESS NOSPIN
723
$T JOBCLASS
,JOURNAL=
No Yes
,LOG=
No Yes
,MODE=
JES WLM
,MSGCLASS=msgclass
,MSGLEVEL=
statements ( statements
) ,messages
,OUTDisp= H HOLD K KEEP L LEAVE P PURGE W WRITE ( H HOLD K KEEP L LEAVE P PURGE W WRITE , H HOLD K KEEP L LEAVE P PURGE W WRITE )
,OUTPUT=
No Yes
,PERFORM=perform
,PGMRNAME=
No Yes
,PROCLIB=proclib
,QHELD=
No Yes
,REGION=region
,RESTART=
No Yes
,SCAN=
No Yes
,SCHENV=schenv
,SWA=
ABOVE BELOW
,TIME=
,TYPE26=
No Yes
,TYPE6=
No Yes
,XBM=xbm
724
$T JOBCLASS
, ,XEQCount=( MAXimum=maximum )
ACCT
= ^=
No Yes
BLP
= ^=
No Yes
COPY
= ^=
No Yes
HOLD
= ^=
No Yes
IEFUJP
= ^=
No Yes
IEFUSO
= ^=
No Yes
JESLOG
= ^=
No Yes
JOURNAL
= ^=
No Yes
LOG
= ^=
No Yes
MODE
= ^=
JES WLM
MSGLEVEL
= ^=
, /
NAME
= ^= > <
name
OUTPUT
= ^=
No Yes
PERFORM
= ^= > <
perform
PGMRNAME
= ^=
No Yes
PROCLIB
= ^= > <
proclib
QHELD
= ^=
No Yes
RESTART
= ^=
No Yes
SCAN
= ^=
No Yes
, /
SCHENV
= ^= > <
schenv
725
$T JOBCLASS
SWA
= ^=
ABOVE BELOW
TIME
= ^=
TYPE26
= ^=
No Yes
TYPE6
= ^=
No Yes
XBM
= ^= > <
xbm
MAXimum
maximum
Parameters
jobclass The subscript defining the job classes to be modified by this command. Valid class specifications are A-Z , 0-9, STC, TSU, and the wildcards, *, and ?. The subscript can specify a specific job class or a range of job classes. Notes: 1. A range of values that includes the letter S includes class S and also STC, and similarly including the letter T includes class T and also TSU (except when the range ends with S or T). This can lead to unexpected data returned by JES2. 2. JOBCLASS(*) includes STC and TSU. This can lead to unexpected data returned by JES2. 3. JOBCLASS(?) includes only the 1character classes (A-Z and 09) and therefore not classes STC and TSU ACCT={No|Yes} Specifies whether an account number is required (Yes) or not required (No). This parameter is not allowed on either the JOBCLASS(STC) or JOBCLASS(TSU) initialization statements. AUTH={ALL|CONS|INFO|IO|SYS} Specifies the MVS operator command groups that are to be executed. The groups includes: ALL All operator command types. CONS Console commands.
726
$T JOBCLASS
INFO Information commands (such as display). IO Input/output commands. SYS System commands. BLP={No|Yes} Specifies that either the bypass label processing parameter in the label field of a DD statement is to be ignored (NO) and processed as no label or that bypass label processing is performed as requested (YES) and the label parameter is processed as it appears. COMMAND={DISPLAY|EXECUTE|IGNORE|VERIFY} Specifies the disposition of commands read from the input stream as follows. DISPLAY The command is displayed and scheduled for execution. EXECUTE The command is scheduled for execution. IGNORE The command is ignored (that is, interpreted as a no operation). VERIFY Specifies that the system displays the command, asks the operator whether the command should be executed, and if the operator replies YES, schedules the command for execution. CONDPURG={No|Yes} Specifies whether (YES) or not (NO) system data sets (such as JESMSG and SYSMSG) in this job class are to be conditionally purged. Note: This is only valid for JOBCLASS(STC) and JOBCLASS(TSU). COPY={No|Yes} Displays whether (Yes) or not (No) jobs in this job class are to be queued for output processing as though TYPRUN=COPY was specified on the JOB statement for these jobs. HOLD={No|Yes} Specifies that jobs in the job class are to be held (Yes) or not held (No). If a job is held, it will remain so until a RELEASE command for the job is issued by the operator ($A J). This parameter is not allowed on either the JOBCLASS(STC) or JOBCLASS(TSU) initialization statements. IEFUJP={No|Yes} Specifies whether (YES) or not (NO) the IEFUJP exit is taken when a started task is purged. IEFUJP receives control when a started task is ready to be purged from the system; that is, after the started task has been ended and all the SYSOUT output that pertains to the started task has been processed. IEFUSO={No|Yes} Specifies whether (YES) or not (NO) the IEFUSO installation exit is taken when the SYSOUT limit is reached for a started task in this job class. The SYSOUT limit, which is specified by the OUTLIM parameter on the DD statement, defines the maximum number of physical records to be written to the associated SYSOUT data set. When the OUTLIM value is exceeded, JES2 normally calls
727
$T JOBCLASS
the IEFUSO SMF exit routine either to increase the SYSOUT limit or to end the job. When NO is specified and OUTLIM is exceeded, JES2 abnormally ends the job. JESLOG= Sets the default processing for the JESLOG data sets (JESMSGLG and JESYSMSG). SPIN JESLOG data is to be immediately spun off for jobs in this jobclass. Note: Specifying JESLOG=SPIN will cause a job in this class to use at least two additional track groups of SPOOL space for the two JESLOG data sets. If this job class normally has a large number of jobs that use a minimal amount of SPOOL space, then an increase of two track groups could significantly increase SPOOL utilization. Consider additional SPOOL requirements when deciding whether to use JESLOG=SPIN. (SPIN,+hh:mm) Indicates to spin JESLOG every hh:mm time interval, where hh is hours and has a range of 0 through 23 and, mm is minutes and has a range of 00 through 59. Note: A minimum of 10 minutes must be specified or an error message occurs. Also, for time intervals of less than one hour, you must specify JESLOG=(SPIN,+00:mm). (SPIN,hh:mm) Indicates to spin JESLOG at hh:mm every 24 hours. (SPIN,nnn) Indicates to spin JESLOG whenever either JESMSGLG or JESYSMSG has nnn lines. nnn is the number of lines in the data set and has a range of 1 through 999. nnn is specified as nnn, nnnK or nnnM, where K is thousands and M is millions. Note: A minimum of 500 lines must be specified or an error message occurs. (SPIN,nnnK) Indicates to spin JESLOG whenever either JESMSGLG or JESYSMSG has nnnK lines. (SPIN,nnnM) Indicates to spin JESLOG whenever either JESMSGLG or JESYSMSG has nnnM lines. SUPPRESS Indicates that the JESLOG data sets will have nothing written to them during the execution of jobs defined for this job class. Data will only be written to JESLOG data sets during each jobs input service and post execution. NOSPIN Indicates that JESLOG data will not be spun, but will not be suppressed. NOSPIN is the default setting for the JOBCLASS(v) initialization statement. JOURNAL={No|Yes} Specifies whether (Yes) or not (No) job-related information is to be saved in a job journal.
728
$T JOBCLASS
| | | | | | | | Job journaling limits the scope of RESTART=YES. If the JOURNAL=Yes parameter is specified: v JES2 restarts interrupted jobs from the beginning only if the MVS system is unable to restart the job from a step or checkpoint. v RESTART=NO has no effect; all jobs are requeued for execution. (Specifying RD=R|RNC on the JCL JOB statement has the same effect.) If the jobs are not journaled (JOURNAL=No), JES2 always attempts to restart interrupted jobs in this class from the beginning. This parameter is not allowed on either the JOBCLASS(STC) or JOBCLASS(TSU) initialization statements. LOG={No|Yes} Specifies whether (YES) or not (NO) the JES2 job log is printed for started tasks. The JES2 job log contains the users console messages and replies to WTORs issued during the processing of the job. When NO is specified, the printing of JES2 statistics information (normally printed with the job) is also suppressed. This parameter is not allowed on either the JOBCLASS(STC) or JOBCLASS(TSU) initialization statements. MODE={JES|WLM} Indicates whether jobs in this class are to be run under JES-mode or WLM-mode initiators. This parameter is not allowed on either the JOBCLASS(STC) or JOBCLASS(TSU) initialization statements. MSGCLASS=msgclass Specifies the message class (A-Z,0-9) for started tasks or time-sharing users. Valid only for JOBCLASS(STC) and JOBCLASS(TSU). MSGLEVEL=statements Specifies a message level value for use when the MSGLEVEL= parameter is not specified on a JOB statement. If a MSGLEVEL= parameter is not specified, JCL and allocation/termination messages are recorded in the system message data set according to the value specified in this parameter. The character n specifies the kinds of JCL listed, as follows: 0 1 2 JOB statement only Input statements, cataloged procedure statements, and symbolic parameter substitution values Input statements only, including instream procedures.
The character m specifies the kinds of allocation/termination messages listed, as follows: 0 1 No messages are to be listed, except in the case of an abnormal termination, in which case allocation/termination messages are listed. Allocation/termination messages are listed.
OUTDisp=(normal,abnormal) Specifies the default disposition of the JES data sets created by jobs in the specified job class(es). normal Specifies the output disposition if the job ends successfully. Specify one of the output dispositions below.
Chapter 5. Command Reference Section
729
$T JOBCLASS
abnormal Specifies the output disposition if the job ends unsuccessfully. Specify one of the output dispositions below. The valid output dispositions: H|HOLD Hold the output. JES2 does not process the output until you either change the disposition to WRITE or KEEP, or release the output. When the output is released, the disposition changes to WRITE. K|KEEP Process the output and then keep a copy of it on spool. After processing, the disposition of this output becomes LEAVE. L|LEAVE JES2 does not process the output until you change the disposition to WRITE or KEEP, or release the output. Once the output is released, the disposition changes to KEEP. P|PURGE Purge the output immediately. W|WRITE Process the output then purge it. See z/OS JES2 Initialization and Tuning Guide for more information about specifying output disposition and how JES2 determines output disposition defaults. OUTPUT={No|Yes} Specifies whether SYSOUT data is to be written for started tasks. PERFORM=perform Specifies the default performance-group number (0-999) for started tasks. PGMRNAME={No|Yes} Specifies whether a programmer name is required (Yes) or not required (No) on a JCL JOB statement. PROCLIB=proclib Specifies the default procedure library number (00-99) which is to be used for started tasks. QHELD={Yes|No} Specifies whether (Yes) or not (No) jobs in this class are to be held (not selected for execution) until the class is released from held status by operator command ($TJOBCLASS,QHELD=NO). This parameter is not allowed on either the JOBCLASS(STC) or JOBCLASS(TSU) initialization statements. REGION=region Specifies the default for the region size assigned to each job step. RESTART={No|Yes} Specifies whether (Yes) or not (No) JES2 is to requeue for execution any job of this job class that had been executing before the IPL of the system was repeated and a JES2 warm start was performed. | | Job journaling limits the scope of RESTART=YES. If the JOURNAL=Yes parameter is specified:
730
$T JOBCLASS
| | | | | | v JES2 restarts interrupted jobs from the beginning only if the MVS system is unable to restart the job from a step or checkpoint. v RESTART=NO has no effect; all jobs are requeued for execution. (Specifying RD=R|RNC on the JCL JOB statement has the same effect.) If the jobs are not journaled (JOURNAL=No), JES2 always attempts to restart interrupted jobs in this class from the beginning. This parameter is not allowed on either the JOBCLASS(STC) or JOBCLASS(TSU) initialization statements. SCAN={No|Yes} Specifies that the jobs in this job class are to be queued for output processing immediately after JCL conversion (Yes) or queued as usual (No). This parameter is not allowed on either the JOBCLASS(STC) or JOBCLASS(TSU) initialization statements. SCHENV=xxxxx The default SCHENV for a given JOBCLASS can be specified through $T JOBCLASS(c), SCHENV=xxxxx where xxxxx is a 1 to 16 character SCHENV. The SCHENV must be defined to WLM. If it is not, the setting will be ignored. SWA={ABOVE|BELOW} SWA=ABOVE specifies that all eligible schedule work area (SWA) control blocks created for started task will be placed above 16 megabytes in virtual storage. In a MAS environment, this parameter is set by the member on which the job is converted, not the member on which it executes. SWA=BELOW specifies that all SWA control blocks for started task will reside below 16 megabytes in virtual storage. TIME=min,sec Specifies the default for the maximum time that each job step can run. TYPE6={No|Yes} Specifies whether (YES) or not (NO) JES2 produces type 6 SMF records for started tasks. TYPE26={No|Yes} Specifies whether (YES) or not (NO) JES2 produces type 26 (job summary) SMF records for started tasks. XBM=xbm The 1 to 8 character name of the execution batch monitor (XBM) procedure to be executed by jobs running in the specified class. This parameter is not allowed on either the JOBCLASS(STC) or JOBCLASS(TSU) initialization statements. XEQCount=maximum Specifies the maximum number of jobs executed in the MAS.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Chapter 5. Command Reference Section
731
$T JOBCLASS
Scope
MAS-wide. This command affects job classes on all members of the multi-access spool.
Messages
The $HASP837 message displays the current values of all the parameters on the JOBCLASS initialization statement.
Example
1 $t jobclass(1),outdisp=(purge,write) $HASP837 JOBCLASS(1) $HASP837 JOBCLASS(1) ACCT=NO,PGMRNAME=NO,TIME=(000030, $HASP837 00),REGION=0001M,COMMAND=DISPLAY, $HASP837 BLP=NO,AUTH=(ALL),MSGLEVEL=(0,1), $HASP837 COPY=NO,HOLD=NO,IEFUJP=YES, $HASP837 IEFUSO=YES,JOURNAL=YES,LOG=YES, $HASP837 MODE=JES,OUTDISP=(PURGE,WRITE), $HASP837 OUTPUT=YES,PERFORM=000,PROCLIB=00, $HASP837 QHELD=NO,RESTART=NO,SCAN=NO, $HASP837 SCAN=NO,TYPE26=YES,TYPE6=YES, $HASP837 XBM=MYPROCDR,XEQCOUNT=(MAXIMUM=*, $HASP837 CURRENT=0)
Class 1 jobs are processed by MYPROCDR. If a job in this class ends normally and has not yet entered output processing, JES2 purges its JES2 data sets.
2 $t jobclass(a),qheld=yes
$HASP837 JOBCLASS(A) $HASP837 JOBCLASS(A) ACCT=NO,PGMRNAME=NO,TIME=(000030, $HASP837 00),REGION=0001M,COMMAND=DISPLAY, $HASP837 BLP=NO,AUTH=(ALL),MSGLEVEL=(0,1), $HASP837 COPY=NO,HOLD=NO,IEFUJP=YES, $HASP837 IEFUSO=YES,JOURNAL=YES,LOG=YES, $HASP837 MODE=JES,OUTDISP=(PURGE,WRITE), $HASP837 OUTPUT=YES,PERFORM=000,PROCLIB=00, $HASP837 QHELD=NO,RESTART=NO,SCAN=NO, $HASP837 SCAN=NO,TYPE26=YES,TYPE6=YES, $HASP837 XBM=,XEQCOUNT=(MAXIMUM=20, $HASP837 CURRENT=5)
$HASP837 JOBCLASS(W) $HASP837 JOBCLASS(W) ACCT=NO,PGMRNAME=NO,TIME=(000030, $HASP837 00),REGION=0001M,COMMAND=DISPLAY, $HASP837 BLP=NO,AUTH=(ALL),MSGLEVEL=(0,1), $HASP837 COPY=NO,HOLD=NO,IEFUJP=YES, $HASP837 IEFUSO=YES,JOURNAL=YES,LOG=YES, $HASP837 MODE=WLM,OUTDISP=(PURGE,WRITE), $HASP837 OUTPUT=YES,PERFORM=000,PROCLIB=00, $HASP837 QHELD=NO,RESTART=NO,SCAN=NO, $HASP837 SCAN=NO,TYPE26=YES,TYPE6=YES, $HASP837 XBM=,XEQCOUNT=(MAXIMUM=*, $HASP837 CURRENT=8)
Jobs in class W which have not yet entered execution will be selected by WLM-controlled initiators rather than JES-controlled initiators.
732
$T JOBCLASS
4 $t jobclass(stc),condpurg=yes,outdisp=(keep,leave)
$HASP837 JOBCLASS(STC) $HASP837 JOBCLASS(STC) TIME=(000010,00),REGION=0000K, $HASP837 COMMAND=EXECUTE,BLP=NO,AUTH=(ALL), $HASP837 MSGLEVEL=(0,0),MSGCLASS=A, $HASP837 IEFUJP=YES,IEFUSO=YES, $HASP837 OUTDISP=(KEEP,LEAVE), $HASP837 OUTPUT=YES,PERFORM=000,PROCLIB=00, $HASP837 SWA=ABOVE,TYPE26=YES,TYPE6=YES, $HASP837 XEQCOUNT=(),CONDPURG=YES
STCs that have not yet entered output processing are affected as follows: v If the STC ends normally and has only null data sets (other than JES2 data sets), JES2 purges its output. The specification of CONDPURG=YES produces the result. v If the STC ends normally but has non-null data sets, JES2 assigns the normal output disposition (keep) to the STCs JES data sets. v If the STC ends abnormally, JES2 assigns the abnormal output disposition (leave) to the STCs JES data sets.
733
$T JOBDEF
Syntax
$T JOBDEF ,ACCTFLD= IGNORE OPTIONAL REQUIRED ,BAD_JOBNAME_CHAR=c
,CNVT_ENQ=
FAIL WAIT
,DUPL_JOB=
DELAY NODELAY
,JCLERR=
No Yes
,JNUMWARN=nnn
,JOBNUM=nnnnnn
,JOBWARN=nnn
,PRTYHIGH=nn
,PRTYJECL=
No Yes
,PRTYJOB=
No Yes
,PRTYLOW=nn
,PRTYRATE=nnnn
,RANGE=
,RASSIGN=
No Yes
Parameters
ACCTFLD={IGNORE|OPTIONAL|REQUIRED} Specifies the type of scan that JES2 is to perform on the JCL JOB statement account field: IGNORE If the account field is specified on the JOB statement, it is ignored. OPTIONAL The account field on the JOB statement is optional and no account parameters are required. REQUIRED The account field is required on the JOB statement and the first two positional parameters must be specified. Note: The specified value is applied only to those jobs that have not yet entered the system. Scope: Single Member. BAD_JOBNAME_CHAR=c Specifies the character to use in place of invalid characters in a jobname. This translation is used for JES2 commands and displays as well as RACF entity names. Valid values are: A-Z, 0-9, $, #, @, /, +, :, ?, _, -, !
734
$T JOBDEF
Scope:MAS-Wide. CNVT_ENQ={FAIL|WAIT} Specifies if the converter should WAIT for the unavailable data set to become available or FAIL (with a JCL error) a job that requests an unavailable JCLLIB data set. Scope: MAS-Wide DUPL_JOB={DELAY|NODELAY} Specifies whether JES2 is allowed to concurrently execute batch jobs with the same name in the same MAS. DELAY Do not allow JES2 to execute batch jobs with the same name in the same MAS at the same time. NODELAY Allow JES2 to execute batch jobs with the same name in the same MAS to execute at the same time. Scope: MAS-Wide. JCLERR={No|Yes} Specifies whether JCL scan errors detected by JES2 cause a job to terminate. If you specify Y, job termination does not ensure all JCL errors have been found. If you specify N, a job with JCL errors can still fail during JCL conversion. Note: The specified value is applied only to those jobs that have not yet entered the system. Scope: Single Member. JOBNUM=nnnnnn|1000 Specifies the maximum number (10-200000) of jobs that can be in the JES2 job queue at any given time. This value includes all TSU and STC jobs, as well as batch jobs. This number can be increased or decreased by operator command. JNUMWARN=nnn The percentage (0-100) of assignable job numbers (for jobs originating at the local node) used at which the $HASP050 message alerts the operator of a shortage of job numbers. JES2 deletes this message from the console when the shortage is relieved (either by a decrease in resource use or by an increase in the threshold). Note: If you specify 0, no alert is given. Scope: MAS-Wide. JOBWARN=nnn The percentage (0-100) of job queue elements used at which the $HASP050 message alerts the operator of a shortage of job queue elements. JES2 deletes this message from the console when the resource shortage is relieved (either by a decrease in resource use or an increase in the threshold). Note: If you specify 0, no alert is given. Scope: MAS-Wide. PRTYHIGH=nn The upper priority limit (0-15) associated with the JES2 job priority aging
Chapter 5. Command Reference Section
735
$T JOBDEF
feature. JES2 does not priority-age a job if the jobs priority is (or becomes) equal to, or greater than, the PRTYHIGH value. Note: The specified value is applied only to those jobs that have not yet entered execution. Scope: MAS-Wide. PRTYJECL={No|Yes} Specifies whether the priority specification on the JES2 /*PRIORITY control statement is to be supported or ignored. Note: The specified value is applied only to those jobs that have not yet entered the system. Scope: Single Member. PRTYJOB={No|Yes} Specifies whether the priority specification (PRTY=) on the JOB statement is to be supported or ignored. Note: The specified value is applied only to those jobs that have not yet entered execution. Scope: Single Member. PRTYLOW=nn The lower priority limit (0-15) associated with the JES2 job priority aging feature. JES2 does priority-age a job only if the jobs priority is initially equal to or greater than the PRTYLOW value. Note: The specified value is applied only to those jobs that have not yet entered execution. Scope: MAS-Wide. PRTYRATE=nnnn The number (0-1440) of time periods into which a 24-hour day is to be divided for use in increasing a jobs priority by the JES2 priority aging feature. JES2 uses this rate to increase the jobs execution priority and the jobs output priority. For example, if you specify PRTYRATE=3, JES2 increases a jobs priority by one for every 8 hours it remains in the system. Notes: 1. The specified value is applied only to those jobs that have not yet entered execution. 2. JES2 increases a jobs priority only if it is equal to or above the value specified by the PRTYLOW parameter. 3. JES2 does not increase a jobs priority above the value specified by the PRTYHIGH parameter. 4. If you specify zero, no priority aging is performed. 5. Jobs in WLM-node job classes are not priority aged. Scope: MAS-Wide. RANGE=(nnnnnn,mmmmmm) The range of job numbers (1-999999) that JES2 uses to assign JOBIDs to jobs originating on the local node.
736
$T JOBDEF
nnnnnn The lowest number (1-999989) that is assigned as a JES2 job identifier for jobs originating at the local node. mmmmmm The highest number ((nnnn+10)-999999) that is assigned as a JES2 job identifier for jobs originating at the local node. The value specified for the highest number (mmmmmm) must be equal to the lowest number (nnnnnn) or at least 10 greater than the value used for the lowest number (nnnnnn). If you code this parameter, you can specify one or two values: v If you specify one value, that value becomes both the low and the high end of the range. v If you specify two values, the first value is the low end of the range and the second value the high end. The two values can be equal. If they are not equal, the second value must be larger than the first value. Notes: 1. The specified value is applied only to those jobs that have not yet entered the system. 2. JES2 maintains the new RANGE= specification until you perform a cold start or issue another $T JOBDEF,RANGE=( ) command. 3. Setting JOBDEF RANGE upper limit above 99,999 will cause the jobid format to change from CCCNNNNN to C0NNNNNN where CCC is JOB/STC/TSU and C is J/S/T and NNNNN and NNNNNN are numbers. Scope: MAS-Wide. RASSIGN={No|Yes} Specifies whether job numbers outside of the RANGE definition can be assigned to jobs received through NJE or spool reload.
Processing Considerations
See the individual parameter descriptions to determine the impact of this command on jobs in different phases of execution.
Scope
The scope of this command varies by parameter. See the description of each parameter for its scope. The values supplied for some parameters on this command will be in effect across the entire MAS, while the values supplied for other parameters will be in effect for this member only. Depending on your installations setup, you might want the single-member parameters for this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP835 message displays the current values of all the parameters on the JOBDEF initialization statement.
Chapter 5. Command Reference Section
737
$T JOBDEF
Example
1 $t jobdef,prtyjob=yes,prtylow=5,prtyhigh=12 $HASP835 $HASP835 JOBDEF $HASP835 $HASP835 $HASP835 $HASP835 $HASP835 JOBDEF ACCTFLD=OPTIONAL,BAD_JOBNAME_CHAR=_, CNVT_ENQ=FAIL,JCLERR=NO,JNUMBASE=7, JNUMFREE=9993,JNUMWARN=80,JOBFREE=494, JOBNUM=500,JOBWARN=80,PRTYHIGH=12,PRTYJECL=YES, PRTYJOB=YES,PRTYLOW=5,PRTYRATE=0,RANGE=(1, 9999),RASSIGN=YES,DUPL_JOB=DELAY
JES2 supports the priority specification on the JCL JOB statement. JES2 priority-ages all jobs whose initial priority is equal to, or greater than, 3 and less than 12. If a jobs priority becomes 12, JES2 stops priority-aging that job.
738
$T JOBPRTY(n)
Syntax
$T JOBPRTY n , ( n * ) n * n * ,PRIORITY=nn
,TIME=nnnnnn
Parameters
n The entry (1-9) being referenced in the JOBPRTY table. PRIORITY=nn The job priority (0-15) that is to be associated with the job execution time, specified by the TIME parameter. TIME=nnnnnn The execution time (1-279620, in minutes) of a job that is to be associated with the PRIORITY= value. The TIME value is compared against the estimated execution time for a job, taken from the accounting field of the JOB statement, the /*JOBPARM statement, or the ESTIME initialization statement.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v This command affects only those jobs that have not yet entered the system. v The JOBPRTY values do not affect a job if either of the following are true: A /*PRIORITY control statement was specified for the job and PRTYJECL=YES was specified on the JOBDEF initialization statement. The PRTY= parameter was specified on the jobs JCL JOB statement and PRTYJOB=YES was specified on the JOBDEF initialization statement. v Before changing the specifications of JOBPRTY(n), make sure the values you want assigned fit into the defined JOBPRTY table. See z/OS JES2 Initialization and Tuning Reference for further information about the size of the JOBPRTY(n) table.
739
$T JOBPRTY(n)
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP832 message displays the current values of all the parameters on the JOBPRTY(n) initialization statement.
Example
1 $t jobprty(2),priority=11,time=3 $HASP832 JOBPRTY(2) PRIORITY=11,TIME=3
Any job entering the system with an estimated execution time of 3 minutes receives a priority of 11 in the JES2 job queues.
740
$T L(nn).JT(nn)
Syntax
$T L nn , ( nn * ) mm * ,WS= ) ,high ( ws ) ws , ( mm * .JT nn , nn * ) mm * mm *
| |
,LIMit=
low ( low
| | | | |
Parameters
(nn) The subscript defining the NJE transmission line or lines that are affected by this command. The subscript can specify a numeric value (1-65535) or a range of values associating lines with SYSOUT transmitters. (n) The subscript defining the job transmitter or transmitters that are affected by this command. The subscript can specify a numeric value (1-7) or a range of values for job transmitters on the specified line. LIMit={m|m-n|m-*} Specifies the limits (in records) for SYSOUT data sets that the SYSOUT transmitter will select. For both variables m and n, you can specify a range of values from 0 through 999999. m and n can be equal. If they are not equal, n must be larger than m. If you code only m, that value becomes both the lower and upper limit. If * is specified for n, the upper limit is the default value 4294967295. WS=ws Specifies the work selection criteria for this device. Using any combination of user and JES2-defined criteria, you can specify up to 19 criteria in the WS= list. Multiple entries must be separated by commas and the list must always be enclosed in parentheses (even if only one criterion is specified). If a criterion is specified in the list, work selection is based on the current setting of the corresponding parameter. If a criterion is not specified in the list, the criterion is not considered during work selection. The general rules for specifying a job transmitter work selection list are: 1. You can use one slash (/) before or after one of the criterion to further specify work selection. Criteria placed before the slash must be matched exactly if the work is to be selected. Criteria placed after the slash do not have to match exactly.
Chapter 5. Command Reference Section
741
$T L(nn).JT(nn)
Table 55 on page 743, describes the effect of each criterion when placed before and after the slash. 2. The order of those criteria specified after the slash indicates the priority (highest to lowest, in left to right order) in which JES2 attempts to match them. 3. Specifying a minus sign (-) before a criterion causes that criterion to be removed from the list. Note: An invalid operand message ($HASP003) is issued if an error is found in the WS operand, that is, if you try to remove a criterion that is not there. For example: If you enter $tl1.jt1,ws=(-limit) and limit is not in the current work selection list for l1.jt1, you get the $HASP003 message. Specifying a criterion that is not currently specified in the list adds it to the end of the list either before or after the slash, depending on the placement of the slash in the command. If the slash is omitted from the command, JES2 assumes that the slash is at the end of the command. Specifying a criterion currently in the list causes that criterion to be moved to the end of the list, thereby decreasing its priority. To correct a WS list that was erroneously changed by an incorrect operator command, remove any criterion that should not be in the list (specify a minus sign (-) before the criterion). If necessary, reorder the remaining criterion. The LIMit subparameter has no effect as a work selection value for files received from a node that does not provide a page count for its files. For more information, refer to the sending nodes reference documentation. In general, the smaller the work selection list the less the placement of certain criteria within the list affects the work selection.
4.
5.
6.
7.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If you specify a null value for a characteristic, make sure that characteristic is not specified as an exact match criterion in the work selection list. If the characteristic is specified as an exact match criterion, this device does not select any output. v If you are uncertain of the characteristics in effect, enter the $D or $D U command for the particular SYSOUT transmitter.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP003 message displays the current settings of all the parameters on the L(nnnn).JT(n) initialization statement.
742
$T L(nn).JT(nn)
Example
1 $t l1.jt1,ws=(lim),lim=0-100 UNIT=0022,STATUS=DRAINED,LIMIT=(0,100), WS=(LIM/) $HASP603 L1.ST1 $HASP603
743
$T L(nnnn)
Syntax
$T L nnnn , ( nnnn * ) nnnn * nnnn * .ST Subscripts for .ST
| |
,LIMit=
m ( m ,n
,OUTDisp= )
| |
,PLIM=
m ( m ,n
,WS= )
criteria , ( criteria )
744
$T L(nnnn)
| | | |
Parameters
(nnnn) The subscript defining the NJE transmission line or lines that are affected by this command. The subscript can specify a numeric value (1-65535) or a range of values associating lines with SYSOUT transmitters. (n) The subscript defining the SYSOUT transmitter or transmitters that are affected by this command. The subscript can specify a numeric value (1-7) or a range of values for SYSOUT transmitters on the specified line. LIMit={m|m-n|m-*} Specifies the limits (in records) for SYSOUT data sets that the SYSOUT transmitter will select. This number applies to the total lines of all non-spun output in the job or to individual spun SYSOUT data sets (or data set fragments) in a job. For both variables m and n, you can specify a range of values from 0 through 999999. m and n can be equal. If they are not equal, n must be larger than m. If you code only m, that value becomes both the lower and upper limit. If * is specified for n, the upper limit is the default value 4294967295. OUTDISP={H|HOLD|K|KEEP|L|LEAVE| W|WRITE} Specifies the disposition(s) that the output must have in order to be eligible for processing by this transmission line. The operator can specify one to four of the following valid dispositions: Hold, Keep, Leave, or Write. PLIM={m|m-n|m-*} Specifies the limits (in pages) for SYSOUT data sets that the SYSOUT transmitter will select. This number applies to the total pages of all non-spun output in the job or to individual spun SYSOUT data sets in a job. For both variables m and n, you can specify a range of values from 0 through 999999. m and n can be equal. If they are not equal, n must be larger than m. If you code only m, that value becomes both the lower and upper limit. If * is specified for n, the upper limit is the default value 4294967295. WS=(criteria) Specifies the work selection criteria for this device. Using any combination of user and JES2-defined criteria, you can specify up to 19 criteria in the WS= list. Multiple entries must be separated by commas and the list must always be enclosed in parentheses (even if only one criterion is specified). If a criterion is specified in the list, work selection is based on the current setting of the corresponding parameter. If a criterion is not specified in the list, the criterion is not considered during work selection. The general rules for specifying a SYSOUT transmitter work selection list are: 1. You can use one slash (/) before or after one of the criterion to further specify work selection. Criteria placed before the slash must be matched exactly if the work is to be selected. Criteria placed after the slash do not have to match exactly. Table 55 on page 743, describes the effect of each criterion when placed before and after the slash. 2. The order of those criteria specified after the slash indicates the priority (highest to lowest, in left to right order) in which JES2 attempts to match them.
745
$T L(nnnn)
3. Specifying a minus sign (-) before a criterion causes that criterion to be removed from the list. Note: An invalid operand message ($HASP650) is issued if an error is found in the WS operand, that is, if you try to remove a criterion that is not there. For example: If you enter $toff1.st,ws=(-jobname) and jobname is not in the current work selection list for off1.st, you get the $HASP650 message. Specifying a criterion that is not currently specified in the list adds it to the end of the list either before or after the slash, depending on the placement of the slash in the command. If the slash is omitted from the command, JES2 assumes that the slash is at the end of the command. Specifying a criterion currently in the list causes that criterion to be moved to the end of the list, thereby decreasing its priority. To correct a WS list that was erroneously changed by an incorrect operator command, remove any criterion that should not be in the list (specify a minus sign (-) before the criterion). If necessary, reorder the remaining criterion. The LIMit subparameter has no effect as a work selection value for files received from a node that does not provide a page count for its files. For more information, refer to the sending nodes reference documentation. In general, the smaller the work selection list the less the placement of certain criteria within the list affects the work selection. For both line and page mode devices, the LIM= and PLIM= values must be satisfied.
4.
5.
6.
7. 8.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If you specify a null value for a characteristic, make sure that characteristic is not specified as an exact match criterion in the work selection list. If the characteristic is specified as an exact match criterion, this device does not select any output. v If you are uncertain of the characteristics in effect, enter the $D or $D U command for the particular SYSOUT transmitter.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP603 message displays the current settings of all the parameters on the L(nnnn).ST(n) initialization statement.
746
$T L(nnnn)
Example
1 $t l1.st1,ws=(lim),lim=0-100,plim=0-5 UNIT=0022,STATUS=DRAINED,LIMIT=(0,100), PLIM=(0,5),WS=(LIM/) $HASP603 L1.ST1 $HASP603
SYSOUT transmitter 1 on line 1 takes work selection limits of 0-100 lines and 0-5 pages.
Table 56. SYSOUT Transmitter Work Selection and Output Criteria CRITERION LIMit BEFORE SLASH (/) The amount of output generated by an output group must fall within the limits (LIMit= or PLIM=) set for this device. Otherwise, the output group is not selected. For both line and page mode devices, JES2 checks the LIM= and PLIM= values. This subparameter has no effect as a work selection value for files received from a node that does not provide a page count for its files. For more information, refer to the sending nodes reference documentation. OUTDisp The output groups output disposition must match the output disposition specified (OUTDISP=) for this device. AFTER SLASH (/) It is not required that the amount of output generated by the output group fall within the limits (LIMit= or PLIM=) set for this device. This subparameter has no effect as a work selection value for files received from a node that does not provide a page count for its files. For more information, refer to the sending nodes reference documentation.
It is not required that the output groups output disposition matches the output disposition (OUTDISP=) specified for this device; however, JES2 attempts to match dispositions. That match has top priority.
747
$T LINE(nnnn)
Syntax
$T LINE LNE nn , ( nn * ) mm * mm *
| | | | | | | |
Modification keywords
Modification keywords:
,AUTODISC=
No Yes
,CODE=
A B
,COMPRESS=
No Yes
,Discon=
I INTERRUPT No Q QUIESCE
,DUPLEX=
FULL HALF
,INTERFAC=
A B
| | | | | | | | | | | |
,JRNUM=defaultn
,JTNUM=defaultn
,LINECCHR=
EBCDIC USASCII
,LOG=
No Yes
,Password=password
,REST=rest
,SPEED=
HIGH LOW
,SRNUM=defaultn
,STNUM=defaultn
,TRaceio=
No Yes
,TRANSPAR=
No Yes
,UNIT=unit
AUTODISC
= =
No Yes
CODE
= =
A B
| 748
$T LINE(nnnn)
| | |
COMPRESS
= =
No Yes
Discon
= =
I INTERRUPT No Q QUIESCE
| | | |
DUPLEX
= =
FULL HALF
INTERFAC
= =
A B
JRNUM
= = > <
jrnum
JTNUM
= = > <
jtnum
| | | |
LINECCHR
= =
EBCDIC USASCII
LOG
= =
No Yes
REST
= = > <
rest
SPEED
= =
HIGH LOW
| |
SRNUM
= = > <
srnum
STNUM
= = > <
stnum
| |
TRaceio
= =
TRANSPAR
= =
No Yes
| |
UNIT
= = > <
unitTCP
TCPIP TCP/IP
| | | | | |
Parameters
nnnn The subscript defining the line(s) that are affected by this command. The subscript can specify a specific numeric value or a range of values (1-65535). For information about specifying a range for this subscript, see Syntax Conventions at the front of this chapter.
Chapter 5. Command Reference Section
749
$T LINE(nnnn)
AUTODISC={No|Yes} Specifies whether this line is to be automatically disconnected from a terminal when the local modem disconnects. Notes: 1. You may change this parameter only if the specified line is drained. 2. If you specify AUTODISC=Y for a leased, dedicated line, you may cause serious performance problems without receiving the $HASP094 I/O ERROR message. This may also occur if a modem is disconnected or powered-off during a session or a line is started with the modem disconnected or powered-off. CODE={A|B} The BSC adapter code for this line. Code A refers to the first code in a BSC adapter. Code B refers to the second code in a BSC adapter that has the dual code feature. If the dual code feature is not present, do not specify CODE=B. Note: You may change this parameter only if the specified line is drained. COMPRESS={No|Yes} Specifies whether this line allows BSC-attached hardware terminals to use data compression. If you specify Y, the specification of the COMPRESS= parameter on the RMT(nnnn) initialization statement or the COMP/NOCOMP parameter on any remote device (Rnnnn.xxx) initialization statements is allowed to take affect. For example, if RMT(nnnn) specifies COMPRESS=NO, or Rnnnn.xxx specifies NOCOMP, no data compression takes place. If you specify N, this parameter overrides the specification of the COMPRESS= parameter on the RMT(nnnn) initialization statement for any remote workstation that might use this line and the COMP/NOCOMP parameter on any remote device (Rnnnn.xxx) initialization statements. Notes: 1. Compression compatibility is standard for SNA remotes and BSC multi-leaving workstations. NJE data will always be compressed. 2. You may change this parameter only if the specified line is drained. Discon={I|INTERRUPT|No|Q|QUIESCE} Specifies whether the line is to be disconnected immediately (I) or after it completes its current activity (Q). I|INTERRUPT A sign-off record is sent to the attached multi-leaving remote workstation or to the connected NJE node. No The line is not to be disconnected. Q|QUIESCE The disconnection occurs as though the remote operator or NJE node had signed off. Note: You may change this parameter only if the specified line is not currently drained. DUPLEX={FULL|HALF} Specifies whether this is a half-duplex or full-duplex line.
750
$T LINE(nnnn)
Note: You may change this parameter only if the specified line is drained. INTERFAC={A|B} The BSC adapter interface for this line. A refers to the first interface in a BSC adapter; B refers to the second, which has the dual-communications interface feature. If the adapter does not have the dual-communications interface feature, do not specify INTERFAC=B. Note: You may change this parameter only if the specified line is drained. JRNUM=n|DEFAULT Specifies the number (0-7) of network job receivers to be associated with this NJE line. The value of n is an integer that specifies the maximum number of input job streams allowed to be concurrently active on this line. This specification should match the value of JTNUM for this line on other nodes with which this node is to communicate directly. The sum of the values of JRNUM and SRNUM for this line must not exceed 8, or the statement is ignored. This value overrides the default global value set by the JRNUM= parameter of the NJEDEF statement. If this value is omitted or set to DEFAULT, the value is taken from the JRNUM= parameter of NJEDEF. If omission or use of DEFAULT would result in a sum of JRNUM= and SRNUM= exceeding 8, JRNUM= is reduced so that the sum would equal 8. JTNUM=n|DEFAULT Specifies the number (0-7) of network job transmitters to be associated with this NJE line. The value of n is an integer that specifies the maximum number of output job streams allowed to be concurrently active on this line. This value should remain unchanged unless it is known that a particular user has some jobs with extremely large amounts of input to be transmitted and other short jobs that must be transmitted concurrently. If there are not enough receivers on the receiving node to receive jobs over the line, excess transmitters drain automatically. The sum of the values JTNUM= and STNUM= for this line must not exceed 8, or the statement is ignored. This value overrides the default global value set by the JTNUM= parameter of the NJEDEF statement. If this value is omitted or set to DEFAULT, the value is taken from the JTNUM= parameter of NJEDEF. If omission or use of DEFAULT would result in a sum of JTNUM= and STNUM= exceeding 8, JTNUM= is reduced so that the sum would equal 8. LINECCHR={EBCDIC|USASCII} EBCDIC The BSC adapter is configured for EBCDIC line-control characters. USASCII The BSC adapter is configured for ASCII line-control characters. If you specify USASCII, this line must be used with a 2770, 2780, or 3780 USASCII terminal. Note: You may change this parameter only if the specified line is drained. LOG={No|Yes} Specifies whether JES2 is to monitor the specified line for channel-end completions (BSC lines) or SNA events (SNA lines). If you specify Y, JES2 issues a diagnostic message to the console with master level authority for each channel-end completion or SNA event detected on the specified line. Password=cccccccc The security password, 1 to 8 alphameric characters, used to reject
Chapter 5. Command Reference Section
751
$T LINE(nnnn)
unauthorized terminals attempting to use the specified line. If you specify a null password (P=), JES2 deletes the previously-assigned password. Note: If you specify a password for an SNA line, it is only meaningful if that line is a dedicated line. You should not specify a password for an SNA line that is used in NJE host-to-host sessions. Be certain to make a note of those passwords assigned because there is no facility for displaying the passwords in effect. REST=nnnn An integer (0-2000) that represents the resistance rating of the line as viewed by the installation management and coordinated with other installations. The resistance is an arbitrary value set to indicate a specific lines ability/inability to route work due to normal work load requirements and line speed. See z/OS JES2 Initialization and Tuning Reference for details about resistance selection. Note: You may change this parameter only if the specified line is drained. SPEED={HIGH|LOW} Specifies whether this is a high-speed (greater than 9600 bits per second) or low-speed line. Notes: 1. This parameter is applicable only to 360/20 sub-models 2 and 4. 2. You may change this parameter only if the specified line is drained. SRNUM=n|DEFAULT Specifies the number (0-7) of network SYSOUT receivers to be associated with this NJE line. The value of n is an integer which specifies the maximum number of SYSOUT receiver streams allowed to be concurrently active on this line. This specification should match the value of STNUM= for this line on the other nodes with which this member is to communicate directly. The sum of the values JRNUM= and SRNUM= for this line must not exceed 8, or the statement is ignored. This value overrides the default global value set by the SRNUM= parameter on the NJEDEF statement. If this value is omitted or set to DEFAULT, the value is taken from the SRNUM= parameter of NJEDEF. If omission or use of DEFAULT would result in a sum of SRNUM= and JRNUM= exceeding 8, SRNUM= is reduced so that the sum would equal 8. STNUM=n|DEFAULT Specifies the number (0-7) of network SYSOUT transmitters which will be associated with this NJE line. The value of n is an integer which specifies the maximum number of SYSOUT transmitter streams allowed to be concurrently active on this line. If there are not enough receivers on the receiving node to receive SYSOUT data over the line, excess transmitters drain automatically. The sum of the values JTNUM= and STNUM= for this line must not exceed 8, or the statement is ignored. This value overrides the default global value set by the STNUM= parameter of the NJEDEF statement. If this value is omitted or set to DEFAULT, the value is taken from the STNUM= parameter of NJEDEF. If omission or use of DEFAULT would result in a sum of STNUM= and JTNUM= exceeding 8, STNUM= is reduced so that the sum would equal 8. | | | TRaceio[=NO|YES|JES=YES|NO|COMMON=YES|NO|VERBOSE=YES|NO] Specifies whether tracing is to be active and which types of traces are to be activated for the TCP/IP line.
752
$T LINE(nnnn)
| | | | | | | | | | | | | YES Indicates all types of tracing are to be done. NO Indicates no tracing is to be done. JES=YES|NO Indicates whether data and control records passed between JES and TCP/IP are to be traced for this line. COMMON=YES|NO Indicates whether TCP/IP and other services called by IAZNJTCP are to be traced. VERBOSE=YES|NO Indicates whether diagnostic messages are to be issued to the master console and SYSLOG. TRANSPAR={No|Yes} Specifies whether the text transparency feature of the BSC adapter is present on this line. You must specify Y for NJE lines. Notes: 1. TRANSPAR=NO is valid only for EP links generated to operate as a D/T2701 without the transparency feature. For device types which require the transparency feature -- such as 2703 and CTC -- specifying TRANSPAR=NO has no effect and TRANSPAR=YES is forced. 2. You may change this parameter only if the specified line is drained. | | | | | | | | | | | | UNIT=[devnum|/devnum|SNA][TCP|/TCPIP|TCP/IP] Specifies a 3-digit or 4-digit hexadecimal device number for a binary synchronous communication (BSC) line. Device numbers can be specified by any of the following formats:
UNIT=ddd UNIT=dddd UNIT=/ddd UNIT=/dddd
where ddd and dddd represent the device numbers. A slash (/) can optionally precede the device number (for compatibility with other commands that require a slash to denote a 4-digit device number). Specify UNIT=SNA to obtain an SNA line, or UNIT=TCP to obtain a TCP/IP line.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
753
$T LINE(nnnn)
Messages
The $HASP880 message displays the current values of all the parameters on the LINE(nnnn) initialization statement.
Examples
1 $t line(4),autodisc=y,transpar=y $HASP880 LINE4 UNIT=0C14,STATUS=DRAINED,AUTODISC=YES, CODE=A,COMPRESS=YES,DUPLEX=HALF,INTERFAC=A, LINECCHR=EBCDIC,LOG=NO,PASSWORD=(SET), REST=0,SPEED=HIGH,TRACEIO=NO,TRANSPAR=YES
When the local modem disconnects, JES2 automatically disconnects line 4 from the remote terminal. The text transparency feature of the BSC adapter is present on line 4.
2 $t line(12),log=y,p=
JES2 deletes the password for line 12 and no password is required. JES2 issues a diagnostic message for each SNA event detected on line 12. In the $HASP880 message, the SESSIONS= parameter displays the name of the SNA session (JESA) on this line and the status of that session (INACTIVE).
3 $t line(26),unit=sna
JES2 specifies that previously defined line 26 is an SNA line. Its status is drained, so a $S LINE command is necessary to start it.
4 $t line(1),unit=026 LINE1 UNIT=0026,STATUS=DRAINED,AUTODISC=YES,CODE=A, COMPRESS=YES,DUPLEX=FULL,INTERFAC=A, LINECCHR=EBCDIC,LOG=NO,PASSWORD=(NOTSET), REST=0,SPEED=LOW,TRACEIO=NO,TRANSPAR=YES
JES2 specifies that line 1 has an address of 0026. When the local modem disconnects, JES2 automatically disconnects line 1 from the remote terminal.
754
$T LOGON(n)
Syntax
$T LGN LOGON n , ( n * ) n * n *
Modification keywords
Modification keywords:
,Applid=cccccccc
,LOG=
No Yes
,Password=cccccccc
,TRaceio=
No Yes
Applid
= ^= > <
cccccccc
LOG
= ^=
No Yes
TRaceio
= ^=
No Yes
Parameters
n The subscript defining the interface(s) affected by this command. You may specify a specific interface using the value of n on the LOGON(n) initialization statement that defines that interface. The subscript can also specify a range of values.
Applid=cccccccc The application name, 1 to 8 alphameric characters, assigned to JES2 to identify JES2 as an application to VTAM. This name must be defined to VTAM. See z/OS Communications Server: New Function Summaryfor more information about VTAM definition.
Chapter 5. Command Reference Section
755
$T LOGON(n)
In the JES2 networking environment, each job entry subsystem must have a unique name by which it is defined to VTAM. For NJE, this name must correspond to an application name in one of the application table (APT) entries defined for the local node (OWNNODE parameter on the NJEDEF initialization statement). See z/OS JES2 Initialization and Tuning Reference for information about defining APT entries. Note: This parameter can only be changed when the session is inactive. LOG={No|Yes} Specifies whether JES2 is to monitor the JES2/VTAM interface and record all SNA events on the console with master level authority. Note: When the JES2/VTAM interface is monitored, activity on all SNA lines is monitored. Password=cccccccc The security password, 1 to 8 alphameric characters, used to reject unauthorized terminals attempting to use the JES2/VTAM interface. If you specify a null password (P=), JES2 deletes the previously assigned password. Notes: 1. The password that you assign must be defined to VTAM. See z/OS Communications Server: New Function Summaryfor more information about VTAM definition. 2. You must be certain to make note of the password assigned because there is no facility for displaying the password in effect. TRaceio={No|Yes} Specifies whether I/O operations on the specified interface are to be traced. Trace ID 5 is used for interface tracing.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T NODE(nnnn) command sets command authority for a node. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP881 message displays the current values of the parameters on the LOGON(n) initialization statement.
Examples
1 $t logon(1),p=,a=pgm1 $HASP881 LOGON(1) APPLID=PGM1,STATUS=DRAINED, LOG=NO,PASSWORD=(NOTSET),SESSIONS=, TRACEIO=NO
756
$T LOGON(n)
JES2 deletes the password for the JES2/VTAM interface, and no password is required. The application ID for this interface is PGM1; no session exists using this interface.
2 $t logon(1),log=y,tr=y
JES2 issues a diagnostic message for each SNA event on both this JES2/VTAM interface (LOGON1) and any SNA line. Trace ID 5 traces event completions on this JES2/VTAM interface. The SESSIONS= indicates the SNA session name on this interface (MYJES), the session status (INACTIVE), and the SNA line used for connection (LINE3).
757
$T MASDEF
Syntax
$T MASDEF , AUTOEMEM AUTOESYS = OFF ON
,DORMANCY=
mmmm ( mmmm
,HOLD=nnnnnnnn ) ,nnnn
,LOCKOUT=nnnnn
,RESTART=
No Yes
,SHARED=
CHECK NOCHECK
,SYNCTOL=nnn
Parameters
AUTOEMEM|AUTOSYS={OFF|ON} Specifies whether (ON) or not (OFF) this JES2 MAS member wants to have its work restarted if this member fails. If a MAS member has specified AUTOEMEM=ON and the MVS system where the member resides fails, its jobs will be warmstarted if another active member in the same SYSPLEX has specified RESTART=YES on its MASDEF statement. If you specify AUTOEMEM=ON but no other MAS member has RESTART=YES specified, the work active on this member will not be automatically restarted. Note: The automatic restart management can restart jobs (if the job is registered with the automatic restart management) regardless of whether AUTOEMEM is ON or OFF. DORMANCY=(mmmm,nnnn) mmmm The minimum time, in hundredths of seconds (0-3000), a member of a multi-access spool configuration must wait before it attempts to regain control of the checkpoint data set. This specification prevents any one member from monopolizing the checkpoint data set. nnnn The maximum time, in hundredths of seconds (100-6000), that a member can wait before it attempts to gain control of the checkpoint data set.
Attention: 1. If the value specified for nnnn is too small, excessive system time may be spent in unnecessary attempts to reacquire the checkpoint data set. 2. If the value specified for nnnn is too large, the start of certain functions and the responses to certain display commands may be delayed.
758
$T MASDEF
HOLD=nnnnnnnn The minimum length of time, in hundredths of seconds (0-99999999), that a member of a multi-access spool configuration must maintain control of the checkpoint data set. Note: Setting this parameter to a high value tends to limit access of other members of the configuration to the checkpoint data set. LOCKOUT=nnnnn The time interval, in hundredths of seconds (500-15000) from the first denied request for the checkpoint data set by a member of a multi-access spool configuration to the time that the configuration assumes the member controlling the checkpoint data set is inoperative. When this time interval has elapsed, JES2 issues the $HASP263 WAITING FOR ACCESS TO JES2 CHECKPOINT VOLUME message indicating a lockout situation, and then resets the time interval to the LOCKOUT value. RESTART={No|Yes} Specifies whether (YES) or not (NO) a JES2 MAS member can make the jobs associated with a JES2 MAS member that resided on a failed MVS member eligible for restart. Notes: 1. If you specify RESTART=YES, this member will restart any work associated with a member that specified AUTOEMEM=ON when the MVS that the member is running on failed. 2. If a JES2 member has been identified as the target of an Automatic Reconfiguration Facility takeover, specify RESTART=NO. For more information about the Processor Resource/Systems Manager (PR/SM) environment to which this applies, see z/OS MVS Recovery and Reconfiguration Guide. SHARED={CHECK|NOCHECK} Specifies whether the direct access volumes being used in the configuration for spool and checkpoint devices are to be marked as shared (CHECK) or non-shared (NOCHECK). In a single-member environment, you must specify NOCHECK. In a multi-access spool configuration, you must specify CHECK. The following are exceptions to this rule: v In a test situation when isolated spool volumes are being used, you can specify NOCHECK. v If the shared pack is damaged, the installation can use a non-shared pack to bring up one JES2 system. SYNCTOL=nnn The time interval, in seconds (0-300), that must expire before a JES2 member in a multi-access spool configuration is assumed to be inoperative.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T NODE(nnnn) command sets the command authority for a node. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Chapter 5. Command Reference Section
759
$T MASDEF
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP843 message displays the current values of all the parameters.
Examples
1 $T MASDEF,HOLD=1000,LOCKOUT=5000 $HASP843 MASDEF OWNMEMB=IBM1,AUTOEMEM=OFF,CKPTLOCK=ACTION, $HASP843 COLDTIME=(1993.295,13:52:35),COLDVRSN=SP 5.1.0, $HASP843 DORMANCY=(100,500),HOLD=1000,LOCKOUT=5000, $HASP843 RESTART=NO,SHARED=NOCHECK,SYNCTOL=120, $HASP843 XCFGRPNM=POK
When a member gets control of the checkpoint data set, it must maintain that control for a minimum of 10 seconds. If another member requests access to the checkpoint data set and is denied, JES2 waits 50 seconds before it assumes the member controlling the checkpoint data set is inoperative.
2 $T MASDEF,RESTART=YES,AUTOEMEM=ON
$HASP843 MASDEF OWNMEMB=IBM1,AUTOEMEM=STARTING,CKPTLOCK=ACTION, $HASP843 COLDTIME=(1993.295,13:52:35),COLDVRSN=SP 5.1.0, $HASP843 DORMANCY=(100,500),HOLD=1000,LOCKOUT=5000, $HASP843 RESTART=YES,SHARED=NOCHECK,SYNCTOL=120, $HASP843 XCFGRPNM=POK
JES2 specifies that this member of a sysplex can reset the software checkpoint data set automatically for a failing member of the same sysplex. To see AUTOEMEM=ON on a display console, an operator enters a $D MASDEF command after entering the $T MASDEF.
3 $T MASDEF,AUTOEMEM=OFF
$HASP843 MASDEF OWNMEMB=IBM1,AUTOEMEM=STOPPING,CKPTLOCK=ACTION, $HASP843 COLDTIME=(1993.295,13:52:35),COLDVRSN=SP 5.1.0, $HASP843 DORMANCY=(100,500),HOLD=1000,LOCKOUT=5000, $HASP843 RESTART=YES,SHARED=NOCHECK,SYNCTOL=120, $HASP843 XCFGRPNM=POK
JES2 specifies that this member of a sysplex no longer can have its jobs restarted through the automatic resetting of the software checkpoint data set. To see ,AUTOEMEM=OFF on a display console, you must enter the $D MASDEF command after entering the $T MASDEF command.
760
$T MEMBer
Syntax
$T MEMBer nn member , ( nn * ) mm * -member -member -* mm *
member member *
Modification keywords
Modification keywords:
,IND=
No Yes
IND
= =
No Yes
, /
SLEVEL
= = > <
slevel
, /
SSNAME
= = > <
ssname
761
$T MEMBer
, /
STATUS
= =
WAITING-WARMSTART-CLEANUP ACTIVE DEFINED DORMANT DOWN DRAINED FAILED INITIALIZING INUSE JESXCF-FAILED JES2-FAILED MVS-GONE TERMINATED TERMINATING UNDEFINED UNDEFINED-PENDING
, /
SYSNAME
= = > <
sysname
, /
VERSION
= = > <
version
Parameters
memname|n|n-n|* Specifies the 1 or 2 digit member number (1-32) or the 1 to 8 alphanumeric member name. Specify only the following characters: A-Z, 0-9, $, #, and @. Each member must have a unique name. The console that enters this command is attached to the member specified here. You can specify wildcards on this parameter. See Using wildcards on page 98 for additional information. IND={No|Yes} Specifies whether this member is to be set to independent mode or reset to normal operational mode within the multi-access spool configuration. If you specify Y, the member only processes jobs that are routed to it and designated to execute on a member in independent mode. Non-independent mode jobs that try to execute cannot do so until the member is taken out of independent mode. The spool volumes are still shared with other members of the multi-access spool configuration. This function allows an installation to test a new member, or make modifications to an existing member, without disrupting the other processors or their workloads. SLEVEL=slevel Only members with the specified service level are modified. STATUS[=ACTIVE|DEFINED|DORMANT|DOWN|DRAINED| FAILED|INITIALIZING|INUSE|JES2-FAILED|JESXCF-FAILED| MVS-GONE|TERMINATED|TERMINATING| UNDEFINED|UNDEFINEDPENDING|WAITING-WARMSTART-CLEANUP] Specifies that the current status of the member is to be displayed. Valid keyword values for the STATUS parameter and their meanings are as follows: ACTIVE Displayed when the member that is up and running.
762
$T MEMBer
DEFINED Displays only defined members. Note: This parameter is only a filter. You can specify this status but DEFINED will not be displayed in the message. DORMANT Displayed when the member that is up and running but has not recently accessed the JES2 checkpoint. DOWN Displays only TERMINATED, DRAINED or FAILED members. Note: This parameter is only a filter. You can specify this status but DOWN will not be displayed in the message. DRAINED Displayed when JES2 is no longer available and all work has been reset. FAILED Displays all members that have a status of JES2-FAILED, JESXCF-FAILED or MVS-GONE. Note: This parameter is only a filter. You can specify this status but FAILED will not be displayed in the message. INITIALIZING Displayed when the member is in the process of initializing. INUSE Displays only ACTIVE, INITIALIZING, TERMINATING and DORMANT members. Note: This parameter is only a filter. You can specify this status but INUSE will not be displayed in the message. JES2-FAILED Displayed when JES2 abends. Indicates that the address space is no longer available. JESXCF-FAILED Displayed when JES2 abends. Indicates that JESXCF is no longer available. MVS-GONE Displayed when the MVS system that JES2 was running on is no longer available and a $E MEMBER is required. TERMINATED Displayed after a $PJES2,TERM is issued. Specifies that JES2 is no longer available and a $E MEMBER is required. TERMINATING Displayed when JES2 is in the process of terminating. UNDEFINED Displayed when the member has not been defined through a MEMBER(n) initialization statement.
763
$T MEMBer
UNDEFINED-PENDING Displayed when the member was previously defined through a MEMBER(n) initialization statement, but is in the process of having its definition deleted by another member in initialization. WAITING-WARMSTART-CLEANUP Display members for which warmstart processing has completed with some jobs still pending processing. SYSNAME[=system-name] Specifies that the system name of the MVS image of the member is to be displayed. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. The system name will not be displayed if it is equal to the member name (NAME=) or if the member is inactive. VERSION=version Indicates the version of the JES2 release that is running on this member.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MAS-wide. This command has an effect across the entire MAS.
Messages
JES2 issues either the $HASP673 message.
Example
1 $t member(sys3),ind=y NAME=SYS3,STATUS=ACTIVE,IND=YES, LASTART=(ALL-MEMBER-WARN,(1997.134,12:54:30)), SYSNAME=SY1,TIME=(1997.136,19:08:00.77), VERSION=OS 2.4.0,SLEVEL=0,SSNAME=JES2, BOSS=YES $HASP673 MEMBER(2) $HASP673 $HASP673 $HASP673 $HASP673
The member to which the entering console is attached is placed in independent mode.
764
$T NETSRV(nnn)
| | | | | | |
Syntax
$T NETsrv NETSERV NSV nn , ( nn * ) mm * mm *
| | | | | | | |
Modification keywords
Modification keywords:
,SOCKet=socket
,STACK=stack
No Yes No Yes
No Verbose= Yes
SOCKet
= ^= > <
socket
STACK
= ^= > <
stack
765
$T NETSRV(nnn)
|
, , / / Jes = ^= = ^= TRaceio= ( / Common = ^= No Yes No Yes No Yes )
/ No / Verbose / Yes
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Parameters
SOCKET= The name of a local socket upon which the NETSRV should listen. TRaceio=(YES|NO|JES=YES|NO|COMMON=YES|NO|VERBOSE=YES|NO) Specifies whether tracing is to be active, and which types of traces are to be activated for the server. YES Indicates all types of tracing are to be done. NO Indicates no tracing is to be done. JES=YES|NO Indicates whether data and control records passed between JES and TCP/IP are to be traced for this server. COMMON=YES|NO Indicates whether TCP/IP and other services called by IAZNJTCP are to be traced. VERBOSE=YES|NO Indicates whether diagnostic messages are to be issued to the master console and SYSLOG. STACK= Specifies the name of a TCP/IP stack to be used by this server. If not specified, all stacks on the local machine will be used. ASID=(Selection limiting keyword) Specifies the hexadecimal address space id associated with the active NETSRV. NAME=(Selection limiting keyword) Specifies the address space name associated with the active NETSRV. The address space name is the subsystem name followed by the character S followed by the 3digit device number, for example, JES2S001.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T NODE(nnnn) command sets command authority for a node. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
766
$T NETSRV(nnn)
| | | | | | | | |
Scope
Single member.
Messages
$HASP898
Example
$t netsrv1,socket=local $HASP898 NETSRV1 STATUS=DRAINED,SOCKET=LOCAL,STACK=, $HASP898 TRACEIO=(JES=NO,COMMON=NO,VERBOSE=NO)
767
$T NJEDEF
Syntax
$T NJEDEF ,DELAY=nnn ,HDRBUF=( , LIMIT=nnnn WARN=nnn )
| | | | | | | |
,MAILMSG=
No Yes
,MAXHOP=nnnn
,NODENUM=
,RESTMAX=nnnnnnnn
,RESTNODE=nnnn
,RESTTOL=nnnn
,TIMEtol=nnnn
Parameters
DELAY=nnn The maximum length of time, in seconds (10-999) that a message or command is delayed in any stage of transmission between nodes before the system assumes that possible lockout situations have occurred. When this time interval expires, the system discards messages and commands in an attempt to clear the congestion and remove the lockout situation. HDRBUF={LIMIT|WARN} Allows installations to control the amount of storage used by NJE headers and trailers. LIMIT=nnnn The maximum number (10-9999) of NJE header and trailer cells allocated at this installation for jobs and SYSOUT data received from the network. This command can increase, but not decrease, this value. WARN=nnn Specifies the percentage (0-100) of NJE header and trailer cells at use in an installation. If use of NJE header and trailer cells reaches or exceeds the number specified, JES2 processing notifies the operator by issuing a $HASP050 message. If 0 is specified, the $HASP050 message is not issued. MAILMSG={No|Yes} Specifies whether (YES) or not (NO) JES2 issues the $HASP549 mail notification message automatically to notify a userid that a transmitted file has arrived from another node or a spool reload procedure. If EXIT 13 passes back a return code of 8 or 12, this parameter is ignored. For more information about EXIT 13, see z/OS JES2 Installation Exits.
768
$T NJEDEF
MAXHOP=nnnn The maximum number of nodes (0-32K) a job or output can cross to reach a destination. You can determine this variable through the following algorithm: length of the system x 2 + 2. The $HASP528 message is issued when a job has exceeded this parameter. If you specify 0, no comparison is done. If you specify 32K, JES2 checks indefinitely. | | | | NODENUM= Specifies the maximum number (132767) of nodes in the NJE network to which this member belongs. This value may only be increased if all systems are at z/OS V1R7 and NITs in CKPT. RESTMAX=nnnnnnnn|79992000 The maximum tolerable resistance (0 to 79992000) of a connection. If the resistance of a path is greater than the value specified in RESTMAX, the path will be ignored. Specifying lower values on this parameter tends to eliminate longer paths; use low values when a system should wait for better connections before attempting to communicate with nodes connected through inefficient paths. (For more information see, z/OS JES2 Initialization and Tuning Guide.) Note: This parameter applies to both adjacent and non-adjacent nodes. RESTNODE=nnnn|100 Specifies the resistance (1-2000) of this node to the flow of jobs through the network. This value provides half of this nodes resistance, which is combined with the resistance of node at the other end of the connection to establish a connections total resistance. High values of RESTNODE tend to make JES2 systems choose other paths rather than come through this systems node (see z/OS JES2 Initialization and Tuning Guide for more information). RESTTOL=nnnn|0 The maximum difference in resistance (0-8000) allowed between the best possible path and an acceptable alternate path. This value has no meaning unless the value specified in the PATH parameter is greater than 1. If the value of RESTTOL is greater than or equal to the minimum resistance between any two nodes within the network, jobs and messages may be transmitted throughout the network in an erratic fashion. (For more information, see z/OS JES2 Initialization and Tuning Guide.) TIMEtol=nnnn|1440 Specifies in approximate minutes the time (0 - 1500) allowed between the TOD clock of this node and any adjacent node. For example, if you specify TIMETOL=60 and an adjacent node attempts a sign on to your node with a clock that differs from yours by 60 minutes or less, the sign on is successful. If the adjacent nodes clock differs from yours by significantly more than 60 minutes, the sign on fails. You supply a TIMEtol= value (or accept the default value) so that JES2 can determine whether to accept status information about any node in the network or permit a sign-on. During JES2 processing, if a record is received with a future timestamp, but the time does not differ from the TOD clock value by more than the TIMEtol=value, JES2 accepts the record. If the timestamp is in the future by an amount that is significantly greater than the TIMEtol= value, JES2 rejects the record. For
Chapter 5. Command Reference Section
769
$T NJEDEF
network topology records, rejection results in the record being ignored (with an error message). For network sign on records, the sign on to the adjacent node fails.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T NODE(nnnn) command sets the command authority for a node. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP831 message displays the current values of all the parameters on the NJEDEF initialization statement.
Examples
1 $t njedef,delay=340 $HASP831 NJEDEF OWNNAME=POK,OWNNODE=1,DELAY=340, $HASP831 HDRBUF=(LIMIT=10,WARN=80,FREE=10),JRNUM=1, $HASP831 JTNUM=3,SRNUM=4,STNUM=3,LINENUM=3,MAILMSG=NO, $HASP831 MAXHOP=0,NODENUM=5,PATH=1,RESTMAX=79992000, $HASP831 RESTNODE=100,RESTTOL=0,TIMETOL=1440
JES2 delays messages and commands for a maximum of 340 seconds before the system assumes a possible lockout situation and discards them.
2 $t njedef,maxhop=300
$HASP831 NJEDEF OWNNAME=POK,OWNNODE=1,DELAY=340, $HASP831 HDRBUF=(LIMIT=10,WARN=80,FREE=10),JRNUM=1, $HASP831 JTNUM=3,SRNUM=4,STNUM=3,LINENUM=3,MAILMSG=NO, $HASP831 MAXHOP=300,NODENUM=5,PATH=1,RESTMAX=79992000, $HASP831 RESTNODE=100,RESTTOL=0,TIMETOL=1440
JES2 displays that a job or output can cross up to 300 nodes to reach a specific destination.
3 $t njedef,maxhop=10
$HASP831 NJEDEF OWNNAME=POK,OWNNODE=1,DELAY=340, $HASP831 HDRBUF=(LIMIT=10,WARN=80,FREE=10),JRNUM=1, $HASP831 JTNUM=3,SRNUM=4,STNUM=3,LINENUM=3,MAILMSG=NO, $HASP831 MAXHOP=10,NODENUM=5,PATH=1,RESTMAX=79992000, $HASP831 RESTNODE=100,RESTTOL=0,TIMETOL=1440
770
$T NJEDEF
JES2 displays that a job or output can cross no more than 10 nodes to reach a specific destination.
4 $t njedef,mailmsg=yes
$HASP831 NJEDEF OWNNAME=POK,OWNNODE=1,DELAY=340, $HASP831 HDRBUF=(LIMIT=10,WARN=80,FREE=10),JRNUM=1, $HASP831 JTNUM=3,SRNUM=4,STNUM=3,LINENUM=3,MAILMSG=YES, $HASP831 MAXHOP=10,NODENUM=5,PATH=1,RESTMAX=79992000, $HASP831 RESTNODE=100,RESTTOL=0,TIMETOL=1440
JES2 displays that the mail notification message is sent to TSO/E userids whenever another node or spool reload procedure transmits mail to this node.
5 $t njedef,hdrbuf=(limit=20,warn=85)
$HASP831 NJEDEF OWNNAME=POK,OWNNODE=1,DELAY=340, $HASP831 HDRBUF=(LIMIT=20,WARN=85,FREE=20),JRNUM=1, $HASP831 JTNUM=3,SRNUM=4,STNUM=3,LINENUM=3,MAILMSG=YES, $HASP831 MAXHOP=10,NODENUM=5,PATH=1,RESTMAX=79992000, $HASP831 RESTNODE=100,RESTTOL=0,TIMETOL=1440
JES2 displays that 20 cells have been allocated for building NJE header and trailer cells. JES2 will issue the $HASP050 message when 85% of these cells have been used.
771
$T NODE(nnnn)
Syntax
$T NODE nnnnn xxxxxxxx , ( nnnnn * xxxxxxxx xxxxxxxx ) nnnnn * nnnnn *
| | | | | |
Modification keywords
Modification keywords:
,ADJACENT=
YES NO
| | | | | |
,OWNNODE=
YES NO
,DIRECT=
YES NO
,ENDNODE=
No Yes
,HOLD=
JOBS NONE
,LINE=nnnn
,LOGMODE=avvvvvvv
,LOGON=logon
,NAME=xxxxxxxxnamenumberlocal ,Password=(
, SEND=xxxxxxxx VERify=xxxxxxxx )
772
$T NODE(nnnn)
| | | |
,PATHMGR=
No Yes
,PENCRYPT=
No Yes
,PRIVATE=
No Yes
,RECeive=
,REST=nnnn
,SENTREST=
ACCEPT IGNORE
| |
,SUBnet=SUBNET
,TRace=
No Yes
,TRAnsmit=
| | | |
, / / / / Job AUTH =(
= ^= Net = ^= System = ^=
| |
COMPACT
= ^= > <
nn
ENDNODE
= ^=
No Yes
| |
HOLD
= ^=
JOBS NONE
LINE
= ^= > <
nnnn
| |
LOGMODE
= ^= > <
avvvvvvv
LOGON
= ^= > <
logon
| | | |
NETSRV
PATHMGR
= ^=
No Yes
PENCRYPT
= ^=
No Yes
PRIVATE
= ^=
No Yes
773
$T NODE(nnnn)
| |
RECeive
= ^=
REST
= ^= > <
nnnn
| | | |
SENTREST
= ^=
ACCEPT IGNORE
| |
xxxxxxxx
= ^= > <
subnet
TRace
= ^=
No Yes
| |
TRAnsmit
= ^=
| |
Parameters
(nnnnn|xxxxxxxx|xx*|*) The subscript defining the node(s) affected by this command.
| | | |
The subscript can specify: v A numeric value (1-32767), as specified by the NODENUM parameter on the NJEDEF initialization statement), for example NODE(105). Note: For information about specifying a range of values for the nnnn subscript, see Syntax Conventions at the front of this chapter. v The name of the 1 to 8alphanumeric or special ($, #, or @) character node (xxxxxxxx) as specified by the NAME parameter on the NODE(nnnn) initialization statement (for example, NODE[POKBLDG1]). This name must be the same for all members of a MAS configuration. v Wildcards to specify a generic symbolic range (for example, POK* implies all defined nodes whose names begin with POK) or a generic value (for example, * implies node 1 to the highest numbered node as specified by the NODENUM parameter on the NJEDEF initialization statement). For example, NODE(*). See Using wildcards on page 98 for additional information. Note: To change the name of the node (NAME=), you must specify a numeric value as the subscript. Scope: Single Member. AUTH=([Device=No|Yes[]Job=No|Yes] [Net=No|Yes][System=No|Yes]) Specifies the types of commands that the indicated node has authority to issue to the local node.
774
$T NODE(nnnn)
Device={No|Yes} If Device=Y and Net=Y is also specified, the node has authority to issue device commands to the local node. If Device=N is specified, the node does not have device command authority. Job={No|Yes} If Job=Y and Net=Y is also specified, the node has authority to issue job-related commands to the local node. If Job=Y and Net=N is specified, the node can control only those jobs on the local node that it owns. Note: A node is considered to own a job if the job originated at that node or if the jobs default print and/or punch output is for that node. If Device=N is specified, the node does not have job command authority. Net={No|Yes} If Net=Y is specified, the node has authority to issue all types of commands from its system console to the local node (except for those commands that are always prohibited when they originate from another node). If Net=N is specified, the node can control only those jobs on the local node that it owns (providing Job=Y is also specified). Note: A node is considered to own a job if the job originated at that node or if the jobs default print and/or punch output is for that node. System={No|Yes} If System=Y is specified and Net=Y is also specified, the node has authority to issue system commands to the local node. If System=N is specified, the node does not have system command authority. Notes: 1. If you specify N for every AUTH= subparameter, the indicated node has no specific command authority, and the local node honors only those few commands requiring no authority (for example, display commands). 2. Network authority requires having system, job, or device authority in addition to network authority to have system, job, or device commands take affect at another node. 3. In a multi-access spool configuration, you should enter the $T NODE(nnnn),AUTH= command on each member of the node because each member maintains its own version of the node information table. Scope: Single Member. | | | | | | | | ADJACENT=YES|NO (Selection limiting keyword) Specifies whether the node is currently directly attached. Scope: Single Member. OWNNODE=YES|NO (Selection limiting keyword) Specifies whether the node is the local node. Scope: Single Member. DIRECT=YES|NO Specifies whether the node must be directly attached:
775
$T NODE(nnnn)
| | | | | | | | | | YES Indicates that only direct connections to this node will be considered when computing path information. NO Indicates that the node may be reached either through direct or indirect (for example, store and forward) paths. DIRECT has MAS scope. The values can be changed on any start other than a hot start and will affect all MAS members regardless of whether the node is active or inactive. Scope: MAS-Wide. COMPACT=nn The compaction table number (0-99) used for outbound compaction in communicating with the specified node. Zero denotes no compaction. Scope: Single Member. ENDNODE={No|Yes} Specifies whether the node is to be considered eligible for use in store-and-forward operations. | | | | | | | No Yes Indicates that the node is to be considered ineligible for use in store-and-forward operations. ENDNODE has MAS scope. The values can be changed on any start other than a hot start and will affect all MAS members regardless of whether the node is active or inactive. By specifying ENDNODE=YES for a local node, you ensure that path manager connect records are not sent from your node to adjacent nodes. Indicates that the node is to be considered eligible for use in store-and-forward operations.
Scope: MAS-Wide. HOLD={JOBS|NONE} Specifies whether the local node holds jobs (HOLD=JOBS) or does not hold jobs (HOLD=NONE) received from the specified node. Scope: Single Member. | | | LINE=nnnn Specifies a line to be dedicated to the NJE session associated with this node. The subscript is specified as a numeric value (1-65535). Scope: Single Member. LOGMODE=avvvvvvv Specifies the logon mode table entry name for this application. This name will determine which entry in the VTAM application logon mode table is to be used to provide a set of session parameters for the application program if the program participates as the secondary end of a session. This parameter is valid only for NJE applications. The name specified should follow the VTAM naming conventions for a logon mode table entry name. Scope: Single Member. LOGON=logon Specifies the number (1-999) of the local LOGON DCT which should be used
776
$T NODE(nnnn)
when specifying connections to the application. The default value of 0 indicates that the LOGON DCT defined with the lowest number is to be used. Scope: Single Member. | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NAME=xxxxxxxx | name | number | local Specifies the 1 to 8 alphanumeric or special ($, #, or @) characters that symbolically defines the node. A DEStid initialization statement defining this name is not required. NAME has MAS scope. The values can be changed on any start other than a hot start and will affect all MAS members regardless of whether the node is active or inactive. The name of any active node, including the local node, may be modified if a symbolic subscript is used. Notes: 1. To change the name of the node, if you specify a numeric value as the subscript, the node must not be active (connected to the local node). No static connections involving that node may exist, nor any connections with a RESTMAX state. However, if you specify a symbolic value as the subscript, JES2 considers this change a simple renaming of the node and will allow the change even if the node is active. In order to make the node inactive, issue the command $D CONNECT, NA=oldname, STATIC=YES to determine the connections. If they exist, use the $DEL CONNECT command to remove them, and then retry the $T NODE command. If you receive the $HASP003 error message, then check for RESTMAX connections by issuing the command:$D CONNECT, NA=oldname, STATE=RESTMAX Note these connections, then INOP the lines to the nodes that are causing the RESTMAX state condition to exist with the command: $ELNEx If too many of these connections exist, then you may find it prudent to shutdown ALL lines by issuing the command: $ELNEx(*) or, HOTSTART JES2 and effectively shutdown this NJE node. Now that the node is fully inactive, proceed with the command: $TNODE(xx),NAME=newname $TDESTID(oldname), DEST=oldname. In order for the node to become inactive, these commands need to be issued on all members of the MAS. 2. If you issue a $T NODE to change the name of an existing node, you must first issue a $T DESTID command specifying the new node number. All old node names remain on the system as destids until the member is warm started. 3. When using the spool offload facility, be certain that the node name of the offloaded system is known to the reloading system. If these names do not match, unpredictable routing of jobs and SYSOUT data can occur on the reloading system. ANY unresolved routing results in jobs or SYSOUT data executing or printing locally. 4. $T of nodename can be used if the NODE(nnnn) to be altered is OWNNODE, and all members are at least z/OS 1.7 and NITCs are in the checkpoint. 5. If any inactive connections involving this node exist, they will be deleted to avoid sending erroneous information about the new node name into the network. 6. Before defining a node name that starts with a numeric character, ensure that all nodes in your network support node names that start with numeric characters, that is, the nodes are at JES2 SP5.1 or higher.
777
$T NODE(nnnn)
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7. When naming a node, avoid names that consist only of 1 to 4digit numbers (for example, NAME=3 or NAME=246). This can cause confusion when the name is used in commands or displayed in messages. To reduce any possibility of confusion if you must use 1 to 4digit numbers for the name, pad the name to the left with zeroes (for example, NAME=00000246). Using the following initialization statements, the command examples below help you to understand the effect of specifying a name that consists of four or less digits.
NODE(3) NAME=246 NODE(246) NAME=POKIPSY
If you enter: $T NODE(3) JES2 modifies the third node (NAME=246). If you enter: $T NODE(POKIPSY) JES2 modifies the 246th node (NAME=POKIPSY). If you enter: $T NODE(246) JES2 modifies the third node (NODE(3) NAME=246), not NODE(246) NAME=POKIPSY. 8. To add back a member that was in the MAS before the node name change, you also should update XCFGRPNM to the new node name on MASDEF on a warm start. name number Can only be done when no MAS member has an active connection to the node. local Is allowed. Can be done anytime.
Scope: MAS-Wide. NETSRV= Specifies the device number of the NETSRV which should be used to establish a TCP/IP NJE connection to this node. Default: 0 (no NETSRV is to be dedicated). Scope: Single Member. Password=[SEND=xxxxxxxx|[VERify=xxxxxxxx] If you specify both SEND and VERify, use a comma to separate the subparameters, and enclose them in parenthesis. SEND The 1 to 8 character password sent to a node by an NJE connection. VERify The 1 to 8 character password received from a node by an NJE connection. Notes: 1. If the specified node is equal to the value of the OWNNODE parameter on the NJEDEF statement, the password is transmitted to other systems so that the system authorization may be verified. 2. If you specify a null password (P=VER=, SEND= or both), JES2 deletes the previously assigned password. 3. Be certain to make a note of the password assigned because there is no facility for displaying the current passwords.
778
$T NODE(nnnn)
Scope: Single Member. | | | | | | | | | | | PATHMGR={No|Yes} Indicates whether NCC records relevant to the path manager should be sent to this node. If the node is not a directly adjacent node, this parameter is not used. PATHMGR has MAS scope. The values can be changed on any start other than a hot start and will affect all MAS members regardless of whether the node is active or inactive. NO YES Indicates that Reset (L), Concurrence (K), Add (M), and Subtract (N) NCC records are not sent to this adjacent node. Indicates that all relevant NCC records are passed to this adjacent node.
Note: If you specify PATHMGR=, the connection must be inactive. Scope: MAS-Wide. PENCRYPT={No|Yes} Specifies whether passwords are to be encrypted for jobs destined to the specified node. Scope: Single Member.
| | | | | | | | | | | |
PRIVATE={No|Yes} Indicates whether the connection between this node and an adjacent node is broadcast to the rest of the network. This parameter is not used if the node is not a directly adjacent node. PRIVATE has MAS scope. The values can be changed on any start other than a hot start and will affect all MAS members regardless of whether the node is active or inactive. NO Indicates that the connection is considered public; Any Add (M) and Subtract (N) records for this connection are broadcast to all adjacent path manager nodes. Indicates that the connection is considered private; Any Add (M) and Subtract (N) records for this connection are not broadcast to adjacent nodes.
YES
Scope: MAS-Wide. RECeive={BOTH|JOBS|NONE|SYSOUT} Specifies what the local node (as specified by the OWNNODE parameter on the NJEDEF initialization statement) receives from the specified node. BOTH The local node receives both jobs and SYSOUT data from the specified node. JOBS The local node receives only jobs from the specified node. NONE The local node does not receive any data from the specified node. SYSOUT The local node receives only SYSOUT data from the specified node. Scope: Single Member. REST=nnnn An integer (0-2000) that represents the resistance rating of the connection as
779
$T NODE(nnnn)
viewed by the installation manager and coordinated with other installations. See z/OS JES2 Initialization and Tuning Reference for details about selecting resistances. Default: 0. Note that, although 0 is the default, it cannot be specified. Scope: Single Member. SENTREST={ACCEPT|IGNORE} The total resistance of a connection is comprised of the partial resistance of the local node plus the partial resistance of the node to which you are making a connection. When a connection is established between the local node and another node (that is, the node you specify on this NODE(nnnn) statement), SENTREST=ACCEPT specifies that the partial resistance sent to the local node during signon processing is to be added to the partial resistance calculated by the local node to determine the total resistance of the connection. SENTREST=IGNORE specifies that only the partial resistance calculated at the local node is to be used to calculate the total resistance of the connection. The partial resistance sent by the other node is ignored. This keyword only applies if PATHMGR=NO. This keyword is useful when the node being connected to, cannot control the resistance being sent during signon processing. Scope: Single Member. | | | | | | | | | | | | | | | | | SIGNON= Specifies the type of signon security to be used when NJE connections to this node are established: COMPAT Specifies that node and line passwords, where applicable, are to be exchanged and verified by the NJE signon process. SECURE Specifies that encrypted session keys are to be exchanged rather than node and line passwords. Scope: Single Member. SUBnet=xxxxxxxx Specifies the 1 to 8alphanumeric or special ($, #, or @) character name of the subnet that should include this node. Information about connections between two nodes in the same subnet are not passed between nodes outside that subnet. SUBnet has MAS scope. The values can be changed on any start other than a hot start and will affect all MAS members regardless of whether the node is active or inactive. Scope: MAS-Wide. TRace={No|Yes} Specifies whether NCC records to and from the direct connection to the specified node should be traced. Tracing is activated if trace IDs 21, 22, 23, and 24 are currently enabled. NO YES Indicates that trace records are not to be written Indicates that trace records are to be written
780
$T NODE(nnnn)
TRAnsmit={BOTH|JOBS|NONE|SYSOUT} Specifies what type of data the local node (as specified by the OWNNODE parameter on the NJEDEF initialization statement) transmits to the specified adjacentnode. BOTH The local node transmits both jobs and SYSOUT data to the specified node. JOBS The local node transmits only jobs to the specified node. NONE The local node does not transmit any data to the specified node. SYSOUT The local node transmits only SYSOUT data to the specified node. Scope: Single Member.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T INTRDR command sets the command authority for internal readers. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
The scope of this command varies by parameter. See the description of each parameter for its scope. The values supplied for some parameters on this command will be in effect across the entire MAS while the values supplied for other parameters will be in effect for this member only. Depending on your installations setup, you might want the parameters for this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP826 message displays the current values of all the parameters on the NODE(nnnn) initialization statement.
Examples
| | | | | | | |
1 $t node(5),name=newyork,hold=none,rec=jobs $HASP826 NODE(5) NAME=NEWYORK,STATUS=(UNCONNECTED), AUTH=(DEVICE=YES,JOB=YES,NET=NO, SYSTEM=NO),TRANSMIT=BOTH, RECEIVE=JOBS,HOLD=NONE,REST=0, PENCRYPT=NO,REST=0,COMPACT=0, DIRECT=NO,SIGNON=COMPACT,NETSRV=0,
781
$T NODE(nnnn)
| | |
LINE=0,LOGMODE=,PASSWORD=(VERIFY= (NOTSET),SEND=(NOTSET)),PATHMGR=YES, PRIVATE=NO,SUBNET=,TRACE=NO
JES2 updates the characteristics for node 5, whos new symbolic name is NEWYORK. The local node receives only jobs from node 5 and it does not hold these jobs. The STATUS= parameter shows that node 5 is not currently connected to the local node. The PASSWORD= parameter shows that the password was nullified when this node was defined or changed. | | | | | | | | | | |
2 $t node(pok*),auth=(device=n,job=y),tra=both
$HASP826 NODE(1) NAME=POK,STATUS=OWNNODE, AUTH=(DEVICE=NO,JOB=YES,NET=NO, SYSTEM=YES),TRANSMIT=BOTH, RECEIVE=BOTH,HOLD=NONE,PENCRYPT=NO, DIRECT=NO,SIGNON=COMPACT,NETSRV=0, REST=0,COMPACT=0,LINE=0, LOGMODE=,PASSWORD=(VERIFY=(NOTSET), SEND=((NOTSET)),PATHMGR=YES,PRIVATE=NO, SUBNET=,TRACE=NO
JES2 changes the command authorities for all nodes whose names begin with POK (in this case, node 1). These nodes are authorized to issue job-related commands to the local node, but they cannot affect local devices. The local node now transmits both jobs and SYSOUT data to node 1. The STATUS= parameter shows the individual nodes connection status with the local node.
782
$T NUM
Syntax
$T NUM ,BASE=nnnnn
Parameters
BASE=nnnnn The new job number base (1-999999). JES2 assigns nnnnn to the next job entering the system unless nnnnn has already been assigned to a job. If the value of nnnnn is in use, JES2 assigns the new job the next available job number beyond the value of nnnnn.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T INTRDR command sets the command authority for internal readers. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MAS-wide. This command has an effect across the entire MAS.
Messages
The $HASP609 message displays the new job number base.
Example
1 $t num, base=1000 $HASP609 NUMBER SET TO 1000
If the number 1000 is not in use, JES2 assigns 1000 to the next job in the system. If there is currently a job numbered 1000 in the system, JES2 assigns the next available job number.
783
$T O Job
Syntax
$T O Job JOBQ JQ Stc Tsu job_id jobname , ( nn * output output ) mm * job_id *
Modification keywords
Modification keywords:
,Burst=
No Yes
C FCB
=xxxx
FLash O
=xxxx
,Forms=xxxxxxxx
,HOLD=
,OFFS=
offs , (1) ( n )
, OUTDisp =
,Priority=nnn
,PRMode=vvvvvvvv
,Queue=c
,RELease=
Dest Routecde
=dest
784
$T O Job
T UCS
=xxxx
,Writer=xxxxxxxx
, /
ALL
Burst
= ^=
No Yes
, /
Age DAys /
> <
nn
/ /
C FCB
= ^= > <
xxxx
/ /
FLash O
= ^= > <
xxxx
Forms
= ^= > <
xxxxxxxx
, /
HELD
HOLD
= ^=
, /
HOLDRC
= ^= > <
OPER
, /
Hours
> <
nn
, /
JM JOBMASK /
= ^= > <
xxxxxxxx
OFFS
= ^=
n , (1) ( n )
785
$T O Job
OUTDisp
= ^=
, /
OUTGrp
= ^=
grpid
, /
PAGEs
= ^= > <
pages
Priority
= ^= > <
priority
PRMode
= ^= > <
vvvvvvvv
Queue
= ^=
, /
READY
, /
REBUILD
= ^=
No Yes
, /
RECords
= ^= > <
records
/ /
Dest Routecde
= ^= > <
dest
, /
SECLABEL
= ^= > <
seclabel
, /
TSOavail
= ^=
No Yes
/ /
T UCS
= ^= > <
xxxx
, /
USERID
= ^= > <
userid
Writer
= ^= > <
xxxxxxxx
Parameters
output Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a
786
$T O Job
combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). output The name of the job that is to be set. This name must appear as coded on the JOB statement and must be enclosed in apostrophes. If more than one job exists with this name, no action is taken. Job A Batch job or range of batch jobs is to be set. JOBQ|JQ Specifies all jobs, STCs, and TSUs across the MAS for processing. Stc A started task or range of started tasks is to be set. Tsu A time-sharing user or range of time-sharing users is to be set. Age|DAys<days | Age|DAys>days Specifies the age of affected output in days. Only output more (with DAYS>nn) or less (with DAYS<nn) than the specified number of days in age are affected, The days are counted from the current hour. ALL JES2 modifies the specified jobs output elements based on the presence of filters as follows:
ALL specified? YES YES NO NO Filters? YES NO YES NO Meaning ALL is ignored Command applies to all job output elements belonging to the specified job ALL is not considered Command applies to all job output elements belonging to the specified job
B|BURST={No|Yes} Specifies whether the printed output is to be burst into separate sheets (Yes) or to be in continuous, fanfold mode (No). | | | | | | | | | | | | | | CC=(ABEND|ABENDED|CANcelled|CNVT_abend|CODE| COMPleted|ENDed_by_cc|EOM_failure|JCLerror| SECurity_failure|TYPE) Specifies the completion information associated with the job. ABENDED Specifies only jobs which have abnormally ended. ABEND Specifies the ABEND code associated with the jobs termination. CANcelled Specifies only jobs which were cancelled by the operator. CNVT_abend Specifies only jobs which have abnormally ended during the conversion phase. CODE Specifies the last (or highest) completion code of steps in the job.
787
$T O Job
| | | | | | | | | | COMPleted Specifies only jobs which completed. ENDed_by_cc Specifies only jobs which were ended by a step completion code. EOM_failure Specifies only jobs which failed in end-of-memory processing. JCLerror Specifies jobs which did not execute due to a JCL error. SECurity_failure Specifies jobs which failed security validation. C|FCB={xxxx|****} A 1 to 4 alphameric character or special character ($ # @) identifier for the data set forms control or carriage specifications. Four asterisks (****) specifies that the output group is to be reset to the default setting specified by the installation. Dest|Routecde=dest The destination assigned to the job output element(s). You may specify a remote destination (workstation), another node, or a specific local device. The value for all routing numbers can range from 1 to 32767. For more information about valid specifications, see Route codes on page 97. If this command originates from another node in the network and the D|ROUTECDE= operand does not specify a node (first-level destination), the receiving node defaults the first-level destination to the node were the command originated. If this command is sent to another node in the network using the $N command, be aware that the receiving node will default the node (first-level destination) of Dest|ROUTECDE= operand to the sending node. If another node is desired, specify a destination on the Dest|ROUTECDE= operand that will resolve to the desired node (first-level destination) at the receiving node. Notes: 1. If an output group is queued for transmission and an operator changes its destination, the userid portion of the routing is lost. If an output group is interrupted while printing and the destination is changed, the output group will begin printing from the top when it is printed at the new destination. 2. NODENAME=REQUIRED on the DESTDEF initialization statement will cause JES2 to require that a userid be prefixed with a node name. 3. Greater than (> or >=) and less than (< or <=) filters may be used in conjunction to support route code ranges. For example, you could specify the filters R>=R1,R<=R7 to affect output for all remotes in the range R1 to R7, Note that: v The destination being filtered upon is converted to its binary equivalent prior to the comparison. v Open-ended ranges (for example, a > filter without a < filter, or a < filter without a > filter) are not allowed. v When using nodal ranges, a specification of nodename.* must be used. Only the nodal routing of the output will be compared. The following specifications are valid: LOCAL|ANYLOCAL Indicates that jobs are to be printed or punched at the local node.
788
$T O Job
destid Indicates that jobs are to be printed or punched at the specified node(s). You can specify this location by an alias for the name of a node. If destid is specified alone, it refers to both the node and the remote. Nnnnn|nodename Indicates that jobs are to be printed or punched at the specified node(s). You can specify a node using the decimal node identifier or an EBCDIC nodename. NnnnnRmmmm|node.remote|node.userid Indicates routing to the remote Rmmmm at the node Nnnnn. Rmmmm can also be specified as RMmmmm or RMTmmmm. Ummmm Indicates special local routing. node.destid Indicates a destination at the specified node. The destid refers to both the node and the remote. The node specified in the destid must be the same as the node portion of the route code. If the number of the remote is reassigned, you can use the destid to send to this node. remote Indicates routing to a remote. Remote can be specified in any of the following ways: LOCAL|ANYLOCAL Indicates that jobs are to be printed or punched at the local node. Rmmmm Indicates routing to the specified remote. Rmmmm can also be specified as RMmmmm or RMTmmmm. destid Indicates routing to a destid referring to a remote. userid Indicates routing to a valid TSO userid. node.* Indicates that the node name is to be modified to the specified node name, but the remote name will remain the same. * Indicates that the node name is to be modified to the local node name, but the remote name will remain the same.
F|Forms={xxxxxxxx| ****} A 1 to 8 alphameric or special character ($ # @) identifier for the print or punch forms. Four asterisks (****) specifies that the output group is to be reset to the default setting specified by the installation. FLASH|O={xxxx|****} A 1 to 4 alphameric or special character ($ # @) overlay name (FLASH). Four asterisks (****) specifies that the output group is to be reset to the default setting specified by the installation. H|Hours>hours | H|Hours<hours Specifies the age of affected output in hours. Only output more (with HOURS>nn) or less (with HOURS<nn) than the specified number of hours in age are affected.
789
$T O Job
HELD Output is HELD if it is destined for this node and the output disposition is HOLD or LEAVE. HOLD={-OPER|-SYS|NONE|OPER} This operand explicitly sets the operator HOLD type. The only hold type that can be set using this operand is OPER. This parameter prevents JES2 from selecting an output group for any processing other than purging. Specifying HOLD= for an output group is more restrictive than specifying an output groups output disposition. OUTDISP=HOLD or LEAVE prevents JES2 from selecting an output group for print/punch or external writer processing only. Specifying the REL= parameter on this command makes the output available for processing. HOLDRC Job characteristics are only assigned to objects with the specified hold reason codes. JOBMASK|JM=xxxxxxxx Specifies 1 to 8 alphanumeric, special ($, #, or @) or wildcard characters (or a combination of them) that can be used to select a subset of jobs whose job name matches this combination of characters (mask). For a description of wildcards, see Using wildcards on page 98. Notes: 1. This is a positional parameter. Specify this following the job_id (JOB, STC, or TSU) or JOBQ parameter. 2. The JOBMASK parameter is not valid with the jobname parameter. OUTDISP={H|HOLD|K|KEEP|L|LEAVE|P| PURGE|W|WRITE} As a modification keyword, OUTDISP= indicates what the new output disposition should be for the specified jobs output. Specify WRITE, HOLD, LEAVE, KEEP, or PURGE. As a selection limiting keyword, OUTDISP= indicates that you wish to modify the output for the specified job that matches this current disposition. Specify, WRITE, HOLD, LEAVE, or KEEP. Note: If you do not specify this parameter, all output with a disposition of WRITE, HOLD, KEEP, or LEAVE will be modified. OUTGrp=grpid[.joeid1[.joeid2]] The job output element(s) that are modified. grpid The 1 to 8 character alphameric group ID that is either specified by the user in the JCL or generated by JES2. If you specify only group ID (OUTGRP=grpid) on this command, JES2 modifies all the job output elements in that group. joeid1 A number assigned by JES2 to distinguish between job output elements within the output group. If you specify only group ID and the first qualifier (OUTGRP=grpid.joeid1) on this command, JES2 modifies all copies of the specified job output element in that group. joeid2 A number assigned by JES2 to distinguish between several copies of grpid.joeid1. If you specify group ID and both qualifiers
790
$T O Job
(OUTGRP=grpid.joeid1.joeid2) on this command, JES2 modifies only the specified copy (joeid2) within the job output element (joeid1) in that group. Note: This parameter is positional and must immediate follow the jobid (JOB, STC, TSU), JOBQ or jobname (or JOBMASK if coded) parameter. OFFS=(n[,n,n])|(+n,[n,n])|(-n,[n,n])|0 Specifies updates to the archival status of sysout for this job. Output will be marked as already offloaded for all offload device numbers that were specified and as not offloaded for all offload device numbers not specified. Specifying + or - before the offload device number(s) updates offload status of the output for only the specified offload device numbers. Specifying + marks the output as offloaded and specifying - marks it as not having been offloaded. Use this option to allow offloading of output that have been already been offloaded or to prevent offloading of certain output. P|PRIORITY=nnn The queue selection priority (0-255) assigned to the job output element(s). PAGEs=pages Only jobs with the specified number of pages of output are modified. PRMode=vvvvvvvv The process mode (1 to 8 alphameric characters) for the job output element(s). Q|QUEUE=c The output class (A-Z and 0-9) assigned to the job output element(s). READY Output is READY if it is not HELD. REBUILD={No|Yes} Output on the rebuild queue is to be set (Yes) or not set (No). RECORDS=records Only output groups with the specified number of records are to be modified. REL|RELease={ALL|SYS|OPER} The operand used to explicitly clear one or more HOLD types. If you are only specifying one type, you may drop the parentheses. Parentheses are required, however, when you specify more than one type. You may use this operand to clear all HOLD types (OPER and SYS). In addition, you may use the type ALL to clear all holds applied against the specified output group(s). SECLABEL=seclabel Only output groups with the specified security label are to be modified. TSOavail={No|Yes} Only output which is (Yes) or is not (No) eligible for the TSO OUTPUT command is to be modified. USERID=userid Only output groups associated with the specified userid are to be modified. T|UCS={xxxx|****} A 1 to 4 character alphameric or special character ($ # @) identifier for the universal character set specification. This will also set the character set (CHAR1) to be used on Non-Impact printers unless the UCS and CHARS values are both assigned to an output data set by a jobs JCL and their values are not equal. Four asterisks (****) specifies that the output group is to be reset to the default setting specified by the installation.
791
$T O Job
W|Writer={xxxxxxxx|****} A 1 to 8 alphanumeric or special ($ # @) character write name assigned to the job output element(s). Four asterisks (****) specifies that the output group is to be reset to a null value.
Authority Required
This command requires job authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If you use this command to change both the destination and other output characteristics, those changes to the other output characteristics are ignored for duplicate output groups (those groups created by specifying more than one job copy or by issuing the $N command to repeat the processing of an output group). v If any of the characteristics that you specify on this command are also specified as work selection criteria with the WS= parameter on the device initialization statement or using the $T device command, then those characteristics are compared against the matching output device specifications; work is selected accordingly. v If the following characteristics are modified, the output group will begin printing from the top when the output starts printing again. Burst FCB Destination Form Overlay (Flash) Process mode(PRMODE) UCS Writer name v Once a held output group has been released (the output disposition is changed to WRITE or KEEP), the group is no longer available for processing by the TSO/E OUTPUT command For more information, see the $HASP686 message in z/OS JES2 Messages.
Scope
MAS-wide. This command has an effect across the entire MAS.
Messages
The $HASP686 message displays the current output characteristics for each job output element specified.
Examples
1 $t o j17,outgrp=group2,outdisp=write,/outdisp=hold JOB00017 $HASP686 OUTPUT(D15USER) $HASP686 $HASP686 $HASP686 OUTGRP=GROUP2.2.1,BURST=NO,FCB=****, FLASH=****,FORMS=STD,HOLD=(NONE), HOLDRC=,OUTDISP=HOLD,PAGES=, PRIORITY=144,PRMODE=LINE,QUEUE=A,
792
$T O Job
$HASP686 $HASP686 $HASP686 RECORDS=(1 OF 1),ROUTECDE=LOCAL, SECLABEL=,TSOAVAIL=NO,UCS=****, USERID=D15USER,WRITER=
JES2 assigns an OUTDISP value of HOLD to all the job output element(s) of the output group that is identified by GROUP2 with a disposition of WRITE and belongs to batch job 17.
2 $t o j12,all,hold=oper
JOB00012 00000090 $HASP686 OUTPUT(D15USERC) OUTGRP=2.1.1,BURST=NO,FCB=****, $HASP686 FLASH=****,FORMS=STD,HOLD=(OPER), $HASP686 HOLDRC=,OUTDISP=WRITE,PAGES=, $HASP686 PRIORITY=144,PRMODE=LINE,QUEUE=A, $HASP686 RECORDS=(38 OF 38),ROUTECDE=LOCAL, $HASP686 SECLABEL=,TSOAVAIL=NO,UCS=****, $HASP686 USERID=D15USER,WRITER= $HASP686 OUTPUT(D15USERC) OUTGRP=1.1.1,BURST=NO,FCB=****, $HASP686 FLASH=****,FORMS=STD,HOLD=(OPER), $HASP686 HOLDRC=,OUTDISP=WRITE,PAGES=, $HASP686 PRIORITY=144,PRMODE=LINE,QUEUE=A, $HASP686 RECORDS=(1 OF 1),ROUTECDE=LOCAL, $HASP686 SECLABEL=,TSOAVAIL=NO,UCS=****, $HASP686 USERID=D15USER,WRITER=
JES2 places an operator hold on all job output elements that belong to batch job 12.
3 $T O J1-*,JM=IB*,OUTGRP=1.1.1,OUTDISP=WRITE,/OUTDISP=HOLD $HASP686 OUTPUT(IBMUSERX) OUTPUT(IBMUSERX) OUTGRP=1.1.1,BURST=NO,FCB=****, FLASH=****,FORMS=STD,HOLD=(NONE), HOLDRC=,OUTDISP=HOLD,PAGES=, PRIORITY=128,PRMODE=LINE,QUEUE=A, RECORDS=(2139 OF 2139), ROUTECDE=LOCAL,SECLABEL=,TSOAVAIL=NO, UCS=****,USERID=IBMUSER,WRITER= $HASP686 OUTPUT(IBMUSERY) OUTPUT(IBMUSERY) OUTGRP=1.1.1,BURST=NO,FCB=****, FLASH=****,FORMS=STD,HOLD=(NONE), HOLDRC=,OUTDISP=HOLD,PAGES=, PRIORITY=128,PRMODE=LINE,QUEUE=A, RECORDS=(2139 OF 2139), ROUTECDE=LOCAL,SECLABEL=,TSOAVAIL=NO, UCS=****,USERID=IBMUSER,WRITER=
JOB00102 $HASP686 $HASP686 $HASP686 $HASP686 $HASP686 $HASP686 $HASP686 JOB00104 $HASP686 $HASP686 $HASP686 $HASP686 $HASP686 $HASP686 $HASP686
JES2 assigns an OUTDISP value of HOLD to all the job output element(s) of the output group that is identified by GROUP 1.1.1 with a disposition of WRITE and belongs to all batch jobs, beginning with job 1, whose name begins with the characters IB.
4 $T O JOB,OFFS=+4
JOB00104 $HASP686 OUTPUT(IBMUSERY) $HASP686 OUTPUT(IBMUSERY) OUTGRP=1.1.1,BURST=NO,FCB=****, $HASP686 FLASH=****,FORMS=PUNCH,HOLD=(NONE), $HASP686 OFFS=(3,4),OUTDISP=WRITE,PRIORITY=7, $HASP686 PRMODE=LINE,QUEUE=B, $HASP686 RECORDS=(14 OF 14), $HASP686 ROUTECDE=LOCAL,SECLABEL=,TSOAVAIL=NO, $HASP686 UCS=****,USERID=IBMUSER,WRITER=, 5 .TOJ17,/OUTDISP=WRITE,OUTDISP=HOLD .HASP686 OUTPUT(D15USER) .HASP686 OUTGRP=1.1.1,BURST=NO,FCB=****, FLASH=****,FORMS=STD,HOLD=(NONE),
Chapter 5. Command Reference Section
JOB00017
793
$T O Job
.HASP686 .HASP686 .HASP686 .HASP686 .HASP686 OUTDISP=HOLD,PRIORITY=144, PRMODE=LINE,QUEUE=A, RECORDS=(50 OF 50),ROUTECDE=LOCAL, SECLABEL=,TSOAVAIL=NO,UCS=****, USERID=IBMUSER,WRITER=
JES2 assigns an OUTDISP value of HOLD to all the job output element(s) with a disposition of WRITE and belong to batch job 17.
6 .TOJ17,OUTDISP=HOLD .HASP686 OUTPUT(D15USER) .HASP686 OUTPUT(D15USER) .HASP686 .HASP686 .HASP686 .HASP686 .HASP686 .HASP686 OUTGRP=1.1.1,BURST=NO,FCB=****, FLASH=****,FORMS=STD,HOLD=(NONE), OUTDISP=HOLD,PRIORITY=144, PRMODE=LINE,QUEUE=A, RECORDS=(50 OF 50),ROUTECDE=LOCAL, SECLABEL=,TSOAVAIL=NO,UCS=****, USERID=IBMUSER,WRITER=
JOB00017
JES2 assigns an OUTDISP value of HOLD to all the job output element(s) that belong to batch job 17.
7 $tojq1-*,days>1,forms=dora STC00003 $HASP686 OUTPUT(IRRDPTAB) $HASP686 OUTPUT(IRRDPTAB) OUTGRP=1.1.1,BURST=NO,FCB=****, $HASP686 FLASH=****,FORMS=DORA,HOLD=(NONE), $HASP686 OUTDISP=WRITE,PRIORITY=144, $HASP686 PRMODE=LINE,QUEUE=A, $HASP686 RECORDS=(53 OF 53),ROUTECDE=LOCAL, $HASP686 SECLABEL=,TSOAVAIL=NO,UCS=****, $HASP686 USERID=++++++++,WRITER=
JES2 changes form for any job on output queue with days greater than 1.
8 $tos1-*,hours>1,hold=oper STC00003 $HASP686 OUTPUT(IRRDPTAB) $HASP686 OUTPUT(IRRDPTAB) OUTGRP=1.1.1,BURST=NO,FCB=****, $HASP686 FLASH=****,FORMS=DORA,HOLD=(OPER), $HASP686 OUTDISP=WRITE,PRIORITY=144, $HASP686 PRMODE=LINE,QUEUE=A, $HASP686 RECORDS=(53 OF 53),ROUTECDE=LOCAL, $HASP686 SECLABEL=,TSOAVAIL=NO,UCS=****, $HASP686 USERID=++++++++,WRITER=
JES2 changes hold type on any started task with hours greater than 1.
794
$T OFF(nn).JR
Syntax
$T OFF nn , ( nn * ) mm * mm * .JR
Modification keywords
Modification keywords:
,CLass=class
,CReator=creator
,Hold= No Yes
,JOBname=jobname ,MOD=(
,NOTify=
No Yes
,RANGE=
,Routecde=
routecde , ( routecde )
795
$T OFF(nn).JR
,SYSaff=
,WS=
ws , ( ws )
CLass
= ^= > <
class
Hold
= ^=
No Yes
JOBname
= ^= > <
jobname
Hold
SYSaff
No Yes sysaff
NOTify
= ^=
No Yes
SCHenv
= ^= > <
schenv
SRVclass
= ^= > <
srvclass
Parameters
(nn|mm|*) The subscript defining the offload job receiver(s) affected by this command. The subscript can specify a numeric value (1-8) or a range of values associating offload job receivers with offload devices. For information about specifying a range of values for this subscript, see Syntax Conventions at the front of this chapter.
796
$T OFF(nn).JR
CLass=class The only job class(es) (A-Z, 0-9) that this device selects, if CLass is also specified in the WS= list. You may specify up to 15 classes. If job class is not a criterion for job selection, specify a null parameter of (CLass=) and do not specify CLass in the WS= list. CReator=creator Specifies the 1 through 8 character userid that creates the SYSOUT data sets to be processed. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. j An alphabetic character (A-Z) or any of the special characters ($, #, or @).
ccccccc Any combination of EBCDIC characters except a comma, a right parenthesis, or an equal sign. Hold=[No|Yes] The Hold specification for this device. No Only non-held jobs can be selected, if Hold is also specified in the WS= list. Yes Only held jobs can be selected, if Hold is also specified in the WS= list. If both held and non-held jobs are to be selected, specify a null parameter of (Hold=). JOBname=jobname A 1 to 8 character jobname. If JOBname is also specified in the WS= list, only those jobs with this jobname can be selected. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. If the jobname is not a criterion for job selection, specify a null parameter of (JOBname=) and do not specify JOBname in the WS= list. MOD= Defines modifications to the specified characteristics of pre-execution jobs that are selected for reloading. These modifications are assigned during the reload process. If you specify more than one of the following parameters, each must be separated by commas and the list must be enclosed in parentheses. CLass=class The new execution class of all pre-execution jobs that are loaded by this receiver. A null parameter of (CLass=) specifies that the execution class is not modified. Hold={No|Yes} Specifies whether pre-execution jobs are to be held when loaded. If you specify Y, all pre-execution jobs that are loaded are held until released for execution. If you specify N, all pre-execution jobs that are loaded are to be released for execution. A null parameter of (Hold=) specifies that the Hold specification is not modified. Routecde=routecde Specifies the node from which jobs loaded by this device are run. LOCAL|ANYLOCAL Indicates that jobs are to be run at the local node.
797
$T OFF(nn).JR
destid Indicates that jobs are to be run at the specified node. This location can be specified by an alias. Nnnnn|nodename Indicates that jobs are to be run at the node specified by its decimal node identifier from 1 to 32767 or through an EBCDIC nodename. If route code is not a criterion for job selection, specify a null parameter of (Routecde=()) and do not specify Routecde in the WS= list. You must specify the empty parentheses. SYSaff=sysaff The new affinity for all pre-execution jobs loaded by this receiver. ANY indicates the job can execute on any member in the JES2 complex. A null parameter of (SYSaff=) specifies that the affinity is not to be modified. NOTify={No|Yes} Specifies whether a notification message is sent to the TSO userid specified on the JOB statement or /*NOTIFY JECL. If you specify Y, a notification message is sent when a pre-execution job is loaded from the offload data set. If you specify N, no notification message is sent. RANGE=low [-high] The specific range of jobs that this device can select, if RANGE is also specified in the WS= list. The upper limit is the default value 2147483647. If you code this parameter, you can specify one or two values: v If you specify one value, that value becomes both the low and the high end of the range. v If you specify two values, the first value is the low end of the range and the second value the high end. The two values can be equal. If they are not equal, the second value must be larger than the first value. Routecde=routecde Specifies the execution node selection criteria for jobs to be loaded. Use commas to separate individual route codes and enclose the list in parenthesis if more than one route code is specified. Note: NODENAME=REQUIRED on the DESTDEF initialization statement will cause JES2 to require that a userid be prefixed with a node name. LOCAL|ANYLOCAL Indicates that only jobs routed to the local node for execution can be selected. destid Indicates that only jobs routed to the specified location through an alias for the name of a node can be selected for execution. Nnnnn|nodename Indicates that only jobs routed to the specified location through the decimal node identifier from 1 to 32767 or through the EBCDIC nodename can be selected for execution. If route code is not a criterion for job selection, specify a null parameter of (Routecde=()) and do not specify Routecde in the WS= list. You must specify the empty parentheses.
798
$T OFF(nn).JR
SCHenv=schenv Specifies the 1 to 16 alphanumeric, special ($, #, or @), or wildcard character (or combination of them) scheduling environment. Only those jobs with this SCHENV will be selected. SRVclass=srvclass Specifies the 1 to 8 alphanumeric, special ($, #, or @), or wildcard character (or a combination of them) service class name. Only those jobs with this service class will be selected. SYSaff=sysaff The affinity selection criteria, if SYSaff is also specified in the WS= list. memname A specific member name. Jobs that have affinity for the specified member can be selected. You may specify up to 32 member names. Multiple member names must be separated by commas and the list must be enclosed in parentheses. ANY Jobs that have affinity for any member in the JES2 complex can be selected. If affinity is not a criterion for job selection, specify a null parameter of (SYSaff=()) and do not specify SYSaff in the WS= list. You must specify the empty parentheses. WS=ws Specifies the work selection criteria for this device. Using any combination of user and JES2-defined criteria, you can specify up to 19 criteria in the WS= list. If a criterion is specified in the list, work selection is based on the current setting of the corresponding parameter. If a criterion is not specified in the list, the criterion is not considered during work selection. Specifying a minus sign (-) before the criterion causes that criterion to be removed from the list. Specifying a criterion that is not currently specified in the list adds it to the end of the list. Specifying a criterion currently in the list causes that criterion to be moved to the end of the list, thereby decreasing its priority. To correct a WS list that was erroneously changed by an incorrect operator command, remove any criterion that should not be in the list (specify a minus sign (-) before the criterion). If necessary, reorder the remaining criterion. Notes: 1. You must always enclose the criterion or criteria in parentheses, for example, WS=(CLass). 2. If you specify more than one criterion, each must be separated by commas, for example, WS=(CLass,RANGE). 3. The slash (/) is not used for receiver criterion. All specifications are required to match and are assumed to be listed prior to a slash. 4. As with other work selection lists, priority for a criterion that specifies multiple values (Class, Routecde, and SYSaff) is in left to right priority order.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned.
799
$T OFF(nn).JR
This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If you specify a null value for a characteristic that is currently specified in the work selection (WS=) list, for example, CLass=(), you must remove that criterion from the WS= list. If you do not remove the criterion from the WS= list, this device does not select any jobs. v If you are uncertain of the characteristics in effect, enter the $D or $D U command for the particular offload job receiver.
Scope
Single member. The values supplied for this command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP883 message displays the current settings of all the parameters on the OFF(n).JR initialization statement.
Examples
1 t off1.jr,hold=y,jobname=report,ws=(hold,jobname) $HASP883 $HASP883 $HASP883 $HASP883 $HASP883 $HASP883 OFF1.JR OFF1.JR STATUS=STARTABLE,CLASS=ABCDEFGH,CREATOR=, HOLD=YES,JOBNAME=REPORT,MOD=(CLASS=,HOLD=, ROUTECDE=,SYSAFF=),NOTIFY=NO,RANGE=(J1, 2147483647),ROUTECDE=(),SCHENV=,SRVCLASS=, START=YES,SYSAFF=(),WS=(H,JOB/)
800
$T OFF(nn).JT
Syntax
$T OFF nn , ( nn * ) mm * mm * .JT
Modification keywords
Modification keywords:
,CLass=class
,CReator=creator
,DISP=
,Hold= No Yes
,JOBname=jobname
,LIMit=
,NOTify=
No Yes
,RANGE=
,Routecde=
routecde , ( routecde )
,SYSaff=
801
$T OFF(nn).JT
,Volume=
volume , ( volume )
,WS=
ws , ( ws )
CLass
= ^= > <
class
DISP
= ^=
Hold
= ^=
, No Yes
JOBname
= ^= > <
jobname
NOTify
= ^=
No Yes
SCHenv
= ^= > <
schenv
SRVclass
= ^= > <
srvclass
Parameters
(nn|mm|*) The subscript defining the offload job transmitter(s) that are affected by this command. The subscript can specify a numeric value (1-8) or a range of values associating offload job transmitters with offload devices. For information about specifying a range for this subscript, see Syntax Conventions at the front of this chapter. CLass=class The job class(es) (A-Z, and 0-9) specified for this device. These classes are to be considered during job selection if CLass is specified in the work selection (WS) list. You may specify up to 15 classes. If job class is not a criterion for job selection, you may specify a null parameter of (CLass=). CReator=creator Specifies the 1 through 8 character userid that creates the SYSOUT data sets to be processed. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. j An alphabetic character (A-Z) or any of the special characters ($, #, or @).
802
$T OFF(nn).JT
ccccccc Any combination of EBCDIC characters except a comma, a right parenthesis, or an equal sign. DISP={DELETE|HOLD|KEEP} The disposition of all jobs that are selected for dumping to the offload data set. DELETE The jobs are purged after being dumped. HOLD The jobs are held after being dumped. These jobs are eligible for processing by another offload job transmitter that can select held jobs. KEEP The jobs retain their current status after being dumped. These jobs are eligible for processing by another offload job transmitter. Hold=[No|Yes] The Hold specification for this device. No Only non-held jobs are to be selected. Yes Only held jobs are to be selected. If both held and non-held jobs are to be selected, specify a null parameter of (Hold=). JOBname=jobname A 1 to 8 character jobname that is considered as a work selection criterion, if JOBname is also specified in the WS= list. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. If the jobname is not a criterion for job selection, you may specify a null parameter of (JOBname=). LIMit={low, high} Specifies the limits (in records) set by this device for the amount of input records in a job. This range is considered as a work selection criterion if LIMit is also specified in the WS= list. For both variables m and n, you can specify a range of values from 0 through 2147483647. m and n can be equal. If they are not equal, n must be larger than m. If you code only m, that value becomes both the lower and upper limit. If * is specified, the upper limit is the default value 4294967295. NOTify={No|Yes} Specifies whether a notification message is sent to the TSO userid specified on the JOB statement or /*NOTIFY JECL statement. If you specify Y, a notification message is sent when a pre-execution job is dumped to the offload data set. If you specify N, no notification message is sent. SCHenv=schenv Specifies the 1 to 16 alphanumeric, special ($, #, or @), or wildcard character (or combination of them) scheduling environment. Only those jobs with this SCHENV will be selected.
803
$T OFF(nn).JT
SRVclass=srvclass Specifies the 1 to 8 alphanumeric, special ($, #, or @), or wildcard character (or a combination of them) service class name. Only those jobs with this service class will be selected. | | | | | | | | RANGE=low [-high]|J1999999 The range of jobs that are to be selected by this device (1-999999). If you code this parameter, you can specify one or two values: v If you specify one value, that value becomes both the low and the high end of the range. v If you specify two values, the first value is the low end of the range and the second value the high end. The two values can be equal. If they are not equal, the second value must be larger than the first value. Routecde=routecde Specifies the execution node selection criteria for jobs to be transmitted. Use commas to separate individual route codes and enclose the list in parentheses if more than one route code is specified. You may specify up to four route codes. If you allow this parameter to default, JES2 can select all jobs, regardless of execution node, for transmission. Note: NODENAME=REQUIRED on the DESTDEF initialization statement will cause JES2 to require that a userid be prefixed with a node name. You can specify any of the following values for node: LOCAL|ANYLOCAL Indicates that only jobs routed to the local node for execution can be selected. destid Indicates that only jobs routed to the specified location through an alias for the name of a node can be selected for execution. Nnnnn|nodename Indicates that only jobs routed to the specified location through the decimal node identifier from 1 to 32767 or the EBCDIC nodename can be selected for execution. If route code is not a criterion for job selection, you may specify a null parameter of (Routecde=()). You must specify the empty parentheses. SYSaff=sysaff The affinity selection criteria, if SYSaff is also specified in the WS= list. memname A specific member name. Jobs that have affinity for the specified member can be selected. You may specify up to 32 member names. Multiple member names must be separated by commas and the list must be enclosed in parentheses. ANY Jobs that have affinity for any member in the JES2 complex can be selected. If affinity is not a criterion for job selection, you may specify a null parameter of (SYSaff=()). You must specify the empty parentheses. Volume=volume The volume serial (5-6 characters) of a volume containing a spool data set. If
804
$T OFF(nn).JT
Volume is also specified in the WS= list, only those jobs that reside on one or more of the specified volume(s) can be selected for dumping. You may specify up to 4 volumes. Multiple entries must be separated by commas and the list must be enclosed in parentheses. If volume is not a criterion for job selection, specify a null parameter of (Volume=()) and do not specify Volume in the WS= list. You must specify the empty parentheses (). WS=ws Specifies the work selection criteria for the device. Using any combination of user and JES2-defined criteria, you can specify up to 19 criteria in the WS= list. Multiple entries must be separated by commas and the list must always be enclosed in parentheses (even if only one criterion is specified). If a criterion is specified in the list, work selection is based on the current setting of the corresponding parameter. If a criterion is not specified in the list, the criterion is not considered during work selection. The general rules for specifying an offload job transmitter work selection list are: 1. You can use one slash (/) before or after one of the criterion to further specify work selection. Criteria placed before the slash must be matched exactly if the work is to be selected. Criteria placed after the slash do not have to matched exactly except in the following cases: Class Routecde SYSaff Volume Table 57 on page 807 describes the effect of each criterion when placed before and after the slash. 2. Class, Routecde, SYSaff, and Volume can be specified as multiple values on the offload job transmitter initialization statement. Placing these criteria before the slash in the WS= list, indicates a left to right priority order of multiple values, if multiple values have been specified. Placing these criteria after the slash indicates no priority order of multiple values, but a match is still required. 3. The order of those criteria specified after the slash indicates the priority (highest to lowest, in left to right order) in which JES2 attempts to match them. 4. Specifying a minus sign (-) before a criterion causes that criterion to be removed from the list. Note: An invalid operand message ($HASP003) is issued if an error is found in the WS operand, that is, if you try to remove a criterion that is not there. For example: If you enter $toff1.jt,ws=(-jobname) and jobname is not in the current work selection list for off1.jt, you get the $HASP003 message. 5. Specifying a criterion that is not currently specified in the list adds it to the end of the list either before or after the slash, depending on the placement of the slash in the command. If the slash is omitted from the command, JES2 assumes that the slash is at the end of the command. 6. Specifying a criterion currently in the list causes that criterion to be moved to the end of the list, thereby decreasing its priority. To correct a WS list that was erroneously changed by an incorrect operator command, remove any criterion that should not be in the list (specify a minus sign (-) before the criterion). If necessary, reorder the remaining criterion.
805
$T OFF(nn).JT
7. In general, the smaller the work selection list the less the placement of certain criteria within the list affects the work selection.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If you specify a null value for a characteristic that is currently specified in the work selection (WS=) list, for example, CLass=(), you must remove that criterion from the WS= list. If you do not remove the criterion from the WS= list, this device does not select any jobs. v If you are uncertain of the characteristics in effect, enter the $D or $D U command for the particular offload job transmitter.
Scope
Single member. The values supplied for this command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP884 message displays the current settings of all the parameters on the OFF.JT initialization statement.
Examples
1 $t off1.jt,disp=keep,ws=(/range) $HASP884 $HASP884 $HASP884 $HASP884 $HASP884 $HASP884 OFF1.JT OFF1.JT STATUS=STARTABLE,CLASS=A,CREATOR=, DISP=KEEP,HOLD=YES,JOBNAME=,LIMIT=(0,*), NOTIFY=NO,RANGE=(J1,65534),ROUTECDE=(), START=YES,SCHENV=,SRVCLASS=,SYSAFF=(), VOLUME=(,,,),WS=(CL,H/RANGE)
Offload transmitter 1 selects only held jobs whose execution class is A. Because the RANGE criterion is placed after the slash in the work selection (WS=) list, it is preferred but not necessary that the job numbers of these jobs be within the job range (RANGE=) specification of this transmitter. When the transmitter dumps these jobs to the offload data set, they are to retain their current status.
2 $t off(*).jt,hold=,ws=(-hold) $HASP884 OFF8.JT $HASP884 OFF8.JT STATUS=STARTABLE,CLASS=B,CREATOR=, $HASP884 DISP=HOLD,HOLD=,JOBNAME=,LIMIT=(0,*),
806
$T OFF(nn).JT
$HASP884 NOTIFY=NO,RANGE=(J1,65534),ROUTECDE=(), $HASP884 START=YES,SCHENV=,SRVCLASS=,SYSAFF=(), $HASP884 VOLUME=(,,,),WS=(CL/)
JES2 removes the hold specification from the work selection criteria of all defined offload job transmitters. Both held and non-held jobs are eligible for selection by any offload job transmitter.
Table 57. Offload Job Transmitter Work Selection Criteria CRITERION CLass BEFORE SLASH (/) The class of the job must match one of the job classes specified for this device. Otherwise, the job is not considered selectable. If there are multiple classes, the list is in left to right priority sequence. AFTER SLASH (/) The class of the job must match one of the job classes specified for this device. Otherwise, the job is not deemed selectable. If there are multiple classes, the list is not in priority sequence.
CReator
The CReator specification of the job must match It is not required that the CReator specification the CReator specification of this device. of the job match the CReator specification of this device. The hold specification of the job must match the hold specification of this device. It is not required that the hold specification of the job match the hold specification of this device.
Hold JOBname
The jobname of the job must match the jobname It is not required the jobname of the job match (JOBname=) specified for this device. the jobname (JOBname=) specified for this device. Specifies that jobs selected must have the number of records (JCL and SYSIN records) specified on the LIMIT= parameter for this device. The priority of the job is to be considered. Whether specified before or after the slash, higher priority jobs are preferred. Placement of P in the WS list gives priority importance in the work selection process. There is no matching done for priority. Specifies that the number of records for a job (JCL and SYSIN records) will not prevent a job to be selected. However, jobs with the number of records specified on LIMIT= are preferred over jobs not within the specification on LIMIT=. Same as before slash.
LIMIT
Priority
RANGE
The job number of the job must be within the job It is not required that the job number of the job range (RANGE=) specified for this device. be within the job range (RANGE=) specified for this device. The destination of the job must match the route code (Routecde=) specified for this device, otherwise the job is not considered selectable. If there are multiple route codes specified, the list is in left to right priority sequence. The destination of the job must match the route code (Routecde=) specified for this device, but if there are multiple route codes specified the list is not considered to be in priority sequence.
Routecde
SCHenv
The SCHenv specification of the job must match It is not required that the SCHenv specification the SCHenv specification of this device. of the job match the SCHenv specification of this device. The SRVclass specification of the job must match the SRVclass specification of this device. The affinity of the job must match the affinity (SYSaff=) specification of this device. It is not required that the SRVclass specification of the job match the SRVclass specification of this device. It is not required that the affinity of the job match the affinity (SYSaff=) specification of this device.
SRVclass
SYSaff
807
$T OFF(nn).JT
Table 57. Offload Job Transmitter Work Selection Criteria (continued) CRITERION Volume BEFORE SLASH (/) The volume used by the job must match one of the volume specifications of this device, otherwise the job is not considered selectable. If multiple volumes are specified the list is in left to right priority sequence. AFTER SLASH (/) The volume used by the job must match one of the volume specifications of this device, but if multiple volumes are specified the list is not in priority sequence.
808
$T OFF(n).SR
Syntax
$T OFF n , ( n * ) mm * mm * .SR
Modification keywords
Modification keywords:
,Burst= No Yes
,CReator=creator
C FCB
=fcb
FLash O
=flash
,Forms=
,Hold= No Yes
,JOBname=jobname
809
$T OFF(n).SR
, ,MOD=( Burst= No Yes FCB=fcb FLash =flash O Forms=forms Hold= No Yes OUTDisp= H HOLD K KEEP L LEAVE W WRITE PRMode=prmode Queue=queue Routecde=routecde T =ucs UCS Writer=writer )
,NOTify=
No Yes
,OUTDisp=
,PRMode=
,Queue=queue
810
$T OFF(n).SR
,RANGE=
,Routecde= )
routecde , ( routecde )
T UCS
=ucs
,Writer=writer
,WS=
ws , ( ws )
Burst
= =
, No Yes
/ /
C FCB
= = > <
fcb
/ /
FLash O
= = > <
flash
Forms
= =
Hold
= =
, No Yes
JOBname
= = > <
jobname
811
$T OFF(n).SR
/ /
Forms
= = > < = =
Hold
OUTDisp
PRMode
= = > <
= queue = > < / Routecde = routecde = > < / T = ucs / UCS = > < / Writer = writer = > <
Queue
NOTify
= =
No Yes
Queue
= = > <
queue
812
$T OFF(n).SR
/ /
T UCS
= = > <
ucs
Writer
= = > <
writer
Parameters
(n) The subscript defining the offload SYSOUT receiver(s) that are affected by this command. The subscript can specify a numeric value (1-8) or a range of values associating offload SYSOUT receivers with offload devices. For information about specifying a range for this subscript, see Syntax Conventions at the front of this chapter. Burst=[No|Yes] The burst specification for this device. No Only output that is not to be bursted can be selected, if Burst is also specified in the WS= list. Yes Only output that is to be bursted (page-separated) can be selected, if Burst is also specified in the WS= list. If the burst specification is not a criterion for output selection, specify a null parameter of (Burst=) and do not specify Burst in the WS= list. CReator=creator Specifies the 1 through 8 character userid that creates the SYSOUT data sets to be processed. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. j An alphabetic character (A-Z) or any of the special characters ($, #, or @).
ccccccc Any combination of EBCDIC characters except a comma, a right parenthesis, or an equal sign. FCB|C=fcb The 1 to 4 alphanumeric or special character ($ # @) character identifier of a particular forms control buffer image or carriage control tape. If FCB is also specified in the WS= list, only those output data sets with this FCB specification can be selected. If the FCB characteristic is not a criterion for output selection, specify a null parameter of (FCB=) and do not specify FCB in the WS= list. FLash|O=flash The 1 to 4 alphanumeric or special character ($ # @) character flash name for this device. If FLash is also specified in the WS= list, only those output data sets with this flash name can be selected. If the FLash characteristic is not a criterion for output selection, specify a null parameter of (FLash=) and do not specify FLash in the WS= list. Forms=form The 1 to 8 alphanumeric or special character ($ # @) character forms name for this device. If Forms is also specified in the WS= list, only those output data
813
$T OFF(n).SR
sets with this forms name can be selected. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. You may specify up to 8 forms. If the Forms characteristic is not a criterion for output selection, specify a null parameter of (Forms=) and do not specify Forms in the WS= list. Hold=[No|Yes] The Hold specification for this device. Y N Only held post-execution jobs can be selected, if Hold is also specified in the WS= list. Only non-held post-execution jobs can be selected, if Hold is also specified in the WS= list.
If both held and non-held jobs are to be loaded, specify a null parameter of (Hold=) and do not specify Hold in the WS= list. JOBname=jobname A 1 to 8 character jobname. If JOBname is also specified in the WS= list, only those post-execution jobs with this jobname can be selected. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. If jobname is not a criterion for job selection, specify a null parameter of (JOBname=) and do not specify JOBname in the WS= list. MOD= Specifies modifications to the indicated characteristics of post-execution jobs and output data sets that are selected for reloading. These modifications are assigned during the reload process. If more than one of the following parameters is specified, each must be separated by commas and the list must be enclosed in parentheses. Burst=[No|Yes] Specifies whether (Y) or not (N) reloaded output is to be burst (page-separated). A null parameter of (Burst=) specifies that the Burst specification is not to be modified. FCB=fcb A 1 to 4 character identifier of the forms control buffer image or carriage control tape assigned to output when reloaded. A null parameter of (FCB=) specifies that the FCB specification is not to be modified. FLash|O=flash The 1 to 4 character flash name assigned to output when reloaded. A null parameter of (FLash=) specifies that the Flash specification is not to be modified. Forms=forms The 1 to 8 character forms name assigned to output when reloaded. A null parameter of (Forms=) specifies that the Forms specification is not to be modified. Hold=[No|Yes] Specifies whether post-execution jobs are to be held (Y) or released (N) once reloaded. A null parameter of (Hold=) specifies that the Hold specification is not to be modified. NOTify={No|Yes} Specifies whether a notification message is sent to the TSO userid specified
814
$T OFF(n).SR
on the JOB statement or /*NOTIFY JECL statement. If you specify Y, a notification message is sent when a post-execution job is reloaded from the offload data set. If you specify N, no notification message is sent. OUTDisp=[H|HOLD|K|KEEP| L|LEAVE|W|WRITE] The disposition of the output selected by this offload SYSOUT receiver is changed to the disposition that you specify on the OUTDISP operand. PRMode=prmode The 1 to 8 alphanumeric character processing mode assigned to output when reloaded. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. A null parameter of (PRMode=) specifies that the PRMode specification is not to be modified. Queue=queue The SYSOUT class (A-Z, 0-9) assigned to output when reloaded. A null parameter of (Queue=) specifies that the output class is not to be modified. Routecde=routecde Specifies a destination for a piece of output. When used as a subparameter of MOD=, Routecde= specifies the destination(s) for output you have selected. The value for all routing numbers can range from 1 to 32767. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. For specification requirements, see Route codes on page 97. Note: NODENAME=REQUIRED on the DESTDEF initialization statement will cause JES2 to require that a userid be prefixed with a node name. LOCAL|ANYLOCAL Indicates that jobs are to be run at the local node. destid Indicates that jobs are to be run at the specified node(s). You can specify this location by an alias for the name of a node. If destid is specified alone, it refers to both the node and the remote. Nnnnn|nodename Indicates that jobs are to be run at the specified node(s). You can specify a node using the decimal node identifier or an EBCDIC nodename. NnnnnRmmmm|node.remote|node.userid Indicates routing to the remote Rmmmm at the node Nnnnn. Rmmmm can also be specified as RMmmmm or RMTmmmm. Ummmm Indicates special local routing. node.destid Indicates a destination at the specified node. The destid refers to both the node and the remote. The node specified in the destid must be the same as the node portion of the route code. If the number of the remote is reassigned, you can use the destid to send to this node. remote Indicates routing to a remote. Remote can be specified in any of the following ways:
Chapter 5. Command Reference Section
815
$T OFF(n).SR
LOCAL|ANYLOCAL Indicates that jobs are to be run at the local node. Rmmmm Indicates routing to the specified remote. Rmmmm can also be specified as RMmmmm or RMTmmmm. The value specified for mmmm can range from 1 to 32767. destid Indicates routing to a destid referring to a remote. userid Indicates routing to a valid TSO userid, or a user* (where * means all local, remote, special local unit, and userid output at the specified node). node.* Indicates that the nodename is to be modified to the specified node name, but the remote node will remain the same. T|UCS=ucs A 1 to 4 character identifier of the print train or character arrangement assigned to output when reloaded. A null parameter of (UCS=) specifies that the UCS specification is not to be modified. Writer=writer A 1 to 8 character external writer name assigned to output when reloaded. A null parameter of Writer= specifies that the writer name is not to be modified.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If you specify a null value for a characteristic that is currently specified in the work selection (WS=) list, for example, Burst=(), you must remove that criterion from the WS= list. If you do not remove the criterion from the WS= list, this device does not select any output. v If you are uncertain of the characteristics in effect, enter the $D or $D U command for the particular offload SYSOUT receiver.
Scope
Single member. The values supplied for this command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
816
$T OFF(n).SR
Messages
The $HASP885 message displays the current settings of all the parameters on the OFF(n).SR initialization statement.
Example
1 $t off1.sr,outdisp=(leave,keep),prmode=page, ws=(prmode/
Offload SYSOUT receiver 1 selects only held output with a processing mode specification of PAGE.
817
$T OFF(n).ST
Syntax
$T OFF n , ( n * ) mm * mm * .ST
Modification keywords
Modification keywords:
,Burst= No Yes
,CReator=creator
,DISP=
C FCB
=fcb
FLash O
=flash
,Forms=
,Hold= No Yes
,JOBname=jobname
,LIMit=
,NOTify= )
No Yes
818
$T OFF(n).ST
,OUTDisp=
,PLIM=
,PRMode=
,Queue=queue
,RANGE=
Notes: 1 2 3 form can be coded up to 8 times OUTDisp can be coded up to 4 times prmode can be coded up to 8 times
Parameters
(n) The subscript defining the offload SYSOUT transmitter(s) that are affected by this command. The subscript can specify a numeric value (1-8) or a range of values associating offload SYSOUT transmitters with offload devices. For information about specifying a range for this subscript, see Syntax Conventions at the front of this chapter. Burst=[No|Yes] The burst specification for this device that is considered as a work selection criterion, if Burst is also specified in the WS= list. Y Output that is to be bursted (page-separated) should be selected. N Output that is not to be bursted should be selected. If the burst specification is not a criterion for output selection, specify a null parameter of (Burst=) and do not specify Burst in the WS= list. CReator=creator Specifies the 1 through 8 character userid that creates the SYSOUT data sets
Chapter 5. Command Reference Section
819
$T OFF(n).ST
to be processed. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. j An alphabetic character (A-Z) or any of the special characters ($, #, or @).
ccccccc Any combination of EBCDIC characters except a comma, a right parenthesis, or an equal sign. DISP={DELETE|HOLD|KEEP} The disposition of all output that is selected for dumping to the offload data set. DELETE The output groups are purged after being dumped. A job is purged only if no more held or non-held output remains. HOLD Selected held output remains held after being dumped and is eligible for processing by another spool offload SYSOUT transmitter. Selected non-held output is marked non-selectable after being dumped and is not eligible for processing by another offload SYSOUT transmitter until their status is changed. You can change their status with the $TO command. KEEP The output groups retain their current status after being dumped. These output groups are eligible for processing by another spool offload SYSOUT transmitter. FCB|C=fcb The 1 to 4 alphanumeric or special ($ # @) character identifier of a particular forms control buffer image or carriage control tape. This characteristic is considered as a work selection criterion, if FCB is also specified in the WS= list. If the FCB characteristic is not a criterion for output selection, specify a null parameter of (FCB=) and do not specify FCB in the WS= list. FLash|O=flash The 1 to 4 alphanumeric or special ($ # @) character flash name for this device that is considered as a work selection criterion if FLash is also specified in the WS= list. If the FLash characteristic is not a criterion for output selection, specify a null parameter of (FLash=) and do not specify FLash in the WS= list. Forms=form The 1 to 8 alphanumeric or special ($ # @) character forms name for this device that is considered as a work selection criterion if Forms is also specified in the WS= list. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. You may specify up to 8 forms. If the Forms characteristic is not a criterion for output selection, specify a null parameter of (Forms=) and do not specify Forms in the WS= list. Hold=[No|Yes] The Hold specification for this device that is considered as a work selection criterion if Hold is also specified in the WS= list. No Only non-held post-execution jobs are to be selected. Yes Only held post-execution jobs are to be selected. If both held and non-held jobs are to be selected, specify a null parameter of (Hold=) and do not specify Hold in the WS= list.
820
$T OFF(n).ST
JOBname=jobname A 1 to 8 character jobname that is considered as a work selection criterion, if JOBname is also specified in the WS= list. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. If the jobname is not a criterion for job selection, specify a null parameter of (JOBname=) and do not specify JOBname in the WS= list. LIMit={low, high} Specifies the limits (in records) set by this device for amount of output generated per output group. This range is considered as a work selection criterion if LIMit is also specified in the WS= list. For both variables m and n, you can specify a range of values from 0 through 2147483647. m and n can be equal. If they are not equal, n must be larger than m. If you code only m, that value becomes both the lower and upper limit. If * is specified, the upper limit is the default value 4294967295. NOTify={No|Yes} Specifies whether a notification message is sent to the TSO userid specified on the JOB statement or /*NOTIFY JECL statement. If you specify Y, a notification message is sent when all or part of a post-execution job is dumped to the offload data set. If you specify N, no notification message is sent. OUTDisp={H|HOLD|K|KEEP|L|LEAVE| W|WRITE} Specifies the disposition(s) that the output must have in order to be eligible for processing by this offload transmitter. The operator can specify one to four of the following valid dispositions: Hold, Keep, Leave, or Write. PLIM={low, high} Specifies the limits (in pages) set by this device for amount of output generated per output group. This range is considered as a work selection criterion if PLIM is also specified in the WS= list. For both variables m and n, you can specify a range of values from 0 through 2147483647. m and n can be equal. If they are not equal, n must be larger than m. If you code only m, that value becomes both the lower and upper limit. If * is specified, the upper limit is the default value 4294967295. PRMode=(vvvvvvvv,vvvvvvvv,...) Specifies the 1 to 8 alphanumeric character processing mode(s) to select for output. You can specify up to four process modes. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. If all processing modes are selectable, specify a null parameter of PRMODE=(). You must specify the empty parentheses. Queue=queue The only SYSOUT class(es) (A-Z, 0-9) that this device selects, if Queue is also specified in the WS= list. You may specify up to 15 classes. If the SYSOUT class is not a criterion for output selection, specify a null parameter of (Queue=) and do not specify Queue in the WS= list. | | | RANGE={Jnnnnn|Snnnnn|Tnnnnn} [-nnnnn]| J1999999 The batch job (J), started task (S), or time sharing user (T) range specified for this device (1-999999). This range is considered as a work selection criterion if
821
$T OFF(n).ST
| | | | | | | the RANGE parameter is also specified in the WS= list. If you code this parameter, you can specify one or two values: v If you specify one value, that value becomes both the low and the high end of the range. v If you specify two values, the first value is the low end of the range and the second value the high end. The two values can be equal. If they are not equal, the second value must be larger than the first value. Routecde=routecde Specifies the one to four destination selection criteria for which output can be selected. If more than one route code is specified, enclose the list in parentheses. The value for all routing numbers can range from 1 to 32767. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. For specification requirements, see Route codes on page 97. Note: NODENAME=REQUIRED on the DESTDEF initialization statement will cause JES2 to require that a userid be prefixed with a node name. LOCAL|ANYLOCAL Indicates that jobs are to be run at the local node. destid Indicates that jobs are to be run at the specified node(s). You can specify this location by an alias for the name of a node. If destid is specified alone, it refers to both the node and the remote. Nnnnn|nodename Indicates that jobs are to be run at the specified node(s). You can specify a node using the decimal node identifier or an EBCDIC nodename. NnnnnRmmmm|node.remote|node.userid Indicates routing to the remote Rmmmm at the node Nnnnn. Rmmmm can also be specified as RMmmmm or RMTmmmm. Ummmm Indicates special local routing. node.destid Indicates a destination at the specified node. The destid refers to both the node and the remote. The node specified in the destid must be the same as the node portion of the route code. If the number of the remote is reassigned, you can use the destid to send to this node. remote Indicates routing to a remote. Remote can be specified in any of the following ways: LOCAL|ANYLOCAL Indicates that jobs are to be run at the local node. Rmmmm Indicates routing to the specified remote. Rmmmm can also be specified as RMmmmm or RMTmmmm. destid Indicates routing to a destid referring to a remote.
822
$T OFF(n).ST
userid Indicates routing to a valid TSO userid, or a user* (where * means all local, remote, special local unit, and userid output at the specified node). node.* Indicates that the nodename is to be modified to the specified node name, but the remote node will remain the same. If the route code is not a criterion for output selection, specify a null parameter of (Routecde=()) and do not specify Routecde in the WS= list. You must specify the empty parentheses. T|UCS=ucs The 1 to 4 character print train specification of this device. This print train is considered as a work selection criterion if UCS is also specified in the WS= list. If the UCS specification is not a criterion for output selection, specify a null parameter of (UCS=) and do not specify UCS in the WS= list. Volume=volume The volume serial (5-6 characters) of a volume containing a spool data set. If Volume is also specified in the WS= list, only the output of those jobs that reside on one or more of the specified volume(s) are selected by this device. You may specify up to 4 volumes. Multiple entries must be separated by commas and the list must be enclosed in parentheses. If volume is not a criterion for output selection, specify a null parameter of (Volume=()) and do not specify Volume in the WS= list. You must specify the empty parentheses (). Writer=writer The 1 to 8 alphanumeric or special ($ # @) character writer name for this device. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. A null parameter of Writer= specifies that this device has no writer name. If Writer is specified in the WS= list, only those data sets with matching writer name specifications can be selected. WS=ws Specifies the work selection criteria for this device. Using any combination of user and JES2-defined criteria, you can specify up to 19 criteria in the WS= list. Multiple entries must be separated by commas and the list must always be enclosed in parentheses (even if only one criterion is specified). If a criterion is specified in the list, work selection is based on the current setting of the corresponding parameter. If a criterion is not specified in the list, the criterion is not considered during work selection. The general rules for specifying an offload SYSOUT transmitter work selection list are: 1. You can use one slash (/) before or after one of the criterion to further specify work selection. Criteria placed before the slash must be matched exactly if the work is to be selected. Criteria placed after the slash do not have to matched exactly except in the following cases: PRMode Queue Routecde Volume Table 58 on page 825, describes the effect of each criterion when placed before and after the slash. 2. PRMode, Queue, Routecde, and Volume can be specified as multiple values on the offload SYSOUT transmitter initialization statement. Placing
Chapter 5. Command Reference Section
823
$T OFF(n).ST
these criteria before the slash in the WS= list, indicates a left to right priority order of multiple values, if multiple values have been specified. Placing these criteria after the slash indicates no priority order of multiple values, but a match is still required. 3. The order of those criteria specified after the slash indicates the priority (highest to lowest, in left to right order) in which JES2 attempts to match them. 4. Specifying a minus sign (-) before a criterion causes that criterion to be removed from the list. Note: An invalid operand message ($HASP003) is issued if an error is found in the WS operand, that is, if you try to remove a criterion that is not there. For example: If you enter $toff1.st,ws=(-jobname) and jobname is not in the current work selection list for off1.st, you get the $HASP003 message. Specifying a criterion that is not currently specified in the list adds it to the end of the list either before or after the slash, depending on the placement of the slash in the command. If the slash is omitted from the command, JES2 assumes that the slash is at the end of the command. Specifying a criterion currently in the list causes that criterion to be moved to the end of the list, thereby decreasing its priority. To correct a WS list that was erroneously changed by an incorrect operator command, remove any criterion that should not be in the list (specify a minus sign (-) before the criterion). If necessary, reorder the remaining criterion. The LIMit subparameter has no effect as a work selection value for files received from a node that does not provide a page count for its files. For more information, refer to the sending nodes reference documentation. In general, the smaller the work selection list the less the placement of certain criteria within the list affects the work selection.
5.
6.
7.
8.
9. For both line and page mode devices, the LIM= and PLIM= values must be satisfied.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v If you specify a null value for a characteristic, make sure that characteristic is not specified as an exact match criterion in the work selection list. If the characteristic is specified as an exact match criterion, this device does not select any output. v If you are uncertain of the characteristics in effect, enter the $D or $D U command for the particular offload SYSOUT transmitter.
Scope
Single member. The values supplied for this command will be in effect for this member only.
824
$T OFF(n).ST
Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP886 message displays the current settings of all the parameters on the OFF(n).ST initialization statement.
Example
1 $t off1.st,outdisp=(write,keep),ws=(outdisp),queue=a $HASP886 OFF1.ST STATUS=STARTABLE,DISP=DELETE, OUTDISP=(WRITE,KEEP),HOLD=,JOBNAME=, NOTIFY=YES,RANGE=(J1,32767),ROUTECDE=(), START=YES,VOLUME=(,,,),WS=(Q,OUTD/),BURST=, FCB=,FLASH=,FORMS=,LIMIT=(0,*),PLIM=(0,*), PRMODE=(),QUEUE=A,UCS=,WRITER=
The burst specification of the output group It is preferred but not necessary that the must match the burst (Burst=) specification of burst specification of the output group match this device. Otherwise the output group is the burst (Burst=) specification of this device. selected. The output groups CReator specification must match the CReator (CReator=) specification of this device. Otherwise, the output group is not selected. The output groups FCB image or carriage control tape must match the current FCB or carriage control tape of this device. Otherwise, the output group is not selected. The output groups FLASH or forms overlay must match the current FLASH (FLash=) specification for this device. Otherwise, the output group is not selected. The output groups form specification must match the current forms (Forms=) specification for this device. Otherwise, the output group is not selected. The hold specification of the job associated with the output group must match the hold specification of this device. It is not required that the creator specification of the output group match the creator (CReator=) specification of this device. It is not required that the FCB or carriage control tape of the output group match the current FCB or carriage control tape of this device. It is not required the FLASH or forms overlay of the output group match the current FLASH (FLash=) specification for this device. It is not required that the forms specification of the output group match the current forms (Forms=) specification for this device. It is not required that the hold specification of the job associated with the output group match the hold specification of this device.
CReator
{FCB|C}
{FLash|O}
Forms
Hold
JOBname
The jobname of the output group must match It is not required that the job name of the the jobname specified (JOBname=) for this output group match the job name device. (JOBname=) specified for this device. JES2 attempts to consecutively select all eligible output for a particular job.
825
$T OFF(n).ST
Table 58. Offload SYSOUT Transmitter Work Selection Criteria (continued) CRITERION LIMit BEFORE SLASH (/) The amount of output generated by an output group must fall within the limits set for this device. Otherwise, the output group is not selected. For both line and page mode devices, JES2 checks the LIM= and PLIM= values. This subparameter has no effect as a work selection value for files received from a node that does not provide a page count for its files. For more information, refer to the sending nodes reference documentation. OUTDisp The output groups output disposition must match the output disposition specified (OUTDISP=) for this device. AFTER SLASH (/) It is not required that the amount of output generated by the output group fall within the limits set for this device. This subparameter has no effect as a work selection value for files received from a node that does not provide a page count for its files. For more information, refer to the sending nodes reference documentation.
It is not required that the output groups output disposition matches the output disposition (OUTDISP=) specified for this device; however, JES2 attempts to match dispositions. That match has top priority.
Priority
The output groups priority is to be Same as before slash. considered. Whether specified before or after the slash, higher priority output groups are preferred. Placement of P in the WS list gives priority importance in the work selection process. There is no matching done for priority. The process mode of the output group must match one of the process modes (PRMode=) specified for this device. Otherwise, the output group is not selected. If there are multiple PRModes, the list is considered to be in left to right priority sequence. The output groups class must match one of the classes specified for this device. If multiple classes are specified, the list is in left to right priority sequence. The job number of the output group must be within the range (RANGE=) specified for this device. The destination of the output group must match the route code (Routecde=) specified for this device, otherwise the output group is not considered selectable. If there are multiple route codes specified for the device, the list is considered to be in left to right priority sequence. The output groups universal character set must match the universal character set (UCS=) specified for this device. Otherwise, the output group is not selected. The volume used by the output group must match the volume (Volume=) specified for this device. If there are multiple volumes specified, the list is considered to be in left to right priority sequence. The output groups process mode must match the process mode (PRMode=) specified for this device, but if there are multiple PRModes, the list is not in priority sequence. The class of the output group must match one of the classes specified for this device, but if multiple classes are specified, the list is not in priority order. It is not required that the job number specified for the output group be within the range (RANGE=) specified for this device. The destination of the output group must match the route code (Routecde=) specified for this device, but if there are multiple route codes, the list is not considered to be in priority sequence.
{PRMode|PMD}
Queue
RANGE
Routecde
{UCS|T}
It is preferred but not necessary that the universal character set of the output group match the universal character set specified for this device. The volume used by the output group must match the volume (Volume=) specified for this device, but if there are multiple volumes specified, the list is not in priority sequence.
Volume
826
$T OFF(n).ST
Table 58. Offload SYSOUT Transmitter Work Selection Criteria (continued) CRITERION Writer BEFORE SLASH (/) The writer name specified for the output group must match the writer name specified (Writer=) for this device. Otherwise, the output group is not selected. AFTER SLASH (/) It is not required that the writer name of the output group match the writer name (Writer=) specified for this device.
827
$T OFFLOAD(n)
Syntax
$T OFFLOAD n , ( n * ) n * n *
Modification keywords
Modification keywords:
,ARCHIVE=
ALL ONE
,CRTIME=
RESET RESTORE
,DSN=dsname
,LABEL=
,PROTECT=
No Yes
,RETPD=nnnn
,UNIT=
devnum /devnum nnnn cccccccc ,nn devnum /devnum nnnn cccccccc ,nn
,TRACE=
No Yes
) ,nn
,VALIDATE=
No Yes
,VOLS=vols
828
$T OFFLOAD(n)
DSN
= ^= > <
dsname
LABEL
= ^=
PROTECT
= ^=
No Yes
RETPD
= ^= > <
nnnn
, /
TRACE
= ^=
No Yes
VALIDATE
= ^=
No Yes
VOLS
= ^= > <
vols
Parameters
(n) The subscript defining the logical offload device(s) affected by this command. The subscript can specify a numeric value (1-8) or a range of values for offload devices defined by an OFFLOAD(n) initialization statement. For information about specifying a range for this subscript, see Syntax Conventions at the front of this chapter. ARCHIVE={ALL|ONE} Specifies whether to allow the offload device to select a job whose disposition is KEEP or HOLD. If you specify ARCHIVE=ONE, that offload device will not reselect a job whose disposition is KEEP or HOLD; if you specify ARCHIVE=ALL, all offload devices are prevented from re-selecting the job. | | | | | | | CRTIME={RESET|RESTORE} Specifies the creation time to be associated with jobs and output on reload. RESET Indicates that the time to be assigned is the time of the reload. RESTORE Indicates that the time to be assigned is the original creation time (before the data was offloaded). DSN=dsname The 1 to 44 character offload data set and member name. The use of a generation data set (GDG) or a Partitioned Data Set (PDS) is not supported for this parameter. LABEL = {AL|AUL|BLP|NL|NSL|SL|SUL} The type of label processing required for the tape that is allocated for a non-cataloged spool offload data set. The valid types and their meanings are:
Chapter 5. Command Reference Section
829
$T OFFLOAD(n)
Type AL AUL BLP NL NSL SL SUL Meaning American National Standard label American National Standard label and American National Standard user-defined label Bypass label processing No label Non-standard label IBM standard label IBM standard label and user-defined label
PROTECT={No|Yes} Specifies whether (Y) or not (N) the spool offload data set requires System Authorization Facility (SAF) protection. RETPD=nnnn The period (0-9999), in days, for which this offload data set is retained. UNIT=({devnum|/devnum|nnnn|cccccccc} [,nn]) devnum|/devnum Specifies a 3-digit or 4-digit hexadecimal device number. A slash (/) must precede a 4-digit device number. nnnn Specifies a device type. cccccccc Specifies a one to eight character group name assigned to the device or group of devices that are to receive non-cataloged spool offload data sets. nn Specifies a number, one to 59, that are allocated to mount the volumes containing the offload data set. TRACE={No|Yes} Specifies whether trace records are to be cut for data read or written by this offload device. See specific trace IDs for more information. VALIDATE={No|Yes} Specifies whether JES2 should validate the logical record length of the first (header) record read from the offload data set. v If YES is specified, JES2 will validate the logical record length of the first record. v If NO is specified, JES2 will not validate the logical record length of the first record. Specifying NO allows the offload device to continue to read the offload data set, even if the first record is not valid or missing. VOLS=vols Specifies the volume count (1-255) to be used for the offload data set.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
830
$T OFFLOAD(n)
Processing Considerations
v This command is valid only if the indicated offload device is drained. v If you are uncertain of the characteristics in effect, enter the $D or $D U command for the offload device in question.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP882 message displays the current settings of all the parameters on the OFFLOAD(n) initialization statement.
Examples
1 $t offload1,dsn=off.dump1,label=sl,unit=/c045 $HASP882 OFFLOAD1 DSN=OFF.DUMP1,STATUS=DRAINED,ARCHIVE=ONE, $HASP882 LABEL=SL,PROTECT=NO,RETPD=30,TRACE=NO, $HASP882 UNIT=(/C045,1),VALIDATE=YES,VOLS=255
The offload data set for OFFLOAD1 is named OFF.DUMP1. The tape allocated for this data set requires IBM standard label (SL) processing.
2 $t offload3,protect=yes,retpd=40 $HASP882 OFFLOAD3 DSN=OFF.DUMP3,STATUS=DRAINED,ARCHIVE=ONE, $HASP882 LABEL=SL,PROTECT=YES,RETPD=40,TRACE=NO, $HASP882 UNIT=(,1),VALIDATE=YES,VOLS=255
The offload data set named OFF.DUMP3 requires SAF protection. JES retains this data set for 40 days.
831
$T OUTCLASS(n)
Syntax
$T OUTCLASS n , ( n * ) n * n *
,OUTDisp=
H HOLD K KEEP L LEAVE P PURGE W WRITE ( H HOLD K KEEP L LEAVE P PURGE W WRITE , H HOLD K KEEP L LEAVE P PURGE W WRITE )
Parameters
(n) The subscript defining the output class(es) (A-Z, 0-9) that are affected. The subscript may specify a single class (for example B) or a range of classes. For information about specifying a range for this subscript, see Syntax Conventions at the front of this chapter. OUTDisp Specifies the default disposition of the SYSOUT data sets in the specified output class(es). (normal) Specifies the output disposition if the job ends successfully. Specify one of the output dispositions below.
832
$T OUTCLASS(n)
(abnormal) Specifies the output disposition if the job ends unsuccessfully. Specify one of the output dispositions below. Note: A job is considered to have ended abnormally if: 1. The job abended, 2. The job has a JCL error 3. Completed unsuccessfully with a condition code (COND=...) specified on the JOB statement 4. The job fails during input processing 5. The job fails during conversion processing. Valid output dispositions: H|HOLD Hold the output. JES2 does not process the output until you either change the disposition to WRITE or KEEP, or release the output. When the output is released, the disposition changes to WRITE. K|KEEP Process the output and then keep a copy of it on spool. After processing, the disposition of this output becomes LEAVE. L|LEAVE JES2 does not process the output until you change the disposition to WRITE or KEEP, or release the output. Once the output is released, the disposition changes to KEEP. P|PURGE Purge the output immediately. W|WRITE Process the output then purge it. See z/OS JES2 Initialization and Tuning Guide for more information about specifying output disposition and how JES2 determines output disposition defaults.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
833
$T OUTCLASS(n)
Messages
The $HASP842 message displays the current values of all the parameters on the OUTCLASS initialization statement.
Example
1 $t outclass(2),outdisp=(purge,write) $HASP842 OUTCLASS(2),OUTPUT=PRINT,BLNKTRNC=YES, OUTDISP=(PURGE,WRITE),TRKCELL=YES
If a job, that has not yet entered output processing and has output in outclass(2), ends normally, JES2 purges its output in outclass(2). Otherwise the output is printed or punched normally.
834
$T OUTDEF
Syntax
$T OUTDEF ,BRODCAST= No Yes ,COPIES=nnn ,JOENUM=nnnnnn
,JOEWARN=nnn
,OUTTIME=
CREATE UPDATE
,PRTYHIGH=nnn
,PRTYLOW=nnn
,PRTYOUT=
No Yes
,PRYORATE=nnnn
,SEGLIM=nnnnn
Parameters
BRODCAST={No|Yes} Specifies whether shared broadcasting is used by this multi-access spool complex. No The SYS1.UADS and SYS1.BRODCAST data sets are not shared by all members of the multi-access spool complex. The $HASP165 notify message is always generated on the system on which the time-sharing user is logged on. If the user is not logged on, the $HASP165 notify message is added to the SYS1.BRODCAST data set associated with the jobs originating system. The output for the job is not available until the originating system issues the $HASP165 notify message. Yes The two TSO data sets, SYS1.UADS (TSO user definition) and SYS1.BRODCAST (TSO message transmission definition), are shared by all members of the multi-access spool complex. The $HASP165 notify message is always generated at the system on which the time-sharing user is logged on. If the user is not logged on, the $HASP165 notify message is added to the SYS1.BRODCAST data set on any member for which the member has affinity. Scope: MAS-Wide. COPIES=nnn The maximum number (1-255) of job output copies that may be requested in the accounting field of your JOB statement or on a /*JOBPARM control statement. If the number of copies requested is greater than the COPIES= value, JES2 automatically reduces the requested number to the COPIES= value.
835
$T OUTDEF
Notes: 1. The specified COPIES= value does not affect those jobs that are already on the hardcopy queue. 2. Specifying this parameter does not affect requests for multiple copies of data sets made with a OUTPUT JCL statement or a /*OUTPUT control statement. Scope: Single Member. JOENUM=nnnnnn Specifies the number (10-500000) of output elements (JOEs) to exist in the JES2 system. This number can be increased or decreased by operator command. JOEWARN=nnn The percentage (0-100) of job output elements used at which the $HASP050 message alerts the operator of a shortage of job output elements. JES2 deletes this message from the console when the resource shortage is relieved (either by a decrease in resource use or an increase in the threshold). Notes: 1. If you specify 0, no alert is given. 2. The specified value is applied only to those jobs that have not yet been selected for execution. Scope: MAS-Wide. OUTTIME={CREATE|UPDATE} Specifies whether JES2 maintains the timestamp marking the creation time of an outputs JOE, or whether it saves the time the JOE was last modified. CREATE JES2 fills in the JOE time only when the job creates the output. UPDATE JES2 updates the JOE time whenever the JOE is modified. Scope: Single Member. PRTYHIGH=nnn The upper priority limit (0-255) to be associated with the JES2 job output priority aging feature. JES2 does not priority-age a job output element if its priority is (or becomes) equal to or greater than the PRTYHIGH value. JES2 does not priority-age a job output element unless its initial priority is equal to or greater than the PRTYLOW value. Notes: 1. If zero is specified, no priority aging is performed. 2. The PRTYRATE parameter on the OUTDEF statement specifies the number (0-1440) of time periods into which a 24-hour period is to be divided for use in increasing a job output elements priority by the JES2 priority aging feature. For example, if PRTYRATE=4 is specified, JES2 increases a job output elements priority by one for every 6 hours it remains in the system. Scope: MAS-Wide. PRTYLOW=nnn The lower priority limit (0-255) to be associated with the JES2 job output priority aging feature. JES2 priority-ages a job output element only if its initial priority is
836
$T OUTDEF
equal to or greater than the value of PRTYLOW. JES2 does not priority-age a job output element above the PRTYHIGH value. Note: The specified value is applied only to those jobs that have not yet been selected for execution. Scope: MAS-Wide. PRTYOUT={No|Yes} Specifies whether the priority specification (PRTY=) on the JCL OUTPUT statement is to be supported (Y) or ignored (N). Note: The specified value is applied only to those jobs that have not yet entered the system. Scope: Single Member. PRYORATE=nnnn Specifies the number (0-1440) of time periods into which a 24-hour day is to be divided for use in increasing a jobs output priority by the JES2 output priority-aging feature. For example, if 3 is specified, a jobs output priority will be increased by one for every 8 hours it remains in the system. However, a jobs output priority will not be increased unless it is at least equal to the value specified in the PRTYLOW parameter; nor will a jobs output priority be increased above the value specified in the PRTYHIGH parameter. If 0 is specified, the values specified in the PRTYLOW and PRTYHIGH parameters are ignored. Scope: MAS-Wide. SEGLIM=nnnnn Specifies the maximum number of output segments (1-99999) JES2 creates for a given SYSOUT data set. When the number of segments exceeds the value SEGLIM, JES2 no longer segments the SYSOUT. The SEGLIM parameter has a range from 1 to 99999. The extreme values produce the following results: SEGLIM=1 Prohibits output segmentation SEGLIM=99999 Allows practically unlimited output segmentation Scope: Single member.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
See the individual operand descriptions to determine the effect this command has on jobs in different phases of execution.
Scope
The scope of this command varies by parameter. See the description of each parameter for its scope.
Chapter 5. Command Reference Section
837
$T OUTDEF
The values supplied for some parameters on this command will be in effect across the entire MAS while the values supplied for other parameters will be in effect for this member only. Depending on your installations setup, you might want the parameters for this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP836 message displays the current values of all the parameters on the OUTDEF initialization statement.
Examples
1 $t outdef,prtylow=10,prtyhigh=150 $HASP836 OUTDEF BRODCAST=NO,COPIES=255,DMNDSET=NO, JOENUM=200,JOEFREE=200,JOEWARN=80, OUTTIME=CREATE,PRTYLOW=10, PRTYHIGH=150,PRTYOUT=NO, SEGLIM=100, STDFORM=STD,USERSET=NO
JES2 priority-ages those job output elements that have an initial priority of at least 10 and less than 150.
2 $t outdef,brodcast=yes
When a TSO user is not currently logged on, this member issues the $HASP165 notify messages to the shared broadcast data set (SYS1.BRODCAST) on any member for which the message has affinity.
838
$T OUTPRTY(n)
Syntax
$T OUTPRTY n , ( n * ) mm * mm *
Modification keywords
Modification keywords:
,PAGE=page
,PRIORITY=priority
,RECORD=record
PAGE
= ^= > <
page
RECORD
= ^= > <
record
Parameters
n The entry (1-9) being referenced in the OUTPRTY table. PAGE=page The output page count for stream mode data sets (1-16777215) that is associated with the PRIORITY= value. The actual page count of a data set is determined by JES2 when writing the output data set to spool. PRIORITY=priority The output selection priority (0-255) of a job output element (JOE) for the output interval specified by the RECORD or PAGE parameter. When JES2 builds job output elements (JOEs) for a job, it assigns a priority to each JOE based on the total number of output lines, cards, or pages represented by the JOE. Note: JOEs are selected in a high to low priority order. For example, a JOE with priority of 150 is selected before a JOE with priority of 140. RECORD=record The output record count (1-16777215) that is associated with the PRIORITY= value. The actual record count of a data set is determined by JES2 when writing the output data set to spool.
Chapter 5. Command Reference Section
839
$T OUTPRTY(n)
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v This command does not affect post-execution jobs. v The OUTPRTY values do not affect an output data set if the PRTY= parameter was specified on the data sets JCL OUTPUT statement and PRTYOUT=YES was specified on the OUTDEF initialization statement. v Before changing the specifications of OUTPRTY(n), make sure the values you want assigned fit into the defined OUTPRTY table. See z/OS JES2 Initialization and Tuning Reference for further information about the size of the OUTPRTY(n) table.
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP848 message displays the current values of all the parameters on the OUTPRTY(n) initialization statement.
Example
1 $t outprty(8),page=300,record=15000,priority=120 $HASP848 OUTPRTY(8) PRIORITY=120,RECORD=15000,PAGE=300
JES2 assigns a priority of 120 to any data set that contains at least 15,000 output records and/or 300 output pages.
840
$T PCE
Syntax
$T PCE pce ( pce pce * ) -pce -pce -*
Modification keywords
Modification keywords:
,TRace=
No Yes P
, /
ACTive
= = > <
active
, /
Allocated
= = > <
allocated
, /
Defined
= = > <
defined
, /
Ended
= = > <
ended
TRace
= =
No Yes
Parameters
pce The processors for which tracing is activated or deactivated. The following processor-type values may be specified. Command Input ALICE ASYNC BERTLOCK CKPT CNVT Processor(s) Acquire lock and initiate cleanup executor ASYNC I/O Processor BERT Lock Post Processor Checkpoint Processor JCL Converter
Chapter 5. Command Reference Section
841
$T PCE
COMM DAWN ENF EOM EVTL EXEC FCLEANUP HOPE IRCLEAN JCMD JQRP MCON MISC MLLM NET.JR NET.JT NET.SR NET.ST NET.RR NET.RT NPM OFF.JR OFF.JT OFF.SR OFF.ST PRT PRTYO PRTY PSO PUN PURGE RDR RESOURCE RESTART RMT.RDR RMT.PRT RMT.PUN SJFSERV SNF SOM SPI SPIN SPOOL STAC TIME TIMER WARM XCF XCFCMND Command Processor Distributed Available Work Notification ENF Listen Processor End of memory processor Event Trace Log Execution Services FSS Cleanup at EOM Output Processor Internal Reader Cleanup MAS Command Processor JQE Request Processor Remote Console Processor Miscellaneous processor Line Manager NJE Job Receiver NJE Job Transmitter NJE SYSOUT Receiver NJE SYSOUT Transmitter Job Route Receiver Job Route Transmitter Network Path Manager Offload Job Receiver Offload Job Transmitter Offload SYSOUT Receiver Offload SYSOUT Transmitter Printer Output Priority Aging Job Priority Aging Process SYSOUT Processor Punch Purge Processor Reader Resource Monitor ARM Support Processor RJE Reader RJE Printer RJE Punch SWB Modify Processor Spool Garbage Collector Spool Offload I/O Manager SYSOUT API Spin Processor Spool Command Manager SSI Status/Cancel Services Elapsed Time Monitor STIMER/TTIMER Processor Warm Start Processor JESXCF Interface JESXCF Request Processor
| |
See PCE List in z/OS JES2 Messages for a list of PCEs and a description of their functions. ACTive=active The $ACTIVE count.
842
$T PCE
Allocated=allocated Number of defined PCEs that have been created. Defined=defined Number of PCEs of this type defined to JES2. Ended=ended Number of allocated PCEs that have ABENDed and are now ended. TRace={No|Yes} Specifies whether tracing is to be activated or deactivated for these processors. Yes Tracing is activated if trace IDs 11 and 12 are currently enabled. This command causes tracing of program linkage ($SAVE and $RETURN macros) performed under control of the specified group of processors. Notes: 1. Trace IDs 11 and 12 may be enabled either at initialization on the TRACE(n) statement or using the $S TRACE(n) command. 2. Not all processors that are eligible for tracing use the $SAVE and $RETURN macros (for example, the STIMER/TTIMER processor). No Tracing is disabled.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
For some device processors, tracing may have been set individually using other commands (for example, $TRDR1,TR=Y). This command sets tracing for ALL processors of the given type. Subsequent $T commands for individual devices can be issued to change the setting for just selected processors.
Scope
Single member. This command will be in effect for this member only. However, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP653 message displays the current processor tracing status and the PCE counts for the processor type specified.
Example
1 $t pce(evtl),trace=yes COUNT=(1,1,0),ACTIVE=0,TRACE=YES
Chapter 5. Command Reference Section
$HASP653 PCE(EVTL)
843
$T PCE
JES2 activates tracing for the event trace log processors.
2 $TPCE(CKPT),TRACE=YES $HASP653 PCE(CKPT) COUNT=(1,1,0),ACTIVE=0,TRACE=YES
Activate tracing for all PCE types that start with NET.
4 $TPCE(*),ACTIVE>0,TRACE=YES $HASP653 PCE(PRT) COUNT=(11,11,0),ACTIVE=1,TRACE=YES
Activate tracing for all PCE types that have an active count of 1 or more.
844
$T PRINTDEF
Syntax
$T PRINTDEF ,LINECT=nnn ,NEWPAGE= ALL 1
, ,SEPPAGE=( LOCAL= DOUBLE FULL HALF NONE REMOTE= DOUBLE FULL HALF NONE )
Parameters
LINECT=nnn The maximum number (0-254) of lines to be printed per page on job output. If you specify LINECT=0, automatic page overflow (normally standard in JES2) is suppressed. v For MODE=JES printers: Table 59 shows the interaction and overriding order that JES2 uses when determining the number of lines it will use when writing a checkpoint record for printers set to MODE=JES (that is, non-FSS-mode printers).
Table 59. Interaction of PRINTDEF and PRT(n) parameters that JES2 uses to calculate the output checkpoint interval PRINTDEF LINECT= >0 >0 and PRT(n) CKPTLINE= 0 (or defaulted) > LINECT= < LINECT= 0 >0 Lines Setting JES2 Uses to Calculate Checkpoint PRINTDEF LINECT= value PRINTDEF LINECT= value PRT(n) CKPTLINE= value PRT(n) CKPTLINE= value
and if CKPTPAGE=>0, then JES2 calculates total checkpoint lines to be the product of this value times the CKPTPAGE= value
v For MODE=FSS printers: If you set CKPTMODE= on PRT(nnnnn), JES2 uses that value to determine if checkpoints are taken based on page count or time. If you set CKPTSEC= on PRT(nnnnn) or allow the default of 0, and CKPTMODE=SEC, this value sets the number of seconds before taking an output checkpoint.
845
$T PRINTDEF
Notes: 1. A 3800 printer does not print more than 60 lines per 11-inch page at 6 lines per inch or 80 lines per 11-inch page at 8 lines per inch. 2. The LINECT= parameter does not affect a job if a line count was specified: v In the accounting field of the JOB statement v On a /*JOBPARM control statement v On the /*OUTPUT control statement v On the JCL OUTPUT statement. 3. Changing LINECT= does not affect jobs that have been previously submitted. NEWPAGE={ALL|1} Specifies when a skip to channel is counted as a new page. The method selected on this parameter is used for all printers that do not explicitly specify NEWPAGE=, or for printers that have the NEWPAGE=DEFAULT parameter specified. You can override this parameter for a specific printer by specifying the NEWPAGE= parameter on a PRT or R(nnnn).PR(m) initialization statement. You can specify one of the following: ALL Specifies that JES2 will treat skip-to-any-channel as a new page. 1 Specifies that JES2 will treat only skip-to-channel-one as a new page.
SEPPAGE=([LOCAL=pagetype] [,REMOTE=pagetype]) Specifies the type of separator page JES2 produces on local and remote printers. Changing SEPPAGE affects jobs that have been submitted but have not yet printed. The value of the SEPPAGE parameter that is in effect at the time an output group starts to print, controls the production of both header and trailer separator pages. You can assign one of the following values for SEPPAGE: DOUBLE Requests the production of two full separator pages including jobname and jobid in block letters. Having two separator pages guaranties an outward facing page. DOUBLE is the default for LOCAL printers. FULL Indicates that a complete separator page including jobname and jobid is produced.
HALF Specifies a separator page containing only detail separator information. Jobname and jobid do not appear in block letters. HALF is the default for REMOTE printers. NONE Inhibits separator page generation.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
This command affects only those jobs that have not yet printed.
846
$T PRINTDEF
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP833 message displays the current values of all the parameters on the PRINTDEF initialization statement.
Example
1 $t printdef,linect=80,seppage=(local=full,remote=half) $HASP833 PRINTDEF CCWNUM=49,LINECT=80,NIFCB=STD3, NIFLASH=****,NIUCS=GT10,FCB=6,TRANS=NO, UCS=0,DBLBUFR=YES,RDBLBUFR=NO, SEPPAGE=(LOCAL=FULL,REMOTE=HALF)
847
$T PROCLIB(xxxxxxxx)
Syntax
$T PROClib proclib , ( proclib proclib * ) -proclib -proclib -*
Modification keywords
Modification keywords:
,CONDitional
,NAME=name
,UNCONDitional
848
$T PROCLIB(xxxxxxxx)
, , ,DDNAME ,USECOUNT / DD nn , / ( nn * ) mm * / UNIT mm * =( / DSName = = > < dsname )
Parameters
(xxxxxxxx) Specifies the 1 to 8character PROCLIB DD name being modified. If a dynamic PROCLIB does not exist with this name, the command will fail. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. DD(nnn)= Specifies up to 255 data sets that are part of the concatenated for this PROCLIB DD name. Existing data sets can be altered or removed as well as adding data sets to the concatenation. Data sets in this list are compacted after the $T command is processed. If you add a new DD(100) to an existing concatenation of 2 data sets, the resulting concatenation will have DD(1), DD(2) and DD(3). If you then set the data set name for DD(2) to null, it will be removed from the concatenation leaving just DD(1) and DD(2) where DD(2) has the old DD(3) data set specification. Though up to 255 data sets can be specified, MVS rules limit any data set concatenation to 255 extents. If any data set has more than one extent, then the total number of data sets that can be supported will be reduced. DDNAME Specifies the real DDNAME to be associated with the PROCLIB concatenation. DSName=jxxx,,,x Specifies a 1 to44 character data set name which JES2 will include in this PROCLIB concatenation. This must specify a partitioned data set (PDS). If this value is coded as null (no operand specified) then the DD(nnn) will be deleted from the concatenation. UNIT=hhhh|/hhhh|nnnn|cccccccc If the PROCLIB data set to be used is not cataloged, then the unit information for the device containing the data set must be specified in one of the following ways: hhhh | /hhhh specifies a 3 or 4digit hexadecimal device number. Device numbers can be specified by any of the following formats: v UNIT=hhh v UNIT=/hhh v UNIT=/hhhh where hhh and hhhh represent the device numbers. A slash (/) must precede a 4 digit device number. nnnn Specifies a device name.
849
$T PROCLIB(xxxxxxxx)
cccccccc Specifies a 1 to 8character group name assigned to the device or group of devices that contained the non-cataloged PROCLIB data set to be used. USECOUNT Specifies the use count for a PROCLIB concatenation. A PROCLIB is considered in use if a conversion processor currently has the data set open. VOLser=xxxxxx If the PROCLIB data set to be used is not cataloged, then this specifies a 1 to 6 character volume serial number on which the data set resides. UNCONDitional|CONDitional Specifies what action should be taken if one of the data sets cannot be allocated. If CONDitional is specified then if any data set in the concatenation cannot be allocated (even ones that were not updated), the $T command is failed. If UNCONDitional is specified, then an error allocating a singe data set is ignored. The data set is not added to the concatenation but it remains assigned to the DD(nnn). When the concatenation is displayed, failed DD(nnn) will display the text ALLOCATION FAILED before the data set name. If all the data sets in a concatenation fail to allocate, then the $T command fails regardless of whether UNCONDitional was specified. NAME=xxxxxxxx Allows the name of an existing PROCLIB concatenation to be changed. Specifying PROC(TEST01) NAME=PROC01 will rename the TEST01 PROCLIB concatenation to PROC01. If there is an existing PROC01 concatenation, it is replaced by the current TEST01 concatenation. This is useful for testing new concatenations before putting them into production.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The values supplied for this command will be in effect for this member only. You may want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command. | | See z/OS JES2 Initialization and Tuning Guide for more information on scratching a PSDE in the dynamic PROCLIB concatenation.
Messages
The $HASP319 message displays the current PROCLIB concatenation. The $HASP003 RC=52 indicates that you are trying to modify a PROCLIB concatenation that does not exist.
850
$T PROCLIB(xxxxxxxx)
The $HASP003 RC=91 indicates that the command failed because there was an allocation failure. In this case, additional IKJ message will be issued to describe the allocation error.
Example
1 $tproclib(proc01),dd(3)=(dsn=tso.proclib,vol=j2shr2,unit=3380) $HASP319 PROCLIB(PROC01) DD(1)=(DSNAME=SYS1.PROCLIB), $HASP319 DD(2)=(DSNAME=TEST.PROCLIB), $HASP319 DD(3)=(DSNAME=TSO.PROCLIB, $HASP319 VOLSER=J2SHR2,UNIT=3380)
Change all PROCLIBs that have a data set name of TSO.PROCLIB to TEST.PROCLIB with no VOLSER= and no UNIT= specified
851
Syntax
$T PRINTER PRT nn , ( nn * ) mm * mm *
Modification keywords
Modification keywords:
,Burst=
No Yes
CHAR X
nn , ( nn * ) mm * mm *
=char
,CKPTLINE=ckptline
,CKPTMODE=
PAGE SEC
,CKPTPAGE=ckptpage
,CKPTSEC=ckptsec
,COPYMARK=
,CReator=creator
852
,DEVFCB=devfcb
,DEVFLASH=devflash
C FCB
=fcb
FLASH O
=flash
,Forms=
|
, / FSAROLTR = ^= Yes No ,FSS=fss ,JOBname=jobname
,LIMit=
,Mark= ) No Yes
,MODE=
FSS JES
MODIFY Y
=modify
MODIFY Y
=modify
,NEWPAGE=
ALL DEFAULT 1
,NPRO=npro
,Pause= No Yes
,PLIM=
,PRESELCT=
No Yes
,PRMode=
CLass Queue
=queue
,RANGE=
,Routecde=
routecde , ( routecde )
,Sep= No Yes
853
,SEPCHARS=
CURRENT DEFAULT
,SEPDS= No Yes
,SETUP=
HALT NOHALT
K SPACE
,TRace=
No P Yes
,TRANS=
DEFAULT No Yes
,TRKCELL=
No Yes
T UCS
=ucs
,UCSVerfy=
No Yes
,UNIT=unit
,Volume=
volume , ( volume )
,Writer=writer
,WS=
ws , ( ws )
Burst
= ^=
No Yes
CKPTMODE
= ^=
PAGE SEC
COPYMARK
= ^=
CReator
= ^= > <
creator
DEVFCB
= ^= > <
devfcb
DEVFLASH
= ^= > <
devflash
854
/ /
C FCB
= ^= > <
fcb
/ /
FLASH O
= ^= > <
flash
Forms
= ^=
FSS
= ^= > <
fss
JOBname
= ^= > <
jobname
Mark
= ^=
No Yes
/ /
MODIFY Y
= ^= > <
modify
NEWPAGE
= ^=
ALL DEFAULT 1
Pause
= ^=
, No Yes
PRESELCT
= ^=
No Yes
PRMode
= ^=
/ /
CLass Queue
= ^= > <
queue
Routecde
= ^=
routecde , ( routecde )
Sep
= ^=
, No Yes
SEPCHARS
= ^=
CURRENT DEFAULT
855
SEPDS
= ^=
, No Yes
SETUP
= ^=
HALT NOHALT
/ /
K SPACE
= ^=
TRace
= ^=
No P Yes
TRANS
= ^=
DEFAULT No Yes
TRKCELL
= ^=
No Yes
/ /
T UCS
= ^= > <
ucs
UCSVerfy
= ^=
No Yes
UNIT
= ^= > <
unit
Writer
= ^= > <
writer
Parameters
PRinter The local printer that is affected by this command. Rnnnn.PRm The remote printer that is affected by this command. ASIS={Y|N} Specifies whether JES2 will send the print data to the remote printer without suppressing extraneous ejects and adding an eject at the end of a data set. This parameter should be specified as NO if the installation wants to continue to suppress ejects and receive ejects at the end of each print data set. Note: This keyword applies only to remote printers. Burst=[No|Yes] Specifies whether the printed output from the indicated 3800 printer is to be burst into separate sheets (Y) or is to be in continuous fanfold form (N). C|FCB={xxxx|RESET} xxxx The identifier (1 to 4alphameric or special character ($ # @)) of the
856
The size of a logical page is also defined as the number of lines printed until: v A channel skip is encountered v The line count specified by the LINECT= parameter on the PRINTDEF statement, the /*JOBPARM control statement, the JCL OUTPUT statement, or the JOB statement accounting field has been exceeded. Note: This operand is ignored if specified for a printer under the control of a functional subsystem. The functional subsystem does its own physical and logical pages checkpoint based on the CKPTPAGE and CKPTSEC values passed to it from JES2. CKPTMODE={PAGE|SEC} Specifies whether the functional subsystem is to take checkpoints based on page count or elapsed time. Note: This operand is valid for printers under the control of a functional subsystem only, not those under the control of JES2.
857
858
ccccccc Any combination of EBCDIC characters except a comma, a right parenthesis, or an equal sign. DEVFCB=devfcb Specifies the default FCB attribute JES2 uses when FCB= is not coded in the jobs JCL. (JES2 does not validate the existence of the FCB name in SYS1.IMAGELIB.) Specifying RESET sets the default FCB attribute to null. Note: 3800 printers use the FCB specified on the PRT initialization statement. DEVFLASH={xxxx|NONE} Specifies the name of the device default forms FLASH ID. xxxx The identifier (1 to 4 alphameric or special ($ # @) characters) of the forms FLASH ID for the specified 3800 printer. This forms FLASH ID is used for jobs selected by this printer that do not have FLASH= explicitly coded in the jobs JCL. NONE The forms FLASH ID is unspecified (the value is set to asterisks). Note: The printer must be drained before the DEVFLASH parameter can be used to modify the default forms FLASH ID. FCBLOAD={YES|NO} Specifies whether (YES) or not (NO) JES2 provides the forms control buffer (FCB) for this printer.
859
| | |
FSAROLTR ={YES|NO} Specifies whether the internal rolling trace for an FSS printer is activated or deactivated. FSS=accccccc Specifies a 1 to 8character functional subsystem name that supports a page-mode printer. If an FSSNAME is not defined on an FSS initialization statement, the functional subsystem name assigned on this statement will cause the generation of a default FSS initialization statement. The FSS statement then defines (by default) the FSSNAME and PROCname specified here. Notes: 1. This parameter must be specified if MODE=FSS is specified for this PRT(nnnn) command. 2. You must also specify UNIT= if this PRT(nnnn) command defines a 3827 or 3835 printer. HONORTRC{YES|NO} Specifies whether the TRC=Yes/No parameter specified on the jobs OUTPUT JCL statement will be honored or not honored for a given JES mode printer.
860
861
ALL Specifies that JES2 will treat skip-to-any-channel as a new page. DEFAULT Specifies that the NEWPAGE specification on the PRINTDEF initialization statement will be used. NPRO=npro The non-process runout (NPRO) time interval, in seconds (0-3600). This time interval is used to control the amount of time that an FSS-controlled printer is idle with output in the paper path but not at the stacker. When the time interval expires, the functional subsystem directs the printer to force the output to the stacker. NPRO=0 specifies that a timer-based NPRO is not used. Note: The NPRO parameter has no effect on cut-sheet page printers (for example, the 3820). Pause=[No|Yes] Specifies whether the local printer is to pause between data sets. If you specify Y, you can restart the device by changing it from a not-ready to a ready state or by entering a $S PRTnnnn command. Note: This operand has no effect for a printer under control of a functional subsystem. PLIM={m|m-n|m-*} Specifies the lower and upper limits (in pages) for the size of output that is to be selected by this printer. For both variables m and n, you can specify a range of values from 0 through 2147483647. m and n can be equal. If they are not equal, n must be larger than m. If you code only m, that value becomes both the lower and upper limit. If m-* is specified, the upper limit is set to the default value (4294967295). Notes: 1. Normally the PLIM should only be used with functional subsystem printers capable of printing page mode data.
862
863
864
Sep=[No|Yes] Specifies whether JES2-supplied separator pages are to be placed between output groups. If you specify N, the JESNEWS data set is not printed. If this is a remote printer, specifying N also suppresses the transmission of operator messages to the RJE workstation, with the exception of the $HASP190 setup message. Note: If you specify Sep=Y, but SEPPAGE=(LOCAL=NONE) (for local printers) or SEPPAGE=(REMOTE=NONE) (for remote printers) was specified on the PRINTDEF initialization statement or using the $T PRINTDEF command, default JES2 separator pages are not produced. If you specify Sep=N, a user created separator page (made in Exit 1) is not suppressed. SEPCHARS={CURRENT|DEFAULT} Specifies the character arrangement table to use for separator pages printed on the 3800 printer. The NUICS parameter on the PRINTDEF initialization statement defines this value at system initialization. CURRENT Specifies use of the character arrangement table loaded in the 3800. The first character arrangement table is used if the installation default is not loaded. DEFAULT Specifies use of the installation default character arrangement table. If not already loaded, this parameter specifies that this table be loaded before printing the separator pages. SEPDS=[No|Yes] Specifies whether a header separator page is to be produced for each copy of each data set within an output group. If the printer is running under JES2, specifying Y causes JES2 to invoke EXIT 15 (output data set/copy separators), if enabled, to generate separator pages. For printers under control of a functional subsystem, SEPDS is supported with a default separator page. SETUP={HALT|NOHALT} Specifies whether JES2 is to halt the printer and issue the $HASP190 message requesting the operator to verify the output control specifications when the output requirements for a particular job differ from the output characteristics specified for the printer. (If halted, the printer must be restarted using the $S command.) SUSPEND=[No|Yes] Specifies whether a remote printer can (No) or cannot (Yes) use the printer-interrupt feature which allows the remote operator to interrupt printing for the transmitting of jobs or JES2 commands to this JES2 system. Notes: 1. Applies only to printers connected to BSC hardware terminals. 2. This parameter can only be changed when the printer is inactive. T|UCS=ucs For impact printers, T= specifies the identifier (1 to 4 alphameric or special ($ #
Chapter 5. Command Reference Section
865
866
UNIT={devnum|/devnum} Specifies no value or a 3-digit or 4-digit hexadecimal device number. Device numbers can be specified by any of the following formats:
UNIT= UNIT=ddd UNIT=dddd UNIT=/ddd UNIT=/dddd (to specify a null value)
where ddd and dddd represent the device numbers. A slash (/) can optionally precede the device number (for compatibility with other commands that require a slash to denote a 4-digit device number). Note: You can omit this parameter when altering local printers; however, if you do and the printer requires a unit address (for example, all JES mode printers), you must specify a unit address before starting the printer. VOLUME=(v1[,...v4]) The volume serial (5-6 characters) of a volume containing a spool data set. Only the output of jobs which reside on one or more of the specified volume(s) are to be selected by this printer. You can specify up to 4 volumes. Multiple entries must be separated by commas and the list must be enclosed in parentheses. A null parameter of VOLUME=() specifies that volume is not a criterion for output selection. You must specify the empty parentheses. Writer=xxxxxxxx The 1 to 8 alphanumeric or special ($ # @) character writer name assigned to this printer. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. A null parameter of (W=) specifies that no writer name is assigned to this printer. Note: If you do not assign a writer name to the printer, and Writer is specified as an exact match criteria in the work selection (WS) list, the printer selects only output groups without a writer name. WS=ws Specifies the work selection criteria for this printer. Using any combination of user and JES2-defined criteria, you may specify a maximum of 19 criteria in the WS= list. Criteria that are not specified are not considered during output selection although JES2 does use them to determine setup requirements. Multiple entries must be separated by commas and the list must always be enclosed in parentheses (even if only one criterion is specified). The general rules for specifying a printer work selection list are:
867
5.
6.
7. 8.
9.
X|CHAR=id The identifier(s), 1 to 4 alphameric characters, available in SYS1.IMAGELIB, for the first through fourth character arrangement tables, respectively, to be used in the specified 3800 printer. Note: You should specify this operand only if you have received an error message indicating that a character arrangement table was not found.
868
Authority Required
This command requires device and system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v The setting of forms, trains, carriage controls, or FCB image is valid only when the specified device is inactive, pausing, or awaiting operator action (halted). v You should either issue a $P PRTnnnn command and wait for the device to drain before entering the $T command, or issue the $T command while the system is waiting for forms to be loaded. Because JES2 does not issue a setup message for a printer that does not require operator intervention to change the carriage control, the requested image cannot be overridden unless there is an error. v If you are uncertain of the controls in effect, enter the $D PRT command or the $D U command for the printer in question.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP603 message displays the status of the specified printer and its current characteristics. The $HASP003 rc=65 message indicates that the device type specified through the UNIT= parameter does not match the defined JES2 device information. The $HASP003 rc=66 message indicates that the device type specified through the UNIT= parameter does not exist.
Examples
Because of the number of examples presented and the length of the resulting message, $HASP603 is shown only for the first example. | | | | | | | | | | | | | |
1 $t prt101,unit=0b08,fss=psf1,mode=fss $HASP603 PRT101 UNIT=0B08,STATUS=DRAINED,BURST=NO,CKPTLINE=0, $HASP603 CKPTMODE=PAGE,CKPTPAGE=100,CKPTSEC=0, $HASP603 CREATOR=,DEVFCB=,DEVFLASH=****,FCB=6080, $HASP603 FORMS=(STD,,,,,,,),FSS=PSF1,HONORTRC=YES, $HASP603 JOBNAME=,LASTFORM=STD,LIMIT=(0,*), $HASP603 COPYMARK=DATASET,MARK=YES,MODE=FSS, $HASP603 NEWPAGE=DEFAULT,NPRO=5,PAUSE=NO,PLIM=(0,*), $HASP603 PRESELCT=YES,PRMODE=(LINE,PAGE),QUEUE=V, $HASP603 RANGE=(J1,999999),ROUTECDE=(LOCAL),SEP=YES, $HASP603 SEPCHARS=DEFAULT,SEPDS=NO,SETUP=HALT,SPACE=, $HASP603 TRACE=NO,TRANS=DEFAULT,TRKCELL=YES,UCS=GB12, $HASP603 UCSVERFY=NO,VOLUME=(,,,),WRITER=, $HASP603 WS=(W,Q,R,PRM,LIM,UCS,FCB/F,P),FSAROLTR=NO
JES2 loads FSS line-mode printer 101 at address 0B08 of the local installation.
2 $t r1.pr1,select=basic8,cctl=yes,lrecl=128
869
JES2 loads the forms numbered 228 and a PN train into local printer 2. Printer 2 now selects only those data sets that specify forms 228 and a PRMODE of PAGE.
4 $t prt6,k=r,mark=y,y=cm01,x1=gf10,x2=fm15
JES2 resets local printer 6 to the program-specified spacing. Printer 6 now uses: v Edge marking for separator pages v Copy modification module CM01 v Character arrangement tables GF10 and FM15.
5 $t prt3,q=acb,r=1,ws=(q,r/),sep=y,pause=y, setup=nohalt
Printer 3 prints all output in classes A, C, B, (in that order) that was to be routed to the local device with routing set to 1. As part of its processing, printer 3 pauses between data sets and places separator pages between output groups. SETUP=NOHALT specifies that printer 3 does not halt and issue the $HASP190 message if a jobs output specifications do not match those of the printer.
6 $t r8.pr2,tr=y
JES2 traces the logic of the JES2 processor associated with remote printer 2 at workstation 8.
7 $t r2.pr1,r=(r7,r8,r9,r10),devfcb=wxyz
If Routecde is specified in the work selection list, remote printer 1 at RJE workstation 2 processes only the output that was destined for RJE workstations 7, 8, 9, or 10. JES2 uses wxyz as the default FCB attribute if C=wxyz has also been specified. In contrast with the second line of the $HASP603 message shown in the first example: C=STD1,STD the $HASP603 message now displays: C=wxyz,DEFAULT Note that DEFAULT does not appear in the message if the current FCB is not the specified default FCB (devfcb=wxyz, in this example). For a complete description of the resulting message depending on the C= and DEVFCB= settings, see $HASP603 in z/OS JES2 Messages. 8 The current work selection list for printer1 is:
WS=(w,q,r,pmd,lim/f,t,c,p)
To remove w from the list, enter: $tprt1,ws=(-w) and the result is:
WS=(q,r, pmd,lim/f,t,c,p)
To remove w from the list and add burst b as an exact match criterion, enter: $tprt1,ws=(-w,b/) and the result is:
WS=(q,r,pmd,lim,b/f,t,c,p)
870
The outputs B= specification must match the It is not required that the B= specification of Burst specification of the printer. Otherwise the output group match the Burst this output group is not selected. specification of the printer. However, JES2 issues the $HASP190 setup message if a difference exists. The output groups CReator specification must match the CReator specification of the printer. Otherwise, this output group is not considered selectable. The output groups FCB image or carriage control tape must match the current FCB or carriage control tape of the output device. Otherwise, this output group is not selected. The output groups FLASH or forms overlay must match the current FLASH (O=) specification for the output device. Otherwise the output group is not selected. The output groups forms specification must match one of the forms specified for the output device. Otherwise the output group is not selected. If there are multiple forms, the forms have equal priority. It is not required that the CReator= specification of the output group match the CReator= specification of the printer. However, JES2 issues the $HASP190 setup message if a difference exists. It is not required that the output group match the FCB or carriage control tape specification of the printer. However, if differences exist in both the FCB and FORMS specifications, JES2 issues the $HASP190 setup message. It is not required that the output group match the FLASH (O=) specification for the printer. However, JES2 issues the $HASP190 setup message if a difference exists. It is not required that the forms of the output group match the current forms setup of the device. However, JES2 issues the $HASP190 setup message if a difference exists. In this case it is preferred that the forms of the output group match one of the forms specified for the device. It is not required that the job name of the output group match the job name specified (JOBNAME) for this device. JES2 attempts to consecutively select all eligible output for a particular job. It is not required that the amount of output generated by the output group fall within the limits. This subparameter has no effect as a work selection value for files received from a node that does not provide a page count for its files. For more information, refer to the sending nodes reference documentation. The process mode of the output group must match the process mode (PRMODE=) specified for the output device, but if there are multiple PRMODEs the list is not in priority sequence.
CReator
{FCB|C}
{FLash|O}
Forms
JOBname
The output groups jobname must match the jobname specified (JOBNAME=) for this device.
LIMit
The amount of output generated by an output group must fall within the limits set for this device, otherwise the output group is not considered selectable. Page limits are checked if the data set is in page mode. Record limits are checked if the data set is in line mode. If the page data set contains some line mode data, then both page limits and record limits are checked. The output groups process mode must match one of the process modes (PRMODE=) specified for the output device. Otherwise the output group is not selected. If there are multiple PRMODEs, the list is considered to be in priority sequence with the highest priority given to the first PRMODE in the list.
{PMD} {PRMode}
871
The priority of the output group is to be Same as before slash. considered. Whether specified before or after the slash, higher priority output groups are preferred. Placement of P in the WS list gives priority importance in the work selection process. There is no matching done for priority. Note: Output groups are added to the class queues in priority order, and the class queues are scanned in the devices class list order. The output groups are not scanned by priority order across class queues. Thus, if all other work selection criteria for the output groups are equal, all of the output groups for the first class in the devices class list are selected in priority order before the output groups for the second class in the list. This is the selection order even if higher priority output groups exist on the class queue for the second class in the devices list.
Queue
When Queue is specified in the WS list, only those output classes specified for this device are searched for work. Otherwise all classes (A-Z and 0-9) are searched. It is therefore suggested that Q always be included in the WS list. The sequence of the list is the order of search. The job number of the job associated with the output group must be within the range (RANGE=) specified for this device. The output groups destination must match the route code (R=) specified for this device. Otherwise the output group is not selected. If there are multiple route codes specified for the device, the list is considered to be in priority sequence and a match with the first route code is preferred. The output groups universal character set must match the universal character set (UCS=) specified for this device. Otherwise the work is not selected. The volume of the job associated with this output group must match the volume (VOLUME=) specified for this device. If there are multiple volumes specified, the list is considered to be in priority sequence with the leftmost volume having the highest priority. The writer name specified for the output group must match the writer name specified (W=) for this device, otherwise the output group is not considered selectable.
The output classes specified for this device are not in priority sequence. All classes are equally preferred. Output groups in the first class in the list are selected first if they meet all other requirements.
RANGE
It is not required that the job number of the job associated with the output group be within the specified range (RANGE=). The destination of the output group must match the route code (R=) specified for this device, but if there are multiple route codes the list is not considered to be in priority sequence.
Routecde
{UCS|T}
It is not required that the universal character set of the output group match the universal character set specified for this device. However, JES2 issues the $HASP190 setup message if a difference exists. The volume of the job associated with this output group must match the volume (VOLUME=) specified for this device but if there are multiple volumes specified, the list is not considered to be in priority sequence. It is not required that the writer name of the output group match the writer name (W=) specified for the device.
Volume
Writer
872
Syntax
$T PUN PUNCH nn , ( nn * ) mm * mm *
Modification keywords
Modification keywords:
,CKPTLINE=ckptline
,CKPTPAGE=ckptpage
,CReator=creator
,Forms=
,JOBname=jobname
,LIMit=
,Pause= ) No Yes
,PRMode=
CLass Queue
=queue
873
,RANGE=
,Routecde= )
routecde , ( routecde )
,Sep= No Yes
,SEPDS= No Yes
,SETUP=
HALT NOHALT
,TRace=
No P Yes
,UNIT=unit
,Volume=
volume , ( volume )
,Writer=writer
,WS=
ws , ( ws )
Selection Keywords:
CReator
= ^= > <
creator
Forms
= ^=
JOBname
= ^= > <
jobname
Pause
= ^=
No Yes
/ /
CLass Queue
= ^= > <
queue
Sep
= ^=
No Yes
874
SEPDS
= ^=
, No Yes
SETUP
= ^=
HALT NOHALT
TRace
= ^=
No P Yes
UNIT
= ^= > <
unit
Writer
= ^= > <
writer
Parameters
PUNnn The local punch that is affected by this command. Rnnnn.PUm The remote punch that is affected by this command. CCTL={YES|NO} Specifies whether (YES) or not (NO) JES2 places carriage control characters in the output stream transmitted to this remote punch. If you specify CCTL=NO, JES2 neither compresses (COMPRESS=NO) nor compacts (COMPACT=NO) data, and standard character string (SCS) control characters are not placed in the output string. Note that the CCTL= parameter: v Must be specified as CCTL=NO if you also specify SELECT=BASICnn v Applies to remote punches only v Can be changed only when the punch is inactive v Can be used with SNA devices only. CKPTLINE=nnnnn The maximum number of lines (range 0-32767) in a logical page. JES2 uses this value, with the CKPTPAGE value, to determine when to take output checkpoints. Note: CKPTLINE is the only value used to define a logical page for punch devices. CKPTPAGE=nnnnn The number (1-32767) of logical pages to be punched before each output checkpoint is taken by JES2. This parameter and CKPTLINE control the amount of checkpoint activity to spool. CMPCT={YES|NO} Specifies whether (YES) or not (NO) this remote SNA punch has compaction capabilities. If it does and the corresponding RJE workstation definition (RMTnnnn initialization statement) specifies COMPACT=YES, JES2 forces this remote punch to use compaction.
Chapter 5. Command Reference Section
875
ccccccc Any combination of EBCDIC characters except a comma, a right parenthesis, or an equal sign. Forms=form The 1 to 8 alphanumeric or special characters ($ # @) character name of the forms that are loaded into this punch. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. You may specify up to 8 forms. FLUSH={Yes|No} Specifies whether JES2 punches a blank card following each data set or data set copy processed by this device.
876
877
878
879
where ddd and dddd represent the device numbers. A slash (/) can optionally precede the device number (for compatibility with other commands that require a slash to denote a 4-digit device number). VOLUME=volume The volume serial (5-6 characters) of a volume containing a spool data set. Only the output of jobs which reside on one or more of the specified volume(s) are to be selected by this punch. You can specify up to 4 volumes. Multiple entries must be separated by commas and the list must be enclosed in parentheses. A null parameter of VOLUME=() specifies that volume is not a criterion for output selection. You must specify the empty parentheses. Writer=xxxxxxxx The 1 to 8 alphanumeric or special ($ # @) character writer name assigned to this punch. You can also specify wildcards on this parameter. See Using wildcards on page 98 for additional information. A null parameter of (W=) specifies that no writer name is assigned to this punch. Note: If you do not assign a writer name to the punch, and Writer is specified as an exact match criteria in the work selection (WS) list, the punch selects only output groups without a writer name. WS=ws Specifies the work selection criteria for this punch. Using any combination of user and JES2- defined criteria, you may specify a maximum of 19 criteria in the WS= list. Criteria which are not specified are not considered during output selection although JES2 does use them to determine setup requirements. Multiple entries must be separated by commas and the list must always be enclosed in parentheses (even if only one criterion is specified). The general rules for specifying a punch work selection list are: 1. One slash (/) can precede or follow one of the selection criterion. Criteria placed before the slash must be matched exactly if the work is to be selected. Criteria placed after the slash do not have to matched exactly except in the following cases: Queue Routecde PRMode Volume Table 61 on page 883 defines each criterion when placed either before or after the slash. 2. Queue, Routecde, PRMode, and Volume can be specified as multiple values on the output device statements. Placing these criteria before the slash in the WS= list, indicates a left to right priority order of multiple values, if multiple values have been specified. Placing these criteria after the slash indicates no priority order of multiple values, but a match is still required.
880
5.
6.
7. 8.
Authority Required
This command requires device and system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v This command is valid only when the specified punch is inactive. If the punch is active, enter a $P PUNnn command and wait for it to become inactive before entering the $T command. v If you are uncertain of the controls in effect, enter the $D U command for the punch in question.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP603 message displays the status of the specified punch and its current characteristics. In particular,
881
Examples
Because of the number of examples presented and the length of the resulting message, $HASP603 is shown only for the first example.
1 $t pun1,f=12345678,prmode=line,lim=2000-3000,ws=(f,pmd,lim) UNIT=000D,STATUS=DRAINED,CKPTLINE=1, CKPTPAGE=100,CREATOR=,FORMS=12345678, JOBNAME=,LIMIT=(2000,3000),PAUSE=NO, PRMODE=(LINE),QUEUE=BK,RANGE=(J1,32767), ROUTECDE=(LOCAL),SEP=YES,SEPDS=NO,SETUP=HALT, TRACE=NO,VOLUME=(,,,),WRITER=, WS=(W,Q,R,F,PRM,LIM/)
JES2 loads the forms numbered 12345678 into punch 1. Punch 1 now selects only those data sets that require forms numbered 12345678, specify a PRMODE of LINES, and have at least 2000 records (but no more than 3000 records). 2 The current work selection list for punch 1 is:
WS=(w,q,r,pmd,lim/f,p)
To remove w from the list, enter: $tpun1,ws=(-w) and the result is:
WS=(q,r,pmd,lim/f,p)
To move pmd after the slash and switch the positions of q and r, enter: $t pun1,ws=(r,q,lim/pmd) and the result is:
WS=(w,r,q,lim/f,p,pmd) 3 $t pun4,q=akz,r=(u1,r4),ws=(q,r/)
Punch 4 processes all output in classes A, K, Z, (in that order) that was to be routed to either the local device with routing set to 1 or RJE workstation 4.
4 $t pun4,ckptline=80,ckptpage=100,setup=nohalt
JES2 takes output checkpoints on punch 4 every 100 logical pages, each page consisting of 80 lines. SETUP=NOHALT specifies that punch 4 does not halt and issue the $HASP190 message if a jobs output specifications do not match those of punch 4.
5 $t pun3,sepds=y,p=y,writer=write3
JES2 assigns a writer name of WRITE3 to punch 3. This punch places separator cards between each data set within an output group and pauses between each output group.
6 $t r8.pu2,tr=y
JES2 traces the logic of the JES2 processor associated with remote punch 2 at RJE workstation 8.
7 $t r3.pu1,comp=y
JES2 provides compression and expansion capabilities for data transmitted to remote punch 1 at RJE workstation 3.
882
Forms
JOBname
LIMit
The amount of output generated by an output It is not required that the amount of output group must fall within the limits (LIM=) set for generated by the output group fall within the this device. Otherwise, the output is not limits (LIM=). selected. The output groups process mode must match one of the process modes (PRMODE=) specified for the output device. Otherwise the output group is not selected. If there are multiple PRMODEs, the list is considered to be in priority sequence with the highest priority given to the first PRMODE in the list. The process mode of the output group must match the process mode (PRMODE=) specified for the output device, but if there are multiple PRMODEs, the list is not in priority sequence.
Priority
The priority of the output group is considered. Same as before slash. Whether specified before or after the slash, higher priority output groups are preferred. Placement of P in the WS list gives priority importance in the work selection process. There is no matching done for priority. Note: Output groups are added to the class queues in priority order, and the class queues are scanned in the devices class list order. The output groups are not scanned by priority order across class queues. Thus if all other work selection criteria for the output groups are equal, all of the output groups for the first class in the devices class list are selected in priority order before the output groups for the second class in the list. This is the selection order even if higher priority output groups exist on the class queue for the second class in the devices list.
Queue
When Queue is specified in the WS list, only those output classes specified for this device are searched for work. Otherwise all classes (A-Z and 0-9) are searched. It is therefore suggested that Q always be included in the WS list. The sequence of the list is the order of search.
The output classes specified for this device are not in priority sequence. All classes are equally preferred. Output groups in the first class in the list are selected first if they meet all other requirements.
883
RANGE
It is not required that the job number of the job associated with the output group be within the specified range (RANGE=). The volume of the job associated with this output group must match the volume (VOLUME=) specified for this device but if there are multiple volumes specified, the list is not considered to be in priority sequence. It is not required that the writer name of the output group match the writer name (W=) specified for the device.
Volume
Writer
884
Syntax
$T RDI rdi , ( rdi rdi * ) rdi rdi *
| | | | |
,
Modification keywords
Modification keywords:
TRace /
No P Yes
| | | |
, / Auth =( / Job / /
, Device = = No Yes )
| |
, /
Class
= = > <
class
, /
HOLD
= =
No Yes
| |
, / JOB= (
|
Chapter 5. Command Reference Section
885
, /
JOBCOUNT
= = > <
jobcount
| |
, / JOBSTAT= (
/ RECORDS
records
| |
, /
MSGclass Q /
= = > <
msgclass
| |
, OWNER=(
| | | |
, /
PRTDEST
= =
prtdest
, /
PUNDEST
= =
pundest
, STATUS==
, /
TRace
= =
No P Yes
| | | | | | | | | | | | | | | |
Parameters
Auth Displays whether (YES) or not (NO) the indicated reader has the specified authority to issue commands to the internal reader. Class=class Displays the default execution class (A-Z,0-9) for all jobs entered at this internal reader that do not have a job class specified on the JOB statement. HOLD={No|Yes} Displays whether (YES) or not (NO) all jobs read by the specified are held after JCL conversion. LONG Displays additional information on the number of jobs submitted (JOBCOUNT=), the statistics for the current job on the internal reader including number of records submitted (RECORDS=), and the current card being processed (CARD=).
886
Authority Required
This command requires device and system authority. See the AUTH= parameter description for information about assigning the proper MVS system command group authority. The $T INTRDR command sets the command authority for internal readers. The $T NODE(nnnn) command sets the command authority for a node. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP603 message displays the status of the specified internal reader and its current characteristics.
Examples
1 $trdi(*),trace=yes STATUS=ALLOCATED,AUTH=(DEVICE=NO, JOB=YES,SYSTEM=NO),CLASS=A,HOLD=NO, $HASP603 RDI(INTRDR) $HASP603 RDI(INTRDR) $HASP603
887
888
Syntax
$T RDR READER nn , ( nn * ) nn * nn *
Modification keywords
Modification keywords:
,Class=class
,Hold= No Yes
MSGclass Q
=v
,PRIOINC=
n 0
,PRIOLIM=
n 15
P PRTDEST
=prtdest
PUNDEST U
=pundest
889
Sysaff=
,TRace=
No P Yes
,UNIT=
devnum /devnum
,Xeqdest=xeqdest
Class
= ^= > <
Hold
= ^=
No Yes
/ /
MSGclass Q
= ^= > <
PRIOINC
= ^= > <
n 0
PRIOLIM
= ^= > <
n 15
TRace
= ^=
No P Yes
UNIT
= ^= > <
devnum /devnum
unit
890
Parameters
Auth= Specifies the authority assigned to commands issued through the indicated reader. Device={No|Yes} If Device=Y, the reader has authority to issue device commands to the local reader. If Device=N is specified, the reader does not have device command authority. Job={No|Yes} If Job=Y, the reader has authority to issue job-related commands to the local reader. If Device=N is specified, the reader does not have job command authority. System={No|Yes} If System=Y, the reader has authority to issue system commands to the local reader. If System=N is specified, the reader does not have system command authority. This parameter affects JES2 command statements only. Use the AUTH parameter of the JOBCLASS initialization statement to specify the authorization for JCL command statements. JES2 command statements begin with /* in columns 1 and 2. JCL command statements begin with // in columns 1 and 2. Notes: 1. DISPLAY authority results when you specify N for every AUTH= subparameter. By setting each AUTH= subparameter to N, the indicated reader has no specific command authority, and the indicated reader honors only those few commands requiring no authority (for example, display commands). 2. Network authority requires having system, job, or device authority in addition to network authority to have system, job, or device commands take effect at another reader. 3. This parameter is not valid for remote readers. Class=class The default execution class (A-Z, 0-9) for jobs that are read by the specified reader and that do not have a job class specified on the JOB statement. If you specify this parameter, the command requires device authority. HOLD=[No|Yes] Specifies whether all jobs read by the specified reader are to be held after JCL conversion. You can release these jobs on an individual basis using the $A command. Note: In an NJE environment, if a job contains a /*ROUTE XEQ or /*XEQ JES2 control statement specifying another node for execution, the job is not held at the entry node, but at the execution node (that is, the node which performs the JCL conversion). MSGclass|Q=v The 1 character job execution class (A-Z,0-9) for jobs submitted through the specified reader with no specified job execution class.
Chapter 5. Command Reference Section
891
892
893
where ddd and dddd represent the device numbers. A slash (/) can optionally precede the device number (for compatibility with other commands that require a slash to denote a 4-digit device number). Note: This parameter is not valid for remote devices. Xeqdest={LOCAL|name|Nnnnn} Specifies the default execution node for all jobs that are read by the specified reader and that do not specify a /*XEQ statement. The valid node specifications are: LOCAL The node to which the reader is attached. name A node identified by an installation-defined name. Nnnnn A specific node whose number is nnnn.
Authority Required
This command requires device and system authority. See the AUTH= parameter description for information about assigning the proper MVS system command group authority. The $T INTRDR command sets the command authority for internal readers. The $T NODE(nnnn) command sets the command authority for a node. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP603 message displays the status of the specified reader and its current characteristics. The $HASP003 rc=65 message indicates that the device type specified through the UNIT= parameter does not match the defined JES2 device information. The $HASP003 rc=66 message indicates that the device type specified through the UNIT= parameter does not exist.
Examples
1 $t rdr3,auth=(d=y,j=y),h=y,tr=y UNIT=0012,STATUS=DRAINED,AUTH=(DEVICE=YES, JOB=YES,SYSTEM=NO),CLASS=A,HOLD=YES, $HASP603 RDR3 $HASP603
894
JES2 assigns device and job command authority to reader 3 and activates tracing of the JES2 processor associated with reader 3. All jobs that are submitted through this reader are placed in hold status after JCL conversion until the operator releases them for execution.
2 $t rdr1,s=(ind,sysa) UNIT=000E,STATUS=DRAINED,AUTH=(DEVICE=YES, JOB=YES,SYSTEM=NO),CLASS=A,HOLD=YES, MSGCLASS=A,PRIOINC=0,PRIOLIM=15, PRTDEST=LOCAL,PUNDEST=LOCAL,SYSAFF=(IND, SYSA),TRACE=YES,XEQDEST=LOCAL
All jobs read by reader 1 are eligible to run only on SYSA, but only if SYSA is operating in an independent mode.
3 $t rdr2,c=d,q=a,s=+sysa UNIT=0012,STATUS=DRAINED,AUTH=(DEVICE=YES, JOB=YES,SYSTEM=NO),CLASS=D,HOLD=YES, MSGCLASS=A,PRIOINC=0,PRIOLIM=15, PRTDEST=LOCAL,PUNDEST=LOCAL,SYSAFF=(SYSA, SYSB,SYSC),TRACE=YES,XEQDEST=LOCAL
JES2 assigns execution class D and/or message output class A to all jobs that are processed by reader 2 and that do not specify a job and/or message output class in their JCL. SYSA is added to the lists of systems that are eligible to process jobs read by reader 2.
4 $t r1.rd1,prtdest=local,pundest=r3,xeqdest=n4 R1.RD1 STATUS=DRAINED,CLASS=B,HOLD=NO,MSGCLASS=2, PRIOINC=0,PRIOLIM=15,PRTDEST=LOCAL, PUNDEST=R3,SYSAFF=(ANY),TRACE=NO, XEQDEST=N4
All jobs read at RJE workstation 1 reader 1 that do not specify a /*XEQ statement are routed by default to node 3 for execution. The print output of these jobs is routed by default to local devices and the punch output is routed to RJE workstation 3 off the local node.
895
$T RECVopts
Syntax
$T RECVopts type , ( type type ) ,COUNT=nn ,INTERVAL=nnnn
Parameters
{type|*} Specifies the type of recovery errors for which the operator does not receive the $HASP070 message. You also can specify wildcards for the recovery error type. See Using wildcards on page 98 for additional information. If you specify (*), JES2 suppresses the $HASP070 message for all types of recovery errors. The valid types and their meanings are: ALLOCATE Allocation subtask errors CBIO CBIMPLxx disastrous errors CKPTVRNS APPLCOPY/CKPTVRNS subtask errors CKPTONCF Checkpoint on CF subtask errors CKPT Checkpoint errors CONVERT JCL conversion subtask errors DISTERR Disastrous errors GENERAL Generalized subtask recovery errors IMAGE Image subtask errors MAIN JES2 main task errors (catastrophic and abends) OFFLOAD Offload subtask errors PQE Print/punch queue error SMF SMF subtask errors SPOOL Spool subtask errors VTAM VTAM subtask errors WTO WTO subtask errors COUNT=nn If the type is MAIN, COUNT= specifies the number (1-99) of errors permitted to occur within the specified time interval at which the operator becomes involved in the recovery process. For example, COUNT=2 indicates that the operator becomes involved in the recovery process when the second error occurs.
896
$T RECVopts
For other error types, COUNT= specifies the number of errors permitted to occur in the specified time interval at which automatic SVC dumps are no longer issued. For example, if a single automatic dump is desired, specify COUNT=2. INTERVAL=nnnn The time interval, in hours (1-9999), in which JES2 counts errors of the specified type. If a number is not specified, INTERVAL defaults to 24. Note: If you change the value of this parameter, JES2 resets the cumulative error counter used for recovery/diagnostic processing to zero.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP846 message displays the current values of all the parameters on the RECVOPTS initialization statement.
Examples
1 $t recvopts(main),count=3,interval=24 $HASP846 RECVOPTS(MAIN) COUNT=3,INTERVAL=24
If three JES2 main task errors occur within a 24 hour time period, the operator becomes involved in the recovery process at the time of the third error.
2 $t recvopts(disterr),count=2,interval=48
JES2 issues an automatic SVC dump only for the first disastrous error that occurs in a 48 hour time period. The $HASP096 message indicates the csect in which the error occurred. For subsequent errors, JES2 issues the $HASP096 message but does not issue a dump.
897
$T REDIRect
Syntax
$T REDIRect nn mm * redirect , ( nn * ) mm * ,DA=da
redirect redirect
,DCONNECT=dconnect
,DEF=def
,DF=df
,DI=di
DJ DS DT
=dj
,DN=dn
,DNODE=dnode
,DQ=dq
,DSPL=dspl
,DU=du
LJ LS LT
=lj
Parameters
* Specifies all entry consoles that have been added or redirected at initialization as the active MCS console. This parameter resets the response locations for the indicated command groups.
DA=da Display active job. DCONNECT=dconnect Display JES2 network connections. DEF=def Display JES2 parameter definitions. DF=df Display forms queue.
898
$T REDIRect
DI=di Display initiators. DJ|DS|DT=dj Display JOB, STC, TSU information. DN=dn Display queued jobs. DNODE=dnode Display NJE nodes. DQ=dq Display number of queued jobs. DSPL=dspl Display spool volumes. DU=du Display units. LJ|LS|LT=lj List JOB, STC, TSU output. redirect Specifies the active MCS console at which the specified output appears. If you only specify an area, the output appears in the indicated area of the entering console. If area is omitted, then the default area defined on the CONDEF RDIRAREA= operand is used. This parameter is required. Define the redirect area/console as one of the following: a An output area ID name A console name name-a A console name and output area
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP818 message is issued in response to this command. The $HASP003 rc=52 message is issued if a $T REDIRECT is entered for this console before an initial redirection is specified for this console. The $HASP0003 rc=62 message is issued if a $T REDIRECT is entered to set redirection to an invalid console.
Examples
1 $t redir(cn3e0),du=cn320
Sets up redirection for the $du command so that when you issue a $du on console CN3E0, the response is displayed on console CN320.
Chapter 5. Command Reference Section
899
$T REDIRect
2 $t redir(cn320),du=cn3e0-a
Sets up redirection for the $du command so that when this command is issued on console CN320, the response is displayed in the out-of-line area A of console CN3E0.
3 $t redir(cn3e0),di=a,du=a
Sets up redirection for the $di and the $du commands. When you issue these commands on console CN3E0, the responses are displayed in the out-of-line area A of console CN3E0.
900
$T RMT(nn)
Syntax
$T RMT nn , ( nn * ) mm * mm *
Modification keywords
Modification keywords:
,Autolog=
No Yes
,BLOCK=
No Yes
,BUFEXPAN=
0 1 2
901
$T RMT(nn)
,BUFSIZE=bufsize
,COMPACT=
No Yes
,COMPRESS=
No Yes
,CONDEST=condest
,CONS=
No Yes
,DEVTYPE=
AS/400 AS400 LUTYPE1 M20-2 M20-4 M20-5 M20-6 S/3 S/36 S/360 S/370 SYSTEM/3 SYSTEM/36 SYSTEM3 SYSTEM36 S360 S370 1130 2770 2780 2922 3740 3780 3781
,Discintv=discintv
,HTABS=
No Yes
,LINE=line
,LOCAL190=
ACTION INFO
,LOGON=logon
,LUNAME=luname
,MFORM=
J M T
,MRF2780=
No Yes
,MSGPRT=
No Yes
,MULTILV=
No Yes
,NUMPRt=numprt
,NUMPUn=numpun
,NUMRDr=numrdr
,Password=password
,RECFM=
FIXED VARIABLE
,RMT150=
No Yes
,Routecde=routecde
,SETUP=
MSG PDIR
SHARable SHAREable
No Yes
,TRANSPAR=
No Yes
,WAITIME=waitime
902
$T RMT(nn)
Selection limiting keywords:
Autolog
= ^=
No Yes
BLOCK
= ^=
No Yes
COMPACT
= ^=
No Yes
COMPRESS
= ^=
No Yes
CONDEST
= ^= > <
condest
CONS
= ^=
No Yes
DEVTYPE
= ^=
AS/400 AS400 LUTYPE1 M20-2 M20-4 M20-5 M20-6 S/3 S/36 S/360 S/370 SYSTEM/3 SYSTEM/36 SYSTEM3 SYSTEM36 S360 S370 1130 2770 2780 2922 3740 3780 3781
HTABS
= ^=
No Yes
LINE
= ^= > <
line
LOCAL190
= ^=
ACTION INFO
LOGON
= ^= > <
logon
LUNAME
= ^= > <
luname
903
$T RMT(nn)
MFORM
= ^=
J M T
MRF2780
= ^=
No Yes
MSGPRT
= ^=
No Yes
MULTILV
= ^=
No Yes
NUMPRt
= ^= > <
numprt
NUMPUn
= ^= > <
numpun
NUMRDr
= ^= > <
numrdr
RECFM
= ^=
FIXED VARIABLE
RMT150
= ^=
No Yes
Routecde
= ^= > <
routecde
SETUP
= ^=
MSG PDIR
/ /
SHARable SHAREable
= ^=
No Yes
TRANSPAR
= ^=
No Yes
WAITIME
= ^= > <
waitime
Parameters
Autolog={No|Yes} For SNA RJE workstations only, specifies whether the SNA RJE workstation can be automatically connected (logged on) when output (print/punch) or messages are queued for transmission to the RJE workstation. The RJE workstation is allowed to log on only if: v This command also specifies a logical unit name through the LUNAME= parameter on the corresponding RMTnn initialization statement. v A JES2 line has been started and is available. v The maximum number of sessions specified at initialization (with the SESSIONS parameter on the TPDEF statement) has not been exceeded. BLOCK={No|Yes} For BSC RJE workstations only, specifies whether this workstation has a blocked (YES) or unblocked (NO) data record format. Note: You can change the value of this parameter only when the RJE workstation is inactive.
904
$T RMT(nn)
BUFEXPAN= {0|1|2} For BSC 2770 RJE workstations only specifies whether this 2770 terminal has a buffer-expansion feature. 0 1 2 This terminal does not have the buffer-expansion feature. This terminal has the buffer-expansion feature and implies an RJE workstation buffer of 264 bytes. This terminal has the additional buffer-expansion feature and implies an RJE workstation buffer of 520 bytes.
Notes: 1. You can change the value of this parameter only when the RJE workstation is inactive. 2. If an attached printer has a PRWIDTH= parameter greater than 120 bytes, specify BUFEXPAN=1 or 2. BUFSIZE=bufsize For BSC RJE workstations, specifies the largest buffer (127 to the BELOWBUF=(SIZE=) parameter value on the TPDEF initialization statement) that can be either sent from or received by this workstation. BUFSIZE= enforces minimum buffer size specification based on device type for BSC RJE workstations. For SNA RJE workstations, specifies the largest buffer (256 to the EXTBUF=(SIZE=) parameter value on the TPDEF initialization statement) that can be either sent from or received by this SNA RJE workstation. The following table provides the minimum buffer size requirements for various RJE workstation types. If you specify a value less than that listed here, JES2 increases BUFSIZE= to this minimum value.
Table 62. JES2 BUFSIZE Minimum Buffer Size Requirements for RJE Workstations Workstation SNA Multileaving Terminals and Systems Hardware Terminal Type N/A N/A BUFSIZE Value 256 MBUFSIZE= value on TPDEF statement 127
2770 without buffer expansion (BUFEXPAN=0) 2770 with buffer expansion (BUFEXPAN=1) 2770 with additional buffer expansion (BUFEXPAN=2) 2780 3780 3781
Hardware Terminal
264
Hardware Terminal
520
Note: You can change the value of this parameter only when the RJE workstation is inactive.
905
$T RMT(nn)
COMPACT={No|Yes} For SNA RJE workstations only, specifies whether (YES) or not (NO) this RJE workstation or terminal allows JES2 to send a compaction table for use with a printer or punch data set. Use the COMPACT initialization statement to define compaction tables. If more than one session is active and COMPACT=YES, all sessions are eligible to receive a compaction table. Note: You can change the value of this parameter only when the RJE workstation is inactive. COMPRESS={No|Yes} Specifies whether (YES) or not (NO) this RJE workstation uses the compression/expansion feature. For BSC RJE (2770 and 3780) workstations, if COMPRESS=YES is specified on both the LINE(nn) initialization statement and the remote device (print, punch, and reader) initialization statement (R(nn).XXm), the COMPRESS= parameter on this command determines whether JES2 uses the compression/expansion feature. If you specify COMPRESS=YES, JES2 forces HTABS=NO. If COMPRESS=NO on the LINE(nn) statement, JES2 ignores this parameter. For SNA RJE workstations, if COMPACT=YES is specified, JES2 forces compression. Note: You can change the value of this parameter only when the RJE workstation is inactive. CONDEST=condest The route code (1 to the value of RMTNUM= on the TPDEF initialization statement) that is used for responses to commands entered from this RJE workstation. The value specified should be the number of a defined RJE workstation. CONS={No|Yes} Specifies whether (YES) or not (NO) this RJE workstation has an operator console or is simulating an operator console through the &PRTCONS RMT generation statement. For SNA RJE workstations, you should specify this parameter only if the RJE workstation has an operator console. If JES2 determines that this RJE workstation cannot have a console, it forces CONS=NO. Note: You can change the value of this parameter only when the RJE workstation is inactive. DEVTYPE={type} Specifies the type of processor at this RJE workstation. The following types apply: LUTYPE1 For SNA RJE workstations, specifies that the workstation can be accessed only through a logical line. If DEVTYPE= is changed to a valid value other than LUTYPE1, this SNA remote workstation will be changed to a BSC remote workstations.
906
$T RMT(nn)
2770|2780|3780|3781 For BSC RJE workstations, specifies a hardware terminal. 2922|M20-2|M20-4|M20-5|M20-6 For BSC RJE workstations, specifies a multileaving workstation. AS/400|S/36|S/360|S/370|S/3 For BSC RJE workstations, specifies a system. Notes: 1. If you define a workstation that is not explicitly supported by JES2 but does emulate one of the types listed above, consult the documentation for that terminal so you set characteristics (such as buffer sizes) appropriately. 2. To ensure that punch output is directed to the proper device, specify 3781 to define remote 3780 terminals that contain punches. 3. You can change the value of this parameter only when the RJE workstation is inactive. 4. Changing this parameter to a different type (particularly between BSC and SNA types) causes certain restrictions on other parameters (such as BUFSIZE=). Review carefully all parameters to ensure that this command is valid. For further information concerning parameter requirements for the RMT(nn) statement, refer to z/OS JES2 Initialization and Tuning Reference. Discintv=discintv For BSC RJE workstations, specifies the time interval in seconds (0 to 8160) after which, if there has been no successful text transmission in either direction, JES2 disconnects this RJE workstation from the processing unit. For SNA RJE workstations, specifies the maximum interval in seconds (0 to 8160) after which, if there has been no successful text transmission in either direction, JES2 ends the session between the SNA RJE workstation and the processing unit. v JES2 rounds this value to the next highest multiple of 32. v 0 indicates that this terminal is not to be disconnected v Error recovery tries and idle time do not count as successful text transmission. v If automatic disconnect is not specified, the remote terminal remains connected until the operator signs it off. HTABS={No|Yes} For BSC RJE workstations only, specifies whether (YES) or not (NO) this 2770 or 2780 terminal has the horizontal format-control feature. If you specify COMPRESS=YES, this parameter is forced to HTABS=NO. Note: You can change the value of this parameter only when the RJE workstation is inactive. | | | | | | | LINE=line Specifies the number (0-65535) of the teleprocessing (BSC) or logical (SNA) line that are both connected and dedicated to this terminal. For BSC RJE workstations, if you specify LINE=0, JES2 provides a nondedicated RJE workstation, which can use any nondedicated BSC line that requires a /*SIGNON JCL statement to start. For SNA RJE workstations, if you specify LINE=0, JES2 provides a nondedicated RJE workstation, which can use any nondedicated SNA line. If
907
$T RMT(nn)
| | | | you specify LINE= as a value other than 0, you must also specify the UNIT=SNA parameter on the LINE(nn) initialization statement. Note: You can change the value of this parameter only when the RJE workstation is inactive. LOCAL190={ACTION|INFO} Specifies the type of operator setup messages ($HASP190) that JES2 issues at the local processor console for this RJE workstation. If you do not specify this parameter, JES2 provides a default of ACTION. ACTION Specifies that operator setup messages issued at the local console for this remote device are action messages (messages that require an operator action to delete them from the console). INFO Specifies operator setup messages issued at the local console for this remote device as information messages (messages that do not require an operator action to delete them from the console). LOGON=logon Specifies the number (1-999) of the local LOGON DCT which should be used when specifying connections to the application. The default value of 0 indicates that the LOGON DCT defined with the lowest number is to be used. LUNAME=luname For SNA RJE workstations only, specifies the logical unit name of this RJE workstation or terminal. If you specify this parameter, it must match the name defined to VTAM at system initialization in SYS1.VTAMLST. If you use the automatic logon capability (Autolog=YES), you must specify an LUNAME= value. If the logical unit associated with the logical unit name is not the first of the terminals logical units to logon to JES2, the LUNAME associated with the session comes from the name pointed to by the parameter list that VTAM passes to the JES2 logon exit. Note: You can change the value of this parameter only when the RJE workstation is inactive. MFORM={J|M|T} For BSC RJE workstations only, specifies the amount of information to be displayed in JES2 remote console messages for this RJE workstation. J M T JES2 job-related messages including the jobname and job ID of the issuer. JES2 job-related message text only. JES2 job-related messages including a time stamp, the jobname, and job ID of the issuer.
MRF2780={No|Yes} For BSC RJE workstations only, specifies whether (YES) or not (NO) this 2780 terminal has the multiple-record feature. Note: You can change the value of this parameter only when the RJE workstation is inactive. MSGPRT={No|Yes} For BSC remotes, specifies whether (YES) or not (NO) JES2 prints messages routed to a printer attached to the console of an RJE workstation.
908
$T RMT(nn)
NO Specifies that JES2 discards messages if the RJE workstation console is not available. Specify NO if you would rather discard messages instead of printing them on the first available printer at the remote. For BSC RJE workstations, this parameter only has meaning for an RJE workstation that does not have a console. YES Specifies that JES2 prints messages if the remote console is unavailable. For example, the remote console might not exist, be signed on, or have enough messages queued to it to exceed the RMTMSG= parameter on the TPDEF initialization statement. For BSC RJE workstations, note that once a message is spooled for an RJE workstation, that message can only be printed; it cannot be displayed on an RJE workstation console. MULTILV={No|Yes} For BSC RJE workstations only, specifies whether (YES) or not (NO) this RJE workstation uses the BSC multileaving interfaces. If MULTILV=YES, you must specify a multileaving workstation. MULTILV=NO defines this RJE workstation as a BSC hardware terminal. Note: You can change the value of this parameter only when the RJE workstation is inactive. (nn) The subscript defining the RJE workstation(s) affected by this command. The subscript may specify a 1- to 4-digit RJE workstation identifier or a range of identifiers as defined by an RMTnn initialization statement. For information about specifying a range for this subscript, see Syntax Conventions at the front of this chapter. NUMPRt=numprt Specifies the number (0-7) of printers (BSC) or logical printers (SNA) at this RJE workstation. JES2 provides the defaults specified on the R(nn).PR(m) initialization statement for new printers if NUMPRT= is increased. Use the $T R(nn).PR(m) command to change any characteristics of each printer. For BSC RJE workstations, JES2 can use values greater than 1 only when you specify MULTILV=YES. If you specify MULTILV=NO, JES2 uses a value of NUMPRT=1. A maximum total of eight printers and punches can be defined. Note: If you specify this parameter as 0, JES2 resets it to 1. For SNA RJE workstations, a maximum total of eight printers, punches, and a console can be specified. The maximum value for NUMPRT= is 6 if you also specify CONS=YES. Specify NUMPRT=0 if you want no printers on this SNA RJE workstation. Notes: 1. You can change the value of this parameter only when the RJE workstation is inactive. 2. You must specify at least one device (printer, punch, reader, or SNA console) on the RMT definition. NUMPUn=numpun Specifies the number (0-7) of card punches (BSC) or logical card punches
Chapter 5. Command Reference Section
909
$T RMT(nn)
(SNA) at this RJE workstation or terminal. You must specify at least one device (printer, punch, reader, or SNA console) on the remote definition. JES2 provides the defaults specified on the R(nn).PU(m) initialization statement for new punches if NUMPUN= is increased. Then you can use the $T R(nn).PU(m) command to change any characteristics of each punch. For BSC RJE workstations, a maximum total of eight printers and punches can be defined. If you specify MULTILV=NO and this parameter is specified greater than 1, JES2 uses only 1. For SNA RJE workstations, a maximum total of eight printers, punches, and a console can be defined. SNA RJE workstations can support as many as seven punch data streams. Note: You can change the value of this parameter only when the RJE workstation is inactive. NUMRDr=numrdr Specifies the number (0-7) of card readers (BSC) or logical card readers (SNA) at this RJE workstation or terminal. SNA RJE workstations can support as many as seven reader data streams. You must specify at least one device (printer, punch, reader, or SNA console) on the remote definition. JES2 provides the defaults specified on the R(nn).RD(m) initialization statement for new readers if NUMRDR= is increased. Then you can use the $T R(nn).RD(m) command to change any characteristics of each reader. For BSC workstations, if you specify MULTILV=NO, this parameter is set to 1. If you set this parameter to 0, JES2 resets it to 1. Note: You can change the value of this parameter only when the RJE workstation is inactive. Password=password The 1- to 8-character security password used to prevent unauthorized RJE workstation users from using the resources of this RJE workstation. If you do not specify this parameter, JES2 provides no password. If you specify a null password (P=), JES2 deletes the previously assigned password. Note: Be certain to make a note of those passwords assigned because there is no facility for displaying the passwords in effect. RECFM={FIXED|VARIABLE} For BSC RJE workstations only, specifies whether the data record for this terminal is fixed-length (FIXED) or variable-length (VARIABLE). Note: You can change the value of this parameter only when the RJE workstation is inactive. RMT150={No|Yes} Specifies $HASP150 message routing as follows: No The $HASP150 message is sent only to the local operator. Yes If this RJE workstation has a console, the $HASP150 message is first sent to this console and then to the local operator.
910
$T RMT(nn)
Notes: 1. For SYSTEM36 (S/36) terminals, if you specify CONS=YES, MULTILV=YES, and RMT150=YES, the remote printer pauses to ensure that the $HASP150 message arrives at the console before the data sets begin to print. 2. For SNA RJE workstations, this parameter is valid only if CONS=YES. 3. This parameter is not valid for hardware terminals. Routecde=routecde Specifies the route code (1 to 32767) assigned to this terminal and its associated printers, punches and readers. (However, you can specify one route code for the RJE workstation and different ones for the printers and punches to meet unique installation requirements.) If you do not assign a Routecde= value, JES2 assigns the number of this terminal (RMT(nn)) as its route code. Notes: 1. You can change the value of this parameter only when the RJE workstation is inactive. 2. If you are changing the value of this parameter to a value not equivalent to nn of RMT(nn), you must first complete the following steps: v Change the routing for all work from the previous RJE workstation routing to the new RJE workstation routing. v Determine if you need to change the Routecde= parameter for this RJE workstations associated remote devices (printers, punches, readers, or console). SETUP={MSG|PDIR} For SNA RJE workstations only, specifies setup information as follows: MSG Specifies that JES2 must inform the remote operator of any setup requirements through the $HASP190 message. After setup is complete, the operator must enter a $S command to start JES2 transmission. PDIR Specifies that JES2 constructs and sends a peripheral data information record (PDIR) to the RJE workstation. The RJE workstation must process the data set header and generate any required messages. This setting allows spooling of data and generation of multiple copies of a data set at the RJE workstation. Note: You can change the value of this parameter only when the RJE workstation is inactive. SHARable|SHAREable={No|YES} For BSC RJE workstations only, specifies whether (YES) or not (NO) JES2 allows the LINE= parameter value to be used by other RJE workstations. (If LINE=0, JES2 ignores this parameter.) NO Indicates that no other RJE workstations can specify and use the LINE= value and no /*SIGNON JCL statement is needed to start the remote. YES Indicates that multiple RMT definitions can also specify and use (share) the line specified on LINE= and a /*SIGNON JCL statement is required to start one of these RJE workstations.
911
$T RMT(nn)
Notes: 1. You can change the value of this parameter only when the RJE workstation is inactive. 2. If you change the LINE= parameter specification and you do not specify this parameter, JES2 sets this parameter to SHARABLE=YES. TRANSPAR={No|Yes} For BSC RJE workstations only, specifies whether (YES) or not (NO) this RJE workstation has the text-transparency feature. To use this feature, you must also specify TRANSPAR=YES on the LINE(nn) initialization statement. Note: You can change the value of this parameter only when the RJE workstation is inactive. WAITIME=waitime The length of time in seconds (0-30), that the RJE workstation access method (RTAM) should wait after completing the processing of any input stream, printed output stream, or punched output stream to allow the operator to enter an input stream at this RJE workstation. For SNA RJE workstations, if WAITIME= is set too low (note the default of 1 second), contention might occur during SNA logon processing, which results in $HASP094 messages and the termination of the SNA session. Increase this parameter to allow the RJE workstation adequate time to respond during logon processing so that proper LU type 1 protocol is followed.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. The values supplied for this command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP879 message displays the status of the specified remote device and its current characteristics.
Examples
1 $trmt1,d=8000,password=newpas,msgprt=n DEVTYPE=S/360,STATUS=INACTIVE,BUFSIZE=400, CONDEST=1,CONS=YES,DISCINTV=8000,LINE=0, LOCAL190=ACTION,MFORM=T,MSGPRT=NO,MULTILV=YES, NUMPRT=2,NUMPUN=1,NUMRDR=1,PASSWORD=(SET), RMT150=NO,ROUTECDE=1,TRANSPAR=NO,WAITIME=1 $HASP879 RMT(1) $HASP879 $HASP879 $HASP879 $HASP879
912
$T RMT(nn)
JES2 sets RJE workstation 1 to automatic connect/disconnect mode. If no session activity takes place for 8000 consecutive seconds, JES2 automatically disconnects the RJE workstation. The password (NEWPAS) does not appear in the $HASP879 message. MSGPRT=NO specifies that JES2 is to discard remote console messages spooled for later display at a remote printer.
2 $t rmt141,local190=action,mform=m,waitime=15
$HASP879 RMT(141) DEVTYPE=S/360,STATUS=INACTIVE,BUFSIZE=400, $HASP879 CONDEST=1,CONS=YES,DISCINTV=8000,LINE=0, $HASP879 LOCAL190=ACTION,MFORM=M,MSGPRT=NO,MULTILV=YES, $HASP879 NUMPRT=2,NUMPUN=1,NUMRDR=1,PASSWORD=(SET), $HASP879 RMT150=NO,ROUTECDE=1,TRANSPAR=NO,WAITIME=15
The results of this command are: v JES2 displays only the message text when job related messages are sent to BSC RJE workstation 141. v The operator setup messages issued at the local console for this remote device are flagged as action messages (messages that require an operator action to delete them from the console). v RTAM waits 15 seconds after completing the processing of any input stream or output stream, to allow the operator to enter an input stream at this RJE workstation.
3 $t rmt6,luname=lu3770pc DEVTYPE=LUTYPE1,STATUS=INACTIVE,AUTOLOG=NO, BUFSIZE=256,COMPACT=NO,COMPRESS=YES,CONDEST=6, CONS=NO,DISCINTV=0,LINE=0,LOCAL190=ACTION, LUNAME=LU3770PC,MFORM=T,MSGPRT=YES,NUMPRT=1, NUMPUN=0,NUMRDR=1,PASSWORD=(NOTSET),RMT150=NO, ROUTECDE=6,SETUP=MSG,START=NO,WAITIME=1
JES2 sets the logical unit name of SNA RJE workstation 6 to lu3770pc.
913
$T REQJOBID
Syntax
$T REQJobid ,JESLOG= NOSPIN SPIN SUPPRESS ( SPIN ,criterion
Parameters
JESLOG=SPIN|NOSPIN|SUPPRESS Sets the default processing for the JESLOG data sets for Request JOBID jobs. SPIN JESLOG is spin-eligible. There is an optional second operand for SPIN: v JESLOG=(SPIN,hh:mm) JESLOG will be spun at time hh:mm each 24 hour period. v JESLOG=(SPIN,+hh:mm) JESLOG will be spun every hh:mm time interval. v JESLOG=(SPIN,n) JESLOG will be spun when either data set has n lines. where hh is hours and has a range of 0 through 23. mm is minutes and has a range of 00 through 59. n is the number of lines in the data set and has a range of 1 through 999. n is specified as nnn, nnnK or nnnM, where K is thousands and M is millions. The minimum number of lines that can be specified is 500. Note: The order of precedence for Request Jobid address spaces from most dominant to least dominant is: 1. The specifications in the IEFSSRR SSOB extension (supplied by the application). 2. Specifications supplied by installation exits. 3. The REQJOBID statement. NOSPIN JESLOG will not be spun. SUPPRESS JESLOG will be suppressed.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned.
914
$T REQJOBID
This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
None.
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP860 message displays the current values of all the parameters on the REQJOBID statement.
Example
1 $treqjobid,jeslog=(spin,100K) $HASP860 REQJOBID JESLOG=(SPIN,100K)
915
$T SMFDEF
Syntax
$T SMFDEF ,BUFWARN=bufwarn
Parameters
BUFWARN=bufwarn The percentage (0-100) of SMF buffers used at which the $HASP050 message alerts the operator of a shortage of SMF buffers. JES2 deletes this message from the console when the resource shortage is relieved (either by a decrease in resource use or an increase in the threshold). Note: If you specify 0, no alert is given.
Authority Required
This command requires device and system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP841 message displays the current values of all the parameters on the SMFDEF initialization statement.
Example
1 $t smfdef,bufwarn=85 $HASP841 SMFDEF BUFNUM=50,BUFFREE=50,BUFWARN=85
When 85 percent of the SMF buffers are being used, JES2 issues the $HASP050 message to alert the operator of a SMF buffer shortage.
916
$T SOCKET
| | | | | | |
Syntax
$T SOCKet socket , ( socket socket * ) socket socket *
| | | | | |
Modification keywords
Modification keywords:
,IPaddr=ipaddr
,LINE=line
=netsrv
| | | | | |
,NODE=node
,Port=port
,REST=rest
,SECURE=
No Yes
IPaddr
= ^=
ipaddr
LINE
= ^= > <
line
| |
/ / /
= ^= > <
netsrv
NODE
= ^= > <
node
| |
Port
= ^= > <
port
REST
= ^= > <
rest
| | |
SECURE
= ^=
No Yes
, /
STATUS
= ^=
ACTIVE INACTIVE
917
$T SOCKET
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Parameters
IPADDR= Specifies the TCP/IP address or hostname associated with this socket. The default value, *LOCAL, indicates all IP addresses associated with the local machine are to be considered. PORT= Specifies the port number associated with this socket. The default is the value associated with VMNET, which is typically 175. LINE= Specifies a TCP/IP line which is to be dedicated to this socket. NODE= Specifies the NJE node associated with this socket. NETSRV= Specifies the device number of the NETSRV to be used when connecting to this remote socket. SECURE=YES|NO Specifies whether (YES) or not (NO) SSL/TLS is to be used when communicating with this socket
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member.
Messages
$HASP897.
Example
$tsocket (s3),ipaddr=9.57.2.174 $HASP897 SOCKET(32) IPADDR=9.57.2.174,PORTNAME=VMNET, $HASP897 SECURE=NO,LINE=0,NODE=2,REST=0, $HASP897 NETSRV=1
918
$T SPOOL
Syntax
$T SPL SPOOL volser volser ( volser * volser Sysaff= ) ANY memname + , (1) ( ANY memname + )
Parameters
volser The volume serial number of the spool volume. The first 4 or 5 characters must be identical to the 4-5 character prefix specified by the VOLUME= parameter on the SPOOLDEF initialization statement. SYSAFF JES2 associates the spool volume with the specified member(s). A member list can be a combination of the following keywords separated by commas. ANY This volume is associated with all members in the JES2 multi-access spool configuration. +|-memname The memnames (1 to 4 characters) to be added to (+) or deleted from (-) the current list of members that this volume is associated with. If neither + nor - is specified, the affinities of the volume is explicitly to the specified members. * specifies the member the command was issued on.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
MAS-wide. This command has an effect across the entire MAS.
Messages
The $HASP893 message indicates the command was accepted.
919
$T SPOOL
Examples
1 $tspl(spool1),sysaff=-psu1 $HASP893 VOLUME(SPOOL1) $HASP893 VOLUME(SPOOL1) STATUS=ACTIVE,SYSAFF=(),TGNUM=525, $HASP893 TGINUSE=142,TRKPERTGB=1,PERCENT=27 $HASP646 43.3986 PERCENT SPOOL UTILIZATION
PSU1 will be removed from the list of members that this spool volume is associated with (if PSU1 was in the list).
2 $tspl(spool3),sysaff=(ibm1,nih1) $HASP893 VOLUME(SPOOL3) $HASP893 VOLUME(SPOOL3) STATUS=ACTIVE,SYSAFF=(IBM1,NIH1), $HASP893 TGNUM=60,TGINUSE=50,TRKPERTGB=1, $HASP893 PERCENT=83 $HASP646 43.3986 PERCENT SPOOL UTILIZATION
IBM1 and NIH1 will be added to the list of members that this spool volume is associated with.
920
$T SPOOLDEF
, GCRATE =
NORMAL FAST
,SPOOLNUM=nnn
,TGSIZE=nnnn
VOLUME = nnnn
, LARGEDS =
Syntax Parameters
FENCE= The FENCE parameter displays how track groups for jobs will be assigned across spool volumes. ACTIVE=YES|NO Determines whether (YES) or not (NO) any fencing is active at the time. VOLUMES=nnn Is the number of volumes a job will be fenced to. Scope: MAS-Wide. GCRATE=NORMAL | FAST Specifies the rate for a JES2 spool garbage collection cycle. During a cycle, JES2 examines the signature records for every allocated track group on non-inactive spool volumes. JES2 recovers track groups for jobs no longer in the system and writes a symptom record. You can only set this parameter using a $T command. Note: Using GCRATE=FAST will not ease most SPOOL-full situations when the SPOOL space is legitimately owned by existing jobs. NORMAL Specifies to pace the examination of track group so that JES2 completes a spool garbage collection cycle in about seven days
Chapter 5. Command Reference Section
921
$T SPOOLDEF
FAST Specifies an accelerated cycle. JES2 does not perform pacing and does not wait between examining track groups. and NORMAL pace processing resumes after a FAST cycle completes. Scope: MAS-Wide. SPOOLNUM=nnn|32 Specifies the maximum number (1-253, rounded up to a multiple of 32 or 253) of spool volumes which can be defined at any one time to a multi-access spool complex. Spool volumes are defined by either use of the VOLUME= parameter on the initialization statement during a JES2 cold start, or they can be defined by using the $S SPL (start spool) operator command. See z/OS JES2 Initialization and Tuning Reference for further information. This parameter can only be specified after the $ACTIVATE command has been used to raise all members in the MAS complex to the Release 4 level of OS/390 or higher. TGSIZE=nnnn The default number (1-255) of JES2 buffers to be contained in a track group. JES2 uses this parameter to determine the size of a track group on a new spool volume being added to the complex. Notes: 1. Changing this parameter does not affect those volumes previously defined. 2. If TGSIZE is not the same on all members of the complex, the TGSIZE value that is used when starting a spool volume cannot be predicted. Scope: Single Member. TGSPACE=(MAX=nnn) Specifies the maximum number (1-16,581,184) of track groups allowed. This number can only be increased by operator command. Scope: MAS-wide. VOLUME=nnnn Specifies the 4character prefix assigned to JES2 spool volumes. It must be the first four characters of the existing prefix. Scope: MAS-Wide. | | | | | | | | | | | | | | | LARGEDS=ALLOWED|ALWAYS|FAIL Specifies whether large SPOOL data sets (greater than 65,535 tracks) can be started or not. Also indicates when to use the new format SPOOL record addresses (MTTRs). FAIL Specifies any attempt to start a SPOOL data set with more than 65,535 tracks is to be failed. FAIL can only be specified if there are no large spool data sets defined to JES2. ALLOWED Specifies that SPOOL data set with up to the current size limit (1,048,575 tracks) is to be allowed. New format SPOOL addresses are used when starting a new volume that contains a large (greater than 65,535 tracks) SPOOL data sets. This setting is intended for testing application that may use SPOOL addresses to access records on SPOOL when an actual large data set is not available.
922
$T SPOOLDEF
| | | | | | | | | | | | | | | ALWAYS Processing is the same as ALLOWED, except the new format SPOOL addresses are used when stating any volume (regardless of data set size). Note: v Once LARGEDS is set to ALLOWED or ALWAYS, pre-z/OS release 7 JES2 members can never join the MAS until a COLD start is performed. IBM recommends not setting LARGEDS to ALLOWED or ALWAYS until all MAS members have stabilized on a z/OS release 7 level of JES2 or later. v Even if LARGEDS is set to ALLOWED or ALWAYS, SPOOL volumes with more than 15 records per track (for example, when using buffer sizes less than 2943 on a 3390) cannot use the new format for SPOOL record addresses, thus do not support data sets larger than 65,535 tracks. Scope: MAS-Wide.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
The scope of this command varies by parameter. See the description of each parameter for its scope. The values supplied for some parameters on this command will be in effect across the entire MAS, while the values supplied for other parameters will be in effect for this member only. Depending on your installations setup, you might want the parameters for this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP844 message displays the current values of all the parameters on the SPOOLDEF initialization statement.
Examples
| | | | | | | | |
1 $T SPOOLDEF,TGSPACE=(WARN=70),TGSIZE=20 SPOOLDEF SPOOLDEF BUFSIZE=3992,DSNAME=SYS1.HASPACE, FENCE=(ACTIVE=NO,VOLUMES=1),GCRATE=NORMAL, LASTSVAL=(2005.082,03:57:33),LARGEDS=FAIL, SPOOLNUM=32,TGSIZE=20,TGSPACE=(MAX=16288, DEFINED=1125,ACTIVE=1125,PERCENT=1.5111, FREE=1108,WARN=70),TRKCELL=3,VOLUME=SPOOL $HASP844 $HASP844 $HASP844 $HASP844 $HASP844 $HASP844 $HASP844
923
$T SPOOLDEF
Twenty JES2 buffers are used to determine the default size of a track group on a new spool volume. When 70 percent of the allocated track groups are in use, the $HASP050 message alerts the operator of a possible track group shortage. | | | | | | | | |
2 $tspooldef,fence=(active=yes,volumes=3) SPOOLDEF SPOOLDEF BUFSIZE=3992,DSNAME=SYS1.HASPACE, FENCE=(ACTIVE=YES,VOLUMES=3),GCRATE=NORMAL, LASTSVAL=(2005.082,03:57:33),LARGEDS=FAIL, SPOOLNUM=32,TGSIZE=20,TGSPACE=(MAX=16288, DEFINED=1125,ACTIVE=1125,PERCENT=1.5111, FREE=1108,WARN=70),TRKCELL=3,VOLUME=SPOOL
Allow each job to use up to three SPOOL volumes and then fence the job to those three volumes.
924
$T SSI(nnn)
Syntax
$T SSI nnn , ( nnn * ) nnn * nnn *
Modification keywords
Modification keywords:
,TRace=
No Yes
TRace
= ^=
No Yes
Parameters
SSI({nnn|*}) The SSI function number (1-256). Specify the number to start or stop tracing for a specific function or specify an asterisk (*) to start or stop tracing for all SSI functions. TRace={No|Yes} Specifies whether (Y) or not (N) tracing is to be activated for the indicated SSI function. Note: In order to activate tracing for any of the SSI functions using the $T SSI(nnn),TR=Y command, you must first issue the $S TRACE(11) and/or the $S TRACE(12) commands, which enable processor, device, or SSI function $SAVE/$RETURN tracing. No trace data will be generated for function code 54, though 54 can be specified.
Chapter 5. Command Reference Section
925
$T SSI(nnn)
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP648 message displays the current value of the TRACE= parameter on the SSI(nnn) initialization statement.
Example
1 $t ssi(1),tr=y $HASP648 SSI(1) TRACE=YES
926
$T TPDEF
Syntax
$T TPDEF ,AUTOINTV=nnn ,BSCBUF=( , LIMIT=nnnn WARN=nnn )
,RMTMSG=nnn
Parameters
AUTOINTV=nnn The interval (10-600 seconds) between autologon scans; that is, the time between JES2 attempts to search the output queue for work for a particular remote. The default is 32 seconds between scans. The timer is necessary only when a previous logon attempt has failed or when messages are queued for a remote, and the normal events that drive the autologon scan have not occurred. Proper specification of this parameter decreases the number of unnecessary output searches. BSCBUF= Defines the specifications for the BSC teleprocessing buffers. These buffers reside below 16 megabytes of virtual storage. LIMIT=nnnn The maximum number (1-9999) of the specified teleprocessing buffers which JES2 allows for RJE and NJE. The teleprocessing buffers are dynamically allocated up to this user specified maximum. To ensure that an error in JES2 does not cause a total depletion of JES2 private storage, the installation should limit the number of teleprocessing buffers obtained. Once this number of buffers is reached, all requestors of buffers must wait until a buffer is freed. You can only increase the limit using this command. WARN=nnn Specifies the percentage (0-100) of I/O buffer use. If the buffer use is at or above this percentage, the operator is alerted by message $HASP050.
927
$T TPDEF
SNABUF= Defines the specifications for the SNA (VTAM) teleprocessing buffers. These extended buffers reside above 16 megabytes of virtual storage. LIMIT=nnnnn The maximum number (1-32512) of the specified teleprocessing buffers which JES2 allows for RJE and NJE. The teleprocessing buffers are dynamically allocated up to this user specified maximum. To ensure that an error in JES2 does not cause a total depletion of JES2 private storage, the installation should limit the number of teleprocessing buffers obtained. Once this number of buffers is reached, all requestors of buffers must wait until a buffer is freed. You can only increase the limit using this command. WARN=nnn Specifies the percentage (0-100) of I/O buffer use. If the buffer use is at or above this percentage, the operator is alerted by message $HASP050. RMTMSG=nnn The maximum number of messages (0-255) that may be queued to a remote console. When this count is exceeded, JES2 spools the messages until the message backlog for that remote console returns to zero. SESSIONS= Defines the specifications for VTAM sessions. LIMIT=nnnn Specifies the maximum number (1-9999) of VTAM sessions that can be active at any one time. Terminals or SNA NJE nodes attempting to log on when nnnn sessions are already active are not allowed to log on. You can only increase the limit using this command. WARN=nnn Specifies the percentage (0-100) of session utilization. If the session usage is above this percentage, the operator is alerted by message $HASP050.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
The scope of this command varies by parameter. The value supplied for the RMTMSG parameter will be in effect for this member only. Depending on your installations setup, however, you might want this parameter to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). All other parameters will be in effect for this member only, and there is no need to have these parameters issued to all members of the MAS.
928
$T TPDEF
See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP839 message displays the current values of all the parameters on the TPDEF initialization statement.
Example
1 $t tpdef,bscbuf=(warn=75) $HASP839 TPDEF AUTOINTV=32,AUTONUM=2,BSCBUF=(LIMIT=42, $HASP839 WARN=75,FREE=42,SIZE=520),MBUFSIZE=400, $HASP839 RMTMSG=200,RMTNUM=51,SESSIONS=(LIMIT=102, $HASP839 WARN=80,FREE=102,FROZEN=0),SNABUF=(LIMIT=18, $HASP839 WARN=80,FREE=18,SIZE=400)
929
$T TRACEDEF
Syntax
$T TRACEDEF ,ACTIVE= No Yes ,LOG=( , CLASS=c SIZE=nnnnnnnnnn START= No Yes )
,SPIN
,TABLES=nnnn
,TABWARN=nnn
Parameters
ACTIVE={No|Yes} Specifies whether JES2 is to start the trace facility. LOG= Specifies the characteristics for the trace facility log processor. CLASS=c The output class (A-Z, 0-9) of the trace log data set. SIZE=nnnnnnnnnn The maximum size, in bytes (100-2147483647), of the trace log data set. When this value is reached, JES2 queues the trace log for printing. START={No|Yes} Specifies whether the trace log information is to be formatted and periodically added to the trace log data set. Y further specifies that when the size of the trace log data set exceeds the amount specified by the SIZE parameter, JES2 spins off the data set and queues it for printing. SPIN Specifies that the trace log data set is to be spun off and queued for printing. A new data set is then opened for the trace log and entries on the trace log work queue are formatted and put to the new data set. If you do not specify SPIN, no action is taken. Note: The SPIN parameter is valid only if logging is active (for example, if LOG=(START=Y)). TABLES=nnnn The number (0-2500) of trace tables (PAGES x 4K bytes) that JES2 is to obtain at any one time. If you change the number of tables requested, JES2 immediately attempts to adjust the number of trace tables by either getting trace tables (if above the old number) or releasing tables (if below the old number). If JES2 cannot lower the number of trace tables sufficiently, the normal trace logging process makes the adjustment as trace tables are formatted and written.
930
$T TRACEDEF
TABWARN=nnn Specifies the percentage of trace tables used at which the $HASP050 message alerts the operator of a trace table shortage.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP698 message displays the current values of all the parameters on the TRACEDEF initialization statement.
Example
1 $t tracedef,active=y,log=(class=b,start=y) $HASP698 ACTIVE=Y,TABLES=3,PAGES=, TABWARN=80, TABFREE=3,LOG=(CLASS=B,START=YES, SIZE=500),STATS=(TOTDISC=0,DISCARDS=0, IDS=(NONE))
JES2 starts the trace facility. The trace information obtained is formatted and added to the trace log data set periodically. The output class of the trace log data set is B.
931
$VS
Syntax
$VS ,command(command)...
Parameters
command The MVS system command(s) that are submitted through JES2. You must use double quotes in any MVS command that uses single quotes. For example, to issue an MVS SEND command, you would enter: $VS,SEND message text,USER=(userid).
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
The $VS command is valid only as an automatic command or in a job stream. If you wish to issue an MVS command from the console for immediate execution, enter the MVS command directly; $VS will not be accepted for this purpose. The $VS command is normally entered from a local JES2 card reader that has system authority. The responses to the MVS command(s) entered with the $VS command appear at the console with master level authority on the issuing system.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
Entering an MVS command using $VS does not generate any JES2 messages. For information about any MVS messages, see z/OS MVS System Messages, Vol 1 (ABA-AOM), SA22-7631
Example
1 $vs, v (234,235,236),offline,d a
JES2 submits the MVS VARY and DISPLAY commands to the MVS system for processing if the commands were issued in a job stream or as automatic commands.
932
$Z A
Syntax
$Z A ,ALL
Parameters
ALL JES2 suspends all automatic command processing.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v JES2 automatically issues a $Z A command when: 1. A backlog exists which prevents JES2 from issuing an automatic command for 5 minutes because it is out of CMBs. 2. The operator alters the time forward by more than 24 hours or backward by any time period. 3. Automatic command processing is halted for more than 24 hours (that is, a $Z A has been in effect for more than 24 hours), and then a $A command is entered. v To restart automatic command processing, enter the $S A command. v Automatic commands with time specified must be reentered whenever the elapsed time between a $Z A command and the next $S A command exceeds 24 hours.
Scope
Single member. This command will be in effect for this member only. Depending on your installations setup, however, you might want this command to be applied to all members of the MAS (to ensure a consistent environment across the MAS). If so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.
Messages
The $HASP000 message indicates the command was accepted.
933
$Z A
Notes: 1. If you enter $TA,ALL (to display the automatic commands) after you issue the $ZA,ALL, you see the display of all of the automatic commands ($HASP604 for each), followed by $HASP601 AUTOMATIC COMMANDS HALTED BY OPERATOR. 2. JES2 highlights the $HASP601 AUTOMATIC COMMAND HALTED BY SYSTEM message if JES2 halts automatic command processing. If you then issue $TA,ALL, you will receive the $HASP604 message for each automatic command, followed by $HASP601 AUTOMATIC COMMANDS HALTED BY SYSTEM.
Example
1 $z a,all $HASP000 OK
934
$ZAPJOB
Syntax
$ZAPJOB ,JOBID=JOBnnnnnJ0nnnnnn ,JOBKEY=xxxxxxxxxx
,JOBNAME=cccccccc
,JQEINDEX=xxxx
,JQEOFF=xxxxxx
Parameters
JOBID= The JES2 JOBID of the job to be zapped. This can be specified in any of the valid formats for a JES2 JOBID, such as J12345, JOB12345, S12345, STC12345, T12345, TSU12345. JOBID= is an optional keyword. JOBKEY= The hexadecimal job key that is associated with the job. This value is normally obtained from a dump. If JOBKEY=0 is specified, then JOBID=, JQEINDEX= or JQEOFF= must also be specified. JOBKEY= is an optional keyword. JOBNAME= The name of the job to be zapped. JOBNAME cannot be specified by itself. JOBID=, JOBKEY=, JQEINDEX, or JQEINDEX= must also be specified. JOBNAME= is an optional keyword. JQEINDEX= The index (in hexadecimal) of the JQE to be zapped. JQEINDEX is normally obtained from a dump. JQEINDEX= is an optional keyword. JQEOFF= The offset (in hexadecimal) of the JQE to be zapped. JQEOFF is normally obtained from a dump. JQEOFF= is an optional keyword.
935
$ZAPJOB
Messages
The command response is a $HASP000 message. The $HASP250 message is issued when the job is zapped and indicates that the job was removed from the job queue structure (the job was zapped). Notes: 1. One of JOBID=, JOBKEY=, JQEINDEX=, or JQEOFF= must be specified on ZAPJOB. 2. If a job has a job key of zero (job has not had a job key assigned or has partially purged), you must specify JOBKEY=0, JQEINDEX=, or JQEOFF= to zap the job. 3. A $ZAPJOB statement can be placed in the initialization deck. This is not the same as using the ZAPJOB initialization statement. A $ZAPJOB command in the initialization deck is processed after JES2 initialization has completed. A ZAPJOB initialization statement removes the job before verifying the job queue. Because of the risk of forgetting to remove it, IBM recommends that you do not place $ZAPJOB commands in the initialization deck.
Example
1 .zapjob,jobname=spin01,jobid=j8 JOB00008 .HASP250 SPIN01 ZAPPED -- (JOB KEY WAS B379D031) .HASP000 OK
936
$Z I[vvvv]
Syntax
$Z I Init nn init , ( nn * init init ) mm * mm *
, /
ASID
= ^= > <
asid
, /
STATUS
= ^=
, /
STC
= ^= > <
stc
Parameters
I[nnmm[-nnmm]] Specifies the subscript (1-9999) of the initiator(s) that are halted after completing their current activity. If you do not specify an initiator identifier (nnmm), JES2 halts all initiators. Note: JES2 commands do not recognize JES2controlled initiators that are numbered (with subscripts) greater than the PARTNUM= specification on the INITDEF initialization statement. For information about naming initiators, see z/OS JES2 Initialization and Tuning Reference. ASID=asid Specifies the ASID of the initiator to be halted. STATUS{=ACTIVE|DRAINED|DRAINING|HALTED| HALTING|INACTIVE|RESTARTING|STARTING} Displays the current state of the initiator. Type Meaning
Chapter 5. Command Reference Section
937
$Z I[vvvv]
ACTIVE A job is active on the initiator. DRAINED The initiator is drained. DRAINING The initiator is transitioning to a DRAINED state. HALTED The initiator has been halted by a $Z I command. HALTING The initiator is transitioning to a HALTED state. INACTIVE The initiator has been started but has not selected a job. RESTARTING The initiator has terminated abnormally and is in the process of restarting automatically. STARTING The device has been started but has not fully initialized yet. Applies to FSS-owned devices only. STC=stc Displays the job id of the initiator to be halted.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP000 message indicates the command was accepted.
Example
1 $z i1-2 STATUS=HALTED,CLASS=A,NAME=1 STATUS=HALTED,CLASS=AB,NAME=2 $HASP892 INIT(1) $HASP892 INIT(2)
JES2 halts initiators 1 and 2 after they complete their current activity.
938
$Z OFFLOADn
Syntax
$Z OFFLOADn ,OFFLOADn
Parameters
n The number (1-8) of the offload device that is halted.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
v This command does not cause the offload data set to be deallocated. v If you issue the $Z command during the transmit operation, any active transmitter(s) will finish processing their current work before JES2 halts the selection process. If you issue the $Z command during the receive operation, JES2 immediately halts any active receivers in the middle of the jobs being processed. When you restart the receive operation, the offload device will begin to read the offload data set at the point where it was halted. v To restart the selection process, issue the $S OFFLOADn command for the type of operation (transmit or receive) that has been halted.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP000 message indicates the command was accepted.
Example
1 $z offload3,offload6 $HASP000 OK
939
Syntax
$Z PRTnnnn Rnnnn.PRm ,PRTnnnn ,Rnnnn.PRm
Parameters
PRTnnnn The local printer that is halted. Rnnnn.PRm The remote printer that is halted.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP000 message indicates the command was accepted.
Example
1 $z prt3,prt5 $HASP000 OK
Printers 3 and 5 immediately stop printing. When you issue a $S command for these printers, printing is resumed at the point where it was halted.
940
Syntax
$Z PUnnn Rnnnn.PUm ,PUnnn ,Rnnnn.PUm
Parameters
PUNnn The local punch that is halted. Rnnnn.PUm The remote punch that is halted.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP000 message indicates the command was accepted.
Example
1 $z pun5,pun6 $HASP000 OK
Punches 5 and 6 immediately stop punching. When you issue a $S command for these punches, processing is resumed at the point where it was halted.
941
$Z RDRnn
Syntax
$Z RDRnn ,RDRnn
Parameters
RDRnn The local reader that is halted.
Authority Required
This command requires device authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T RDI sets the command authority for internal readers. This command requires update security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Single member. This command will be in effect for this member only. There is no need to have this command issued to all members of the MAS.
Messages
The $HASP000 message indicates the command was accepted.
Example
1 $z rdr1,rdr2 $HASP000 OK
JES2 immediately halts local readers 1 and 2. When you issue a $S command for these readers, processing is resumed at the point where it was halted.
942
$Z SPOOL
Syntax
$Z SPL SPOOL nn volume , ( nn * volume volume ) mm * mm *
, /
Volume
= ^= > <
volume
Parameters
Volume=volume The volume serial number of the spool volume.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure the proper MVS system command group authority is assigned. The $T RDI sets the command authority for internal readers. This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Processing Considerations
When you issue the $Z command, no new work is allowed to start and no new space on the volume is allocated. Any currently allocated space remains intact and the volume can be removed without loss of work. The volume status is HALTING until all currently active jobs which have space allocated on the volume are completed. After all active jobs have completed, the volume status is INACTIVE. To bring the volume back into the JES2 environment, issue a $S SPOOL command. When the active work has completed the volume is unallocated, and the $HASP893 message is issued. If a spool failure occurs, the operator should be instructed to issue a $Z SPL command for each volume that is in error. This will prevent JES2 from trying to allocate more space from that volume, and from being selected for work (i.e.
943
$Z SPOOL
conversion, execution, and printing). For more information on how to recover from a spool volume failure, see z/OS JES2 Initialization and Tuning Guide. If an all-member warm start is done without the volumes that had errors on them, then JES2 message $HASP424, VOLUME NOT MOUNTED, will be issued followed by JES2 message $HASP853, REPLY GO, QUIT, or PURGE. If the volume is thought to be recoverable at some time, reply GO. This will cause the volume to come up in an inactive state. The jobs that have space allocated from this volume will not be available for work. JES2 will not attempt to use any space from the volume until a $S SPL command is issued. If the volume is permanently damaged, reply PURGE to this message. Reply PURGE only if you are absolutely certain that the volume cannot be recovered. Replying PURGE will cause all jobs with space allocated from that volume to be purged. No messages or warnings will be issued indicating that this happened. You can use the FENCE parameter on the SPOOLDEF initialization statement to define the spooling environment by controlling the partitioning of the spool volumes. This can be a safeguard against spool failure. You use the FENCE parameter to tell JES2 how to partition spool volumes when performing I/O operations. If fencing is turned off then jobs that have already obtained some spool space when fencing was active will not be fenced. The syntax of the FENCE= keyword is changed to FENCE=(ACTIVE=YES,VOLUMES=nnn) to indicate that all space that a job requires will be allocated from nnn volumes. (FENCE=(ACTIVE=YES,VOLUMES=1) is equivalent to FENCE=YES in prior releases.) These volumes are determined by JES2 as the first available volume from which this job can allocate space. Although, FENCE=(ACTIVE=YES,VOLUMES=nnn) indicates that JES2 will fence to nnn volumes in most cases. However, more than nnn volumes may be used in certain situations (when spool volumes fill or if the job obtains spool space on different systems as it goes through different phases.) JES2 will allocate space from a subsequent volume(s) when, and if, the nnn becomes full. Refer to the FENCE= parameter on the SPOOLDEF statement in z/OS JES2 Initialization and Tuning Reference for how to use this parameter. You may also set the FENCE= parameter using the $T SPOOLDEF command. JES2 exits 11 and 12 can be used as an alternative method for limiting the volumes from which a job may allocate space.
Scope
MAS-wide. This command has an effect across the entire MAS.
Messages
The $HASP000 message indicates the command was accepted.
Example
1 $z spl,v=spool1 $HASP000 OK
944
945
946
Appendix B. Accessibility
Accessibility features help a user who has a physical disability, such as restricted mobility or limited vision, to use software products successfully. The major accessibility features in z/OS enable users to: v Use assistive technologies such as screen readers and screen magnifier software v Operate specific or equivalent features using only the keyboard v Customize display attributes such as color, contrast, and font size
z/OS information
z/OS information is accessible using screen readers with the BookServer/Library Server versions of z/OS books in the Internet library at:
www.ibm.com/servers/eserver/zseries/zos/bkserv/
947
948
Notices
This information was developed for products and services offered in the U.S.A. IBM may not offer the products, services, or features discussed in this document in other countries. Consult your local IBM representative for information on the products and services currently available in your area. Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any IBM intellectual property right may be used instead. However, it is the users responsibility to evaluate and verify the operation of any non-IBM product, program, or service. IBM may have patents or pending patent applications covering subject matter described in this document. The furnishing of this document does not give you any license to these patents. You can send license inquiries, in writing, to: IBM Director of Licensing IBM Corporation North Castle Drive Armonk, NY 10504-1785 USA For license inquiries regarding double-byte (DBCS) information, contact the IBM Intellectual Property Department in your country or send inquiries, in writing, to: IBM World Trade Asia Corporation Licensing 2-31 Roppongi 3-chome, Minato-ku Tokyo 106, Japan The following paragraph does not apply to the United Kingdom or any other country where such provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions, therefore, this statement may not apply to you. This information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the publication. IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice. Any references in this information to non-IBM Web sites are provided for convenience only and do not in any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the materials for this IBM product and use of those Web sites is at your own risk. IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring any obligation to you. Licensees of this program who wish to have information about it for the purpose of enabling: (i) the exchange of information between independently created programs
Copyright IBM Corp. 1988, 2005
949
Notices
and other programs (including this one) and (ii) the mutual use of the information which has been exchanged, should contact: IBM Corporation Mail Station P300 2455 South Road Poughkeepsie, NY 12601-5400 USA Such information may be available, subject to appropriate terms and condition including in some cases, payment of a fee. The licensed program described in this information and all licensed material available for it are provided by IBM under terms of the IBM Customer Agreement, IBM International Program License Agreement, or any equivalent agreement between us. This information contains examples of data and reports used in daily business operations. To illustrate them as completely as possible, the examples include the names of individuals, companies, brands, and products. All of these names are fictitious and any similarity to the names and addresses used by an actual business enterprise is entirely coincidental. COPYRIGHT LICENSE: This information contains sample application programs in source language, which illustrates programming techniques on various operating platforms. You may copy, modify, and distribute these sample programs in any form without payment to IBM, for the purposes of developing, using, marketing or distributing application programs conforming to the application programming interface for the operating platform for which the sample programs are written. These examples have not been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of these programs. You may copy, modify, and distribute these sample programs in any form without payment to IBM for the purposes of developing, using, marketing, or distributing application programs conforming to IBMs application programming interfaces. If you are viewing this information softcopy, the photographs and color illustrations may not appear.
Trademarks
The following terms are trademarks of the IBM Corporation in the United States, other countries or both: v Advanced Function Printing v AFP v AS/400 v BookManager v DB2 v eNetwork v ESCON v GDDM v IBM v IBMLink v MVS/ESA v OS/390 v Print Services Facility
950
Notices
v v v v v v v v v v Processor Resource/Systems Manager PR/SM RACF Resource Link S/370 SOM System/390 VTAM z/OS z/OS.e
Linux is a trademark of Linus Torvalds in the United States, other countries, or both. Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both. UNIX is a registered trademark of The Open Group in the United States and other countries. Other company, product, and service names may be trademarks or service marks of others.
Notices
951
952
job (continued) $L 553 $P 578 $S 622 jobname $G A 511 $G C 513 $G D 515 $G H 517 $G R,OUT 520 $G R,XEQ 523 $R 612 output $O 564 $PO 595 $TO 787 % $H JOB 530 + $T INTRDR 711
A
A $A 109 $H 525 $S N LINEnnnn SNA node communications 633 aaaaaaaa $T APPL 663 ABEND $P JES2 571 ac $T FSS 704 accccccc $T FSS 704 accessibility 947 ACCTFLD $D JOBDEF 275 $T JOBDEF 734 ACTCLASS $D I 250 $D Init 250 ACTive $D pce 396 $T PCE 842 ACTIVE $D TRACEDEF 470 $T TRACEDEF 930 DETails $D pce 396 ADDRess $D LOADMOD(jxxxxxxx) 300 $D MODULE(jxxxxxxx) 320 $D SSI(nnn) 460 Age $A 111 $C 178
953
Age (continued) $CO 188 $D job 259 $DO Job 348 $E Job 489 $H JOB 528 $O Job 562 $P job 575 $PO job 590 $T JOB 715 $TO JOB 787 AJOBMASK $H JOB 529 ALL $A 109 $C A 174 $CO 188 $D A job 200 $D N 326 $D Q 423 $D SPOOL 452 $D U 472 $DO Job 348 $H A 525 $O Job 562 $R 611 $S A 619 $T A 657 $TO JOB 590, 787 $Z A 933 Allocated $D pce 396 $T PCE 843 alternate checkpoint data set 8 ANY $D N 326 $D Q 423 $T INTRDR 711 appl $ADD APPL 116 Applid $D LGN 302 $D LOGON 302 $T LOGON(n) 755 APPLID $ADD LGN 133 $ADD LOGON 133 ARCHIVE $D OFFLOAD 380 $T OFFLOAD(n) 829 ARM_element $D job 259 ARMRESTART $C 178 ASID $D 334 $D FSS 246 $D FSSDef 246 $D PRTnnnn 411 $D Rnnnn.PRm 411 $D I 250
ASID (continued) $D Init 250 $E 502 $P 588 $P Inn 568 $P Inn-mm 568 $S 638 $T 766 $Z Initvvvv 937 $Z Ivvvv 937 ASIS $T PRINTERnnn 856 $T PRTnnn 856 $T Rnnnn.PRm 856 ASSEMBLY $D MODULE(jxxxxxxx) 320 asterisk range asterisk 96 JES2 interpretation 96 upper limit 96 Auth $D INTRDR 254 $D R(nn).RD(mm) 435, 436 $D RDI 431, 886 $D RDR(nn) 435, 436 $T INTRDR 710 $T RDRnn 891 $T Rnnnnn.RDm 891 AUTH $D NODE 341 $T NODE(nnnnn) 774 authority reader 885, 889 AUTOCMD $D CONDEF 221 AUTODISC $ADD LINE 129 $ADD LNE 129 $D LINE(nnnn) 294 $T LINE(nnnn) 750 AUTOEMEM $D MASDEF 309 $T MASDEF 758 AUTOEMEM option make job eligible for restart 758 reset the checkpoint lock 758 AUTOINTV $D TPDEF 465 $T TPDEF 927 Autolog $T RMTnn 904 AUTOstop $ADD FSS 126 $ADD FSSDef 126 $D FSS 246 $D FSSDef 246 $T FSS 704 AUTOSYS $T MASDEF 758
954
AWAITING $D SPOOL
452
B
B $TO JOB 787 BAD_JOBNAME_CHAR $D JOBDEF 275 $T JOBDEF 734 BASE $T NUM 783 BATCH $D INTRDR 254 BELOWBUF $D BUFDEF 210 $T BUFDEF 665 BERT $T DEBUG 681 BERTFREE $D CKPTSPACe 217 BERTNUM $D CKPTSPACe 217 $T CKPTSPACE 674 BERTWARN $D CKPTSPACe 217 $T CKPTSPACE 674 BLNKTrnc $D OUTCLASS 384 BLOCK $T RMTnn 904 BOSS $D MEMBER 315 BRODCAST $D OUTDEF 386 $T OUTDEF 835 BSCBUF $D TPDEF 465 $T TPDEF 927 BUFEXPAN $T RMTnn 905 BUFFREE $D CONDEF 221 $D SMFDEF 446 BUFNUM $D CONDEF 221 $D SMFDEF 446 $T CONDEF 675 BUFSIZE $D SPOOLDEF 456 $T RMTnn 905 BUFWARN $D CONDEF 221 $D SMFDEF 446 $T CONDEF 675 $T SMFDEF 916 Burst $ADD PRINTER 141 $ADD PRT 141 $CO Job 189 $D OFF(n).ST 366, 374
Burst (continued) $D PRTnnnn 410 $D Rnnnn.PRm 410 $DO Job 348 $O Job 562 $PO Job 591 $T OFF(n).ST 813, 819 $T PRINTERnnn 856 $T PRTnnn 856 $T Rnnnn.PRm 856 BURST $TO JOB 787 BUSY $A 111 $C 178 $H 528 $P job 575 $T job 715
C
C $ADD PRINTER 141 $ADD PRT 141 $B PRTnnnn 169 $B PUNnnnn 172 $B Rnnnn.PRm 169 $CO Job 189 $D OFF(n).ST 366, 375 $D PRTnnnn 411 $D Rnnnn.PRm 411 $DO Job 349 $F PRTnnnn 506 $F Rnnnn.PRm 506 $O Job 563 $PO Job 591 $Rnnnn.PUm 172 $T OFF(n).ST 813, 820 $T PRINTERnnn 856 $T PRTnnn 856 $T Rnnnn.PRm 856 $TO JOB 788 Cancel $E Job 489 $P SPOOL 606 $S SPL 650 $S SPOOL 650 CANcel $O Job 562 CANCEL $D job 260 CARDS $A job 111 $C job 178 $D job 260 $H job 528 $P job 575 $T job 715 CC $C job 178 $CO job 189
Index
955
CC (continued) $D job 260 $DO job 348 $O job 562 $P job 575 $PO job 591 $T job 715 $TO job 787 cccc $C A 174 $T A 657 CCTL $T PUNnn 875 $T Rnnnn.PUm 875 CCWNUM $D PRINTDEF 401 $D PUNCHDEF 417 CES $D CONNECT 225 CHAR $T PRINTERnnn 868 $T PRTnnn 868 $T Rnnnn.PRm 868 CHAR(1-4) $D PRTnnnn 410 $D Rnnnn.PRm 410 CHARS $D COMPACT 219 checkpoint $T CKPTDEF command 667 reconfiguration 667 CKPT $T DEBUG 681 CKPT1 start option 8 CKPT2 start option 8 CKPTLINE $ADD PRINTER 142 $ADD PRT 142 $D PRTnnnn 410 $D PUNnn 420 $D Rnnnn.PRm 410 $T PRINTERnnn 857 $T PRTnnn 857 $T PUNnn 875 $T Rnnnn.PRm 857 $T Rnnnn.PUm 875 Rnnnn.PUm 420 CKPTLOCK $D MASDEF 309 $E 486 CKPTMODE $ADD PRINTER 142 $ADD PRT 142 $D PRTnnnn 410 $D Rnnnn.PRm 410 $T PRINTERnnn 857 $T PRTnnn 857 $T Rnnnn.PRm 857 CKPTn $D CKPTDEF 213
CKPTPAGE $ADD PRINTER 143 $ADD PRT 143 $D PRTnnnn 410 $D PUNnn 420 $D Rnnnn.PRm 410 $T PRINTERnnn 858 $T PRTnnn 858 $T PUNnn 875 $T Rnnnn.PRm 858 $T Rnnnn.PUm 875 Rnnnn.PUm 420 CKPTSEC $ADD PRINTER 143 $ADD PRT 143 $D PRTnnnn 410 $D Rnnnn.PRm 410 $T PRINTERnnn 858 $T PRTnnn 858 $T Rnnnn.PRm 858 Class $A job 111 $C job 179 $D INTRDR 254 $D job 260 $D OFF(n).JR 356 $D OFF(n).JT 356 $D OFF(n).SR 356 $D OFF(n).ST 356 $D PRTnnnn 410 $D PUNnn 420 $D R(nn).RD(mm) 435 $D RDI 431, 886 $D RDR(nn) 435 $D Rnnnn.PRm 410 $D I 250 $D Init 250 $E job 489 $H job 528 $P job 576 $T INIT 707 $T JOB 716 $T OFF.JR(n) 797 $T OFF.JT(n) 802 $T PRINTERnnn 863 $T PRTnnn 863 $T PUNnn 877 $T RDRnn 891 $T Rnnnn.PRm 863 $T Rnnnn.PUm 877 $T Rnnnnn.RDm 891 Rnnnn.PUm 420 CLass $ADD PRINTER 143 $ADD PRT 143 $D OFF(n).JT 361 CLASS $T INTRDR 710 $T TRACEDEF 930 cmd $D REDIRECT 442
956
CMDauth $A 111 $C 179 $CO 189 $D job 260 $DO Job 349 $E Job 489 $H JOB 528 $L job 553 $O Job 563 $P job 576 $PO Job 591 $T JOB 716 CMDNUM $D CONDEF 221 $T CONDEF 675 CMPCT $T PRINTERnnn 858 $T PRTnnn 858 $T PUNnn 875 $T Rnnnn.PRm 858 $T Rnnnn.PUm 875 CNVT_END $T JOBDEF 735 CNVT_ENQ $D JOBDEF 275 CNVTNUM $D PCEDEF 399 CODE $ADD LINE 129 $ADD LNE 129 $D LINE(nnnn) 294 $T LINE(nnnn) 750 COLD start option specifying NOREQ 8 COLDTIME $D MASDEF 309 COLDVRSN $D MASDEF 310 command authority 885, 889 range asterisk 96 JES2 interpretation 96 upper limit 96 reader $T RDI command 885 $T RDRnn command 889 syntax diagrams 105 COMMAND $D MEMBER 315 $D SPOOL 452 command authority set node 775 COMPACT $ADD APPL 116 $D 219 $D APPL 207 $D NODE 341 $T APPL 663 $T NODE(nnnnn) 776
COMPACT (continued) $T PRINTERnnn 858 $T PRTnnn 858 $T RMTnn 906 $T Rnnnn.PRm 858 compaction table number 116 COMPRESS $ADD LINE 129 $ADD LNE 129 $D LINE(nnnn) 294 $T LINE(nnnn) 750 $T PRINTERnnn 858 $T PRTnnn 858 $T PUNnn 876 $T RMTnn 906 $T Rnnnn.PRm 858 $T Rnnnn.PUm 876 con_spec $ADD REDIRect 154 CONCHAR $D CONDEF 221 $T CONDEF 675 CONDEST $T RMTnn 906 CONDitional parameter on PROCLIB statement 850 CONS $T RMTnn 906 CONSOLE start option specifying $P JES2 8 COPIES $D OUTDEF 386 $T OUTDEF 835 COPYMARK $ADD PRINTER 143 $ADD PRT 143 $D PRTnnnn 410 $D Rnnnn.PRm 410 $T PRINTERnnn 859 $T PRTnnn 859 $T Rnnnn.PRm 859 COUNT $D pce 396 $D RECVopts(*) 440 $D RECVopts(type) 440 $T RECVopts 896 CReator $ADD PRINTER 143 $ADD PRT 143 $D OFF(n).JR 356 $D OFF(n).JT 356, 361 $D OFF(n).SR 356 $D OFF(n).ST 356, 366, 374 $D PRTnnnn 411 $D PUNnn 420 $D Rnnnn.PRm 411 $T OFF.JR(n) 797 $T OFF.JT(n) 802 $T OFF(n).ST 813, 819 $T PRINTERnnn 859
Index
957
CReator (continued) $T PRTnnn 859 $T PUNnn 876 $T Rnnnn.PRm 859 $T Rnnnn.PUm 876 Rnnnn.PUm 420 CRTIME $DO Job 349 CURJOB DETails $D pce 396
D
D $B PRTnnnn 169 $B PUNnnnn 172 $B Rnnnn.PRm 169 $C 180 $D A job 200 $D M 306 $F PRTnnnn 506 $F PUNnn 509 $F Rnnnn.PUm 509 $G R,OUT 519 $G R,XEQ 522 $N command commands through network 557 $R 613 $R XEQ 616 $Rnnnn.PUm 172 DA $ADD REDIRect 155 $T REDIRect 898 Days $C 178 DAys $A 111 $CO 188 $D job 259 $DO Job 348 $E Job 489 $H JOB 528 $O Job 562 $P job 575 $PO job 590 $T JOB 715 $TO JOB 787 DBLBUFR $D PRINTDEF 401 $D PUNCHDEF 417 DCONNECT $ADD REDIRect 155 $T REDIRect 898 DDNAME parameter on PROCLIB statement 849 DEBUG $T 681 DEF $ADD REDIRect 155 $T REDIRect 898
Defined $D pce 396 $T PCE 843 DELAY $C job 179 $D job 261 $D JOBDEF 275 $D NJEDEF 336 $P job 576 $T job 717 $T NJEDEF 768 DESC $D pce 396 $D SSI(nnn) 460 Dest $CO 190 $DO Job 349 $O Job 563 $PO job 592 $TO JOB 788 DEST $ADD DEStid 121 $D DEStid 231 $DEL DEStid 480 $T DEStid(vvvvvvvv) 687 destid $G A 511 $G C 513 $G D 515 $G H 517 $G R,XEQ 523 DEV $D A job 200 DEVFCB $ADD PRINTER 143 $ADD PRT 143 $D PRTnnnn 411 $D Rnnnn.PRm 411 $T PRINTERnnn 859 $T PRTnnn 859 $T Rnnnn.PRm 859 DEVFLASH $ADD PRINTER 143 $ADD PRT 143 $D PRTnnnn 411 $D Rnnnn.PRm 411 $T PRINTERnnn 859 $T PRTnnn 859 $T Rnnnn.PRm 859 Device $T RDRnn 891 $T Rnnnnn.RDm 891 DEVICE $T INTRDR 710 DF $ADD REDIRect 155 $T REDIRect 898 DI $ADD REDIRect 155 $T REDIRect 899 disability 947
958
Discintv $T RMTnn 907 Discon $D LINE(nnnn) 294 $T LINE(nnnn) 750 DISP $D OFF(n).JT 361 $D OFF(n).ST 374 $T OFF.JT(n) 803 $T OFF(n).ST 820 display initialization statement 238 DISPLEN $D CONDEF 221 $T CONDEF 675 DISPMAX $D CONDEF 222 $T CONDEF 676 DJ $ADD REDIRect 155 $T REDIRect 899 DMNDSET $D OUTDEF 386 DN $ADD REDIRect 155 $T REDIRect 899 DNODE $ADD REDIRect 155 $T REDIRect 899 DORMANCY $D MASDEF 310 $T MASDEF 758 DQ $ADD REDIRect 155 $T REDIRect 899 DRAIN $S SPL 650 $S SPOOL 650 DS $ADD REDIRect 155 $T REDIRect 899 DSN $D OFFLOAD 380 $T OFFLOAD(n) 829 DSName $T CKPTDEF 669 DSNAME $D SPOOLDEF 456 DSName parameter on PROCLIB statement 849 DSPL $ADD REDIRect 155 $T REDIRect 899 DT $ADD REDIRect 155 $T REDIRect 899 DU $ADD REDIRect 155 $T REDIRect 899 Dump $C 180
Dump (continued) $G C 513 DUPL_JOB $D JOBDEF 275 $T JOBDEF 735 DUPLEX $ADD LINE 129 $ADD LNE 129 $D CKPTDEF 213 $D LINE(nnnn) 294 $T CKPTDEF 667 $T LINE(nnnn) 750
E
Ended $D pce 396 $T PCE 843 ENDED DETails $D pce 396 ENDNODE $D NODE 342 $T NODE(nnnnn) 776 entry_console $ADD REDIRect 155 $D REDIRECT 442 ENViron $D EXIT 240 $D MODULE(jxxxxxxx) 320 ESTIME $D 238 ESTPAGE $D 236 ESTPUN $D 237 EXIT DETails $D pce 396 EXIT(*) $D 239 EXIT(nnn) $D 239 EXITPTS $D MODULE(jxxxxxxx) 321 EXTBUF $D BUFDEF 210 $T BUFDEF 665
F
F $TO JOB 789 FCB $ADD PRINTER 141 $ADD PRT 141 $CO Job 189 $D OFF(n).ST 366, 375 $D PRINTDEF 401 $D PRTnnnn 411 $D Rnnnn.PRm 411
Index
959
FCB (continued) $DO Job 349 $O Job 563 $PO Job 591 $T OFF(n).ST 813, 814, 820 $T PRINTERnnn 856 $T PRTnnn 856 $T Rnnnn.PRm 856 $TO JOB 788 FCBLOAD $T PRINTERnnn 859 $T PRTnnn 859 $T Rnnnn.PRm 859 FENCE $D SPOOLDEF 456 $T SPOOLDEF 921 Flash $D OFF(n).ST 375 $T OFF(n).ST 820 FLash $D OFF(n).ST 366 $T OFF(n).ST 813 FLASH $ADD PRINTER 143 $ADD PRT 143 $CO Job 190 $D PRTnnnn 411 $D Rnnnn.PRm 411 $DO Job 352 $O Job 563 $PO Job 593 $T PRINTERnnn 860 $T PRTnnn 860 $T Rnnnn.PRm 860 FLUSH $D PUNnn 420 $T PUNnn 876 $T Rnnnn.PUm 876 Rnnnn.PUm 420 FMID $D MODULE(jxxxxxxx) 321 FORCE $P JES2 571 Format $S SPL 650 $S SPOOL 650 FORMAT start option specifying COLD 8 Forms $ADD PRINTER 143 $ADD PRT 143 $CO Job 190 $D OFF(n).ST 366, 375 $D PRTnnnn 411 $D PUNnn 420 $D Rnnnn.PRm 411 $DO Job 351 $O Job 563 $PO Job 593 $T OFF(n).ST 813, 814, 820 $T PRINTERnnn 860
Forms (continued) $T PRTnnn 860 $T PUNnn 876 $T Rnnnn.PRm 860 $T Rnnnn.PUm 876 $TO JOB 789 Rnnnn.PUm 420 FREE $D BUFDEF 210 FSAROLTR $D PRTnnnn 411 $D Rnnnn.PRm 411 $T PRINTERnnn 860 $T PRTnnn 860 $T Rnnnn.PRm 860 FSS $ADD PRINTER 144 $ADD PRT 144 $D PRTnnnn 411 $D Rnnnn.PRm 411 $T PRINTERnnn 860 $T PRTnnn 860 $T Rnnnn.PRm 860 FSSDef $D FSS 246, 247 $D FSSDef 246, 247 FSSINFO $D PRTnnnn 411 $D Rnnnn.PRm 411 FSSLENG $D FSSDef 247 FSSMADDR $D FSS 246 $D FSSDef 246 $D PRTnnnn 411 $D Rnnnn.PRm 411 FSSMAPAR $D FSS 247 $D FSSDef 247 $D PRTnnnn 411 $D Rnnnn.PRm 411 FSSMLENG $D FSS 247 $D PRTnnnn 411 $D Rnnnn.PRm 411 FSSMPTF $D FSS 247 $D FSSDef 247 $D PRTnnnn 411 $D Rnnnn.PRm 411 function display device 472 line 472 logon 472 offload device 472 printer status 472 punch 472 reader 472 remote device 472
960
function (continued) establishing jobid meaning 88 sysid meaning 88 Function #D M command 84 activate/deactivate trace identifier $S TRACE command 20 $T Trace command 20 add line 128 logon device 133 network connections 118 RJE workstation 157 adding application 81 comments to commands 94 advance printer output 506 punch output 509 allow JES2-controlled initiators to select work 656 WLM-controlled initiators to select work 656 assign jobid 35 LOGON ID 755 LOGON password 755 assigning JES2/VTAM password 80 line password 82 NJE line password 82 backspace printer output 169 punch output 172 cancel automatic commands 174 held output groups 561 job at another node 513 job output 60 jobs on a spool volume 60 NJE device 185 output 187 reader activity 199 cancel job 176 cancel printer output 197 cancel punch output 198 cancel spool offload receiver 195 transmitter 195 change initialization 17 job affinity 60 jobs affinity 713 jobs class 713 jobs scheduling priority 713 members operational mode 761 RJE workstation 901 static network connections 678 with $T command 17
Function (continued) change destination ID $T DEStid command 686 changing application 81 applications 72 job characteristics 60 job execution priority 57 NJE symbolic destination 75 TCP/IP sockets 72 checkpoint DUAL mode 17 DUPLEX mode 17 use $T MASDEF command mode 17 command control JES2 command list 1 conditionally purge output 64 connect remote terminal 648 considering SNA RJE 38 control $C A command 19 $P SPOOL command 21 $S SPOOL command 21 $T A command 19 $T SPOOLDEF command 21, 22 $Z A command 19 $Z SPOOL command 21 Addressing Mode 21 automatic commands 19 default spool utilization per job 692 draining 21 execution time 694 functional subsystem (FSS) 704 initiators 706 internal readers 709 JES2 applications 662 JES2 network environment 768 JES2 spooling 21, 22 JES2 symbolic destination 686 JES2 symbolic destination displays 684 job execution 57 line 748 local buffers 665 MAS environment 758 print environment 845 printer characteristics 852 printer output 37 punch characteristics 873 punch output 37 reader 885, 889 SMF buffers 916 SPOOLDEF initialization statement 21 subsystem interface definition 925 trace facility 930 VTAM interface 755 control automatic command list 3
Index
961
Function (continued) control diagnostic command list 4 control MVS/JES2 command list 5 control spool command list 5 controlling $S LOGON(n) command 80 $S NETSRV (n) command 81 $T CONDEF command 33 device environment 25, 33 FSS (functional subsystem) 25 initiators 57 internal readers 34 JCL OUTPUT statement 62 JES2-TCP/IP interfaces 71 JES2/VTAM interface 38 JES2/VTAM interfaces 71 job execution 51 job output 62 job output characteristics 62 job output priority 62 jobs at another node 52, 61 networks 69 NJE devices 73 NJE environment 74 NJE lines 72, 81 NJE static connections 73 offload devices 30 offload transmitters/receivers 47 output 54 output groups 67 printers 26 punches 27 readers 25 remote job entry 38 remote terminal characteristics 39 RJE line 38 RJE lines 29 RJE workstations 30, 39 TCP/IP interface 81 transmitting/receiving devices 83 VTAM interface 28 VTAM interface for SNA NJE 80 WLM initiators 58 controlling MAS environment command list 2 controlling NJE static connection 83 define FSS 126 local printer 140 symbolic destination 121 VTAM application 116 define FSS $T FSS command 33 using $ADD FSS 33 with $ADD FSS command 33 defining $T DEStid command 688 application 81
Function (continued) defining (continued) applications 72 TCP/IP sockets 72 two-level destids 688 delete network connections 478 deleting symbolic destinations 480 describing device list and abbreviations 31 device states 32 initiator states 32 overview of devices 31 describing device active 32 drained 32 halted 32 inactive 32 paused 32 determining job class priority 57 spool status classifications 23 diagnose JES2/VTAM interface 80 diagnose JES2 $D LOADMOD command 21 $D MODULE command 21 $D SSI command 21 $T DEBUG command 20 $T SSI command 20 $T TRACEDEF command 20 $T RECVopts command 20 display module information 21 recovery processing 20 start stop 20 start/stop trace 20 disable JES2 exit points 702 disconnect line 292 display $D L(nnnn).SR(n) 286 $D R(nn).RD(mm) 433 $D RDR command 34 $D RDR(nn) 433 $D U,RDRs command 34 $D L(nnnn).JR(n) 280 $D L(nnnn).JT(n) 283 $D REBLD command 438 # of bytes for job 234 activate of JES2 204 active job information 56 active jobs 200 active RJE workstations 205 adapter code (BSC) 292 another node job information 515 assembled module info. 319 automatic commands 657 buffer definitions 210 characteristics assigned to jobs 275
962
Function (continued) display (continued) checkpoint definition 212 checkpoint spaces 217 connection resistance rate 226 console communications 221 current job priority characteristics 278 device status 430 exit point characteristics 239 forms queue 242 FSS characteristics 246 initialization settings 468 initialization statement 440 initiator info. 249 input reader device 34 input reader numerical id 34 internal reader status 430 INTRDR initialization statement characteristics 254 JES2 processor tracing status 393 JES2 status 11 job information 55, 256 job log send message 305 job output forms queue 242 job output priority 389 job queue info. 326 job receiver status 280 job transmitter status 283 jobs using spool 451 line characteristics 292 line receiver 286 lines of job output 235 load module info. 299 LOGON interfaces 302 MAS member 313 MAS spool definition 309 MAS tuning parameters 309 message to node 305 MVS DISPLAY command 11 network account numbers 331 network connections 224 network environment 336 NJE node attributes 76 node characteristics 339 node paths 391 number of jobs queued 423 number of logical initiators 248 OFF(n).JR 355 OFF(n).JT 355 OFF(n).SR 355 offload devices 379 offload job receiver 355 offload job transmitter 360 offload SYSOUT receiver 364 offload SYSOUT transmitter 373 output characteristics 345 output classes 384 output definition options 386 output pages set for jobs 236 partitioning of spool 462 PCE definitions 399
Function (continued) display (continued) printer characteristics 406 printer initialization settings 401 punch characteristics 419 punch initialization settings 417 reader status 430 rebuild queue information 438 redirection 442 remote device control authority 433 SNA NJE applications 207, 219 spool partitioning 456 spool states 22 spool status 451 spool usage 423 spool volume state 22 SSI 460 SSI information 925 start options 382 status of SMF buffers 446 status of trace ids 468 subnet connections 463 subsystems 11 symbolic destination 231 symbolic destinations 229 SYSOUT receiver 286 SYSOUT transmitter 289 SYSOUT transmitter status 289 system symbols 90 teleprocessing characteristics 465 time set for jobs 238 trace characteristics 470 track spool volumes 456 display control authority remote console 428 display delay interval node communications 336 transmission 336 display job information list of commands 49 display NJE job 85 display node paths $D PATH command 391 display remote console $D R(n).CON(m) command 428 control authority 428 display setting punch pages for jobs 237 display SYSOUT transmitter $D L(nnnn).ST(n) 289 status 289 displaying $D command 16 $D MASDEF command 15 $D MEMBER command 15 $D PATH command 76 $D SUBNET command 76 anytime 16 MAS 15 MAS member status 15
Index
963
Function (continued) displaying (continued) NJE node connections 76 NJE path resistance 76 node information 76 drain job output 589 offload receiver 598 spool volume 606 enable JES2 exit points 702 enter MVS system commands 932 entering multiple commands on a line 92 expanding the command scope in a MAS 17 JES2 commands 17 MVS ROUTE *ALL command 17 format start 11 grouping SYSOUT 35 halt automatic command processing 933 HALT EOD command 14 initiator activity 937 offload activity 939 printer activity 940 punch activity 941 reader activity 942 spool volume 943 HALT EOD command 572 handling cross network activity 75 excessive NJE looping 75 hold all jobs 525 job at another node 517 specific jobs 527 holding and releasing job queues 60, 61 jobs 51 hot start 12 identifying JOE identifier 68 initiate batch job into execution 622 checkpoint reconfiguration dialog 667 interrupt printer activity 533 punch activity 535 job option warm start hold 13 queue 13 restart 13 list job output information 552 modify automatic commands 657 checkpoint definition 667 job characteristics 723
Function (continued) modify (continued) started task characteristics (STC) 723 time-sharing user characteristics (TSU) 723 modify/add spool volume 919 modifying NJE transmission delay 75 monitor VTAM interface 755 monitoring $T BUFDEF command 15 $T SMFDEF command 15 buffers 15 SMF buffers 15 offload/reload spool device 46 operator request D R command 16 display commands 16 display JES2 request 16 prevent JES2-controlled initiators from selecting work 610 WLM-controlled initiators from selecting work 610 processing output 35 purge a job 574 job output 589 jobs on a spool volume 60 purging jobs 60 quick start 11, 12 recognizing NJE lockout condition 75 redirect $ADD REDIRECT command 16 $D REDIRECT command 16 $T REDIRECT command 16 $T REDIRect 898 command responses 898 commands 154 job output 16 referencing two-level destids 123 referencing destinations $T DESTid command 122 second-level destination 122 release all jobs 109, 848 held jobs 110 held output groups 561 job to another node 511 release/cancel job output 66 removing $DEL DEStid command 76 NJE symbolic destination 76
964
Function (continued) repeat printer output 559 punch output 560 request route job output by another node 519 request another node route job execution 522 reset $T NUM command 59 checkpoint lock 18, 485 job number 59 restart $E command 18 checkpoint lock 18 JES2 18 JES2/VTAM interface 497 job 488 jobs on failed member 498 line activity 495 NJE device activity 493 printer activity 504 punch activity 505 spool offload transmitter 503 sysplex member 18 restart JES2 11 restart JES2 by command 12 restarting jobs 60 restricting NJE operations 40 RJE operations 40 route job output 611 job to another node 56, 59 jobs for execution 616 routing $R command 67 job output 67 send $D M command 57 commands through network 557 message to another node 57 message to job log 57 to Other MAS Members 556 sending messages/commands through the network 84 sending commands $N n command 84 in a JES2 MAS 17 MVS ROUTE *ALL command 17 through the network 74 using the console character 17 sending messages through the network 74 set $T SMFDEF command 916 checkpoint space 674 connection resistance rate 117, 119 console communication characteristics 675 default data set disposition 832
Function (continued) set (continued) error rate 896 internal reader authority 891 JES2 DEBUG option 681 JES2 internal job numbers 783 job class characteristics 723 job output characteristics 835 job processing characteristics 734 job scheduling characteristics 739 line count 696 node characteristics 772 offload device characteristics 828 offload job receiver characteristics 795 offload job transmitter characteristics 801 offload SYSOUT receiver characteristics 809 offload SYSOUT transmitter characteristics 818 output characteristics 784 output scheduling priorities 839 page count 698 punch estimate 700 recovery options 896 resistance rate 679 SMF buffers 916 spool volume track group 462 spooling environment 921 SYSOUT class characteristics 832 teleprocessing characteristics 927 set node command authority 85 setting ($) identifier 88 command authority 77 command identifier 88 explicit destination identifier 97 explicit route codes 97 internal reader command authority 891 job execution characteristics 50 maximum command length 89 node authority 77 node password 77 offload characteristics 47 second-level destination 687 setting output $T PRT command 36 characteristics 36 setting RJE workstation automatic connect/disconnect 39 specify $T CKPTDEF command 18 $T ESTPAGE command 66 $T EXIT command 14 $T JOBCLASS(n) 64 $T OUTCLASS(n) 64 $T SPOOLDEF command 921 automatic commands 657 checkpoint definition 18 default page count 66 disable 14 enable 14 exit points 14
Index
965
Function (continued) specify (continued) JES2 applications 662 job execution time 59 job priority 59 output disposition 64 spool partitioning 921 SYSOUT network job transmitter characteristics 741 SYSOUT transmitter characteristics 744 trace 14 specify XBM $T JOBCLASS command 726 cataloged procedure 726 specifying $ADD DEStid command 75 initiator parameters 50 job characteristics 59 job output characteristics 53 NJE symbolic destination 75 NJE TOD range 75 node characteristics 69 output line count 66 output scheduling priority 65 output spool space 65 punch card count 66 spooling messages to remote 39 start $S LINE command 626 automatic command processing 619 batch job into execution 622 BSC line node communication 630 initiator 620 JES2 DEBUG option 681 JES2/VTAM interface 628 line 626 NJE BSC line 77 NJE device 624 offload device 641 offload transmitter/receiver 639 printer 643 punch 645 reader 647 SNA line node communication 633 SNA NJE line 79 SYS1.PROCLIB JCL 14 system activity 618 TCP/IP line node communication 635 TCP/IP NJE line 79 Trace ID 654 start printer $S PRT command 36 start SNA/VTAM node communications 78 start TCP/IP node communications 79 start VTAM 79 start work selection $S XEQ 656
Function (continued) start/add spool volume 650 starting BSC node communications 70 SNA node communications 70 TCP/IP node communications 70 starting BSC line communications 77 starting SNA application-to-application session 78 stop $Z SPOOL 943 a line 584 initiator 568 JES2 567, 571 JES2/VTAM interface 586 job output 589 NJE device 582 offload device 600 offload transmitter 598 printer 601 punch 603 reader 604 spool volume 943 trace id 609 stop JES2 $P command 14 stopping jobs 60 terminate remote connection 605 trace $T SSI command 925 all JES2 processors 841 exit points 14 line 292 SSI information 925 use $T LOGON(n) command 755 $T OFF.ST command 818 $T LINE command 748 $T MEMBER command 761 $T NJEDEF command 768 $T NODE command 772 $T NUM command 783 $T O command 784 $T OFFLOAD command 828 $T OUTCLASS(n) command 832 $T OUTDEF command 835 $T OUTPRTY command 839 $T PCE command 841 $T PRINTDEF command 845 $T PRT command 852 $T PUNnn command 873 $T RECVopts command 896 $T RMT command 901 $T TPDEF command 927 $T TRACEDEF command 930 $VS command 932 $Z OFFLOADn command 939
966
Function (continued) use (continued) $Z A command 933 $Z PRT command 940 $Z PUNnn command 941 halt $Z Ivvvv command 937 using $T MEMBER command 15 $T O command 62 command identifier rules 89 command syntax 87 command syntax rules 89 execution batch monitor 58 independent mode 15 JES2 command filtering techniques 103 JOE (job output element) 62 limiting information 103 MAXHOP parameter 75 maximum number of operands 89 MVS REPLY command 8 MVS ROUTE command 16 parameter ranges 95 SDSF (spool display and search facility) 62 selection criteria 103 syntax conventions 87 system symbols 90 system symbols, rules and recommendations 90 wildcards in commands 98 using NJE global commands 85 warm start 11 withdraw JES2 571 withdraw JES2 network jobs 571 Function initialization display initialization settings 440 Function JES2 start option 5 Function output displaying $T PRINTDEF 67 job output 67
G
GCRATE $D SPOOLDEF 457 $T SPOOLDEF 921 GSUBNUM $D SUBTDEF 462
H
H $O Job 563 $P job 577 $T INTRDR 710 $T JOB 718
H (continued) $T OUTCLASS(n) 833 $TO JOB 789 HALT $S SPL 651 $S SPOOL 651 HASPFSSM $ADD FSS 126 $D FSS 247 $D FSSDef 247 $D PRTnnnn 411 $D Rnnnn.PRm 411 $T FSS 704 HASPPARM $D OPTSDEF 382 HASPPARM=ddname start option specifying CONSOLE 8 HDRBUF $D NJEDEF 336 $T NJEDEF 768 Health Monitor JDDETAILS 536 JDHISTORY 539 JDJES 544 JDMONITOR 546 JDSTATUS 548 JSTOP 550 Held $L job 553 HELD $CO 190 $DO Job 351 $L 553 $PO job 593 $TO JOB 790 HELDBY $E CKPTLOCK 486 Hold $D INTRDR 255 $D OFF(n).JR 356 $D OFF(n).JT 356, 361 $D OFF(n).SR 356 $D OFF(n).ST 356, 367, 375 $D R(nn).RD(mm) 435 $D RDR(nn) 435 $T INTRDR 710 $T OFF.JR(n) 797 $T OFF.JT(n) 803 $T OFF(n).ST 814, 820 HOLD $C job 180 $CO job 190 $D job 262 $D L(nnnn).JR(n) 280 $D MASDEF 310 $D NODE 342 $D RDI 431, 886 $DO Job 351 $P job 578 $PO job 593 $T JOB 718
Index
967
HOLD (continued) $T MASDEF 759 $T NODE(nnnnn) 776 $T OUTCLASS(n) 833 $T RDRnn 891 $T Rnnnnn.RDm 891 $TO JOB 790 HOLDRC $CO job 191 $DO Job 351 $PO job 594 $TO JOB 790 HONOR $T INTRDR 711 HONORlim $D INTRDR 255 Hours $A 112 $C 180 $CO 191 $D job 262 $DO Job 351 $E Job 489 $H JOB 529 $O Job 563 $P job 577 $PO job 593 $T JOB 718 $TO JOB 789 HTABS $T RMTnn 907
I
I $D I 250 $S 620 $T 706 $T A 657 I/O DETails $D pce 396 I(nnmm) $T 706 I(vvvv) $S 620 IBMJES2 $D MODULE(jxxxxxxx) 321 IND $D MEMBER 315 $D N 326 $D Q 423 $T INTRDR 711 $T MEMBER 762 init $S 620 $T 706 Init $D Init 250 INIT(nnmm) $T 706
init(vvvv) $S 620 INITASID $D job 262 initialization specifying option 8 initialization statement range asterisk 96 JES2 interpretation 96 upper limit 96 Inn $P 568 Inn-mm $P 568 Innmm $Z 937 INT $D ESTBYTE 234 $D ESTIME 238 $D ESTLNCT 235 $D ESTPAGE 236 $D ESTPUN 237 $T ESTBYTE 692 $T ESTIME 694 $T ESTLNCT 696 $T ESTPAGE 698 $T ESTPUN 700 INTERFAC $ADD LINE 129 $ADD LNE 129 $D LINE(nnnn) 294 $T LINE(nnnn) 751 INTERVAL $D RECVopts(*) 440 $D RECVopts(type) 440 $T RECVopts 897 INTRDR $D 255 $T 710
J
J $D A job 200 $D F 244 $G A 511 $G C 513 $G D 515 $G H 517 $G R,OUT 520 $G R,XEQ 523 $R 611 $R XEQ 616 JACCT $D NETACCT 331 JCLERR $D JOBDEF 275 $T JOBDEF 735 JES2 $P 571
968
JM $A 112 $C 180 $CO 191 $D job 262 $DO Job 351 $E Job 489 $H JOB 529 $L job 553 $O Job 564 $P job 578 $PO job 594 $T JOB 718 $TO JOB 790 JNUMBASE $D JOBDEF 275 JNUMFREE $D JOBDEF 276 JNUMWARN $D JOBDEF 276 $T JOBDEF 735 job $A 112, 113 $C 181 $D 259 $E 489 $H 529 $L 553 $P 578 $S 622 $T 718 route for execution at another node 616 transmitter network 130, 751 Job $A 112 $DO 348 $E 490 $L 553 $O 564 $P 578 $PO 594 $T 718 $T INTRDR 710 $T NODE(nnnnn) 775 $T RDRnn 891 $T Rnnnnn.RDm 891 $TO 787 JOB $D A job 200 $G H 517 $G R,OUT 520 job_id $D M 305 JOBDEF $D 275 JOBFREE $D JOBDEF 276 JOBID $D I 250
JOBID (continued) $D Init 250 JOBID= $ZAPJOB 935 JOBKEY= $ZAPJOB 935 JOBMASK $A 112 $C 180 $CO 191 $D job 262 $DO Job 351 $E Job 489 $L job 553 $O Job 564 $P job 578 $PO job 594 $T JOB 718 $TO JOB 790 JOBn $G C 513 $G D 515 $G R,XEQ 523 $R 611 JOBN $G A 511 JOBname $ADD PRINTER 144 $ADD PRT 144 $D OFF(n).JR 356 $D OFF(n).JT 356, 361 $D OFF(n).SR 356 $D OFF(n).ST 356, 367, 375 $D PRTnnnn 412 $D PUNnn 421 $D Rnnnn.PRm 412 $T OFF.JR(n) 797 $T OFF.JT(n) 803 $T OFF(n).ST 814, 821 $T PRINTERnnn 861 $T PRTnnn 861 $T PUNnn 877 $T Rnnnn.PRm 861 $T Rnnnn.PUm 877 Rnnnn.PUm 421 JOBNAME $D I 250 $D Init 250 JOBNAME= $ZAPJOB 935 JOBNUM $D JOBDEF 276 $T JOBDEF 735 JOBPRTY(n) $D 278 JOBQ $A 112 $C 181 $CO 191 $D 259 $DO 348
Index
969
JOBQ (continued) $E 490 $H 529 $L 553 $O 564 $P 578 $PO 594 $T 718 $TO 787 JOBRBLDQ $D JOBDEF 276 JOBWARN $D JOBDEF 276 $T JOBDEF 735 JOEFREE $D OUTDEF 386 JOENUM $D OUTDEF 386 $T OUTDEF 836 JOERBLDQ $D OUTDEF 386 JOEWARN $D OUTDEF 387 $T OUTDEF 836 JQ $C 181 $CO 191 $D 259 $DO 348 $E 490 $H 529 $L 553 $O 564 $P 578 $PO 594 $T 718 $TO 787 JQEINDEX= $ZAPJOB 935 JQEOFF= $ZAPJOB 935 JRNUM $D LINE(nnnn) 294 $D NJEDEF 336 JTHRU $D NETACCT 331 JTNUM $D LINE(nnnn) 294 $D NJEDEF 336 initialization parameter 130, 751
KEEP $T OUTCLASS(n) 833 keyboard 947 Keyword Display limiting 107 Modification limiting 107 Selection limiting 107
L
L $D PRTnnnn 414 $D R(nn).RD(mm) 436 $D RDR(nn) 436 $D Rnnnn.PRm 414 $T A 658 $T OUTCLASS(n) 833 LABEL $D OFFLOAD 380 $T OFFLOAD(n) 829 LARGEDS $D SPOOLDEF 457 $T SPOOLDEF 922 LASTapar $D MODULE(jxxxxxxx) 321 LASTART $D MEMBER 315 LASTPTF $D MODULE(jxxxxxxx) 322 LASTSVAL $D SPOOLDEF 457 LEAVE $T OUTCLASS(n) 833 LENgth $D LOADMOD(jxxxxxxx) 300 $D MODULE(jxxxxxxx) 322 LGN $D 302 LGNn $D U 472 LGNS $D U 473 LIMit $ADD PRINTER 144 $ADD PRT 144 $D L(nnmm).JT(nnmm) 283 $D L(nnnn).ST(n) 289 $D OFF(n).JT 361 $D OFF(n).ST 375 $D PRTnnnn 412 $D PUNnn 421 $D Rnnnn.PRm 412 $T L(nn).JT(nn) 741 $T L(nnnn).ST(n) 745 $T OFF.JT(n) 803 $T OFF(n).ST 821 $T PRINTERnnn 861 $T PRTnnn 861 $T PUNnn 877 $T Rnnnn.PRm 861 $T Rnnnn.PUm 877
K
K $D PRTnnnn 413 $D Rnnnn.PRm 413 $T OUTCLASS(n) 833 $T PRINTERnnn 861 $T PRTnnn 861 $T Rnnnn.PRm 861
970
LIMit (continued) Rnnnn.PUm 421 LIMIT $D BUFDEF 210 $T BUFDEF 665 $T NJEDEF 768 $T TPDEF 927, 928 line network job transmitter 130, 751 set characteristic 748 LINE $ADD APPL 116 $D APPL 208 $D NODE 342 $T APPL 663 $T RMTnn 907 line limit changing for SYSOUT transmitters 741, 745 displaying for SYSOUT transmitters 289 LINECCHR $D LINE(nnnn) 294 $T LINE(nnnn) 751 LINECT $D PRINTDEF 401 $T PRINTDEF 845 LINEn $D U 472 LINEnnnn $S BSC line node communication 630 SNA node communications 633 TCP/IP node communications 635 LINENUM $D NJEDEF 336 LJ $ADD REDIRect 155 $T REDIRect 899 LNEn $D U 472 LNES $D U 472 Lnnnn.JRn $C 185 $E 493 $P 582 $S 624 Lnnnn.JTn $C 185 $E 493 $P 582 $S 624 Lnnnn.SRn $C 185 $E 493 $P 582 $S 624 Lnnnn.STn $C 185 $E 493 $P 582 $S 624
LOADmod $D 300 $D MODULE(jxxxxxxx) 322 LOCAL190 $T RMTnn 908 LOCALNUM $D DESTDEF 229 LOCKOUT $D MASDEF 310 $T MASDEF 759 LOG $ADD LGN 133 $ADD LINE 130 $ADD LNE 130 $ADD LOGON 133 $D LGN 303 $D LINE(nnnn) 295 $D LOGON 303 $D TRACEDEF 470 $T LINE(nnnn) 751 $T LOGON(n) 756 $T TRACEDEF 930 LOG control statement specifying 8 LOGMODE $ADD APPL 116 $D APPL 208 $D NODE 342 $T APPL 663 $T NODE(nnnnn) 776 LOGON $ADD APPL 116 $D 302 $D APPL 208 $D NODE 342 $T APPL 663 $T NODE(nnnnn) 776 $T RMTnn 908 LOGONn $D U 472 LOGSIZE $D CKPTDEF 213 Long $D SPOOL 452 $D I 250 $D Init 250 LONG $D 334 $D FSS 247 $D FSSDef 247 $D job 263 $D MODULE(jxxxxxxx) 322 $D pce 397 $D PRTnnnn 412 $D RDI 431, 886 $D Rnnnn.PRm 412 $L 554 LookAt message retrieval tool xvi LRECL $D PUNnn 421 $T PRINTERnnn 861
Index
971
LRECL (continued) $T PRTnnn 861 $T PUNnn 877 $T Rnnnn.PRm 861 $T Rnnnn.PUm 877 Rnnnn.PUm 421 LS $ADD REDIRect 155 $T REDIRect 899 LT $ADD REDIRect 155 $T REDIRect 899 LUNAME $T RMTnn 908
M
M $D 305 MA $ADD CONNect 118 $DEL CONNect 478 $T CONNECT 678 MACLevel $D MODULE(jxxxxxxx) 322 MAILMSG $D NJEDEF 336 $T NJEDEF 768 Mark $ADD PRINTER 144 $ADD PRT 144 $D PRTnnnn 412 $D Rnnnn.PRm 412 $T PRINTERnnn 861 $T PRTnnn 861 $T Rnnnn.PRm 861 MASMSG $D CONDEF 222 $T CONDEF 676 MAXHOP $D NJEDEF 337 $T NJEDEF 769 MB $ADD CONNect 118 $DEL CONNect 478 $T CONNECT 679 MBUFSIZE $D TPDEF 466 MEMB $DEL CONNect 478 MEMBA $ADD CONNect 118 $D CONNECT 225 $DEL CONNect 478 $T CONNECT 678 MEMBB $ADD CONNect 118 $D CONNECT 225 $T CONNECT 679 member $D MEMBER 314
member (continued) $E MEMBer 499 MEMBer $E 499 MEMBER $D ACTRMT 205 MemberA $T CONNECT 678 MEMBERA $ADD CONNect 118 $D CONNECT 225 $DEL CONNect 478 MemberB $T CONNECT 679 MEMBERB $ADD CONNect 118 $D CONNECT 225 $DEL CONNect 478 memname $D A job 200 $D N 326 $D Q 423 $H A 525 $T INTRDR 711 $T MEMBER 762 message retrieval tool, LookAt xvi MFORM $T RMTnn 908 MISC $T DEBUG 681 mm $E MEMBer 499 $P LOGON 586 $T OFF.JR 796 $T OFF.JT 802 MOD $D OFF(n).JR 357 $D OFF(n).JT 357 $D OFF(n).SR 357 $D OFF(n).ST 357, 367 $T OFF.JR(n) 797 $T OFF(n).ST 814 DETails $D pce 396 MODE $ADD PRINTER 144 $ADD PRT 144 $D CKPTDEF 214 $D PRTnnnn 412 $D Rnnnn.PRm 412 $T PRINTERnnn 862 $T PRTnnn 862 $T Rnnnn.PRm 862 MODIFY $D PRTnnnn 412 $D Rnnnn.PRm 412 module $D MODULE(jxxxxxxx) 320 MODULE $D SSI(nnn) 460
972
MPRO $ADD PRT 145 MRF2780 $T RMTnn 908 MSGclass $D R(nn).RD(mm) 435 $D RDI 431, 887 $D RDR(nn) 435 $T RDRnn 891 $T Rnnnnn.RDm 891 MSGPRT $T RMTnn 908 MULTILV $T RMTnn 909 MVS commands DISPLAY example 932 VARY example 932
N
n $D L(nnmm).JT(n) 283 $D L(nnnn).ST(n) 289 $D PATH 391 $D L(nnnn).SR(n) 286 $T JOBPRTY 739 $T LOGON 755 $T MEMBER 762 $T OUTPRTY 839 $Z OFFLOAD 939 N $D 326 $S BSC line node communication 630 SNA node communications 633 TCP/IP node communications 635 $S LINEnnnn BSC line node communication 630 $S N LINEnnnn SNA node communications 633 n-n $T MEMBER 762 NA $ADD CONNect 119 $D CONNECT 225 $DEL CONNect 478 $T CONNECT 679 NACCT $D NETACCT 331 name $G A 511 $G C 513 $G D 515 $G H 517 $G R,XEQ 523 DETails $D pce 396 NAME $D 334 $D COMPACT 219 $D MEMBER 315
NAME (continued) $D NODE 342 $D PRTnnnn 411 $D Rnnnn.PRm 411 $E 502 $P 588 $S 638 $T 766 $T INIT 707 $T NODE(nnnnn) 777 NAME parameter on PROCLIB statement 850 NB $ADD CONNect 119 $D CONNECT 226 $DEL CONNect 478 $T CONNECT 679 Ndest $D DESTDEF 229 Net $T NODE(nnnnn) 775 NETACCT $D 331 NETSRV $ADD 135 $D 333 $E 501 $P 587 $S 637 $T 765 network job transmitter quantity 130, 751 SYSOUT transmitter quantity 131, 752 NEWCKPTn $D CKPTDEF 214 $T CKPTDEF 669 NEWPAGE $ADD PRINTER 145 $ADD PRT 145 $D PRINTDEF 401 $D PRTnnnn 412 $D Rnnnn.PRm 412 $T PRINTDEF 846 $T PRINTERnnn 862 $T PRTnnn 862 $T Rnnnn.PRm 862 NIFCB $D PRINTDEF 401 NIFLASH $D PRINTDEF 401 NIUCS $D PRINTDEF 401 nn $D MEMBER 314 $E LOGON 497 $M command 556 $P LOGON 586 $P TRACE 609 $S 622 $S LGN 628 $S LOGON 628
Index
973
nn (continued) $S RMT 648 $S TRACE 654 $T EXIT 702 $T OFF.JR 796 $T OFF.JT 802 nnmm $D L(nnmm).JT(n) 283 $D L(nnnn).JR(n) 280 $D L(nnnn).ST(n) 289 $D L(nnnn).SR(n) 286 nnnn $D ACTRMT 205 $D LINE(nnnn) 294 $D NODE 341 $E LINE 495 $E LNE 495 $F PUNnn 509 $F Rnnnn.PUm 509 $P LINE 584 $P RMT 605 $S LINE(nnnn) 626 $T LINE(nnnn) 129, 749 nnnn,C $F PUNnn 509 $F Rnnnn.PUm 509 nnnnn $T NODE 774 Nnnnn $G A 511 $G C 513 $G D 515 $G H 517 $G R,XEQ 523 node command authority 775 set authority 774 NODE $ADD APPL 116 $D APPL 208 $T APPL 663 node name $D PATH 391 NODEA $ADD CONNect 119 $D CONNECT 225 $DEL CONNect 478 $T CONNECT 679 NODEB $ADD CONNect 119 $D CONNECT 226 $DEL CONNect 478 $T CONNECT 679 NODELAY $D JOBDEF 275 nodename TCP/IP node communication 635 NODENAME $D DESTDEF 229 NODENUM $D NJEDEF 337
NODENUM (continued) $T NJEDEF 769 NOLIST start option specifying NOLOG 8 NOLOG start option specifying CKPT1 8 NONE start option specifying 8 NOREQ start option specifying NOLIST 8 NOTify $D OFF(n).JT 361 $D OFF(n).SR 357 $D OFF(n).ST 357, 368, 375 $T OFF.JR(n) 798 $T OFF.JT(n) 803 $T OFF(n).ST 814, 821 NOTIFY $D OFF(n).JR 357, 358 $D OFF(n).JT 357, 358 NPRO $ADD PRINTER 145 $D PRTnnnn 412 $D Rnnnn.PRm 412 $T PRINTERnnn 862 $T PRTnnn 862 $T Rnnnn.PRm 862 NSVn|NETSRVn $D U 473 NSVS $D U 473 NTHRU $D NETACCT 331 NUM $D ESTBYTE 234 $D ESTIME 238 $D ESTLNCT 235 $D ESTPAGE 236 $D ESTPUN 237 $T ESTBYTE 692 $T ESTIME 694 $T ESTLNCT 696 $T ESTPAGE 698 $T ESTPUN 700 NUMBER $D COMPACT 219 NUMPRt $T RMTnn 909 NUMPUn $T RMTnn 909 NUMRDr $T RMTnn 910
O
O $CO Job 190 $D OFF(n).ST 366, 375 $D PRTnnnn 411 $D Rnnnn.PRm 411 $DO Job 352
974
O (continued) $G A 511 $G C 513 $G D 515 $G H 517 $G R,OUT 520 $G R,XEQ 523 $O Job 563 $PO Job 593 $T OFF(n).ST 813, 820 OFFLOADn $P 600 $S 641 OFFn.JR $C 195 $P 598 $S 639 OFFn.JT $C 195 $E 503 $P 598 $S 639 OFFn.SR $C 195 $P 598 $S 639 OFFn.ST $C 195 $E 503 $P 598 $S 639 OFFS $A job 112 $C job 181 $D job 263 $D U 473 $DO Job 352 $E job 490 $H job 529 $P job 578 $T JOB 718 $TO JOB 791 OPT $D ESTBYTE 234 $D ESTIME 238 $D ESTLNCT 235 $D ESTPAGE 236 $D ESTPUN 237 $T ESTBYTE 692 $T ESTIME 694 $T ESTLNCT 696 $T ESTPAGE 698 $T ESTPUN 700 OPVERIFY $D CKPTDEF 214 $T CKPTDEF 670 OUT $G R 520 OUTDisp $D L(nnnn).ST(n) 290 $D OFF(n).ST 367, 368, 375
OUTDisp (continued) $D OUTCLASS 384 $R 613 $T OFF(n).ST 815 $T OUTCLASS(n) 832 OUTDISP $CO Job 192 $DO Job 352 $PO Job 594 $T L(nnnn).ST(n) 745 $T OFF(n).ST 821 $TO JOB 790 OUTGrp $CO 192 $DO Job 351 $O Job 564 $PO job 594 $TO JOB 790 OUTGRPS $L 554 OUTNUM $D PCEDEF 399 output $CO 192 $DO Job 348 $O 564 $PO 595 $TO 786 conditional purge $D JOBCLASS command 268 OUTPUT $D OUTCLASS 384 OUTTIME $D OUTDEF 387 $T OUTDEF 836 OWNER $D RDI 431 $T RDI 887 OWNMEMB $D MASDEF 310 OWNNAME $D NJEDEF 337 OWNNODE $D NJEDEF 337 OWNSID $D MASDEF 310
P
P $D R(nn).RD(mm) 436 $D RDR(nn) 436 $S LINEnnnn BSC line node communication 630 $S SPL 650 $S SPOOL 650 $T OUTCLASS(n) 833 $T RDRnn 892 $T Rnnnnn.RDm 892 $TO JOB 791
Index
975
PAGE $D OUTPRTY 389 $T OUTPRTY(n) 839 page limit changing for SYSOUT transmitters 745 displaying for SYSOUT transmitters 289 pages $F PRTnnnn 506 PAGEs $DO Job 352 $TO JOB 791 PAGES $CO 193 $D TRACEDEF 470 $L job 554 $O Job 564 $PO job 595 parameter JES2 initialization JTNUM on LINE(nnnnn) 130, 751 STNUM on LINE(nnnnn) 131, 752 PARTNUM $D INITDEF 248 Password $ADD LGN 133 $ADD LINE 130 $ADD LNE 130 $ADD LOGON 133 $D LGN 303 $D LINE(nnnn) 295 $D LOGON 303 $D NODE 342 $T LINE(nnnn) 751 $T LOGON(n) 756 $T NODE(nnnnn) 778 $T RMTnn 910 PATH $D 391 $D NJEDEF 337 PATHMGR $D CONNECT 226 $D NODE 342 $T CONNECT 679 $T NODE(nnnnn) 779 Pause $ADD PRINTER 145 $ADD PRT 145 $D PRTnnnn 412 $D PUNnn 421 $D Rnnnn.PRm 412 $T PUNnn 877 $T Rnnnn.PUm 877 Rnnnn.PUm 421 pce $D 394 $T 841 pcetype DETails $D pce 396 PENCRYPT $D NODE 342
PENCRYPT (continued) $T NODE(nnnnn) 779 Percent $H JOB 530 PERCENT $D SPOOL 453 PLIM $ADD PRINTER 145 $ADD PRT 145 $D OFF(n).ST 375 $D PRTnnnn 412 $D Rnnnn.PRm 412 $T L(nnnn).ST(n) 745 $T OFF(n).ST 821 $T PRINTERnnn 862 $T PRTnnn 862 $T Rnnnn.PRm 862 PRESELCT $ADD PRINTER 145 $ADD PRT 145 $D PRTnnnn 412 $D Rnnnn.PRm 412 $T PRINTERnnn 863 $T PRTnnn 863 $T Rnnnn.PRm 863 PRIMARY $ADD DEStid 124 $D DEStid 231 $T DEStid(vvvvvvvv) 689 PRINTDEF $D 401 printer WS criteria 871 PRinter $T 856 PRIOINC $D R(nn).RD(mm) 436 $D RDR(nn) 436 $T RDRnn 892 $T Rnnnnn.RDm 892 PRIOLIM $D R(nn).RD(mm) 436 $D RDR(nn) 436 $T RDRnn 892 $T Rnnnnn.RDm 892 Priority $A job 112 $D job 263 $E job 490 $H job 529 $T JOB 719 PRIORITY $CO Job 193 $D JOBPRTY(n) 278 $D OUTPRTY 389 $DO Job 352 $O Job 564 $PO Job 595 $T JOBPRTY(n) 739 $T OUTPRTY(n) 839 $TO JOB 791
976
PRIVATE $D CONNECT 226 $D NODE 342 $T NODE(nnnnn) 779 PRmode $CO Job 193 $DO Job 352 $O Job 564 $PO Job 595 PRMode $ADD PRINTER 145 $ADD PRT 145 $D OFF(n).ST 368, 369, 375 $D PRTnnnn 412 $D PUNnn 421 $D Rnnnn.PRm 412 $T OFF(n).ST 815, 821 $T PRINTERnnn 863 $T PRTnnn 863 $T PUNnn 877 $T Rnnnn.PRm 863 $T Rnnnn.PUm 877 $TO JOB 791 Rnnnn.PUm 421 PROC $ADD FSS 126 $D FSS 247 $D FSSDef 247 $D PRTnnnn 411 $D Rnnnn.PRm 411 $T FSS 705 processor trace $T PCE command 841 PROTECT $D OFFLOAD 380 $T OFFLOAD(n) 830 PROTected $C 181 $CO 193 $O Job 564 $P job 578 $PO job 595 PRT $R 611 PRTDEST $D R(nn).RD(mm) 436 $D RDI 431, 887 $D RDR(nn) 436 $T RDRnn 892 $T Rnnnnn.RDm 892 PRTnnnn $C 197 $D 410 $E 504 $F 507 $I 533 $N 559 $P 601 $S 643 $Z 940
PRTS $D U 473 PRTYHIGH $D JOBDEF 276 $D OUTDEF 387 $T JOBDEF 735 $T OUTDEF 836 PRTYINC $D INTRDR 255 $T INTRDR 711 PRTYJECL $D JOBDEF 276 $T JOBDEF 736 PRTYJOB $D JOBDEF 276 $T JOBDEF 736 PRTYLIM $D INTRDR 255 $T INTRDR 711 PRTYLOW $D JOBDEF 276 $D OUTDEF 387 $T JOBDEF 736 $T OUTDEF 836 PRTYOUT $D OUTDEF 387 $T OUTDEF 837 PRTYRATE $D JOBDEF 276 $T JOBDEF 736 PRWIDTH $T PRINTERnnn 863 $T PRTnnn 863 $T Rnnnn.PRm 863 PRYORATE $D OUTDEF 387 $T OUTDEF 837 PSONUM $D PCEDEF 399 PUN $R 611 punch WS criteria 880 PUNCHDEF $D 417 PUNDEST $D R(nn).RD(mm) 436 $D RDI 432, 887 $D RDR(nn) 436 $T RDRnn 892 $T Rnnnnn.RDm 892 PUNnn $C 198 $D 420 $E 505 $F 509 $N 560 $P 603 $S 645 $T 875 $Z 941
Index
977
PUNnnnn $I 535 PUNS $D U 473 Purge $C 181 PURGE $D job 263 $T OUTCLASS(n) 833 PURGENUM $D PCEDEF 399
Q
Q $D 423 $D R(nn).RD(mm) 435 $D RDI 431, 887 $D RDR(nn) 435 $R 611 $T RDRnn 891 $T Rnnnnn.RDm 891 $TO JOB 791 Q=CNV $D N 328 $D Q 425 Q=HOLD $D N 329 $D Q 425 Q=OUT $D N 329 $D Q 425 Q=PPU $D N 329 $D Q 425 Q=XEQ $D N 328 $D Q 425 Q=XMT $D N 329 $D Q 425 QREBUILD $D MASDEF 310 QUESHELD $D MASDEF 310 Queue $A 112 $ADD PRINTER 143 $ADD PRT 143 $C 181 $CO 193 $D job 263 $D OFF(n).ST 368, 369, 375 $D PRTnnnn 410 $D PUNnn 420 $D Rnnnn.PRm 410 $H JOB 529 $O Job 565 $P job 579 $PO job 595 $T JOB 719
Queue (continued) $T OFF(n).ST 815, 821 $T PRINTERnnn 863 $T PRTnnn 863 $T PUNnn 877 $T Rnnnn.PRm 863 $T Rnnnn.PUm 877 Rnnnn.PUm 420 QUEUE $DO Job 352 $TO JOB 791 QUICK $P JES2 571
R
R $D F 242 $D M 307 $D N 327 $D Q 423 $G R,OUT 521 $R 612 $R XEQ 616 $T PRINTERnnn 861 $T PRTnnn 861 $T PUNnn 877 $T Rnnnn.PRm 861 $T Rnnnn.PUm 877 RANGE $ADD PRINTER 146 $ADD PRT 146 $D JOBDEF 276 $D OFF(n).JR 357 $D OFF(n).JT 357, 362 $D OFF(n).SR 357 $D OFF(n).ST 357, 369, 376 $D PRTnnnn 412 $D PUNnn 421 $D Rnnnn.PRm 412 $T JOBDEF 736 $T OFF.JR(n) 798 $T OFF.JT(n) 804 $T OFF(n).ST 821 $T PRINTERnnn 864 $T PRTnnn 864 $T PUNnn 878 $T Rnnnn.PRm 864 $T Rnnnn.PUm 878 Rnnnn.PUm 421 RASSIGN $D JOBDEF 276 $T JOBDEF 737 RDBLBUFR $D PRINTDEF 402 $D PUNCHDEF 417 Rdest $D DESTDEF 229 RDIRAREA $D CONDEF 222 $T CONDEF 676
978
RDRCHAR $D CONDEF 222 $T CONDEF 676 RDRnn $C 199 $D 435 $P 604 $S 647 $T 893 $Z 942 RDRS $D U 473 reader command authority $T RDI command 885 $T RDRnn command 889 halt $Z RDRnn 942 Ready $L job 554 READY $CO 193 $DO Job 352 $L 554 $PO job 595 $TO JOB 791 REBUILD $A 113 $CO 193 $D job 263 $DO Job 352 $E Job 490 $H JOB 530 $O Job 565 $P job 579 $PO job 595 $T JOB 719 $TO JOB 791 RECeive $D NODE 342 $T NODE(nnnnn) 779 RECEIVE $S OFFLOADn 641 RECFM $T RMTnn 910 RECONFIG $D CKPTDEF 214 $T CKPTDEF 670 RECONFIG start option specifying HASPPARM=ddname 8 RECORD $D OUTPRTY 389 $T OUTPRTY(n) 839 RECORDS $CO 193 $CO Job 193 $DO Job 352 $L job 554 $O Job 565 $PO job 595 $PO Job 595 $TO JOB 791
RECVopts(*) $D 440 RECVopts(type) $D 440 redirect $T REDIRect 899 REL $TO JOB 791 RELease $TO JOB 791 RESET $D CONNECT 226 $T PRINTERnnn 861 $T PRTnnn 861 $T Rnnnn.PRm 861 RESETBY $D MEMBER 315 REST $ADD APPL 117 $ADD LINE 130 $ADD LNE 130 $D APPL 208 $D CONNECT 226 $D LINE(nnnn) 295 $D NODE 343 $T APPL 663 $T CONNECT 679 $T LINE(nnnn) 752 $T NODE(nnnnn) 779 RESTART $D MASDEF 310 $T MASDEF 759 RESTMAX $D NJEDEF 337 $T NJEDEF 769 RESTNODE $D NJEDEF 337 $T NJEDEF 769 RESTTOL $D NJEDEF 337 $T NJEDEF 769 RETPD $D OFFLOAD 380 $T OFFLOAD(n) 830 RMdest $D DESTDEF 229 RMODE $D LOADMOD(jxxxxxxx) 300 RMT $D U 473 RMT150 $T RMTnn 910 RMTdest $D DESTDEF 229 RMTMSG $D TPDEF 466 $T TPDEF 928 RMTn-* $D U 473 RMTn-n $D U 473
Index
979
RMTNUM $D TPDEF 466 RMTS $D U 473 RMTSHARE $D LINE(nnnn) 295 Rnn.CONmm $D 428 Rnn.RDmm $D 435 Rnnnn $C 179 Rnnnn.PRm $C 197 $D 410 $E 504 $F 507 $I 533 $N 559 $P 601 $S 643 $T 856 $Z 940 Rnnnn.PUm $C 198 $E 505 $F 509 $I 535 $N 560 $P 603 $S 645 $T 875 $Z 941 Rnnnn.RDm $C 199 $P 604 $S 647 $T 893 Route $TO JOB 788 Routecde $ADD PRINTER 146 $ADD PRT 146 $CO 190 $D OFF(n).JR 357 $D OFF(n).JT 357, 362 $D OFF(n).SR 357 $D OFF(n).ST 357, 368, 369, 376 $D PRTnnnn 412 $D PUNnn 421 $D Rnnnn.PRm 412 $DO Job 349 $O Job 563 $PO job 592 $T OFF.JR(n) 797, 798 $T OFF.JT(n) 804 $T OFF(n).ST 815, 822 $T PRINTERnnn 863 $T PRTnnn 863 $T PUNnn 877 $T RMTnn 911
Routecde (continued) $T Rnnnn.PRm 863 $T Rnnnn.PUm 877 Rnnnn.PUm 421 ROUtines $D EXIT 240 $D LOADMOD(jxxxxxxx) 300 $D MODULE(jxxxxxxx) 322 ROUTINES $D MODULE(jxxxxxxx) 323 RSVHELD $D MASDEF 311
S
S $D A job 200 $G A 511 $G C 513 $G D 515 $G H 517 $G R,OUT 520 $R 612 $T INTRDR 711 $T RDRnn 893 $T Rnnnnn.RDm 893 SCHENV $A job 113 $C job 182 $D job 263 $D OFF(n).JT 362 $E job 490 $H job 530 $P job 579 $T OFF(n).JR 799, 803 $T OFF(n).JT 799, 803 SCHENV_AFF $A job 113 $C job 182 $D job 264 $E job 490 $H job 530 $P job 579 $T job 719 SECLABEL $A job 113 $C job 182 $CO Job 193 $D job 264 $DO Job 352 $E job 490 $H job 530 $O Job 565 $P job 579 $PO Job 595 $T job 720 $TO JOB 791 SECURITY $T DEBUG 681 SEGLIM $D OUTDEF 387
980
SEGLIM (continued) $T OUTDEF 837 SELECT $T PRINTERnnn 864 $T PRTnnn 864 $T PUNnn 878 $T Rnnnn.PRm 864 $T Rnnnn.PUm 878 SENTREST $D NODE 343 $T NODE(nnnnn) 780 Sep $ADD PRINTER 146 $ADD PRT 146 $D PRTnnnn 413 $D PUNnn 421 $D Rnnnn.PRm 413 $T PRINTERnnn 865 $T PRTnnn 865 $T PUNnn 879 $T Rnnnn.PRm 865 $T Rnnnn.PUm 879 Rnnnn.PUm 421 SEPCHARS $ADD PRINTER 147 $ADD PRT 147 $D PRTnnnn 413 $D Rnnnn.PRm 413 $T PRINTERnnn 865 $T PRTnnn 865 $T Rnnnn.PRm 865 SEPDS $ADD PRINTER 147 $ADD PRT 147 $D PRTnnnn 413 $D PUNnn 421 $D Rnnnn.PRm 413 $T PRINTERnnn 865 $T PRTnnn 865 $T PUNnn 879 $T Rnnnn.PRm 865 $T Rnnnn.PUm 879 Rnnnn.PUm 421 SEPPAGE $D PRINTDEF 402 $T PRINTDEF 846 SEQ DETails $D pce 396 SESsions $D LGN 303 $D LINE(nnnn) 295 $D LOGON 303 SESSIONS $D 334 $D TPDEF 466 $T TPDEF 928 SETUP $ADD PRINTER 147 $ADD PRT 147 $D PRTnnnn 413
SETUP (continued) $D PUNnn 421 $D Rnnnn.PRm 413 $T PRINTERnnn 865 $T PRTnnn 865 $T PUNnn 879 $T RMTnn 911 $T Rnnnn.PRm 865 $T Rnnnn.PUm 879 Rnnnn.PUm 421 SHARable $T RMTnn 911 SHARED $D MASDEF 311 $T MASDEF 759 shortcut keys 947 SHOWUSER $D DESTDEF 229 $T DESTDEF 684 SIGNON $D NODE 343 SIZE $T TRACEDEF 930 SLEVEL $D MEMBER 315 $E MEMBer 499 $T MEMBER 762 SMFDEF $D 446 SNA NJE LINE parameter 663 SNABUF $D TPDEF 466 $T TPDEF 928 SOCKET $ADD 136 VTAM application 167 $D 334 VTAM application 448 $E 501 $P 587 $S 637 $T 766 VTAM application 917 TCP/IP node communication 635 SPACE $D PRTnnnn 413 $D Rnnnn.PRm 413 $T PRINTERnnn 861 $T PRTnnn 861 $T Rnnnn.PRm 861 SPEED $ADD LINE 130 $ADD LNE 130 $D LINE(nnnn) 295 $T LINE(nnnn) 752 SPIN $T JOB 720 $T TRACEDEF 930 SPINNABLE $D job 264
Index
981
SPINNUM $D PCEDEF 399 SPL $A 113 $C 182 $D job 264 $E Job 490 $H JOB 530 $P job 579 $T JOB 720 $Z 943 SPLevel $D LOADMOD(jxxxxxxx) 300 $D MODULE(jxxxxxxx) 323 SPLEVEL $D EXIT 240 SPOOL $A 113 $C 182 $D job 264 $D OPTSDEF 382 $E Job 490 $H JOB 530 $P job 579 $T JOB 720 $Z 943 SPOOLNUM $D SPOOLDEF 458 $T SPOOLDEF 922 SRNUM $D LINE(nnnn) 295 $D NJEDEF 337 SRVCLASS $A job 113 $C job 182 $D job 264 $D OFF(n).JT 362 $E job 490 $H job 530 $P job 580 $T JOB 720 $T OFF(n).JR 799, 804 $T OFF(n).JT 799, 804 SSI(*) $D 460 $T 925 SSI(nnn) $D 460 $T 925 SSNAME $D MEMBER 315 STACK $ADD 136 $D 334 $E 501 $P 587 $S 638 $T 766 STACNUM $D PCEDEF 399
START $D OFF(n).JR 358 $D OFF(n).JT 358, 362 $D OFF(n).SR 358 $D OFF(n).ST 358, 371, 377 $D TRACE(nnn) 468 $T TRACEDEF 930 start option specifying 6 specifying $P JES2 8 specifying CKPT1 8 specifying COLD 8 specifying CONSOLE 8 specifying FORMAT 8 specifying HASPPARM=ddname 8 specifying NOLIST 8 specifying NONE 8 specifying NOREQ 8 specifying RECONFIG 8 STARTIME $D MEMBER 315 STARTopt $D OPTSDEF 382 STARTYPE $D MEMBER 315 $D OPTSDEF 382 STATE $D CONNECT 226 STATIC $D CONNECT 226 STATS $D TRACEDEF 470 STATUS $D 334 $D APPL 208 $D CONNECT 226 $D DEStid 232 $D EXIT 240 $D L(nnmm).JT(n) 284 $D L(nnnn).JR(n) 280 $D L(nnnn).ST(n) 290 $D LGN 303 $D LINE(nnnn) 295 $D LOGON 303 $D MEMBER 315 $D NODE 343 $D OFF(n).JR 358 $D OFF(n).JT 358, 362 $D OFF(n).SR 358 $D OFF(n).ST 358, 371, 377 $D OFFLOAD 381 $D PRTnnnn 413 $D PUNnn 421 $D R(nn).RD(mm) 436 $D RDR(nn) 436 $D Rnn.CONmm 428 $D Rnnnn.PRm 413 $D SPOOL 453 $D I 251 $D Init 251 $D L(nnnn).SR(n) 286
982
STATUS (continued) $E MEMBer 499 $P Inn 569 $P Inn-mm 569 $S I(vvvv) 621 $S init(vvvv) 621 $T APPL 663 $T EXIT(nn) 702 $T INIT 707 $T MEMBER 762 $Z Initvvvv 937 $Z Ivvvv 937 Rnnnn.PUm 421 Stc $A 113 $C 182 $CO 193 $D 259 $DO 348 $E 490 $H 530 $L 554 $O 565 $P 580 $PO 595 $T 720 $TO 787 STC $D A job 200 $D I 251 $D Init 251 $G H 517 $G R,OUT 520 $P I 569 $S I(vvvv) 621 $S init(vvvv) 621 $T INIT 707 $Z Initvvvv 938 $Z Ivvvv 938 STCn $G A 511 $G C 513 $G D 515 $R 612 STDFORM $D OUTDEF 387 STNUM $D LINE(nnnn) 296 $D NJEDEF 337 initialization parameter 131, 752 STORage $D LOADMOD(jxxxxxxx) 300 STORAGE $T DEBUG 681 STRname $T CKPTDEF 669 SUBnet $D NODE 344 $T NODE(nnnnn) 780 subnetname $D 463
SUSPEND $D PRTnnnn 413 $D Rnnnn.PRm 413 $T PRINTERnnn 865 $T PRTnnn 865 $T PUNnn 879 $T Rnnnn.PRm 865 $T Rnnnn.PUm 879 SYMREC $T DEBUG 682 SYNCTOL $D MASDEF 311 $T MASDEF 759 syntax diagrams how to read 105 Sysaff $A job 113 $C job 183 $D INTRDR 255 $D job 264 $D R(nn).RD(mm) 436 $D RDI 432, 887 $D RDR(nn) 436 $E job 490 $H job 530 $P job 580 $T INTRDR 711 $T JOB 720 $T RDRnn 893 $T Rnnnnn.RDm 893 SYSaff $D OFF(n).JR 358 $D OFF(n).JT 358, 362 $D OFF(n).SR 358 $D OFF(n).ST 358 $T OFF.JR(n) 798, 799 $T OFF.JT(n) 804 SYSAFF $D SPOOL 453 $S SPL 651 $S SPOOL 651 $T SPL 919 $T SPOOL 919 SYSNAME $D MEMBER 317 $E MEMBer 499 $T MEMBER 764 System $T INTRDR 710 $T NODE(nnnnn) 775 $T RDRnn 891 $T Rnnnnn.RDm 891
T
T $ADD PRINTER 147 $ADD PRT 147 $CO Job 193 $D OFF(n).ST 368, 371, 377 $D PRTnnnn 414
Index
983
T (continued) $D Rnnnn.PRm 414 $DO Job 352 $G A 511 $G C 513 $G D 515 $G H 517 $G R,OUT 520 $O Job 565 $PO Job 595 $R 612 $T A 658 $T OFF(n).ST 816, 823 $T PRINTERnnn 865 $T PRTnnn 865 $T Rnnnn.PRm 865 $TO JOB 791 TABFREE $D TRACEDEF 471 TABLES $D TRACEDEF 471 $T TRACEDEF 930 TABWARN $D TRACEDEF 471 $T TRACEDEF 931 TERM $P JES2 572 TGINUSE $D SPOOL 453 TGNUM $D SPOOL 453 Tgs $H JOB 530 TGSIZE $D SPOOLDEF 458 $T SPOOLDEF 922 TGSPACE $D SPOOLDEF 458 $T SPOOLDEF 922 TIME $D CONNECT 227 $D JOBPRTY(n) 278 $D MEMBER 317 $T JOBPRTY(n) 739 $T NJEDEF 769 DETails $D pce 396 TIMEtol $D NJEDEF 337 TP $D U 473 TPDEF $D 465 TR $T EXIT(nn) 702 $T INTRDR 711 Trace $T PCE 843 TRace $ADD PRINTER 148 $ADD PRT 148
TRace (continued) $D EXIT 241 $D INTRDR 255 $D NODE 344 $D pce 397 $D PRTnnnn 414 $D PUNnn 422 $D R(nn).RD(mm) 436 $D RDI 432, 887 $D RDR(nn) 436 $D Rnnnn.PRm 414 $D SSI(nnn) 461 $T NODE(nnnnn) 780 $T PRINTERnnn 866 $T PRTnnn 866 $T PUNnn 879 $T RDRnn 893 $T Rnnnn.PRm 866 $T Rnnnn.PUm 879 $T Rnnnnn.RDm 893 $T SSI(*) 925 $T SSI(nnn) 925 Rnnnn.PUm 422 trace identifier identifier 609 TRace(nnn) $D 468 TRACEDEF $D 470 Traceio $ADD LGN 133 $ADD LOGON 133 TRaceio $ADD 136 $D 334 $D LGN 303 $D LINE(nnnn) 131, 296, 752 $D LOGON 303 $E 501 $P 587 $S 637 $T 766 $T LOGON(n) 756 track group spool volume $T SPOOLDEF command 921 TRANS $ADD PRINTER 148 $ADD PRT 148 $D PRINTDEF 402 $D PRTnnnn 414 $D Rnnnn.PRm 414 $T PRINTERnnn 866 $T PRTnnn 866 $T Rnnnn.PRm 866 TRAnsmit $D NODE 344 $T NODE(nnnnn) 781 TRANSMIT $S OFFLOADn 641
984
TRANSPAR $ADD LINE 131 $ADD LNE 131 $D LINE(nnnn) 296 $T LINE(nnnn) 753 $T RMTnn 912 TRKCELL $ADD PRINTER 148 $ADD PRT 148 $D OUTCLASS 385 $D PRTnnnn 414 $D Rnnnn.PRm 414 $D SPOOLDEF 458 $T PRINTERnnn 866 $T PRTnnn 866 $T Rnnnn.PRm 866 TRKPERTGB $D SPOOL 453 TSOavail $DO Job 352 $TO JOB 791 Tsu $C 183 $CO 193 $D 259 $DO 348 $E 490 $H 530 $L 554 $O 565 $P 580 $PO 595 $T 720 $TO 787 TSU $G H 517 $G R,OUT 520 TSUn $G A 511 $G C 513 $G D 515 $R 612 type $T RECVopts 896 TYPE $A 114 $C 183 $D job 264 $D NETACCT 332 $D OFFLOAD 381 $E Job 491 $H JOB 530 $P job 580 $S OFFLOADn 641 $T JOB 720
U
U $D 472 $D R(nn).RD(mm) 436
U (continued) $D RDR(nn) 436 $T RDRnn 892 $T Rnnnnn.RDm 892 UCS $ADD PRINTER 147 $ADD PRT 147 $CO Job 193 $D OFF(n).ST 368, 371, 377 $D PRINTDEF 402 $D PRTnnnn 414 $D Rnnnn.PRm 414 $DO Job 352 $O Job 565 $PO Job 595 $T OFF(n).ST 816, 823 $T PRINTERnnn 865 $T PRTnnn 865 $T Rnnnn.PRm 865 $TO JOB 791 UCSVerfy $ADD PRINTER 148 $ADD PRT 148 $D PRTnnnn 414 $D Rnnnn.PRm 414 $T PRINTERnnn 867 $T PRTnnn 867 $T Rnnnn.PRm 867 Udest $D DESTDEF 229 UNCONDitional parameter on PROCLIB statement 850 UNIT $ADD LINE 132 $ADD LNE 132 $ADD PRINTER 148 $ADD PRT 148 $D L(nnmm).JT(n) 284 $D L(nnnn).JR(n) 281 $D L(nnnn).ST(n) 290 $D LINE(nnnn) 296 $D PRTnnnn 414 $D PUNnn 422 $D Rnnnn.PRm 414 $D L(nnnn).SR(n) 287 $T LINE(nnnn) 753 $T OFFLOAD(n) 830 $T PRINTERnnn 867 $T PRTnnn 867 $T PUNnn 880 $T RDRnn 894 $T Rnnnn.PRm 867 $T Rnnnn.PUm 880 $T Rnnnn.RDm 894 Rnnnn.PUm 422 UNIT parameter on PROCLIB statement 849 UNITDATA $D SPOOL 453 USECOUNT $D EXIT 241
Index
985
USECOUNT parameter on PROCLIB statement 850 USERID $A job 114 $C job 183 $CO Job 193 $D job 264 $DO Job 352 $E job 491 $H job 530 $O Job 565 $P job 580 $PO Job 596 $T job 720 $TO JOB 791 USERSET $D OUTDEF 387 UVERSION $D MODULE(jxxxxxxx) 323
Volume (continued) $D SPOOLDEF 458 $P SPOOL 607 $T OFF.JT(n) 804 $T OFF(n).ST 823 $Z SPL 943 $Z SPOOL 943 Rnnnn.PUm 422 VOLUME $T PRINTERnnn 867 $T PRTnnn 867 $T PUNnn 880 $T Rnnnn.PRm 867 $T Rnnnn.PUm 880 $T SPOOLDEF 922 Volumes $H JOB 530
W
W $T OUTCLASS(n) 833 WAITIME $T RMTnn 912 warm start specifying 8 WARMTIME $D MASDEF 311 WARN $D BUFDEF 210 $T BUFDEF 665 $T NJEDEF 768 $T TPDEF 927, 928 WRITE $T OUTCLASS(n) 833 Writer $ADD PRINTER 149 $ADD PRT 149 $CO Job 193 $D OFF(n).ST 368, 371, 378 $D PRTnnnn 414 $D PUNnn 422 $D Rnnnn.PRm 414 $DO Job 352 $O Job 565 $PO Job 596 $T OFF(n).ST 816, 823 $T PRINTERnnn 867 $T PRTnnn 867 $T PUNnn 880 $T Rnnnn.PRm 867 $T Rnnnn.PUm 880 Rnnnn.PUm 422 WS $ADD PRINTER 149 $ADD PRT 149 $D L(nnmm).JT(n) 284 $D OFF(n).JR 358 $D OFF(n).JT 358, 362 $D OFF(n).SR 358 $D OFF(n).ST 358, 372, 378
V
V $D A job 201 $D N 327 $D Q 423 VALIDATE $D OFFLOAD 381 $T OFFLOAD(n) 830 VERSION $D MEMBER 317 $D MODULE(jxxxxxxx) 323 $E MEMBer 499 $T MEMBER 764 VERSIONS $D CKPTDEF 214 $T CKPTDEF 671 VOLATILE $D CKPTDEF 215 $T CKPTDEF 671 VOLS $D OFFLOAD 381 $T OFFLOAD(n) 830 volser $S SPL 651 $S SPOOL 651 $T SPL 919 $T SPOOL 919 VOLser $T CKPTDEF 669 VOLser parameter on PROCLIB statement 850 Volume $ADD PRINTER 149 $ADD PRT 149 $D OFF(n).JT 362 $D OFF(n).ST 378 $D PRTnnnn 414 $D PUNnn 422 $D Rnnnn.PRm 414 $D SPOOL 453
986
WS (continued) $D PRTnnnn 414 $D PUNnn 422 $D Rnnnn.PRm 414 $T L(nn).JT(nn) 741 $T L(nnnn).ST(n) 745 $T OFF.JR(n) 799 $T OFF.JT(n) 805 $T OFF(n).ST 823 $T PRINTERnnn 867 $T PRTnnn 867 $T PUNnn 880 $T Rnnnn.PRm 867 $T Rnnnn.PUm 880 display remote punch 422 Rnnnn.PUm 422 WS criteria off.jr 799 off.jt 805 off.st 741, 745, 823 punch 880 remote printer 414 set printer 871
Y
Y $D PRTnnnn 412 $D Rnnnn.PRm 412
Z
Z $S SPL 651 $S SPOOL 651
X
X $D A job 200 $T PRINTERnnn 868 $T PRTnnn 868 $T Rnnnn.PRm 868 X1-4 $D PRTnnnn 410 $D Rnnnn.PRm 410 XCFGRPNM $D MASDEF 311 XEQ $D A job 200 $G R 522 $P 610 $R 616 Xeqdest $D R(nn).RD(mm) 436 $D RDR(nn) 436 $T RDRnn 894 $T Rnnnn.RDm 894 XEQNode $A 114 $C 183 $H JOB 530 $P job 580 $T JOB 720 XEQNODE $D job 264 xx* $T NODE 774 xxxxxxx $D DEStid 231 xxxxxxxx $D NODE 341 $DEL DEStid 480
Index
987
988
Overall satisfaction
How satisfied are you that the information in this book is: Very Satisfied h h h h h h Satisfied h h h h h h Neutral h h h h h h Dissatisfied h h h h h h Very Dissatisfied h h h h h h
Accurate Complete Easy to find Easy to understand Well organized Applicable to your tasks
h Yes
h No
When you send comments to IBM, you grant IBM a nonexclusive right to use or distribute your comments in any way it believes appropriate without incurring any obligation to you.
Address
___________________________________________________________________________________________________
Tape do not Fold and _ _ _ _ _ _ _Fold _ _ _and ___ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Please _____ __ _ _ staple _____________________________ ___ _ _ Tape ______ NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES
IBM Corporation Department 55JA, Mail Station P384 2455 South Road Poughkeepsie, NY 12601-5400
_________________________________________________________________________________________ Please do not staple Fold and Tape Fold and Tape
SA22-7526-05
Printed in USA
SA22-7526-05