Author: Robert Sample
Subject: Reply to: Record Not found in AlX but record record present
Posted: Fri Mar 24, 2017 4:19 pm (GMT 5.5)
You really posted very little that can help us. For example, you said
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.
_________________
TANSTAAFL
The first rule of code reuse is that the code needs to be worth re-using.
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth
Subject: Reply to: Record Not found in AlX but record record present
Posted: Fri Mar 24, 2017 4:19 pm (GMT 5.5)
You really posted very little that can help us. For example, you said
Quote: |
i have given both files in jcl |
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.
_________________
TANSTAAFL
The first rule of code reuse is that the code needs to be worth re-using.
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth