Positions 7-80 (Keywords)
Positions 7-80 (Keywords)
Positions 7-80 (Keywords)
| Free-Form Syntax | See Free-Form Statements for information on the columns available for free-form statements. |
The control-specification keywords are used to determine how the program will deal with devices and how certain types of information will be represented.
The control-specification keywords also include compile-option keywords that override the default or specified options on the CRTBNDRPG and CRTRPGMOD commands. These keywords determine the compile options to be used on every compile of the program.
- Control-Specification Keywords
- ALLOC(*STGMDL | *TERASPACE | *SNGLVL)
- ALTSEQ{(*NONE | *SRC | *EXT)}
- CCSID control keyword
- COPYNEST(number)
- COPYRIGHT(‘copyright string’)
- CURSYM(‘sym’)
- DATEDIT(fmt{separator})
- DATFMT(fmt{separator})
- DEBUG{(*DUMP | *INPUT | *RETVAL | *XMLSAX | *NO | *YES)}
- DECEDIT(*JOBRUN | ‘value’)
- DECPREC(30|31|63)
- DFTNAME(rpg_name)
- EXPROPTS(*MAXDIGITS | *RESDECPOS | *ALWBLANKNUM | *USEDECEDIT)
- EXTBININT{(*NO | *YES)}
- FLTDIV{(*NO | *YES)}
- FORMSALIGN{(*NO | *YES)}
- FTRANS{(*NONE | *SRC)}
- INTPREC(10 | 20)
- MAIN(main_procedure_name)
- NOMAIN
- OPENOPT (*{NO}INZOFL *{NO}CVTDATA)
- THREAD(*CONCURRENT | *SERIALIZE)
- TIMFMT(fmt{separator})
- Control-Specification Compile-Option Keywords
- ACTGRP(*STGMDL | *NEW | *CALLER | ‘activation-group-name’)
- ALWNULL(*NO | *INPUTONLY | *USRCTL)
- AUT(*LIBRCRTAUT | *ALL | *CHANGE | *USE | *EXCLUDE | ‘authorization-list-name’)
- BNDDIR(‘binding-directory-name’ {:‘binding-directory-name’ …})
- CVTOPT(*{NO}DATETIME *{NO}GRAPHIC *{NO}VARCHAR *{NO}VARGRAPHIC)
- DATEYY(*ALLOW | *WARN | *NOALLOW)
- DFTACTGRP(*YES | *NO)
- ENBPFRCOL(*PEP | *ENTRYEXIT | *FULL)
- FIXNBR(*{NO}ZONED *{NO}INPUTPACKED)
- GENLVL(number)
- INDENT(*NONE | ‘character-value’)
- LANGID(*JOBRUN | *JOB | ‘language-identifier’)
- OPTIMIZE(*NONE | *BASIC | *FULL)
- OPTION(*{NO}XREF *{NO}GEN *{NO}SECLVL *{NO}SHOWCPY *{NO}EXPDDS *{NO}EXT *{NO}SHOWSKP) *{NO}SRCSTMT) *{NO}DEBUGIO) *{NO}UNREF
- PGMINFO(*PCML | *NO | *DCLCASE { : *MODULE { : *Vx }})
- PRFDTA(*NOCOL | *COL)
- REQPREXP(*NO | *WARN | *REQUIRE)
- SRTSEQ(*HEX | *JOB | *JOBRUN | *LANGIDUNQ | *LANGIDSHR | ‘sort-table-name’)
- STGMDL(*INHERIT | *SNGLVL | *TERASPACE)
- TEXT(*SRCMBRTXT | *BLANK | ‘description’)
- TRUNCNBR(*YES | *NO)
- USRPRF(*USER | *OWNER)