Generated from C.65.00 /SYSADMIN/PUB/MYCICAT last modified on Sun Aug 29 15:08:37 2004
Back to Main Index
Displays current state of one or more Job Control Words (JCWs) variables. (CM)
jcwname The name of a valid Job Control Word (JCW) variable. Default is that all user and system-defined JCWs are displayed.
The SHOWJCW command is used to display the current state of one or more Job Control Words (JCWs). Job Control Words in MPE/iX are now classed as system variables of type JCW. Specifying a particular JCW (user- or system-defined, or system-reserved) displays the state of that particular JCW. If you do not specify a particular JCW, user-defined and system-defined JCWs are displayed. The value of the third type of JCW, system-reserved JCW, is displayed only if you specifically enter its jcwname. The SHOWVAR command can be used to show variable values as well. You may retrieve the value assigned a JCW with the FINDJCW and HPCIGETVAR intrinsics. You may test the value of a JCW with an IF or WHILE command. In this way, the value of a given JCW can be used to conditionally execute another instruction or set of instructions. For example !CONTINUE !SPL MYPROG,MYUSL !IF JCW>=FATAL THEN ! TELL MAC.TECHPUBS;COMPILE FAILED !ELSE ! TELL MAC.TECHPUBS;COMPILE COMPLETED !ENDIF This command may be issued from a session, job, in BREAK, or from a program. Pressing [Break] aborts the execution of this command.
To show the current state of all user- and system-defined JCWs, enter SHOWJCW JCW = 0 CIERROR = 0 To display the current state of a valid user-defined Job Control Word named JCW1, enter SHOWJCW JCW1 JCW1=3 To display the contents of a system-reserved JCW, enter SHOWJCW HPDAY HPDAY=4
Help: Type HELP VARIABLES at the colon (:) prompt or type VARIABLES at the Help Facility (>) prompt. Commands: SETJCW, SETVAR, SHOWVAR Manuals : Appendix A, "Predefined Variables" in the MPE/iX Commands Reference Manual (32650-90003) Back to Main Index