z/OS TSO/E Customization
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Summary of using the bytes of word 5

z/OS TSO/E Customization
SA32-0976-00

The SUBMIT command processor uses byte 1 of word 5 to identify the column in which the operand field begins. It also uses byte 3 of word 5 to identify:
  • JES2 control statements (bit 0)
  • JES3 control statements and comment statements (bit 1)
  • JES3 control statements (bit 2)
  • SUBMIT-generated job statements (bit 3).
The SUBMIT command processor interprets the following statement as a JES2 control statement. It sets bit 0 of byte 3 on and determines that the operand field begins in column 15. Therefore, it sets byte 1 to X'0F'.
/*JES2CTLSTMT OPERAND
The SUBMIT command processor interprets the following statements as either JES3 control statements or comment statements.
//* OPERAND
//*COMMENT OPERAND
//*JES3CTLSTMT OPERAND
The command processor sets bit 1 of byte 3 on. Byte 1 contains the following hexadecimal values. These values indicate the beginning of the operand field for each of these three statements:
  • X'05'
  • X'0C'
  • X'10'

If the current statement has // in columns 1 and 2, but the SUBMIT command processor does not recognize the statement as a JOB, EXEC, or DD statement, it assumes that it is an operator command entered into the input stream. In this case, the command processor sets bit 3 in byte 2 on.

You can continue any type of statement except the following:
  • Comment statements
  • JES2 control statements
  • JES3 control statements
You can indicate that a statement is to be continued by having:
  • A comma as the last character of the operand, or
  • A non-blank character in column 72.

If a statement has a comma as the last character of the operand, the SUBMIT command processor sets bits 5 and 6 of byte 2 on. In this case, the operand itself in the statement is to be continued.

If a statement has a non-blank character in column 72, and the last character of the operand is not a comma, the SUBMIT command processor sets bit 6 of byte 2 on. In this case, the statement itself is to be continued.

Limitation: Unlike the JCL rules, the SUBMIT exit does not allow for the continuation of parameter fields enclosed in quotes. If required, split up the enclosed parameter field into several fields, thereby enclosing each in quotes. For example:
//NAMN1 OUTPUT JESDS=ALL,
//      ADDRESS=('text that describes a very long delivery address
        and does not fit on to a single line')
⋮
requires to code as follows:
//NAMN1 OUTPUT JESDS=ALL,
//      ADDRESS=('text that describes a very long delivery address',
        'and does not fit on to a single line')
⋮

The SUBMIT command processor does not pass the exit the preceding JCL statements if they are in a DD DATA (or DD *, for /*X statements) input data stream.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014