CRTCLPGM (Create Control Language Program) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: No .-*CURLIB/------. >>-CRTCLPGM--PGM(--+---------------+--program-name--)-----------> '-library-name/-' >--+------------------------------------------------------+-----> | .-*LIBL/--------. .-QCLSRC-----------. | '-SRCFILE(--+---------------+--+-source-file-name-+--)-' +-*CURLIB/------+ '-library-name/-' >--+-----------------------------------------+------------------> | .-*PGM--------------------. | '-SRCMBR(--+-source-file-member-name-+--)-' >--+---------------------------------------------+--------------> | .-----------------------------. | | V | | '-OPTION(----+-------------------------+-+--)-' | .-*SRC or *SOURCE-----. | +-+-*NOSRC or *NOSOURCE-+-+ | .-*XREF---. | +-+-*NOXREF-+-------------+ | .-*GEN---. | +-+-*NOGEN-+--------------+ | .-*NOSECLVL-. | +-+-*SECLVL---+-----------+ | .-*NOSRCDBG-. | +-+-*SRCDBG---+-----------+ | .-*NOLSTDBG-. | '-+-*LSTDBG---+-----------' (1) >--+----------------------------------+-------------------------> | .------------------. | | V | | '-GENOPT(----+--------------+-+--)-' | .-*NOLIST-. | +-+-*LIST---+--+ | .-*NOXREF-. | +-+-*XREF---+--+ | .-*NOPATCH-. | '-+-*PATCH---+-' >--+------------------------+--+-------------------+------------> | .-*USER--. | | .-*JOB-. | '-USRPRF(--+-*OWNER-+--)-' '-LOG(--+-*YES-+--)-' '-*NO--' >--+-------------------------+--+-----------------------+-------> | .-*YES-. | | .-*YES-. | '-ALWRTVSRC(--+-*NO--+--)-' '-REPLACE(--+-*NO--+--)-' >--+--------------------------------+---------------------------> | .-*CURRENT-------. | '-TGTRLS(--+-*PRV-----------+--)-' '-target-release-' >--+--------------------------------------+---------------------> | .-*LIBCRTAUT--------------. | '-AUT(--+-*CHANGE-----------------+--)-' +-*ALL--------------------+ +-*USE--------------------+ +-*EXCLUDE----------------+ '-authorization-list-name-' >--+-----------------------------------------------+------------> | .-*HEX--------------------------. | '-SRTSEQ(--+-*JOB--------------------------+--)-' +-*JOBRUN-----------------------+ +-*LANGIDUNQ--------------------+ +-*LANGIDSHR--------------------+ | .-*LIBL/--------. | '-+---------------+--table-name-' +-*CURLIB/------+ '-library-name/-' >--+-----------------------------+------------------------------> | .-*JOBRUN-----. | '-LANGID(--+-*JOB--------+--)-' '-language-ID-' >--+---------------------------------+------------------------->< | .-*SRCMBRTXT--------. | '-TEXT(--+-*BLANK------------+--)-' '-'--description--'-'
Notes:
- All parameters preceding this point can be specified in positional form.