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


Routing JES2 command responses

z/OS JES2 Commands
SA32-0990-00

Because JES2 permits the entry of multiple commands on one line, you can enter the L= parameter to route command responses for:
  • A single command
  • All commands
  • Certain commands to specified active MCS consoles and the remaining responses to an alternate active MCS console.
Note: If you use the L= parameter or any of the REDIRect commands to redirect output to any out-of-line area, the output is issued as a multi-line WTO (write to operator) response to the specified area. The first line is the $HASP636 control line.
To route command responses for a single command, enter the L=consolename parameter as an operand of the command. L= is specified as follows:
  • a – the console area on this "entry console
  • consolename — the name of a "redirect console"
  • consolename-a – the name of a "redirect console" and its console area

For example:

$d j1-5,l=pok-b;ds1-5;dt1-5
 

JES2 routes the job information to display area B of console POKwhile routing remaining commands' responses to the default console.

To route command responses for all commands, enter a semicolon and the L=consolenameparameter after the last command.

For example:

$d j1-5;ds1-5;dt1-5;l=pok-b
 

JES2 routes the job, system task, and time-sharing information to display area B of console POK rather than to the default console.

To route certain command responses to a specified destination and the remaining responses to another, enter:
  • The L= parameter with the commands that are to be specially routed responses.
  • A semicolon and L= to route all commands not requiring specially routed responses.

For example:

$d j1-5,l=pok;;ds1-5;dt1-5;1=poklab-a
 

JES2 routes the job information to console POK, while routing the system task and time-sharing information to area A of console POKLAB.

Note: The L= parameter is not valid if entered through an internal reader. This restriction does not apply to L= subparameters that are normally enclosed in apostrophes.

For example:

$ta,i=30,'$da,l=pok-a',l=pok  /* AN INVALID COMMAND */
$ta,i=30,'$da,l=pok-a'       /* A VALID COMMAND */
 

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014