DSPDBR (Display Database Relations) syntax diagram


Job: B,I Pgm: B,I REXX: B,I Exec
Threadsafe: No
>>-DSPDBR------------------------------------------------------->
 
          .-*LIBL/--------.
>--FILE(--+---------------+--+-*ALL---------------+--)---------->
          +-*CURLIB/------+  +-generic*-file-name-+
          +-*USRLIBL/-----+  '-file-name----------'
          +-*ALLUSR/------+
          +-*ALL/---------+
          '-library-name/-'
 
                                                   (1)
>--+---------------------------------------------+-------------->
   |       .-*NONE-------.                       |
   +-MBR(--+-member-name-+--)--------------------+
   '-RCDFMT(--+-*NONE-----------------------+--)-'
              +-*ALL------------------------+
              +-record-format-name----------+
              '-generic*-record-format-name-'
 
>--+--------------------------+--------------------------------->
   |          .-*--------.    |
   '-OUTPUT(--+-*PRINT---+--)-'
              '-*OUTFILE-'
 
>--+---------------------------------------------------------+-->
   |           .-*LIBL/--------.                     (2)     |
   '-OUTFILE(--+---------------+--database-file-name-------)-'
               +-*CURLIB/------+
               '-library-name/-'
 
>--+------------------------------------------------+----------><
   |         (3)   .-*FIRST------.  .-*REPLACE-.    |
   '-OUTMBR(-------+-member-name-+--+-*ADD-----+--)-'
 
 

Notes:

  1. All parameters preceding this point can be specified in positional form.

  2. If OUTPUT(*OUTFILE) is specified, a file name must be specified for OUTFILE.

  3. If OUTFILE is not specified, OUTBMR must not be specified.