$D REDIRect - Redirect command responses

Function

To allow the operator to display redirection targets of command responses. These responses are to commands entered at a particular console.

Syntax

Read syntax diagramSkip visual syntax diagram$DREDIRect entry_console-entry_console*'entry_console'(,entry_console*-entry_console*entry_console'entry_console') ,DA,DCONNECT,DEF,DF,DI,DJDSDT,DN,DNODE,DQ,DSPL,DU,LJLSLT

Parameters

entry_console
Specifies the active MCS console. If you enter any redirected commands from this console, it displays responses to those commands at another console or area. * specifies the redirection for all consoles that have any redirection set up on them. Do not specify a console area.
cmd
Specifies the group of JES2 commands to be affected. You can specify more than one command.
The allowed list of display commands includes the following:
DA
Display active job
DCONNECT
Display JES2 network connections
DEF
Display JES2 parameter definitions
DF
Display forms queue
DI
Display initiators
DJ|DS|DT
Display JOB, STC, TSU information
DN
Display queued jobs
DNODE
Display NJE nodes
DQ
Display number of queued jobs
DSPL
Display spool volumes
DU
Display units
LJ|LS|LT
List JOB, STC, TSU output

Authority Required

This command requires display authority. The description of the $T RDRnn command explains how to ensure that the authority of the appropriate MVS™ system command group is assigned. The $T INTRDR Command sets the command authority for internal readers.

This command requires read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.

Scope

Single member. The response to this command will be a display of information about this member only. There is no need to issue this command for all members of the MAS.

Messages

The $HASP818 message is issued in response to this command. If no redirection has been set up for the specified entry console, the $HASP003 RC=52 message indicates that the operator entered the command incorrectly.

Examples

 1   $d redirect(cn3e0)
  $HASP818 REDIRECT(CN3EO)     DA=CN3EO,DF=CN3EO,DI=CN3EO,DJ=
                               CN3EO,DN=CN3EO,DQ=CN3EO,DU=CN3EO,
                               DCONNECT=CN3EO,DNODE=320,DEF=
                               CN3EO,DSPL=CN3EO,LJ=CN3EO
Shows what redirection has been set up for console CN3E0.
 2   $d redir(*)
  $HASP818 REDIRECT(CN320)     DA=CN3EO-A,DF=CN320,DI=CN320,DJ=
                               CN320,DN=CN320,DQ=CN320,DU=CN320,
                               DCONNECT=CN320,DNODE=CN320,DEF=
                               CN320,DSPL=CN320,LJ=CN320
  $HASP818 REDIRECT(CN3EO)     DA=CN3EO,DF=CN3EO,DI=CN3EO,DJ=
                               CN3EO,DN=CN3EO,DQ=CN3EO,DU=CN3EO,
                               DCONNECT=CN3EO,DNODE=CN320,DEF=
                               CN3EO,DSPL=CN3EO,LJ=CN3EO
Shows the redirection for all consoles that have any redirection set up on them.
 3   $d redirect(cn3e0),da,di
  $HASP818 REDIRECT(CN3EO)     DA=CN3EO-A,DI=CN320