HPlogo Interprocess Communication: Programmer's Guide: HP 3000 MPE/iX Computer Systems > Chapter 2 IPC Using Job Control Words and Other Variables

Job Control Word Commands

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Several MPE/iX commands are available that allow you to set, alter, or display JCWs. These are:

:SETJCW

This command adds a JCW to the variable table, or alters the value of an existing variable. The value must fall within the valid range for a JCW, that is, in the range 0 through 65535.

Command syntax is as follows:


   :SETJCW jcwname delimiter [+ or -] value 

The jcwname parameter can contain the name of a new or existing user-defined or system-defined JCW. You can use @ to specify all currently defined JCWs.

The delimiter can be one or more punctuation characters or spaces, except for % or -. The value parameter must be one of the following:

  1. An octal number between 0 and %177777.

  2. A decimal number between 0 and 65,535.

  3. An MPE/iX-defined JCW value mnemonic, or an offset value of a mnemonic.

  4. The name of an existing JCW.

:SHOWJCW

This command displays the specified JCW or JCWs in the variable table.

:SHOWJCW, entered without parameters, displays all user-defined and system-defined JCWs currently in effect. The optional parameter jcwname must be the name of a valid JCW.

For more information and full syntax descriptions for the above commands, refer to the MPE/iX Commands Reference Manual (32650-90003).

NOTE: There is no DELETE intrinsic or command that applies specifically to Job Control Words. Since a JCW is a type of variable, you can use the HPCIDELETEVAR intrinsic or the :DELETEVAR command to delete it.
Feedback to webmaster