CRTBNDRPG Command

The Create Bound RPG (CRTBNDRPG) command performs the combined tasks of the Create RPG Module (CRTRPGMOD) and Create Program (CRTPGM) commands by creating a temporary module object from the source code, and then creating the program object. Once the program object is created, CRTBNDRPG deletes the module object it created. The entire syntax diagram for the CRTBNDRPG command is shown below.

Job: B,I  Pgm: B,I  REXX: B,I  Exec

Read syntax diagramSkip visual syntax diagram
>>-CRTBNDRPG---------------------------------------------------->

>--+------------------------------------------------+----------->
   |         .-*CURLIB/------.  .-*CTLSPEC-----.    |   
   '-PGM--(--+---------------+--+-program-name-+--)-'   
             '-library-name/-'                          

>--+--------------------------------------------------------+--->
   |             .-*LIBL/--------.  .-QRPGLESRC--------.    |   
   '-SRCFILE--(--+---------------+--+-source-file-name-+--)-'   
                 +-*CURLIB/------+                              
                 '-library-name/-'                              

>--+-------------------------------------------+---------------->
   |            .-*PGM--------------------.    |   
   '-SRCMBR--(--+-source-file-member-name-+--)-'   

>--+----------------------------------------+------------------->
   '-SRCSTMF--(--source-stream-file-name--)-'   

                                (1)   
>--+--------------------------+--------------------------------->
   |            .-*PRINT-.    |       
   '-OUTPUT--(--+-*NONE--+--)-'       

>--+----------------------------------------+------------------->
   |            .-10-------------------.    |   
   '-GENLVL--(--+-severity-level-value-+--)-'   

>--+-------------------------------+---------------------------->
   |          .-*SRCMBRTXT----.    |   
   '-TEXT--(--+-*BLANK--------+--)-'   
              '-'description'-'        

>--+---------------------------+-------------------------------->
   |               .-*YES-.    |   
   '-DFTACTGRP--(--+-*NO--+--)-'   

>--+----------------------------------+------------------------->
   '-OPTION--(--| OPTION Details |--)-'   

>--+----------------------------+------------------------------->
   |             .-*STMT---.    |   
   '-DBGVIEW--(--+-*SOURCE-+--)-'   
                 +-*LIST---+        
                 +-*COPY---+        
                 +-*ALL----+        
                 '-*NONE---'        

>--+--------------------------------------+--------------------->
   |               .-*NONE-----------.    |   
   '-DBGENCKEY--(--+-character-value-+--)-'   

>--+--------------------------+--------------------------------->
   |            .-*PRINT-.    |   
   '-OUTPUT--(--+-*NONE--+--)-'   

>--+----------------------------+------------------------------->
   |              .-*NONE--.    |   
   '-OPTIMIZE--(--+-*BASIC-+--)-'   
                  '-*FULL--'        

>--+-----------------------------------+------------------------>
   |            .-*NONE-----------.    |   
   '-INDENT--(--+-character-value-+--)-'   

>--+------------------------------------------------------------------------------+-->
   |            .-*NONE------------------------------------------------------.    |   
   '-CVTOPT--(--+------------------------------------------------------------+--)-'   
                '-+-----------+--+----------+--+----------+--+-------------+-'        
                  '-*DATETIME-'  '-*GRAPHIC-'  '-*VARCHAR-'  '-*VARGRAPHIC-'          

>--+------------------------------------------------------+----->
   |            .-*HEX-------------------------------.    |   
   '-SRTSEQ--(--+-*JOB-------------------------------+--)-'   
                +-*JOBRUN----------------------------+        
                +-*LANGIDUNQ-------------------------+        
                +-*LANGIDSHR-------------------------+        
                '-+---------------+--sort-table-name-'        
                  +-*LIBL/--------+                           
                  +-*CURLIB/------+                           
                  '-library-name/-'                           

>--+---------------------------------------+-------------------->
   |            .-*JOBRUN-------------.    |   
   '-LANGID--(--+-*JOB----------------+--)-'   
                '-language-identifier-'        

>--+-------------------------+--+--------------------------+---->
   |             .-*YES-.    |  |            .-*USER--.    |   
   '-REPLACE--(--+-*NO--+--)-'  '-USRPRF--(--+-*OWNER-+--)-'   

>--+----------------------------------------+------------------->
   |         .-*LIBCRTAUT--------------.    |   
   '-AUT--(--+-*ALL--------------------+--)-'   
             +-*CHANGE-----------------+        
             +-*USE--------------------+        
             +-*EXCLUDE----------------+        
             '-authorization-list-name-'        

>--+--------------------------+--------------------------------->
   |              .-*YES-.    |   
   '-TRUNCNBR--(--+-*NO--+--)-'   

