CRTLIB (Create Library) syntax diagram


Job: B,I Pgm: B,I REXX: B,I Exec
Threadsafe: Yes
>>-CRTLIB--LIB(--library-name--)-------------------------------->
 
                           (1)
>--+---------------------+-------------------------------------->
   |        .-*PROD-.    |
   '-TYPE(--+-*TEST-+--)-'
 
>--+--------------------------------------+--------------------->
   |       .-*LIBCRTAUT--------------.    |
   '-AUT(--+-*USE--------------------+--)-'
           +-*CHANGE-----------------+
           +-*ALL--------------------+
           +-*EXCLUDE----------------+
           '-authorization-list-name-'
 
>--+-----------------------------------------+------------------>
   |          .-*SYSVAL-----------------.    |
   '-CRTAUT(--+-*USE--------------------+--)-'
              +-*CHANGE-----------------+
              +-*ALL--------------------+
              +-*EXCLUDE----------------+
              '-authorization-list-name-'
 
>--+---------------------------+-------------------------------->
   |            .-*SYSVAL-.    |
   '-CRTOBJAUD--+-*NONE---+--)-'
                +-*USRPRF-+
                +-*CHANGE-+
                '-*ALL----'
 
>--+-------------------------------------------------+---------->
   |      (2)   .-1-----------------------------.    |
   '-ASP(-------+-*ASPDEV-----------------------+--)-'
                '-auxiliary-storage-pool-number-'
 
>--+---------------------------------------------------------+-->
   |         (3)   .-*ASP-------------------------------.    |
   '-ASPDEV(-------+-*ASPGRPPRI-------------------------+--)-'
                   +-*SYSTEM----------------------------+
                   '-auxiliary-storage-pool-device-name-'
 
>--+-----------------------------+-----------------------------><
   |        .-*BLANK--------.    |
   '-TEXT(--+-'description'-+--)-'
 
 

Notes:

  1. All parameters preceding this point can be specified positionally.

  2. When a value other than *ASP is specified for the ASPDEV parameter, *ASPDEV is the only valid value for ASP, if specified.

  3. When a value other than *ASPDEV is specified for the ASP parameter, *ASP is the only valid value for ASPDEV, if specified.