CHGMSGD (Change Message Description) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: No >>-CHGMSGD--MSGID(--message-identifier--)-----------------------> .-*LIBL/--------. >--MSGF(--+---------------+--message-file-name--)---------------> +-*CURLIB/------+ '-library-name/-' >--+--------------------------------------+---------------------> | (1) .-*SAME--------------. | '-MSG(-------+-'--message-text--'-+--)-' >--+-------------------------------------------------+----------> | (2) .-*SAME----------------------. | '-SECLVL(-------+-*NONE----------------------+--)-' '-'--second-level-message--'-' (3) >--+----------------------------+-------------------------------> | .-*SAME---------. | '-SEV(--+-severity-code-+--)-' >--+-------------------------------+----------------------------> | .-*SAME------------. | '-FMT(--+-*NONE------------+--)-' | .--------------. | | V (4) | | '---| FMT |------+-' >--+---------------------------+--------------------------------> | (5) .-*SAME--. | '-TYPE(-------+-*NONE--+--)-' +-*CHAR--+ +-*DEC---+ +-*ALPHA-+ '-*NAME--' >--+-------------------------------------------------+----------> | (6) .-*SAME-------------------------. | '-LEN(-------+-*NONE-------------------------+--)-' +-*TYPE-------------------------+ '-length--+-------------------+-' '-decimal-positions-' >--+---------------------------------------------------------+--> | .-*SAME-----------------------------------. | '-SPCVAL(--+-*NONE-----------------------------------+--)-' | .--------------------------------. | | V | (7) | '---+-special-value--------------+-+------' '-(--from-value--to-value--)-' >--+-----------------------------------------+------------------> | .-*SAME----------. | +-VALUES(--+-*NONE----------+--)----------+ | | .------------. | | | | V (7) | | | | '---value------+-' | | .-*SAME--------------------. | +-RANGE(--+-*NONE--------------------+--)-+ | '-lower-value--upper-value-' | | .-*SAME----------. | '-REL(--+-*NONE----------+--)-------------' '-operator-value-' >--+----------------------------------+-------------------------> | .-*SAME---------------. | '-DFT(--+-*NONE---------------+--)-' '-'--default-reply--'-' >--+---------------------------------------------------------+--> | .-*SAME-----------------------------------. | '-DFTPGM(--+-*NONE-----------------------------------+--)-' | .-*LIBL/--------. | '-+---------------+--default-program-name-' +-*CURLIB/------+ '-library-name/-' >--+-------------------------------------------------------------+--> | .-------------------------------. | | (8) V .-*SAME---------------------. | (9) | '-DMPLST(-------+---+-*JOB----------------------+-+------+--)-' | +-*JOBDMP-------------------+ | | +-*JOBINT-------------------+ | | '-message-data-field-number-' | '-*NONE----------------------------------' >--+--------------------------------------------------+---------> | .-*SAME----------------------------. | '-ALROPT(--+-*NO------------------------------+--)-' | .-*NONE---------. | '-+-*IMMED----+--+-format-number-+-' +-*UNATTEND-+ '-*DEFER----' >--+-----------------------+------------------------------------> | .-*SAME-. | '-LOGPRB(--+-*NO---+--)-' '-*YES--' >--+-----------------------------------------------+----------->< | .-*JOB---------------------------. | '-CCSID(--+-*SAME--------------------------+--)-' +-*HEX---------------------------+ '-coded-character-set-identifier-' FMT .-2-. .-*VARY--+-4-+-. |--(--+-+-*QTDCHAR-+--+-length-------+--------------+--)--------| | +-*CHAR----+ | | +-*HEX-----+ | | '-*SPP-----' | | .-0-----------------. | +-*DEC--decimal-digits--+-decimal-positions-+-+ | .-2-. | +-*BIN--+-4-+---------------------------------+ | '-8-' | | .-2-. | +-*UBIN--+-4-+--------------------------------+ | '-8-' | | .-2-. | +-*CCHAR--*VARY--+-4-+------------------------+ +-*DTS----------------------------------------+ +-*SYP----------------------------------------+ '-*ITV----------------------------------------'
Notes:
- No more than 132 characters can be specified.
- No more than 3000 characters can be specified.
- All parameters preceding this point can be specified in positional form.
- A maximum of 99 repetitions.
- If LEN is specified as *NONE, TYPE must also be specified as *NONE.
- If TYPE is specified as *NONE, LEN must also be specified as *NONE.
- A maximum of 20 repetitions.
- If any of the parameter values are specified for DMPLST, *JOB is assumed to be part of the value(s).
- A maximum of 102 repetitions.