Externally Described Files
Record Identifier Entry
*.. 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8
IRcdname+++....Ri..........................................................
| Columns
| Description
|
| 1–5
| Sequence number
|
| 6
| I
|
| 7-16
| Record name
|
| 17-20
| (Blank)
|
| 21-22
| Record identifying indicator: Blank, 01–99, L1–L9, LR, H1–H9, U1–U8, RT
|
| 23-80
| (Blank)
|
| 81–100
| Comments
|
Field Description Entry
*.. 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8
I..............Ext-field+..................Field+++++++++L1M1..PlMnZr......
| Columns
| Description
|
| 1–5
| Sequence number
|
| 6
| I
|
| 7-20
| (Blank)
|
| 21-30
| External field name to be renamed
|
| 31-48
| (Blank)
|
| 49-62
| Internal field name in program
|
| 63-64
| Control level: Blank, L1–L9
|
| 65-66
| Matching fields: Blank, M1–M9
|
| 67-68
| (Blank)
|
| 69-74
| Field indicators (plus/minus/zero): Blank, 01–99, H1–H9, U1–U8, RT
|
| 75-80
| (Blank)
|
| 81–100
| Comments
|
Program Described Files
Record Identifier Entry
*.. 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8
IFilename++SqNORiPos1+NCCPos2+NCCPos3+NCC..................................
I.........And..RiPos1+NCCPos2+NCCPos3+NCC..................................
| Columns
| Description
|
| 1–5
| Sequence number
|
| 6
| I
|
| 7-16
| File name
|
| 16-18
| Logical relationship: AND, OR (used only for multiline record identifier specifications)
|
| 17-20
| Sequence checking options
|
| 21-22
| Record identifying indicator: Blank, 01–99, L1–L9, LR, H1–H9, U1–U8, RT, **
|
| 23-46
| Record identification codes
|
| 47-80
| (Blank)
|
| 81–100
| Comments
|
Field Description Entry
*.. 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8
I........................Fmt+SPFrom+To+++DcField+++++++++L1M1FrPlMnZr......
| Columns
| Description
|
| 1–5
| Sequence number
|
| 6
| I
|
| 7-30
| (Blank)
|
| 31-34
| External format for a date or time field (See Date Formats , Time Formats ), *VAR for variable length fields
|
| 35
| Separator character for a date or time field
|
| 36
| Data type: Blank = Zoned decimal or character
A = Character
B = Binary
C = Unicode
D = Date
F = Float numeric
G = Graphic
I = Signed integer
L = Zoned decimal with preceding (left) sign
N = Indicator
P = Packed decimal
R = Zoned decimal with following (right) sign
S = Zoned decimal
T = Time
U = Unsigned integer
Z = Timestamp
|
| 37-41
| Field location: from position (1–32766)
|
| 42-46
| Field location: to position (1–32766)
|
| 47-48
| Decimal positions: Blank, 0–30
|
| 49-62
| Internal field name in program
|
| 63-64
| Control level: Blank, L1–L9
|
| 65-66
| Matching fields: Blank, M1–M9
|
| 67-68
| Field record relation: Blank, 01–99, L1–L9, MR, U1–U8, H1–H9, RT
|
| 69-74
| Field indicators (plus/minus/zero): Blank, 01–99, H1–H9, U1–U8, RT
|
| 75-80
| (Blank)
|
| 81–100
| Comments
|
Usage Conventions for syntax tables
Index | HomePage | Programming | RPG IV | Input Specification