z/OS JES2 Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Entering multiple commands on one line

z/OS JES2 Commands
SA32-0990-00

Both JES2 and MVS™ support the use of a delimiter character to enter more than one command on a single input line. JES2 uses a semicolon to delimit multiple lines. MVS uses the character specified by the CMDDELIM parameter in the CONSOLXX member of SYS1.PARMLIB.

Following are guidelines and examples for using JES2 and MVS delimiters:
  1. If you use the JES2 delimiter, separate the commands by a semicolon. Only the first command is prefixed by the $-sign (or the character you specified in CONDEF CONCHAR initialization parameter). You can only use the JES2 command delimiter (;) if MVS does NOT use the same character for CMDDELIM.
    Note: The JES2 command cannot be used with JES2 monitor commands (commands that start with $J).
    For example, you can use the JES2 delimiter between JES2 commands:
    $da;du;dn,all
     
  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
     
    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).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014