Here is a solution to resolve VSAM status code 23. While reading VSAM file you will get this errors. Below are the reasons and resolution.
The reason for File status 23 is as follows – Invalid key for a VSAM indexed or relative file; no record found.
Solution:
Check the key value is defined for VSAM indexed file or not.
More:
Related