BCHJOB (Batch Job) syntax diagram


Job: B
Threadsafe: No
>>-//BCHJOB--+-----------------------+-------------------------->
             |       .-*JOBD----.    |
             '-JOB(--+-job-name-+--)-'
 
>--+-------------------------------------------------------+---->
   |        .-*LIBL/--------.                              |
   '-JOBD(--+---------------+--+-QBATCH---------------+--)-'
            +-*CURLIB/------+  '-job-description-name-'
            '-library-name/-'
 
>--+-------------------------------------------------+---------->
   |        .-*RDR------------------------------.    |
   '-JOBQ(--+-*JOBD-----------------------------+--)-'
            | .-*LIBL/--------.                 |
            '-+---------------+--job-queue-name-'
              +-*CURLIB/------+
              '-library-name/-'
 
>--+-------------------------------------+---------------------->
   |          .-*JOBD---------------.    |
   '-JOBPTY(--+-scheduling-priority-+--)-'
 
                                       (1)
>--+---------------------------------+-------------------------->
   |          .-*JOBD-----------.    |
   '-OUTPTY(--+-output-priority-+--)-'
 
>--+----------------------------------+------------------------->
   |          .-*JOBD------------.    |
   '-PRTTXT(--+-*SYSVAL----------+--)-'
              +-*BLANK-----------+
              '-'--print-text--'-'
 
>--+------------------------------------+----------------------->
   |          .-QCMDB--------------.    |
   '-RTGDTA(--+-*JOBD--------------+--)-'
              +-*RQSDTA------------+
              '-'--routing-data--'-'
 
>--+------------------------------------+----------------------->
   |          .-*------------------.    |
   '-RQSDTA(--+-*JOBD--------------+--)-'
              +-*NONE--------------+
              +-*RTGDTA------------+
              '-'--request-data--'-'
 
>--+----------------------------------+------------------------->
   |          .-*JOBD------------.    |
   '-SYNTAX(--+-*NOCHK-----------+--)-'
              '-message-severity-'
 
>--+--------------------------------------+--------------------->
   |          .-*USRPRF--------------.    |
   '-CURLIB(--+-*CRTDFT--------------+--)-'
              '-current-library-name-'
 
>--+----------------------------------------+------------------->
   |           .-*JOBD-----------------.    |
   '-INLLIBL(--+-*SYSVAL---------------+--)-'
               +-*NONE-----------------+
               | .-------------------. |
               | V              (2)  | |
               '---library-name------+-'
 
>--+----------------------------------+------------------------->
   |          .-*JOBD------------.    |
   '-ENDSEV(--+-message-severity-+--)-'
 
>--+---------------------------------------------------------------+-->
   |       .-*JOBD---------.  .-*JOBD------------.  .-*JOBD---.    |
   '-LOG(--+-message-level-+--+-message-severity-+--+-*MSG----+--)-'
                                                    +-*SECLVL-+
                                                    '-*NOLIST-'
 
>--+-------------------------+---------------------------------->
   |            .-*JOBD-.    |
   '-LOGCLPGM(--+-*NO---+--)-'
                '-*YES--'
 
>--+-----------------------------+------------------------------>
   |             .-*JOBD----.    |
   '-INQMSGRPY(--+-*RQD-----+--)-'
                 +-*DFT-----+
                 '-*SYSRPYL-'
 
>--+-------------------------------------+---------------------->
   |          .-*USRPRF-------------.    |
   '-PRTDEV(--+-*SYSVAL-------------+--)-'
              +-*JOBD---------------+
              '-printer-device-name-'
 
>--+----------------------------------------------------+------->
   |        .-*USRPRF------------------------------.    |
   '-OUTQ(--+-*DEV---------------------------------+--)-'
            +-*JOBD--------------------------------+
            | .-*LIBL/--------.                    |
            '-+---------------+--output-queue-name-'
              +-*CURLIB/------+
              '-library-name/-'
 
>--+---------------------+--+------------------------+---------->
   |        .-*JOBD-.    |  |        .-*JOBD----.    |
   '-HOLD(--+-*NO---+--)-'  '-DATE(--+-*SYSVAL--+--)-'
            '-*YES--'                '-job-date-'
 
>--+------------------------------+----------------------------->
   |       .-*JOBD-----------.    |
   '-SWS(--+-switch-settings-+--)-'
 
>--+-----------------------------------------------------+------>
   |        .-*NONE---------------------------------.    |
   '-MSGQ(--+-*USRPRF-------------------------------+--)-'
            | .-*LIBL/--------.                     |
            '-+---------------+--message-queue-name-'
              +-*CURLIB/------+
              '-library-name/-'
 
>--+-----------------------------------------------+------------>
   |          .-*USRPRF-----------------------.    |
   '-SRTSEQ(--+-*SYSVAL-----------------------+--)-'
              +-*HEX--------------------------+
              +-*LANGIDUNQ--------------------+
              +-*LANGIDSHR--------------------+
              | .-*LIBL/--------.             |
              '-+-*CURLIB/------+--table-name-'
                '-library-name/-'
 
>--+-----------------------------+------------------------------>
   |          .-*USRPRF-----.    |
   '-LANGID(--+-*SYSVAL-----+--)-'
              '-language-ID-'
 
>--+---------------------------------------+-------------------->
   |           .-*USRPRF--------------.    |
   '-CNTRYID(--+-*SYSVAL--------------+--)-'
               '-country-or-region-ID-'
 
>--+---------------------------------------+-------------------->
   |         .-*USRPRF----------------.    |
   '-CCSID(--+-*SYSVAL----------------+--)-'
             +-*HEX-------------------+
             '-coded-character-set-ID-'
 
>--+------------------------------------------------------+----->
   |             .-*JOBD-----------------------------.    |
   '-JOBMSGQMX(--+-*SYSVAL---------------------------+--)-'
                 '-maximum-size-of-job-message-queue-'
 
>--+-----------------------------+-----------------------------><
   |             .-*JOBD----.    |
   '-JOBMSGQFL(--+-*SYSVAL--+--)-'
                 +-*NOWRAP--+
                 +-*WRAP----+
                 '-*PRTWRAP-'
 
 

Notes:

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

  2. A maximum of 25 repetitions.