DFS0475I POSITION FAILURE DURING REPOSITIONING ON FILENAME, EXPECTED xxxxxxxx, FOUND yyyyyyyy
or
or
or
or
Explanation
This message follows message DFS0414I. After an I/O error on one OLDS using dual logging, IMS attempts to back out the data that was written to the other OLDS in the pair. To do this, IMS attempts to reestablish position in the file. Various errors can occur during the repositioning process. Each form of the message indicates a specific repositioning error. IMS issues the first form of the message when an IMODULE GETMAIN call to obtain a temporary Read/Write buffer fails. The return codes from the call indicate the following conditions:
- Codes
- Explanation
- 4
- Storage not allocated
- 8
- Parameter error
- 38
- Caller in SRB or XM mode
IMS issues the second form of the message when a BSP (BACKSPACE ) request fails. For a description of the return codes and reason codes, see z/OS® DFSMS Macro Instructions for Data Sets. IMS issues the third and fourth forms of the message when a BSAM read or write request fails. For a description of the post codes, see MVS/DFP V3R3 Customization (SC26-4560), which refers to them as status indicators in the ECB. IMS issues the fifth form of the message when it has repositioned itself in the OLDS but finds that the block at that point does not have the expected sequence number. The expected sequence number is xxxxxxxx. The found sequence number is yyyyyyyy.
System action
IMS continues processing and switches OLDS.
Programmer response
Since some of the blocks of data can be duplicated in the old and new pair of OLDS, run the log recovery utility to remove the extra blocks and close the OLDS. (DBRC does not archive the OLDS unless this is done.) Run the utility in CLS mode using DFSOLP, DFSOLS, DFSNOLP, and DFSNOLS DD statements. So not use DFSWADSn DD statements. The DFSOLP and DFSOLS DD statements must reference the OLDS pair on which the I/O error occurred. The DFSNOLP and DFSNOLS DD statements must reference the OLDS pair to which IMS switched following the I/O error.