I want to read only the record which has VSAM-KEY-FLAG as 'N'.
I tried like,
MOVE LOW-VALUES TO VSAM-KEY-DATA.
MOVE 'N' TO VSAM-KEY-FLAG.
KEY IS VSAM-KEY-REC
But it's not working, i have record with 'N' in 121th position but i am getting 23 VSAM status. I don't know the remaining keys of vsam i know only the last byte that is 'N'. Please help to resolve this one.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
Cobol Tutorial This cobol tutorial covers most of the important topics like STRING, UNSTRING, COMP, COMP-3.....
DB2 Tutorial DB2 Tutorial focuses on DB2 COBOL Programming. Explains in simple language. Some Chapters are locked, Forum members have free access to these chapters
CICS Tutorial This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming...
JCL Tutorial This is most popular JCL tutorial from mainframegurukul. It does contain important jcl ....
SORT Tutorial This Tutorial covers all important aspects of DFSORT. Has more SORT examples