ASNA WingsRPG™ Reference Manual

File Information Data Structure Support

The File Information Data structure (INFDS) for an ASNA Wings handled workstation file contains the following feedback information.

Feedback InformationFrom-To positions Length
File Feedback1-80 80
Open Feedback81-240 160
Input/Output Feedback241-366 126
Device Specific Feedback 367-405 38

RPG manages the File Feedback directly but the following tables specify the level of support provided by ASNA Wings for the last three feedback areas.

Open Feedback Area

The Open Feedback area occupies positions 81-240 of the INFDS. For a detailed explanation of each field, please see IBM's documentation:

OffsetLengthContentsSupport
02Open data path (ODP) type.Yes - Always 'DS'
210Name of the file being opened. Yes
1210Name of the library containing the file. Yes
2222N/A
442Maximum record length.Yes
4620N/A
662File type. Yes - Always 1
Display File
683N/A
71 2 Number of lines on a display screen. Yes
732Number of positions on a display.Yes
7530N/A
1052Maximum number of records that can be read or written in a block when using blocked record I/O.Yes
1072N/A
1092Blocked record I/O record increment.Yes
1114N/A
1151Miscellaneous flags. Yes
11610Name of the requester device. Yes
1262File open count. Yes
1284N/A
1321Miscellaneous flags.Yes (Bits 5 & 6)
1332Open identifier.Yes
1354N/A
1391Miscellaneous flags. Partial - Only Bit 4
1406N/A
1462Number of devices defined for this ODP.No - Always 0
148 12Device name definition list.No

Back to the Top.

Input/Output Feedback Area

The Input/Output Feedback area occupies positions 241-366 of the INFDS. For a detailed explanation of each field, please see IBM's documentation:

OffsetLengthContentsSupported
02Offset to file-dependent feedback area.Yes - Always 144
24Write operation count. Yes
64Read operation count. Yes
104Write-read operation count. Yes
144Other operation count. Yes
181Reserved.
191Current operation. Yes
2010Name of the record format just processed. Yes
302Device class.Yes - Always Hex 0145
3477-FC Display Station
3210Device name. Yes
424Length of the record processed by the last I/O operation.Yes
4680N/A

Back to the Top.

Device Specific Feedback Area

The Device Specific Feedback area occupies positions 367-405 of the INFDS. For a detailed explanation of each field, please see IBM's documentation:

OffsetLengthContentsSupported
02Flag bits.No
21Attention indicator byte (AIB). This field identifies which function key was pressed. Yes
32Cursor location (line and position). Yes
54Actual data length.Yes
92Relative record number of a subfile record.Yes
112Lowest subfile. No
132Total number of records in a subfile. Yes
152Cursor location (line and position) within active window.No
1717N/A
342Major return code. Yes
362Minor return code. Yes

Back to the Top.