Справочник Пользователя для IBM AS/400

Скачать
Страница из 489
 
CRTBNDRPG Command
 
 
 
55──REQUIRED-PARAMETER──(─
─┬
─PREDEFINED-VALUE───
─)─────────────────────────────────────5
 
user-defined-value
5─
─┬
──────────────────────────────────────────────────
────────────────────────────────5%
 
 
─OPTIONAL-PARAMETER──(─
─┬
─PREDEFINED-VALUE───
─)─
 
user-defined-value
Default values appear above the base line and do not need to be entered. They
are used when you do not specify a parameter. In the following sample, you can
enter DEFAULT-VALUE, OTHER-PREDEFINED-VALUE, or nothing. If you enter
nothing, DEFAULT-VALUE is assumed.
 
 
─DEFAULT-VALUE──────────
55──PARAMETER──(─
─┴
─OTHER-PREDEFINED-VALUE─
─)─────────────────────────────────────────5%
Optional values are indicated by a blank line. The blank line indicates that a value
from the first group (OPTIONAL-VALUE1, OPTIONAL-VALUE2,
 user-defined-value)
does not need to be entered. For example, based on the syntax below, you could
enter KEYWORD(REQUIRED-VALUE).
 
 
─OPTIONAL-VALUE1────
55──PARAMETER──(─
─┼
────────────────────
──
─REQUIRED-VALUE─
─)─────────────────────────5%
 
─OPTIONAL-VALUE2────
 
user-defined-value
Repeated values can be specified for some parameters. The comma (,) in the fol-
lowing sample indicates that each
 user-defined-value must be separated by a
comma.
 
 
─,────────────────────
55──KEYWORD──(─
──
6
user-defined-value
─)─────────────────────────────────────────────5%
 CRTBNDRPG Command
The Create Bound RPG (CRTBNDRPG) command performs the combined tasks of
the Create RPG Module (CRTRPGMOD) and Create Program (CRTPGM) com-
mands by creating a temporary module object from the source code, and then cre-
ating 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
406
ILE RPG for AS/400 Programmer's Guide