Posted: Fri Mar 24, 2017 4:19 pm Post subject: Reply to: Record Not found in AlX but record record present

You really posted very little that can help us. For example, you said

Quote:

i have given both files in jcl

yet you did not bother to post the JCL so we can see if it is coded correctly.

Basically, you've done something wrong (I know this because I've written COBOL programs that use alternate indexes and they worked very well) -- it could be in the VSAM definition, it could be in the JCL, it could be in the COBOL program. With what you've posted, that is about all we can tell you.

just want to inform you that i am able to read path in cics with same keys.

Well, yes -- you read an alternate index through the path (in batch or CICS).

You haven't told us if you are attempting to read the alternate index in CICS or batch.
You haven't told us the JCL you are using that you say isn't working (if batch).
You haven't told us the COBOL code you are using that you say isn't working.
You haven't really told us what your problem is for sure -- if you are thinking your JCL should point to the AIX data set name and then you read the records, then your thinking is WRONG and you must start using the PATH to point to the alternate index.