File Management - IBM
File Management - IBM File Management - IBM
Table 24. I/O Feedback Area for ICF and Display Files (continued) Offset Data Type Length Contents File Type 36 Character 2 Minor return code. For the values for a display file, see the Application Display Programming book. For the values for an ICF file, see the ICF Programming book and the appropriate communications-type programmer’s guide. Display, ICF 38 Character 8 Systems Network Architecture (SNA) sense return code. For some return codes, this field may contain more detailed information about the reason for the error. For a description of the SNA sense codes, see the appropriate SNA book. ICF 46 Character 1 Safe indicator: ICF 0 An end-of-text (ETX) control character has not been received. 1 An ETX control character has been received. 47 Character 1 Reserved. 48 Character 1 Request Write (RQSWRT) command from remote system/application. 0 RQSWRT not received 1 RQSWRT received 49 Character 10 Record format name received from the remote system. ICF 59 Character 4 Reserved. 63 Character 8 Mode name. ICF 71 Character 9 Reserved. I/O feedback area for printer files Table 25. I/O Feedback Area for Printer Files Offset Data Type Length Contents 0 Binary 2 Current line number in a page. 2 Binary 4 Current page count. 6 Character 1 Bit 1: Spooled file has been deleted: ICF 1 The spooled file has been deleted. 0 The spooled file has not been deleted. Bits2-8:Reserved. 7 Character 27 Reserved. 34 Character 2 Major return code. 00 Operation completed successfully. 80 Permanent system or file error. 81 Permanent device error. 82 Open operation failed. 83 Recoverable device error occurred. 36 Character 2 Minor return code. For the values for a printer file, refer to the Printer Device Programming. 188 File Management V4R5
I/O feedback area for database files Table 26. I/O Feedback Area for Database Files Offset Data Type Length Contents 0 Binary 4 Size of the database feedback area, including the key and the null key field byte map. 4 Character 4 Bits 1-32: Each bit represents a join logical file in JFILE keyword. 0 JDFTVAL not supplied for file 1 JDFTVAL supplied for file 8 Binary 2 Offset from the beginning of the I/O feedback area for database files to the null key field byte map which follows the key value (which begins at offset 34 in this area). 10 Binary 2 Number of locked records. 12 Binary 2 Maximum number of fields. 14 Binary 4 Offset to the field-mapping error-bit map. 18 Character 1 Current file position indication. Bit 1: Current file position is valid for get-next-key equal operation. Bits 2-8: Reserved. 0 File position is not valid. 1 File position is valid. 19 Character 1 Current record deleted indication: Bits 1-2: Reserved. Bit 3: Next message indicator. 0 Next message not end of file. 1 Next message may be end of file. Bit 4: Deleted record indicator. 0 Current file position is at an active record. 1 Current file position is at a deleted record. Bit 5: Write operation key feedback indicator. 0 Key feedback is not provided by last write operation. 1 Key feedback is provided by last write operation. Appendix A. Feedback area layouts 189
- Page 148 and 149: | | | | | | | | | | | | | | | | | |
- Page 150 and 151: Using the Copy From Import File (CP
- Page 152 and 153: externally described database file
- Page 154 and 155: 144 File Management V4R5 v Two adja
- Page 156 and 157: - Description: This Field Definitio
- Page 158 and 159: Date Fields All date formats suppor
- Page 160 and 161: 150 File Management V4R5 Figure 14
- Page 162 and 163: devices that process the same type
- Page 164 and 165: Default system output queues 154 Fi
- Page 166 and 167: Spooling writers 156 File Managemen
- Page 168 and 169: value of *OWNER indicates that only
- Page 170 and 171: 160 File Management V4R5 You can us
- Page 172 and 173: 162 File Management V4R5 QFNC Finan
- Page 174 and 175: 164 File Management V4R5 If a job b
- Page 176 and 177: Spooling subsystem 166 File Managem
- Page 178 and 179: 168 File Management V4R5 the DLTSPL
- Page 180 and 181: Table 20. Open Feedback Area (conti
- Page 182 and 183: Table 20. Open Feedback Area (conti
- Page 184 and 185: Table 21. Device Definition List (c
- Page 186 and 187: Table 21. Device Definition List (c
- Page 188 and 189: Table 21. Device Definition List (c
- Page 190 and 191: Table 23. Common I/O Feedback Area
- Page 192 and 193: Table 23. Common I/O Feedback Area
- Page 194 and 195: Table 23. Common I/O Feedback Area
- Page 196 and 197: Table 24. I/O Feedback Area for ICF
- Page 200 and 201: Table 26. I/O Feedback Area for Dat
- Page 202 and 203: Table 27. Get Attributes (continued
- Page 204 and 205: Table 27. Get Attributes (continued
- Page 206 and 207: Table 27. Get Attributes (continued
- Page 208 and 209: (SBCS) A B 1 2 1-Byte Code X’C1
- Page 210 and 211: 200 File Management V4R5 Table 28.
- Page 212 and 213: Invalid double-byte code and undefi
- Page 214 and 215: DBCS device file support 204 File M
- Page 216 and 217: 206 File Management V4R5 - Create D
- Page 218 and 219: DBCS display support 208 File Manag
- Page 220 and 221: 210 File Management V4R5 When you c
- Page 222 and 223: DBCS font tables 212 File Managemen
- Page 224 and 225: 214 File Management V4R5 CPYIGCTBLI
- Page 226 and 227: DBCS font files DBCS sort tables 21
- Page 228 and 229: Finding out if a DBCS sort table ex
- Page 230 and 231: 220 File Management V4R5 v When you
- Page 232 and 233: User-created dictionary for DBCS 22
- Page 234 and 235: Work with DBCS conversion dictionar
- Page 236 and 237: another alphanumeric entry in the e
- Page 238 and 239: Figure 22. Display Produced by the
- Page 240 and 241: 230 File Management V4R5 1. Positio
- Page 242 and 243: Figure 23. Example Screen 1 Positio
- Page 244 and 245: Figure 27. Example Screen 5 234 Fil
- Page 246 and 247: 236 File Management V4R5 - If you t
I/O feedback area for database files<br />
Table 26. I/O Feedback Area for Database <strong>File</strong>s<br />
Offset Data Type Length Contents<br />
0 Binary 4 Size of the database feedback area, including the<br />
key and the null key field byte map.<br />
4 Character 4<br />
Bits 1-32:<br />
Each bit represents a join logical file in<br />
JFILE keyword.<br />
0 JDFTVAL not supplied for<br />
file<br />
1 JDFTVAL supplied for file<br />
8 Binary 2 Offset from the beginning of the I/O feedback<br />
area for database files to the null key field byte<br />
map which follows the key value (which begins<br />
at offset 34 in this area).<br />
10 Binary 2 Number of locked records.<br />
12 Binary 2 Maximum number of fields.<br />
14 Binary 4 Offset to the field-mapping error-bit map.<br />
18 Character 1 Current file position indication.<br />
Bit 1: Current file position is valid for<br />
get-next-key equal operation.<br />
Bits 2-8: Reserved.<br />
0 <strong>File</strong> position is not valid.<br />
1 <strong>File</strong> position is valid.<br />
19 Character 1 Current record deleted indication:<br />
Bits 1-2: Reserved.<br />
Bit 3: Next message indicator.<br />
0 Next message not end of file.<br />
1 Next message may be end of<br />
file.<br />
Bit 4: Deleted record indicator.<br />
0 Current file position is at an<br />
active record.<br />
1 Current file position is at a<br />
deleted record.<br />
Bit 5: Write operation key feedback indicator.<br />
0 Key feedback is not provided<br />
by last write operation.<br />
1 Key feedback is provided by<br />
last write operation.<br />
Appendix A. Feedback area layouts 189