With screen files, the reserved words relating to the file's Info DS are also accessible.
Adelia reserved word |
Description |
Type |
Len |
Start pos |
End pos |
*CURSOR_POS |
Cursor position. |
B |
2 |
370 |
371 |
*REL_REC_NO |
Relative rank number. |
B |
2 |
376 |
377 |
*FIST_REC_PAGE |
First rank on the displayed page. |
B |
2 |
378 |
379 |
*NO_SFL_REC |
Number of records in subfile. |
B |
2 |
380 |
381 |
*MAJ_RTN_CODE |
Return code (Major). |
B |
2 |
401 |
402 |
*MIN_RTN_CODE |
Return code (Minor). |
B |
2 |
403 |
404 |
For more information on these reserved words, refer to the IBM documentation: to establish the link with the IBM documentation and the reserved word, use the data's start and end positions in the structure provided by the system.
Notes: With binary (B) rendered variables, the length is the number of bytes in the variable.