HP RPG/XL Programmer's Guide (30318-90001)

7-: 17
Table 7-1. The File Table (Continued)
-----------------------------------------------------------------------------------------------
| | | |
| Word | Byte | Meaning |
| | | |
-----------------------------------------------------------------------------------------------
| | | |
| 38 | | Matching Field table pointer or form length (number of lines) if |
| | | this is a printer file |
| | | |
| 39 | | Matching or control level field in current record: |
| thru | | For control level fields: |
| 41 | | Word 39, byte 1 = 1 (Level 1 is present) |
| | | Word 39, byte 2 = 1 (Level 2 is present) |
| | | Word 39, byte 3 = 1 (Level 3 is present) |
| | | Word 40, byte 0 = 1 (Level 4 is present) |
| | | Word 40, byte 1 = 1 (Level 5 is present) |
| | | Word 40, byte 2 = 1 (Level 6 is present) |
| | | Word 40, byte 3 = 1 (Level 7 is present) |
| | | Word 41, byte 0 = 1 (Level 8 is present) |
| | | Word 41, byte 1 = 1 (Level 9 is present) |
| | | For matching fields: |
| | | Word 39, byte 0 = 1 (match fields are present) |
| | | Word 39, bytes 1-3 = Unused |
| | | |
| 42 | 0 | ISAM flag: |
| | | 0 = File opened is not a ISAM file |
| | | 1 = File opened is an ISAM file |
| | | |
| 42 | 1 | KSAM flag: |
| | | 0 = File opened is not a KSAM file |
| | | 1 = File opened is a KSAM file |
| | | |
| 42 | 2 | Print file flag |
| | | |
| 42 | 3 | Other file open flag (equals 1 if this file references another opened |ile)
| | | |
| 43 | 0 | Run-time end-of-file flag (equals 1 when end-of-file detected) |
| | | |
| 43 | 1 | KSAM file open flag (equals 1 if file currently opened is a KSAM file)|
| | | |
| 43 | 2 | Record number flag (equals 1 when the first record number is 1) |
| | | |
| 43 | 3 | OK-to-use flag (equals 1 when the file is not inhibited by U1-U8) |
| | | |
| 44 | 0,1 | Multiname file usage flag |
| | | |
| 44 | 2 | Locking flag (equals 1 when locking specified) |
| | | |
| 45 | | Binary key for KSAM or TurboIMAGE file |
| | | |
| 46 | | Record-identifying indicator |
| | | |
| | | |
| 47 | | Sequence number from Input Specification (columns 15-16) |
| | | |
| 48 | | Start of first trailer field |
| | | |
| 49 | | Offset from header to current trailer field |
| | | |
| 50 | | Trailer field length |
| | | |
| 51 | | File parameters |
| | | |
| 52 | | File access options |
| | | |
| 53 | | Pointer to move-fields routine |
| | | |
-----------------------------------------------------------------------------------------------