ADDLFM (Add Logical File Member) syntax diagram


Job: B,I Pgm: B,I REXX: B,I Exec
Threadsafe: Conditional; see Restrictions
                  .-*LIBL/--------.
>>-ADDLFM--FILE(--+---------------+--logical-file-name--)------->
                  +-*CURLIB/------+
                  '-library-name/-'
 
                                     (1)
>--MBR(--logical-file-member-name--)---------------------------->
 
>--+---------------------------------------+-------------------->
   |           .-*ALL-----------------.    |
   |           | .------------------. |    |
   |           | V             (2)  | |    |
   '-DTAMBRS(--+---| DTAMBRS |------+-+--)-'
 
>--+---------------------+-------------------------------------->
   |         .-*NO--.    |
   '-SHARE(--+-*YES-+--)-'
 
>--+---------------------------------+-------------------------><
   |        .-*BLANK------------.    |
   '-TEXT(--+-'--description--'-+--)-'
 
DTAMBRS
 
      .-*CURRENT/-----.
|--(--+---------------+--physical-file-name--------------------->
      '-library-name/-'
 
   .-*NONE----------------------.
   |    .------------------.    |
   |    V             (2)  |    |
>--+-(----member-name------+--)-+--)----------------------------|
 
 

Notes:

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

  2. A maximum of 32 repetitions - the total of all member names specified for all specified physical files cannot exceed 32; for the restrictions, see the DTAMBRS parameter description.