>--+--------------------------------+--------------------------->
   |            .-*NONE--------.    |   
   '-FIXNBR--(--+-*ZONED-------+--)-'   
                '-*INPUTPACKED-'        

>--+----------------------------+------------------------------->
   |            .-*CURRENT-.    |   
   '-TGTRLS--(--+-*PRV-----+--)-'   
                '-VxRxMx---'        

>--+-------------------------------+---------------------------->
   |             .-*NO--------.    |   
   '-ALWNULL--(--+-*INPUTONLY-+--)-'   
                 +-*USRCTL----+        
                 '-*YES-------'        

>--+------------------------------+----------------------------->
   |            .-*SNGLVL----.    |   
   '-STGMDL--(--+-*TERASPACE-+--)-'   
                '-*INHERIT---'        

>--+-------------------------------------------------------------+-->
   |            .-*NONE-------------------------------------.    |   
   '-BNDDIR--(--+-------------------------------------------+--)-'   
                | .-*LIBL/--------.                         |        
                '-+---------------+--binding-directory-name-'        
                  +-*CURLIB/------+                                  
                  +-*USRLIBL/-----+                                  
                  '-library-name/-'                                  

>--+-----------------------------------------+------------------>
   |            .-*STGMDL---------------.    |   
   '-ACTGRP--(--+-*NEW------------------+--)-'   
                +-*CALLER---------------+        
                '-activation-group-name-'        

>--+---------------------------------+-------------------------->
   |               .-*PEP-------.    |   
   '-ENBPFRCOL--(--+-*ENTRYEXIT-+--)-'   
                   '-*FULL------'        

>--+----------------------------------+------------------------->
   |            .-*NONE----------.    |   
   '-DEFINE--(--+-condition-name-+--)-'   

>--+--------------------------+--+-----------------------+------>
   |            .-*NOCOL-.    |  '-LICOPT--(--options--)-'   
   '-PRFDTA--(--+-*COL---+--)-'                              

>--+-----------------------------+------------------------------>
   |            .-*NONE-----.    |   
   '-INCDIR--(--+-directory-+--)-'   

>--+---------------------------------------+-------------------->
   |             .-*NO----------------.    |   
   |             |        .-*STMF---. |    |   
   '-PGMINFO--(--+-*PCML--+-*MODULE-+-+--)-'   
                          '-*ALL----'          

>--+----------------------------------------------------+------->
   '-INFOSTMF--(--program-interface-stream-file-name--)-'   

>--+-----------------------------------------------------------------------------------+-->
   |              .-*NONE---------------------------------------------------------.    |   
   '-PPGENOPT--(--+-+------+------------------------------------------------------+--)-'   
                  | '-*DFT-'                                                      |        
                  '-+-------------------+-+-------------------+-+---------------+-'        
                    +-+-------------+---+ +-+-------------+---+ +-+-----------+-+          
                    | '-*RMVCOMMENT-'   | | '-*EXPINCLUDE-'   | | '-*NOSEQSRC-' |          
                    '-+---------------+-' '-+---------------+-' '-+---------+---'          
                      '-*NORMVCOMMENT-'     '-*NOEXPINCLUDE-'     '-*SEQSRC-'              

>--+-----------------------------------------------------------------+-->
   |                .-*CURLIB----------.                             |   
   '-PPSRCSFILE--(--+-+--------------+-+--output-source-file-name--)-'   
                      '-library-name-'                                   

>--+------------------------------------------------+----------->
   |               .-*PGM----------------------.    |   
   '-PPSRCSMBR--(--+-output-source-member-name-+--)-'   

>--+----------------------------------------------+------------><
   |               .-*SRCSTMF----------------.    |   
   '-PPSRCSTMF--(--+-output-stream-file-name-+--)-'   

Notes:
  1. All parameters preceding this point can be specified by position.
Read syntax diagramSkip visual syntax diagram
OPTION Details

   .-*XREF---.  .-*GEN---.  .-*NOSECLVL-.  .-*SHOWCPY---.   
|--+---------+--+--------+--+-----------+--+------------+------->
   '-*NOXREF-'  '-*NOGEN-'  '-*SECLVL---'  '-*NOSHOWCPY-'   

   .-*EXPDDS---.  .-*EXT---.  .-*NOSHOWSKP-.  .-*NOSRCSTMT-.   
>--+-----------+--+--------+--+------------+--+------------+---->
   '-*NOEXPDDS-'  '-*NOEXT-'  '-*SHOWSKP---'  '-*SRCSTMT---'   

   .-*DEBUGIO---.  .-*UNREF---.  .-*NOEVENTF-.   
>--+------------+--+----------+--+-----------+------------------|
   '-*NODEBUGIO-'  '-*NOUNREF-'  '-*EVENTF---'   


Feedback