ADDPGM (Add Program) syntax diagram


Job: B,I Pgm: B,I REXX: B,I Exec
Threadsafe: No
                 .--------------------------------------.
                 V .-*LIBL/--------.               (1)  |
>>-ADDPGM--PGM(----+---------------+--program-name------+--)---->
                   +-*CURLIB/------+
                   '-library-name/-'
 
                                    (2)
>--+------------------------------+----------------------------><
   |          .-*SAME--------.    |
   '-DFTPGM(--+-*NONE--------+--)-'
              '-program-name-'
 
 

Notes:

  1. A maximum of 20 repetitions.

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