- * *COMPAT PRTCTL Data Structure
- * *DTAARA DEFINE
- * *IN
- * *IN, *INxx, *IN(xx)
- * *INxx
- * *JOBRUN
- * *LIKE DEFINE
- * *PLACE
- / /CHARCOUNT NATURAL | STDCHARSIZE
- / /DEFINE
- / /EJECT
- / /ELSE
- / /ELSEIF Condition-Expression
- / /ENDIF
- / /EOF
- / /FREE... /END-FREE
- / /IF Condition-Expression
- / /OVERLOAD DETAIL | NODETAIL
- / /RESTORE
- / /SET
- / /SPACE
- / /TITLE
- / /UNDEFINE
- % %ABS (Absolute Value of Expression)
- % %ADDR (Get Address of Variable)
- % %ALLOC (Allocate Storage)
- % %BITAND (Bitwise AND Operation)
- % %BITNOT (Invert Bits)
- % %BITOR (Bitwise OR Operation)
- % %CHAR(character | graphic | UCS2 {: ccsid})
- % %CHAR(date|time|timestamp {: format})
- % %CHAR(numeric)
- % %CHARCOUNT (Return the Number of Characters)
- % %CHECK (Check Characters)
- % %CHECKR (Check Reverse)
- % %CONCAT (Concatenate with Separator)
- % %CONCATARR (Concatenate Array Elements with Separator)
- % %DATA (document {:options})
- % %DATA options for the DATA-GEN operation code
- % %DATA options for the DATA-INTO operation code
- % %DATE (Convert to Date)
- % %DAYS (Number of Days)
- % %DECH Examples
- % %DECPOS (Get Number of Decimal Positions)
- % %DIFF (Difference Between Two Date, Time, or Timestamp Values)
- % %DIV (Return Integer Portion of Quotient)
- % %EDITC (Edit Value Using an Editcode)
- % %EDITFLT (Convert to Float External Representation)
- % %EDITW (Edit Value Using an Editword)
- % %ELEM (Get Number of Elements)
- % %EOF (Return End or Beginning of File Condition)
- % %EQUAL (Return Exact Match Condition)
- % %ERROR (Return Error Condition)
- % %FIELDS (Fields to update)
- % %FIELDS (Subfields for sorting)
- % %FLOAT (Convert to Floating Format)
- % %FOUND (Return Found Condition)
- % %GEN (generator {: options})
- % %GRAPH (Convert to Graphic Value)
- % %HANDLER (handlingProcedure : communicationArea )
- % %HIVAL (Highest Value)
- % %HIVAL and %LOVAL (Highest Value or Lowest Value)
- % %HOURS (Number of Hours)
- % %INTH (Convert to Integer Format with Half Adjust)
- % %KDS (Search Arguments in Data Structure)
- % %LEFT (Get Leftmost Characters)
- % %LEN Used for its Value
- % %LEN Used to Get the Maximum Length of Varying-Length Expressions
- % %LEN Used to Set the Length of Variable-Length Fields
- % %LIST (item { : item { : item ... } } )
- % %LOVAL (Lowest Value)
- % %LOWER (Convert to Lower Case)
- % %LOWER and %UPPER (Convert to Lower or Upper Case)
- % %MAX (Maximum Value)
- % %MAX and %MIN (Maximum or Minimum Value)
- % %MAXARR (Maximum Element in an Array)
- % %MAXARR and %MINARR (Maximum or Minimum Element in an Array)
- % %MIN (Minimum Value)
- % %MINARR (Minimum Element in an Array)
- % %MINUTES (Number of Minutes)
- % %MONTHS (Number of Months)
- % %MSECONDS (Number of Microseconds)
- % %MSG (message-id : message-file { : replacement-text } )
- % %NULLIND (Query or Set Null Indicator)
- % %OCCUR (Set/Get Occurrence of a Data Structure)
- % %OMITTED (Return Parameter-Omitted Condition)
- % %OPEN (Return File Open Condition)
- % %PADDR Used with a Prototype
- % %PARMNUM (Return Parameter Number)
- % %PARMS (Return Number of Parameters)
- % %PARSER (parser {: options})
- % %PASSED (Return Parameter-Passed Condition)
- % %PROC (Return Name of Current Procedure)
- % %RANGE (lower-limit : upper-limit)
- % %REALLOC (Reallocate Storage)
- % %REM (Return Integer Remainder)
- % %REPLACE (Replace Character String)
- % %RIGHT (Get Rightmost Characters)
- % %SCAN (Scan for Characters)
- % %SCANR (Scan Reverse for Characters)
- % %SCANRPL (Scan and Replace Characters)
- % %SECONDS (Number of Seconds)
- % %SHTDN (Shut Down)
- % %SIZE (Get Size in Bytes)
- % %SPLIT (Split String into Substrings)
- % %SQRT (Square Root of Expression)
- % %STATUS (Return File or Program Status)
- % %STR Used to Get Null-Terminated String
- % %STR Used to Store Null-Terminated String
- % %SUBARR (Set/Get Portion of an Array)
- % %SUBDT (Extract a Portion of a Date, Time, or Timestamp)
- % %SUBST Used as the Result of an Assignment
- % %SUBST Used for its Value
- % %TARGET (program-or-procedure { : offset } )
- % %THIS (Return Class Instance for Native Method)
- % %TIME (Convert to Time)
- % %TIMESTAMP (Convert to Timestamp)
- % %TLOOKUPxx (Look Up a Table Element)
- % %TRIM (Trim Characters at Edges)
- % %TRIML (Trim Leading Characters)
- % %TRIMR (Trim Trailing Characters)
- % %UCS2 (Convert to UCS-2 Value)
- % %UNSH (Convert to Unsigned Format with Half Adjust)
- % %UPPER (Convert to Upper Case)
- % %XFOOT (Sum Array Expression Elements)
- % %XLATE (Translate)
- % %XML (xmlDocument {:options})
- % %XML options for the XML-SAX operation code
- % %YEARS (Number of Years)
- A A=Character Keys
- A ACQ (Acquire)
- A ACTGRP(*STGMDL | *NEW | *CALLER | 'activation-group-name')
- A ADD (Add)
- A ADDDUR (Add Duration)
- A Additional Considerations
- A Additional Considerations for STATIC(*ALLTHREAD)
- A Additional Rules
- A ALIAS
- A ALIAS
- A ALIGN{(*FULL)}
- A Aligning Data Structure Subfields
- A ALLOC (Allocate Storage)
- A ALLOC(*STGMDL | *TERASPACE | *SNGLVL)
- A Alphabetic Entries
- A ALT(array_name)
- A ALTSEQ(*NONE)
- A ALTSEQ{(*NONE | *SRC | *EXT)}
- A ALWNULL(*NO | *INPUTONLY | *USRCTL)
- A ALWNULL(*NO)
- A Ampersand
- A Ampersand
- A AND Relationship
- A AND/OR Lines Identifier
- A ANDxx (And)
- A Appendix A. RPG IV Restrictions
- A Appendix B. EBCDIC Collating Sequence
- A Arithmetic Operations Examples
- A Array Data Structures
- A Array Name and Index
- A Array Names
- A Array Operations
- A Array or Table File
- A ASCEND
- A Assigning Field Record Relation Indicators
- A Assigning Match Field Values (M1-M9)
- A Asterisk
- A AUT(*LIBRCRTAUT | *ALL | *CHANGE | *USE | *EXCLUDE | 'authorization-list-name')
- B BASED(basing_pointer_name)
- B BEGSR (Beginning of Subroutine)
- B Bibliography
- B BINDEC(digits {: decimal-positions})
- B Bit Operations
- B BITOFF (Set Bits Off)
- B BITON (Set Bits On)
- B Blank
- B Blank=Non-keyed Processing
- B Blank=Non-keyed Program-Described File
- B BLOCK(*YES |*NO)
- B Blocking Considerations
- B BNDDIR('binding-directory-name' {:'binding-directory-name' …})
- B Branching Operations
- B Built-in Functions
- C CABxx (Compare and Branch)
- C Calculate a duration
- C Calculation Specification Extended Factor-2
- C Calculation Specification Extended Factor-2 Continuation Line
- C CALL (Call a Program)
- C CALLB (Call a Bound Procedure)
- C CALLP (Call a Prototyped Procedure or Program)
- C CASxx (Conditionally Invoke Subroutine)
- C CAT (Concatenate Two Strings)
- C ccsid (default best)
- C CCSID conversions during input and output operations
- C CCSID of literals and compile-time data
- C CCSID(*CHAR : *JOBRUN | *JOBRUNMIX | *UTF8 | *HEX | number)
- C CCSID(*EXACT | *NOEXACT)
- C CCSID(*EXACT)
- C CCSID(*GRAPH : *JOBRUN | *SRC | *HEX | *IGNORE | number)
- C CCSID(*UCS2 : *UTF16 | number)
- C CCSIDCVT(*EXCP | *LIST)
- C CCSIDs of Data
- C CHAIN (Random Retrieval from a File)
- C Changing the Collating Sequence
- C CHAR(length)
- C Character (C)
- C Character Format
- C Character, graphic, and UCS-2 MOVEA Operations
- C CHARCOUNT(*NATURAL | *STDCHARSIZE)
- C CHARCOUNT(*NATURAL | *STDCHARSIZE)
- C CHARCOUNTTYPES(*UTF8 *UTF16 *JOBRUN *MIXEDEBCDIC *MIXEDASCII)
- C CHECK (Check Characters)
- C CHECKR (Check Reverse)
- C CLASS(*JAVA:class-name)
- C CLEAR Examples
- C Clearing Record Formats
- C Clearing Variables
- C CLOSE (Close Files)
- C Coding a Compile-Time Array
- C Coding a Prerun-Time Array
- C Coding a Run-Time Array
- C Combination Edit Codes
- C Combined Files
- C COMMIT (Commit)
- C COMMIT{(rpg_name)}
- C COMP (Compare)
- C Compare Operations
- C Compile-Time and Prerun-Time Arrays
- C Condition Expressions
- C Conditional Compile Names
- C Conditional Directives Within a Free-Form Statement
- C Conditions Relating to Control Specification Keywords
- C Conditions Relating to the Command Being Used
- C Conditions Relating to the Environment
- C Conditions Relating to the Target Release
- C CONST{(constant)}
- C Constants
- C Constants
- C Control Level Indicators
- C Control Specification Keyword Field
- C Control Specifications
- C Control Specifications Help
- C Control-Specification Compile-Option Keywords
- C Control-Specification Keywords
- C Conversion Operations
- C Conversions
- C COPYNEST(number)
- C COPYRIGHT('copyright string')
- C CR or minus symbol
- C CTDATA
- C Currency Symbol
- C CURSYM('sym')
- C CVTOPT(*{NO}DATETIME *{NO}GRAPHIC *{NO}VARCHAR *{NO}VARGRAPHIC)
- C CVTOPT(*VARCHAR) and CVTOPT(*VARGRAPHIC)
- D D=Date Keys
- D Data Attributes
- D Data Structure Examples
- D Data Structure Names
- D Data Types Supported by Expression Operands
- D Data-Area Operations
- D Data-type Keywords
- D Date, time or timestamp expression
- D DATE{(format{separator})}
- D DATEDIT(fmt{separator})
- D DATEYY(*ALLOW | *WARN | *NOALLOW)
- D DATFMT(fmt{separator})
- D DATFMT(format{separator})
- D DATFMT(format{separator})
- D Db2 for i Syntax
- D DCLOPT(*NOCHGDSLEN)
- D DEALLOC (Free Storage)
- D DEBUG{(*DUMP | *INPUT | *RETVAL | *XMLSAX | *NO | *YES)}
- D DECEDIT(*JOBRUN | 'value')
- D Decimals and Commas
- D Declarative Operations
- D DECPREC(30|31|63)
- D Defining Data Structure Parameters in a Prototype or Procedure Interface
- D Defining Related Arrays
- D Defining the File Usage in Free-Form
- D Definition and Procedure Specification Name Field
- D Definition of Enumeration
- D Definition of Externally Described Data Structure
- D Definition of Externally Described Data Structure Subfield
- D Definition of Named Constant
- D Definition of Program-Described Data Structure
- D Definition of Program-Described Data Structure Subfield
- D Definition of Prototype or Procedure Interface
- D Definition of Prototyped Parameter
- D Definition of Standalone Field
- D Definition Specification Continued Name Line
- D Definition Specification Help
- D Definition Specification Keyword Continuation Line
- D Definition Specification Keyword Field
- D Definition Specifications
- D Definition-Specification Keywords
- D DELETE (Delete Record)
- D DESCEND
- D Detailed RPG IV Object Program Cycle
- D Determining the Common Type of Multiple Operands
- D Determining the Digit Length of a Packed-Decimal Field
- D Device-type Keywords
- D DEVID(fieldname)
- D DFT (Default enumeration constant)
- D DFTACTGRP(*YES | *NO)
- D DFTNAME(rpg_name)
- D Differences between fixed-form and free-form to be aware of
- D Digit (D)
- D DISK{(*EXT | record-length)}
- D DIV (Divide)
- D DO (Do)
- D DOU (Do Until)
- D DOUxx (Do Until)
- D DOW (Do While)
- D DOWxx (Do While)
- D DSPLY (Display Message)
- D DUMP (Program Dump)
- E Edit Code Summary
- E Edit Words
- E Editing Considerations
- E Editing Entire Arrays
- E Editing Externally Described Files
- E ELSE (Else)
- E ELSEIF (Else If)
- E ENBPFRCOL(*PEP | *ENTRYEXIT | *FULL)
- E Ending a Program without a Primary File
- E ENDSR (End of Subroutine)
- E ENDyy (End a Structured Group)
- E Ensuring Accuracy
- E Enumeration Keyword
- E Enumeration Names
- E Equivalent Free-form Coding for Data Structure Entries
- E Equivalent Free-form Coding for Fixed-Form File Entries
- E Equivalent Free-form Coding for Parameter Entries
- E Equivalent Free-form Coding for Procedure Interface Entries
- E Equivalent Free-form Coding for Prototype Entries
- E Equivalent Free-form Coding for Standalone Field Entries
- E Equivalent Free-form Coding for Subfield Entries
- E Error Handling for Database Data Mapping Errors
- E Error-Handling Operations
- E EVAL (Evaluate expression)
- E EVALR (Evaluate expression, right adjust)
- E Example of "Result Decimal Position" Precision Rules
- E Example of an Open Access Handler
- E Example of Coding Arrays
- E Example of Default Precision Rules
- E Example of Defining Literals
- E Example of passing a file and passing a data structure with the associated variables.
- E Example of the nsprefix option
- E Example of Using Literals with Zero Length
- E Examples
- E Examples
- E Examples of Bit Operations
- E Examples of Converting a Character Field to a Date Field
- E Examples of DATA-GEN generators
- E Examples of DATA-INTO parsers
- E Examples of the allowextra option with extra elements for a subfield array
- E Examples of the allowextra option with unexpected non-text content for a scalar variable or subfield
- E Examples of the allowextra option with XML data not corresponding to RPG subfields
- E Examples of the allowmissing option with insufficient data for all subfields
- E Examples of the allowmissing option with insufficient data for subfield arrays
- E Examples of the case option with values upper, lower and any
- E Examples of the case=convert option
- E Examples of the countprefix option
- E Examples of the DATA keyword
- E Examples of the datasubf option
- E Examples of the doc option
- E Examples of the EVAL-CORR operation
- E Examples of the ns option
- E Examples of the path option with array variables
- E Examples of the path option with non-array variables
- E Examples of the renameprefix option
- E Examples of the trim option
- E Examples of the XML-INTO operation
- E Examples of the XML-SAX operation
- E EXCEPT (Calculation Time Output)
- E EXCEPT Names
- E EXFMT (Write/Then Read Format)
- E Expected format of data for DATA-INTO
- E Expected format of XML data
- E EXPORT
- E EXPORT{(external_name)}
- E Expression Operands
- E EXPROPTS(*MAXDIGITS | *RESDECPOS | *ALWBLANKNUM | *USEDECEDIT)
- E EXSR (Invoke Subroutine)
- E EXT
- E EXTBININT{(*NO | *YES)}
- E EXTDESC(external-filename)
- E Extended Length PRTCTL Data Structure
- E Extended-Factor 2 Operation Codes
- E External Indicators
- E Externally Described
- E Externally Described
- E Externally Described Data Structure Keywords
- E Externally Described Data Structure Subfield Keywords
- E Externally-Described File
- E EXTFILE(filename | *EXTDESC)
- E EXTFLD{(field_name)}
- E EXTFMT(code)
- E EXTIND(*INUx)
- E EXTMBR(membername)
- E EXTNAME(file-name{:format-name}{:*ALL| *INPUT|*OUTPUT|*KEY|*NULL})
- E EXTPGM{(name)}
- E EXTRCT (Extract Date/Time/Timestamp)
- F F=Float Keys
- F FEOD (Force End of Data)
- F Fetch Overflow
- F Field Names
- F Field Names, Blanks, Tables and Arrays
- F File Description Specification Keyword Field
- F File Description Specifications Externally Described
- F File Description Specifications Help
- F File Description Specifications Program-Described
- F File device types
- F File Exception/Error Subroutine (INFSR)
- F File Information Data Structure
- F File Parameters
- F File Status Codes
- F File Types and Processing Methods
- F File-Description Keyword Continuation Line
- F File-Description Keywords
- F fileccsid (default utf8)
- F First Page Indicator (1P)
- F Fixed-form DTAARA keyword
- F FIXNBR(*{NO}ZONED *{NO}INPUTPACKED)
- F FLOAT(bytes)
- F FLTDIV{(*NO | *YES)}
- F FOR (For)
- F For the ** operator:
- F For the / operator:
- F For the operators +, -, and *:
- F FOR-EACH (For Each)
- F FORCE (Force a Certain File to Be Read Next Cycle)
- F Formatting the Alternate Collating Sequence Records
- F Formatting the Expansion of an Edit Word
- F FORMLEN(number)
- F FORMOFL(number)
- F FORMSALIGN{(*NO | *YES)}
- F Free-Form Control Statement
- F Free-form DTAARA keyword for a data structure
- F Free-form DTAARA keyword for a field or subfield
- F Free-Form Enumeration Definition
- F Free-Form Named Constant Definition
- F Free-form Operations
- F Free-Form Procedure Statement
- F Free-Form Specification
- F FROMFILE(file_name)
- F FTRANS{(*NONE | *SRC)}
- F Full Line
- F Full Procedural File
- F Full Procedural Files
- F Fully free-form statements
- F Function Key Indicators
- G G=Graphic Keys
- G General Expression Rules
- G General MOVEA Operations
- G General RPG IV Program Cycle
- G General thread considerations
- G GENLVL(number)
- G Global and Local Files
- G GOTO (Go To)
- G GRAPH(length)
- G Graphic Format
- G Guidelines for Choosing the Numeric Format for a Field
- H Halt Indicators (H1-H9)
- H HANDLER(program-or-procedure { : communication-area)})
- H Handling of Directives by the RPG Preprocessor
- H How character data is processed for file I/O
- H How the Length of the Field is Set
- H How the Length of the Field is Used
- H How to Code an Edit Word
- I I=Indexed File
- I IF (If)
- I IFxx (If)
- I IGNORE(recformat{:recformat...})
- I Implicit Closing of Files and Unlocking of Data Areas
- I Implicit Opening of Files and Locking of Data Areas
- I IMPORT{(external_name)}
- I IN (Retrieve a Data Area)
- I IN operator
- I INCLUDE(recformat{:recformat...})
- I IND
- I INDDS(data_structure_name)
- I INDENT(*NONE | 'character-value')
- I Indicator Data Structure
- I Indicator Format
- I Indicator-Setting Operations
- I Indicators
- I Indicators Conditioning Output
- I Indicators Used in Expressions
- I INFDS Device Specific Feedback Examples
- I INFDS File Feedback Example
- I INFDS Get Attributes Feedback Example
- I INFDS Input/Output Feedback Example
- I INFDS Open Feedback Example
- I INFDS(DSname)
- I Information Operations
- I INFSR(SUBRname)
- I Initialization
- I Initialization
- I Initialization
- I Initialization of Global Data
- I Initialization of Nested Data Structures
- I Initialization Operations
- I Input
- I Input Files
- I Input of Null-Capable Fields
- I Input Specification Logical Relationship
- I Input Specifications Field Layout
- I Input Specifications Help
- I Input Specifications Record Layout
- I Input-Only Support for Null-Capable Fields
- I INT(digits)
- I Integer and Unsigned Arithmetic
- I Integer Format
- I Internal Format
- I INTPREC(10 | 20)
- I INZ{(initial value)}
- I ITER (Iterate)
- K K=Key
- K Keyed Operations
- K KEYED{(*CHAR : key-length)}
- K KEYLOC(number)
- K Keys for File Operations
- K Keyword differences between fixed form and free form definitions
- K Keywords Externally Described
- K Keywords Program Described
- K KFLD (Define Parts of a Key)
- K KLIST (Define a Composite Key)
- K KLIST Names
- L Labels
- L LANGID(*JOBRUN | *JOB | 'language-identifier')
- L Last Record Indicator
- L Last Record Indicator (LR)
- L LEAVE (Leave a Do/For Group)
- L LEAVESR (Leave a Subroutine)
- L LIKE(object-name)
- L LIKEDS(data_structure_name)
- L LIKEREC(intrecname{:extract-types})
- L Linear Main Module
- L Loading a Prerun-Time Array
- L Loading a Run-Time Array by Reading One Record from a File
- L Loading a Run-Time Array by Reading Several Records from A File
- L Loading an Array from Identical Externally-Described Fields
- L Local Data Area (*LDA)
- L Locating an Open Access Handler
- L Lookahead Fields
- L Lookahead Routine
- L LOOKUP (Look Up a Table or Array Element)
- L LOOKUP with One Table
- L LOOKUP with Two Tables
- M Main Source Section Specifications
- M MAIN(main_procedure_name)
- M Match Fields Routine
- M Matching Record Indicator (MR)
- M MAXDEV(*ONLY | *FILE)
- M Memory Management Operations
- M Message Operation
- M MHHZO (Move High to High Zone)
- M MHLZO (Move High to Low Zone)
- M MLHZO (Move Low to High Zone)
- M MLLZO (Move Low to Low Zone)
- M MONITOR (Begin a Monitor Group)
- M MOVE (Move)
- M Move Zone Operations
- M MOVEL (Move Left)
- M Moving Character, Graphic, UCS-2, and Numeric Data
- M MULT (Multiply)
- M Multi-file Processing with No Match Fields
- M MVR (Move Remainder)
- N name (no default)
- N Named Constant Keyword
- N Named Constants
- N Named Constants
- N Nested /COPY or /INCLUDE
- N NEXT (Next)
- N NOMAIN
- N NOMAIN Module
- N NOOPT
- N Null-capable fields in externally-described data structures
- N NULLIND{(null-indicator)}
- N Numeric Entries
- N Numeric MOVEA Operations
- N Numeric or character expression
- O OBJECT{(*JAVA:class-name)}
- O OCCUR (Set/Get Occurrence of a Data Structure)
- O OCCURS(numeric_constant)
- O OFLIND(indicator)
- O ON-ERROR (On Error)
- O ON-EXCP (On Exception)
- O ON-EXIT (On Exit)
- O OPDESC
- O OPEN (Open File for Processing)
- O OPENOPT (*{NO}INZOFL *{NO}CVTDATA)
- O Operation Codes
- O Operation Codes
- O Operation Codes
- O Operation Codes
- O Operation Extender
- O Operation Extender
- O Operation Precedence
- O Operational Descriptors
- O OPTIMIZE(*NONE | *BASIC | *FULL)
- O OPTION(*{NO}XREF *{NO}GEN *{NO}SECLVL *{NO}SHOWCPY *{NO}EXPDDS *{NO}EXT *{NO}SHOWSKP) *{NO}SRCSTMT) *{NO}DEBUGIO) *{NO}UNREF
- O OPTIONS(*NOPASS *OMIT *VARSIZE *EXACT *STRING *TRIM *RIGHTADJ *NULLIND *CONVERT)
- O OR Relationship
- O Order of Evaluation
- O ORxx (Or)
- O OTHER (Otherwise Select)
- O OUT (Write a Data Area)
- O Output
- O output (the default depends on the context)
- O Output Files
- O Output Logical Relationship
- O Output of Null-Capable Fields
- O Output Specification Constant/Editword Field
- O Output Specification Field Layout
- O Output Specification Record Layout
- O Output Specifications Help
- O Overflow Indicators
- O Overflow Routine
- O OVERLAY(name{:start_pos | *NEXT})
- O OVERLOAD(prototype1 { : prototype2 ...})
- P P=Packed Keys
- P PACKED(digits {: decimal-positions})
- P PACKEVEN
- P PAGE, PAGE1-PAGE7
- P PARM (Identify Parameters)
- P Parsing System Built-In Names
- P PASS(*NOIND)
- P PDF file for ILE RPG Reference
- P Performance Considerations
- P PERRCD(numeric_constant)
- P PGMINFO(*YES | *NO)
- P PGMNAME(program_name)
- P PLIST (Identify a Parameter List)
- P PLIST Names
- P PLIST(Plist_name)
- P POINTER{(*PROC)}
- P POS(starting-position)
- P Position 17 (Type — Externally Described File)
- P Position 17 (Type — Program-Described File)
- P Position 18 (Release)
- P Position 19 (End of File)
- P Position 19 (Number)
- P Position 20 (File Addition)
- P Position 20 (Option)
- P Position 21 (Sequence)
- P Position 22 (External Description)
- P Position 22 (File Format)
- P Position 23 (Type of Data Structure)
- P Position 24 (Begin/End Procedure)
- P Position 28 (Limits Processing)
- P Position 35 (Date/Time Separator)
- P Position 36 (Data Format)
- P Position 40 (Internal Data Type)
- P Position 43 (Reserved)
- P Position 43 (Reserved)
- P Position 44 (Edit Codes)
- P Position 45 (Blank After)
- P Position 45 (Blank After)
- P Position 52 (Data Format)
- P Position 6 (Form Type)
- P Position 6 (Form Type)
- P Position 6 (Form Type)
- P Position 6 (Form Type)
- P Position 6 (Form Type)
- P Position 6 (Form Type)
- P Position 6 (Form Type)
- P Position 6 (Form Type)
- P Position 6 (Form Type)
- P Position 6 (Form Type)
- P Positions 12-25 (Factor 1)
- P Positions 12-25 (Factor 1)
- P Positions 16-18 (External Logical Relationship)
- P Positions 16-18 (Logical Relationship)
- P Positions 16-18 (Program-described Logical Relationship)
- P Positions 17-20 (Reserved)
- P Positions 18-20 (Record Addition)
- P Positions 18-20 (Record Addition/Deletion)
- P Positions 21-22 (Record Identifying Indicator)
- P Positions 21-29 (External Field Description Indicators)
- P Positions 21-29 (External File Record ID Indicators)
- P Positions 21-29 (File Field Description Indicators)
- P Positions 21-29 (File Record ID Indicators)
- P Positions 21-30 (External Field Name)
- P Positions 23-27 (Record Length)
- P Positions 23-27, 31-35, and 39-43 (Position)
- P Positions 23-80 (Reserved)
- P Positions 24-25 (Definition Type)
- P Positions 26-32 (From Position)
- P Positions 28, 36, and 44 (Not)
- P Positions 29-33 (Length of Key or Record Address)
- P Positions 30-39 (EXCEPT Name)
- P Positions 30-39 (EXCEPT Name)
- P Positions 30-43 (Field Name)
- P Positions 30, 38, and 46 (Character)
- P Positions 31-34 (Data Attributes - External)
- P Positions 31-48 (Reserved)
- P Positions 33-39 (To Position / Length)
- P Positions 36-49 (Factor 2)
- P Positions 36-80 (Extended Factor 2)
- P Positions 37-46 (Field Location)
- P Positions 40-42 (Space Before)
- P Positions 40-51 (Space and Skip)
- P Positions 41-42 (Decimal Positions)
- P Positions 43-45 (Space After)
- P Positions 44-80 (Keywords)
- P Positions 44-80 (Keywords)
- P Positions 44-80 (Keywords)
- P Positions 46-48 (Skip Before)
- P Positions 47-48 (Decimal Positions)
- P Positions 47-51 (End Position)
- P Positions 49-51 (Skip After)
- P Positions 49-62 (Field Name)
- P Positions 49-62 (Field Name)
- P Positions 50-63 (Result Field)
- P Positions 63-64 (Control Level)
- P Positions 63-64 (Control Level)
- P Positions 64-68 (Field Length)
- P Positions 65-66 (Matching Fields)
- P Positions 65-66 (Matching Fields)
- P Positions 67-68 (Field Record Relation)
- P Positions 67-68 (Reserved)
- P Positions 69-70 (Decimal Positions)
- P Positions 69-74 (Field Indicators - Externally Described)
- P Positions 69-74 (Field Indicators - Program Described)
- P Positions 7 and 8
- P Positions 7-16 (File Name)
- P Positions 7-16 (File Name)
- P Positions 7-16 (Record Name)
- P Positions 7-16 (Record Name)
- P Positions 7-20 (Reserved)
- P Positions 7-20 (Reserved)
- P Positions 7-21 (Name)
- P Positions 7-21 (Name)
- P Positions 7-30 (Reserved)
- P Positions 7-8 (Control Level)
- P Positions 7-80 (Keywords)
- P Positions 71-76 (Resulting Indicators)
- P Positions 75-80 (Reserved)
- P Positions 81-100 (Comments)
- P Positions 9-11
- P Positions 9-11 (Indicators)
- P Positions 9-11 (Indicators)
- P Possible error situations
- P POST (Post)
- P Potential Problem Situations
- P Precision of Intermediate Results
- P PREFIX(prefix{:nbr_of_char_replaced})
- P PREFIX(prefix{:nbr_of_char_replaced})
- P Prerequisite and Related Information
- P PRFDTA(*NOCOL | *COL)
- P Primary File
- P PRINTER{(*EXT | record-length)}
- P Procedure Interface
- P Procedure Interface Definition
- P Procedure Pointer Data Type
- P Procedure Specification Continued Name Line
- P Procedure Specification Help
- P Procedure Specification Keyword Continuation Line
- P Procedure Specifications
- P Procedure-Specification Keywords
- P Processing Matching Records
- P Processing of a Program-Described Binary Input Field
- P Processing of an Externally Described Binary Input Field
- P Processing string data by the natural size of each character
- P PROCPTR
- P Program CALL Example
- P Program Data
- P Program Described
- P Program Described
- P Program Exception/Error Subroutine
- P Program Status Codes
- P Program-Described Data Structure Keywords
- P Program-Described Data Structure Subfield Keywords
- P Program-Described File
- P Program-Status Data Structure
- P Prompt window
- P Prototype and Procedure Interface Keywords
- P Prototype Names
- P Prototyped Calls
- P Prototyped Parameter Keywords
- P Prototyped Parameters
- P Prototypes
- P PSDS
- P PSDS Example
- P Push buttons
- P Push buttons
- Q QUALIFIED
- Q Qualifying Data Structure Names
- R RAFDATA(filename)
- R READ (Read a Record)
- R READC (Read Next Changed Record)
- R READE (Read Equal Key)
- R READP (Read Prior Record)
- R READPE (Read Prior Equal)
- R REALLOC (Reallocate Storage with New Length)
- R RECNO(fieldname)
- R Recommendations
- R Record Address File (RAF)
- R Record Format Name
- R Record Names
- R REL (Release)
- R Release
- R Releasing record locks
- R RENAME(Ext_format:Int_format)
- R Representation of Numeric Formats
- R REQPREXP(*NO | *WARN | *REQUIRE)
- R REQPROTO(*NO)
- R REQPROTO(*NO)
- R Reserved
- R RESET Examples
- R Resetting Record Formats
- R Resetting Variables
- R Result Operations
- R Results of the /COPY or /INCLUDE during Compile
- R RETURN (Return to Caller)
- R Return Indicator (RT)
- R Return Values
- R ROLBK (Roll Back)
- R RPG IV Exception/Error Handling Routine
- R RPG IV Words with Special Functions/Reserved Words
- R RTNPARM
- R Rules for Array Source Records
- R Rules for Assigning Field Indicators
- R Rules for Assigning Record Identifying Indicators
- R Rules for Assigning Resulting Indicators
- R Rules for Control Level Indicators
- R Rules for converting character values to numeric values using built-in functions
- R Rules for Figurative Constants
- R Rules for File Conditioning
- R Rules for File Names
- R Rules for PAGE, PAGE1-PAGE7
- R Rules for passing and using file parameters
- R Rules for Testing Conditions
- R Rules for the LEN keyword:
- R Rules for the LIKEFILE keyword:
- R Rules for the QUALIFIED keyword:
- R Rules for the STATIC keyword:
- R Rules for the TEMPLATE keyword for Definition specifications:
- R Rules for the TEMPLATE keyword:
- R Rules for transferring data to RPG variables for XML-INTO and DATA-INTO
- R Rules for User Date
- R Rules for Variable-Length Character, Graphic, and UCS-2 Formats
- R Run-Time Arrays
- S SAMEPOS(subfield)
- S SAVEDS(DSname)
- S SAVEIND(number)
- S SCAN (Scan String)
- S Scope of Definitions
- S Scope of Definitions
- S Searching an Array Data Structure
- S Searching an Array with an Index
- S Searching an Array Without an Index
- S Secondary File
- S SELECT (Begin a Select Group)
- S Separators
- S Separators
- S Separators
- S SEQ{(*EXT | record-length)}
- S Sequence Checking for Character Arrays
- S Sequenced arrays that are not in the correct sequence
- S Sequencing Run-Time Arrays
- S SERIALIZE
- S SETGT (Set Greater Than)
- S SETLL (Set Lower Limit)
- S SETOFF (Set Indicator Off)
- S SETON (Set Indicator On)
- S Setting a Basing Pointer
- S SFILE(recformat:rrnfield)
- S Short Circuit Evaluation
- S SHTDN (Shut Down)
- S Simple Edit Codes
- S Size of the Length-Prefix for a Varying Length Item
- S Size Operations
- S SLN(number)
- S SND-MSG (Send a Message to the Joblog)
- S SORTA (Sort an Array)
- S Sorting an Array Data Structure
- S Sorting using part of the array as a key
- S SPECIAL{(*EXT | record-length)}
- S Specification Type Not Known
- S Specifying *DCLCASE as the External Name
- S Specifying an Alternate Collating Sequence in Your Source
- S Specifying an Array in Calculations
- S Specifying an External Format for a Character, Graphic, or UCS-2 Field
- S Specifying an External Format for a Date-Time Field
- S Specifying an External Format for a Numeric Field
- S Specifying File Translation
- S Specifying Subfield Length
- S Specifying the Files
- S Specifying the Table
- S Specifying the Table Element Found in a LOOKUP Operation
- S Split Control Field
- S SQRT (Square Root)
- S SRTSEQ(*HEX | *JOB | *JOBRUN | *LANGIDUNQ | *LANGIDSHR | 'sort-table-name')
- S Standalone Field Keywords
- S Status Line
- S STGMDL(*INHERIT | *SNGLVL | *TERASPACE)
- S Storage of Definitions
- S String Operations
- S Structured Programming Operations
- S SUB (Subtract)
- S SUBDUR Examples
- S Subprocedure Calculations
- S Subprocedure Specifications
- S Subprocedures and Subroutines
- S Subroutine Coding Examples
- S Subroutine Identifier
- S Subroutine Names
- S SUBST (Substring)
- S Subtract a duration
- S Summary According to Definition Specification Type
- S Summary of Coding Rules for Edit Words
- S Summary of Edit Codes
- S Summary of Indicators
- S Syntax of Keywords
- T T=Record Address File
- T T=Time Keys
- T Table Names
- T TAG (Tag)
- T TEST (Test Date/Time/Timestamp)
- T Test Operations
- T TESTB (Test Bit)
- T TESTN (Test Numeric)
- T TESTZ (Test Zone)
- T TEXT(*SRCMBRTXT | *BLANK | 'description')
- T The Essential Array Specifications
- T THREAD(*CONCURRENT)
- T THREAD(*SERIALIZE)
- T TIME (Retrieve Time and Date)
- T TIME{(format{separator})}
- T TIMESTAMP{(fractional-seconds)}
- T TIMFMT(fmt{separator})
- T TIMFMT(format{separator})
- T TIMFMT(format{separator})
- T TOFILE(file_name)
- T Translating One File or All Files
- T TRUNCNBR(*YES | *NO)
- T Typed Enumerations
- U UCS-2 Format
- U UCS2(length)
- U Unexpected Results
- U Unlocking data areas
- U UNS(digits)
- U Unsigned Format
- U UPDATE (Modify Existing Record)
- U Update Files
- U USAGE(*INPUT *OUTPUT *UPDATE *DELETE)
- U User Date Reserved Words
- U User-Defined Edit Codes
- U Using /COPY, /INCLUDE in Source Files with Embedded SQL
- U Using a Data Area as a Control Specification
- U Using an External Collating Sequence
- U Using Dynamically-Sized Arrays
- U Using the "Result Decimal Position" Precision Rules
- U Using the Default Precision Rules
- U USROPN
- U USRPRF(*USER | *OWNER)
- V VALIDATE(*NODATETIME)
- V VALUE
- V Value of *ROUTINE
- V VARCHAR(length {:2 | 4})
- V VARGRAPH(length {:2 | 4})
- V Variable Initialization
- V VARUCS2(length {:2 | 4})
- V Varying-dimension arrays
- V VARYING{(2 | 4)}
- W WHEN (When True Then Select)
- W WHEN-IN (When the SELECT Operand is IN the WHEN-IN Operand)
- W WHEN-IS (When the SELECT Operand is Equal to the WHEN-IS Operand)
- W WHENxx (When True Then Select)
- W Where You Can Specify an Object Field
- W Who Should Use This Reference
- W Why You Should Use Variable-Length Fields
- W WORKSTN{(*EXT | record-length)}
- W WRITE (Create New Records)
- X XFOOT (Summing the Elements of an Array)
- X XLATE (Translate)
- X XML events
- X XML Operations
- X XML-SAX event-handling procedure
- Z Z-ADD (Zero and Add)
- Z Z-SUB (Zero and Subtract)
- Z Z=Timestamp Keys
- Z Zeros
- Z Zone (Z)
- Z Zoned-Decimal Format
- Z ZONED(digits {: decimal-positions})