HP (Hewlett-Packard) HP 3000 Laptop User Manual


 
Chapter 7 579
Command Definitions S-SO
SHOWJCW
SHOWJCW
Displays the current state of one or more job control word (JCW) variables.
Syntax
SHOWJCW[ jcwname]
Parameters
jcwname The name of a valid job control word (JCW) variable. Default is that all
user-defined and system-defined JCWs are displayed.
Operation Notes
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 classed as variables of type JCW.
Specifying a particular JCW (user-defined, system-defined, or system-reserved) displays
the value 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 USER.TECHPUBS;COMPILE FAILED
!ELSE
! TELL USER.TECHPUBS;COMPILE COMPLETED
!ENDIF
Use
This command may be issued from a session, job, program, or in BREAK. Pressing Break
aborts the execution of this command.