You can process files with direct or sequential processing. When using sequential processing, the end-of-file condition on the alternate index is signaled by the high values (X'FFFFFFFF') passed in R1.
Return Codes
A return code is placed in R15 indicating whether the call was an OPEN, READ, or CLOSE. The return codes for OPEN, READ, and CLOSE are explained in the following table:
|
Return Code |
Explanation |
|---|---|
|
0 |
The request was successful. |
|
4 |
For sequential processing, a nonunique key was encountered (that is, there are more base records for the current alternate index key). For direct processing, more base records are found that contain the alternate index key. |
|
8 |
Warning. The address of the warning message is passed in R1. |
|
16 |
A nonrecoverable error. The address of the error message is passed in R1. |
|
Copyright © 2011 CA.
All rights reserved.
|
|