RPG IV From A to Z
|
| A comprehensive glossary of RPG IV and ILE terms: |
| |
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
|
|
Current at Version 6 Release 1.
|
- Color Key:
Required syntax
Optional syntax
- Obsolete entry
|
| |
|
|
- %Editc()
- Function. Edit Value Using Edit Code.
- Usage:
%EDITC(numeric-expression:editcode :fill-symbol)
- %Editflt()
- Function. Convert to Floating Point External Representation.
- Usage:
%EDITFLT(numeric-expression)
- %Editw()
- Function. Edit Value Using Edit Word.
- Usage:
%EDITW(numeric-expression:editword)
- /Eject
- Compiler directive. Skip to next page of compiler listing.
- Usage:
/EJECT
- %Elem()
- Function. Get Number of Elements.
- Usage:
%ELEM(data-item)
- Else
- Operation code. Else.
- Usage:
ELSE ;
- /Else
- Compiler directive. Select source block to include if previous /If or /Elseif failed (conditional compilation). Used with /Define, /If, /Elseif, /Endif.
- Usage:
/ELSE
- Elseif
- Operation code. Else If.
- Usage:
ELSEIF(mr) logical-expression ;
- /Elseif
- Compiler directive. Test conditional expression, within an /If or /Elseif group (conditional compilation). Used with /Define, /Else, /If, /Endif.
- Usage:
/ELSEIF NOT DEFINED(condition | *CRTBNDRPG | *CRTRPGMOD | *VxRxMx | COMPILE_WINDOWS | COMPILE_JAVA)
- Enbpfrcol
- Keyword (H-spec). Enable performance collection.
- Usage:
ENBPFRCOL(*PEP|*ENTRYEXIT|*FULL)
- Enddo
- Operation code. End Do Group.
- Usage:
ENDDO ;
- /End-exec
- Compiler directive. End of embedded SQL statement.
- Usage: Obsolete. Use semi-colon (;).
- Endfor
- Operation code. End For Group.
- Usage:
ENDFOR ;
- /End-free
- Compiler directive. End a free format calculation block.
- Usage:
/END-FREE
- Endif
- Operation code. End If Group.
- Usage:
ENDIF ;
- /Endif
- Compiler directive. End an /If source code block (conditional compilation). Used with /Define, /If, /Elseif, /Endif.
- Usage:
/ENDIF
- Endmon
- Operation code. End Monitor Group.
- Usage:
ENDMON ;
- Endsl
- Operation code. End Select Group.
- Usage:
ENDSL ;
- Endsr
- Operation code. End Subroutine.
- Usage:
ENDSR return-point ;
- %Eof()
- Function. Get End (Beginning) of File Status.
- Usage:
%EOF(file-name)
- /Eof
- Compiler directive. End of file for current source file.
- Usage:
/EOF
- %Equal()
- Function. Get Exact Match Status for SETLL Operation.
- Usage:
%EQUAL(file-name)
- %Error
- Function. Get Error Status.
- Usage:
%ERROR
- Eval
- Operation code. Evaluate Expression.
- Usage:
EVAL(hmr) assignment-expression ;
- Evalr
- Operation code. Evaluate Expression, Right Adjust.
- Usage:
EVALR(mr) assignment-expression ;
- Eval-corr
- Operation code. Assign corresponding subfields from one data structure to another.
- Usage:
EVAL-CORR(hmr) ds1 = ds2 ;
- Except
- Operation code. Perform Calculation Time Output.
- Usage:
EXCEPT except-name ;
- Exec Sql
- Compiler directive. Execute an embedded SQL statement. Used with /End-exec.
- Usage:
EXEC SQL sql-statement ;
- Exfmt
- Operation code. Write, Then Read Format.
- Usage:
EXFMT(e) format-name data-structure;
- Export
- Keyword (D-, P-spec). Field or procedure can be exported (i.e., used by another module).
- Usage:
EXPORT(external-name)
- Expropts
- Keyword (H-spec). Expression evaluation options.
- Usage:
EXPROPT(*MAXDIGITS|*RESDECPOS)
- Exsr
- Operation code. Invoke Subroutine.
- Usage:
EXSR subroutine-name ;
- Extbinint
- Keyword (H-spec). Use integer format for externally-described binary fields.
- Usage:
EXTBININT(*NO|*YES)
- Extdesc
- Keyword (F-spec). External name of file to use at compile time.
- Usage:
EXTDESC(file-name)
- External Indicator
- Indicator (U1-U8) that can be set by another program before a program is run,
or changed by another program while the program is running.
- Extfile
- Keyword (F-spec). External name of file to open.
- Usage:
EXTFILE(file-name|*EXTDESC)
- Extfld
- Keyword (D-spec). Rename externally described subfield.
- Usage:
EXTFLD(field-name)
- Extfmt
- Keyword (D-spec). External data type.
- Usage:
EXTFMT(B|C|F|I|L|P|R|S|U)
- Extind
- Keyword (F-spec). External indicator.
- Usage:
EXTIND(*INU1-*INU8)
- Extmbr
- Keyword (F-spec). File member to open.
- Usage:
EXTMBR(member-name)
- Extname
- Keyword (D-spec). External file with field descriptions.
- Usage:
EXTNAME(file-name:format-name :*ALL|*INPUT|*OUTPUT|*KEY)
- Extpgm
- Keyword (D-spec). External program name.
- Usage:
EXTPGM(pgm-name)
- Extproc
- Keyword (D-spec). External procedure name.
- Usage:
EXTPROC(proc-name)
- Usage:
EXTPROC(*CL|*CWIDEN|*CNOWIDEN|*JAVA:class-name :proc-name)
- Extrct
- Operation code. Extract From Date/Time/Timestamp.
- Usage: Obsolete. Use %Subdt.
|
| |
|
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
|
| |
 |
| Privacy and Email Policy |
| |
| AS/400®, eServer, i5/OS, IBM i, Integrated Language Environment®, iSeries, OS/400®, RPG/400®, System i5, VisualAge®, and WebSphere® are trademarks of IBM Corporation. Note: IBM® System i is the latest member of the family of eServer iSeries. This site might refer to System i as System i5, iSeries, or AS/400. |
| |
If you are having trouble navigating the menu at the top of this page, you may use the following scrollable site map instead:
|
|
|
|
|