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
|
| |
|
|
- Langid
- Keyword (H-spec). Language identifier.
- Usage:
LANGID(*JOBRUN|*JOB|'language-identifier')
- Last Record Indicator (LR)
- Indicator that signals when the last record (LR) is processed; can then condition
calculation and output operations to be done at the end of the program.
- Leave
- Operation code. Leave Do/For Group.
- Usage:
LEAVE ;
- Leavesr
- Operation code. Leave Subroutine.
- Usage:
LEAVESR ;
- Len
- Keyword (D-spec).Length of data structure or character data item (1-16773104).
- Usage:
LEN(length)
- %Len()
- Function. Get/Set Length.
- Usage:
%LEN(expression)
- Like
- Keyword (D-spec). Define a field like another.
- Usage:
LIKE(field-name)
- Likeds
- Keyword (D-spec). Define a data structure like another.
- Usage:
LIKE(ds-name)
- Likefile
- Keyword (F-, D-spec). Define a file specification or parameter like another F-spec.
- Usage:
LIKEFILE(file-name)
- Likerec
- Keyword (D-spec). Define a data structure like a record format.
- Usage:
LIKEREC(format-name:*ALL|*INPUT|*OUTPUT|*KEY}
- %Lookup()
- Function. Lookup Array Element.
- Usage:
%LOOKUP(search-arg:array:start :number-elements)
- Usage:
%LOOKUPLT(search-arg:array:start :number-elements)
- Usage:
%LOOKUPLE(search-arg:array:start :number-elements)
- Usage:
%LOOKUPGE(search-arg:array:start :number-elements)
- Usage:
%LOOKUPGT(search-arg:array:start :number-elements)
- Lookup
- Operation code. Look up an Array or Table Element.
- Usage: Obsolete. Use %Lookup or %Tlookup.
|
| |
|
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:
|
|
|
|
|