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:

  1. No more than 132 characters can be specified.

  2. No more than 3000 characters can be specified.

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

  4. A maximum of 99 repetitions.

  5. If LEN is specified as *NONE, TYPE must also be specified as *NONE.

  6. If TYPE is specified as *NONE, LEN must also be specified as *NONE.

  7. A maximum of 20 repetitions.

  8. If any of the parameter values are specified for DMPLST, *JOB is assumed to be part of the value(s).

  9. A maximum of 102 repetitions.