DSPFD (Display File Description) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: No .-*LIBL/--------. >>-DSPFD--FILE(--+---------------+--+-*ALL---------------+--)---> +-*USRLIBL/-----+ +-generic*-file-name-+ +-*CURLIB/------+ '-file-name----------' +-*ALL/---------+ +-*ALLUSR/------+ '-library-name/-' >--+-------------------------------------+----------------------> | .-*ALL------------------. | '-TYPE(--+-*BASATR---------------+--)-' | .--------------. | | V | (1) | '---+-*ATR-----+-+------' +-*ACCPTH--+ +-*MBRLIST-+ +-*SELECT--+ +-*SEQ-----+ +-*RCDFMT--+ +-*MBR-----+ +-*SPOOL---+ +-*JOIN----+ +-*TRG-----+ +-*CST-----+ '-*NODGRP--' (4) >--+-----------------------------------+------------------------> | (2) (3) .-*--------. | '-OUTPUT(-----------+-*PRINT---+--)-' '-*OUTFILE-' >--+-------------------------------------+----------------------> | .-*ALL---------------. | | | .----------------. | | | | V (5) | | | '-FILEATR(--+---+-*DSPF-+------+-+--)-' +-*PRTF-+ +-*DKTF-+ +-*TAPF-+ +-*CMNF-+ +-*BSCF-+ +-*MXDF-+ +-*PF---+ +-*LF---+ +-*SAVF-+ +-*DDMF-+ '-*ICFF-' >--+----------------------------------------------------+-------> | .-*LIBL/--------. | '-OUTFILE(--+---------------+--database-file-name--)-' +-*CURLIB/------+ '-library-name/-' >--+-------------------------------------------+----------------> | .-*FIRST------. .-*REPLACE-. | '-OUTMBR(--+-member-name-+--+-*ADD-----+--)-' >--+---------------------------+------------------------------->< | (6) .-*LCL-. | '-SYSTEM(-------+-*RMT-+--)-' '-*ALL-'
Notes:
- A maximum of 12 repetitions.
- If OUTPUT(*OUTFILE) is specified, a file name must be specified for the OUTFILE parameter. If TYPE(*BASATR) is specified, OUTPUT(*OUTFILE) must be specified.
- If OUTPUT(*OUTFILE) is specified, a type other than *ALL must be specified on the TYPE parameter. (Only one type may be specified.) If TYPE(*ATR) is specified and OUTPUT(*OUTFILE) is specified, FILEATR(*ALL) or FILEATR(*MXDF) cannot be specified.
- All parameters preceding this point can be specified in positional form.
- A maximum of 12 repetitions.
- If SYSTEM(*RMT) is specified for displayed or listed output, the only valid file attributes (FILEATR) are *PF, *LF, or *ALL. If SYSTEM(*RMT) or SYSTEM(*ALL) is specified for outfile processing, the FILEATR parameter must be either *PF or *LF.