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
|
| |
|
|
- D-Specifications (Definition Specifications)
- Section of an RPG program that defines data items, such as standalone fields,
named constants, data structures, prototypes, and proecedure interfaces.
- %Date()
- Function. Convert to Date.
- Usage:
%DATE(expression:format)
- Datedit
- Keyword (H-spec). Date edit (Y edit code).
- Usage:
DATEDIT(format-and-separator)
- Datfmt
- Keyword (H-, F-, D-spec). Date format.
- Usage:
DATFMT(format-and-separator)
- %Days()
- Function. Convert to Number of Days.
- Usage:
%DAYS(numeric-expression)
- Dealloc
- Operation code. Free Storage.
- Usage:
DEALLOC(en) pointer-name ;
- Debug
- Keyword (H-spec). Debug options.
- Usage:
DEBUG(*DUMP *INPUT *XMLSAX)
- Usage:
DEBUG(*NO|*YES)
- %Dec()
- Function. Convert to Packed Decimal.
- Usage:
%DEC(expression:digits:decimals)
- Usage:
%DEC(date-expression:format)
- Decedit
- Keyword (H-spec). Decimal notation.
- Usage:
DECEDIT(*JOBRUN|'value')
- %Dech()
- Function. Convert to Packed Decimal with Half-Adjust.
- Usage:
%DECH(expression:digits:decimals)
- %Decpos()
- Function. Get Number of Decimal Positions.
- Usage:
%DECPOS(numeric-expression)
- Decprec
- Keyword (H-spec). Decimal precision.
- Usage:
DECPREC(30|31)
- Define
- Operation code. Define Field.
- Usage: Obsolete. Use D-specs with Like.
- Delete
- Operation code. Delete Record.
- Usage:
DELETE(ehmr) search-arg name ;
- Descend
- Keyword (D-spec). Array/table in descending collating sequence.
- Usage:
DESCEND
- Devid
- Keyword (F-spec). Program device for SPECIAL file.
- Usage:
DEVID(field-name)
- Dftactgrp
- Keyword (H-spec). Compile unit to use default activation group.
- Usage:
DFTACTGRP(*YES|*NO)
- Dftname
- Keyword (H-spec). Default name for compile unit.
- Usage:
DFTNAME(name)
- %Diff()
- Function. Get Difference Between Dates/Times/Timestamps.
- Usage:
%DIFF(date1:date2:duration)
- Dim
- Keyword (D-spec). Number of elements in table/array (1-16773104).
- Usage:
DIM(numeric-constant)
- %Div()
- Function. Get Integer Portion of Quotient.
- Usage:
%DIV(dividend:divisor)
- Div
- Operation code. Divide.
- Usage: Obsolete. Use / operator, or %Div.
- Do
- Operation code. Do.
- Usage: Obsolete. Use For.
- Dou
- Operation code. Do Until.
- Usage:
DOU(mr) logical-expression ;
- Douxx
- Operation code. Do Until.
- Usage: Obsolete. Use Dou.
- Dow
- Operation code. Do While.
- Usage:
DOW(mr) logical-expression ;
- Dowxx
- Operation code. Do While.
- Usage: Obsolete. Use Dow.
- Dsply
- Operation code. Misplay Message.
- Usage:
DSPLY(e) message output-queue response ;
- Dtaara
- Keyword (D-spec). Data area name.
- Usage:
DTAARA(*VAR:data-area-name)
- Dump
- Operation code. Dump Program.
- Usage:
DUMP(a) identifier ;
|
| |
|
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:
|
|
|
|
|