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
|
| |
|
|
- Saveds
- Keyword (F-spec). Save data structure.
- Usage:
SAVEDS(ds-name)
- Saveind
- Keyword (F-spec). Save indicators.
- Usage:
SAVEIND(number)
- %Scan()
- Function. Scan String for Characters, Get Position.
- Usage:
%SCAN(search-arg:string:start)
- Scan
- Operation code. Scan String for Characters.
- Usage: Obsolete. Use %Scan.
- Secondary File
- Any input file other than the primary file, if specified.
- %Seconds()
- Function. Convert to Number of Seconds.
- Usage:
%SECONDS(numeric-expression)
- Select
- Operation code. Begin Select Group.
- Usage:
SELECT ;
- Serialize
- Keyword (P-spec). Procedure can be run by only one thread at a time.
- Usage:
SERIALIZE
- Service Program
- Bound program object (*SRVPGM) containing utility procedures that can be called by other bound programs.
- Setgt
- Operation code. Set Greater Than.
- Usage:
SETGT(ehmr) search-arg name ;
- Setll
- Operation code. Set Lower Limit.
- Usage:
SETLL(ehmr) search-arg name ;
- Setoff
- Operation code. Set Indicators Off.
- Usage: Obsolete. Use assignment expressions.
- Seton
- Operation code. Set Indicators On.
- Usage: Obsolete. Use assignment expressions.
- Sfile
- Keyword (F-spec). Subfile parameters.
- Usage:
SFILE(format-name:rrn-field)
- %Shtdn
- Function. Get Shutdown Request Status.
- Usage:
%SHTDN
- Shtdn
- Operation code. Check for Shutdown Request.
- Usage: Obsolete. Use %Shtdn.
- %Size()
- Function. Get Byte Size.
- Usage:
%SIZE(data-item:*ALL)
- Sln
- Keyword (F-spec). Starting line for WORKSTN file.
- Usage:
SLN(number)
- Sorta
- Operation code. Sort Array.
- Usage:
SORTA %Subarr(array-name:start :number-of-elements) ;
- /Space
- Compiler directive. Compiler listing line spacing.
- Usage:
/SPACE nbr
- %Sqrt()
- Function. Get Square Root of Expression.
- Usage:
%SQRT(numeric-expression)
- Sqrt
- Operation code. Square Root.
- Usage: Obsolete. Use %Sqrt.
- Srtseq
- Keyword (H-spec). Sort sequence table.
- Usage:
SRTSEQ(*HEX|*JOB|*JOBRUN|*LANGIDUNQ |*LANGIDSHR|'sort-table-name')
- Static
- Keyword (F-, D-spec). Local file or data item uses static storage, or Java method is static.
- Usage:
STATIC(*ALLTHREAD)
- %Status()
- Function. Get status code.
- Usage:
%STATUS(file-name)
- %Str()
- Function. Get/Set Null-Terminated String.
- Usage:
%STR(pointer:length:position)
- Sub
- Operation code. Subtract.
- Usage: Obsolete. Use - operator.
- %Subarr()
- Function. Get/Set Portion of Array.
- Usage:
%SUBARR(array:start:number-of-elements)
- Subdur
- Operation code. Subtract Duration.
- Usage: Obsolete. Use - operator, %DIFF, date functions.
- %Subdt()
- Function. Extract Portion of Date/Time/Timestamp.
- Usage:
%SUBDT(value:duration)
- %Subst()
- Function. Get/Set Character Substring.
- Usage:
%SUBST(string:start:length)
- Subst
- Operation code. Substring.
- Usage: Obsolete. Use %Subst.
|
| |
|
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:
|
|
|
|
|