DD Command - Display DESTID

Use the DD command to display the DESTID settings for the selection criteria that you specify.
spool
Use the DD command to display the DESTID settings for the selection criteria that you specify.
This command has the following format:
DD[Fnnnnnn] [,U=uuuuuuuu] [,D=dddddddd] [,Q=q] [,O=oooooooo]
Specify one or more operands. All operands are optional.
If you specify the file sequence number operand, it must be the first operand. Also, see the explanation in first example after the parameter descriptions for information about optionally overriding the default behavior.
  • F
    nnnnnn
    Specifies the sequence number of the file for DESTID display.
  • U=
    Specifies the userid for the DESTID display.
    Specify a 1-8 character alphanumeric string. This operand specifies the highest priority selection criteria for the DESTID search.
  • D=
    Specifies the destination name for the DESTID display.
    Specify a 1-8 character alphanumeric string. This operand specifies the second highest priority selection criteria for the DESTID search.
  • Q=
    Specifies the output class for the DESTID display. The output class is a single character in the range A-Z or 0-9.
    This operand specifies the third highest priority selection criteria for the DESTID search.
  • O=
    Specifies the filename for DESTID display.
    The filename is a 1-8 character alphanumeric string.
    This operand specifies the lowest priority selection criteria for the DESTID search.
Examples
The following example displays the closest matching DESTID setting when the only selection criteria is file sequence number 4.
By default, if the DD command specifies only a file sequence number, the number is looked up in the file queue and the selection criteria (user id, destination, class, and filename) are taken from the actual file you selected. In this example, they are taken from file 4, before the search for the specified DESTID occurs.
However, you can optionally override this default behavior by specifying the selection criteria as the next parameters. For example, you can specify DDF4,Q=B,D=RADEK to override the class and destination selection criteria of file 4 before the search for the specified DESTID occurs.
DDF4 ESF890 DESTID QDEST=AFPEMLPD, ESF890 FADDRES1=MSGTYPE=TEXT, ESF890 FADDRES2='SUBJECT=EMAIL TEST', ESF890 FADDRES3=TO=RADEK, ESF890 FADDRES4=FILENAME=&FNM.PDF ESF890 END-OF-DISPLAY
The following example displays the closest matching DESTID setting when the selection criteria are file sequence number 12 and destination and user ID file attributes. The file sequence number overrides the additional selection criteria.
DDF12,D=B54131DA,U=B54131UA ESF890 DESTID QUSERID=B54131UA, ESF890 QDEST=B54131DA, ESF890 FDEST=DEST2 ESF890 END-OF-DISPLAY
The following example displays the closest matching DESTID setting when the only selection criteria is destination B54131DB.
DD,D=B54131DB ESF890 DESTID QDEST=B54131D*, ESF890 FDEST=DEST7 ESF890 END-OF-DISPLAY
The following example displays the closest matching DESTID setting when the selection criteria are user ID B54131UB and destination B54131DC.
DD,U=B54131UB,D=B54131DC ESF890 DESTID QUSERID=B54131U*, ESF890 QDEST=B54131DC, ESF890 FDEST=DEST6 ESF890 END-OF-DISPLAY
The following example displays the closest matching DESTID setting when the selection criteria are user ID B54131UA, destination B54131DA, class A, and filename B54131FA.
DD,U=B54131UA,D=B54131DA,Q=A,O=B54131FA ESF890 DESTID QUSERID=B54131UA, ESF890 QDEST=B54131DA, ESF890 QCLASS=A, ESF890 QFNAME=B54131FA, ESF890 FDEST=DEST4 ESF890 END-OF-DISPLAY