Control Specification
*.. 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8
HKeywords++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| Columns | Description |
| 1–5 | Sequence number |
| 6 | H
|
| 7–80 | Control keywords |
| 81–100 | Comments |
Control Keywords
ACTGRP(*CALLER | *NEW | 'name')
| Specifies ILE activation group (valid only with the CRTBNDRPG compile command). |
ALTSEQ{(*EXT | *NONE | *SRC)}
| Specifies an alternate collating sequence. |
ALWNULL(*INPUTONLY | *NO | *USRCTL)
| Specifies processing for null-capable fields. |
AUT(*ALL | *CHANGE | *EXCLUDE
| Specifies authority for users without specific authority to compiled object. |
BNDDIR('{libr/}name' {. . .})
| Specifies binding directory (or directories) to use when binding object. |
CCSID(*CHAR:*JOBRUN | *GRAPH:parm
| Specifies default graphic character set identifier. |
COPYNEST(number)
| Specifies maximum nesting level for /COPY members (1-2048). |
COPYRIGHT('string')
| Provides copyright information to include in module. |
CURSYM('symbol’)
| Specifies character to use as currency symbol, enclosed in apostrophes (') |
CVTOPT(*{NO}DATETIME *{NO}GRAPHIC
| Specifies compiler conversion options for date, time, timestamp, and graphic data types, as well as variable-length data. |
DATEDIT(format{separator})
| Specifies numeric field format for the Y edit code: *MDY, *YMD, or *DM. Optional separator character defaults to a slash (/); an ampersand (&) indicates a blank separator. |
DATFMT(format{separator})
| Specifies format for date literals and default format for date fields. Defaults to *ISO. See Date Formats . |
DEBUG{({*DUMP} {*INPUT} {*XMLSAX} | *NO
| Controls which debug aids are generated into compiled module. |
DECEDIT(*JOBRUN | 'value')
| Specifies character used for decimal point for edited numbers, enclosed in apostrophes ('). Also indicates whether to print a leading zeros. Valid values are ‘.’, ‘,’, ‘0.’ And ‘0,’ |
DECPREC(30 | 31 | 63)
| Specifies maximum decimal precision of decimal (packed, zoned, binary) intermediate values in expressions. |
DFTACTGRP(*NO | *YES)
| Specifies whether to force a program to run in the default activation group (valid only with the CRTBNDRPG compile command). |
DFTNAME(name)
| Specifies default name for RPG program or module. |
ENBPFRCOL(*ENTRYEXIT | *FULL | *PEP)
| Specifies whether performance collection is enabled. |
EXPROPTS(*MAXDIGITS | *RESDECPOS)
| Specifies precision rules to be used when evaluating expressions. |
EXTBININT{(*NO | *YES)}
| Specifies whether to process externally described files with binary (no decimal place) fields as if the fields were integers. |
FIXNBR(*{NO}INPUTPACKED *{NO}ZONED)
| Specifies compiler options to fix invalid decimal data. |
FLTDIV{(*NO | *YES)}
| Specifies whether to use floating-point representation for division. |
FORMSALIGN{(*NO | *YES)}
| Specifies whether to prompt for first page (1P) forms alignment on printed forms. |
FTRANS{(*NONE | *SRC)}
| Specifies whether file translation is to be performed, using a translation table in the source. |
GENLVL(number)
| Specifies maximum error level to allow when compiling object (0-20). |
INDENT(*NONE | 'chars')
| Specifies indentation characters (1 or 2) for source listing. |
INTPREC(10 | 20)
| Specifies integer precision. |
LANGID(*JOB | *JOBRUN | 'lang-id')
| Specifies language identifier for some SRTSEQ options. |
MAIN(procedure-name)
| Names main procedure for module. |
NOMAIN
| Indicates that there is no main procedure in this module. |
OPENOPT(*{NO}INZOFL)
| Specifies open printer file option. |
OPTIMIZE(*BASIC | *FULL | *NONE)
| Specifies optimization level for compiled object. |
OPTION(*{NO}DEBUGIO *{NO}EXPDDS *{NO}EXT
| Specifies compiler options to use for this object. |
PGMINFO(*NO | *PCML {:*MODULE})
| Indicates whether program information is stored with module. |
PRFDTA(*{NO}COL)
| Enables collection of profiling data. |
SRTSEQ(*HEX | *JOB | *JOBRUN
| Specifies sort sequence table to use when compiling object. |
TEXT(*BLANK | *SRCMBRTXT | 'description')
| Specifies text for compiled object. |
THREAD(*SERIALIZE | *CONCURRENT)
| Specifies multithread environment. |
TIMFMT(format{separator})
| Specifies format for time literals and default format for time fields. Defaults to *ISO. See Time Formats . |
TRUNCNBR(*YES | *NO)
| Specifies whether to ignore numeric overflow (not valid for expressions). |
USRPRF(*OWNER | *USER)
| Specifies the user profile under which to run the compiled object (valid only with the CRTBNDRPG compiler command). |
Usage Conventions for syntax tables
Index | HomePage | Programming | RPG IV | Control Specification