Reputation: 29
I want to read a VSAM file record using CICS commands and then update it using REWITE command, but I have two major problems:
Overall I want to do the following process: 1.Read a VSAM file records one by one using READNEXT comand 2. Access database and do commit 3. Rewrite the VSAM file record using REWRITE command.
Upvotes: 0
Views: 721
Reputation: 31
The file itself needs to be defined with a log parameter and logstreamid if you want it to be forward recoverable. The CICS definition can then be changed to be RLS(YES).
Just to cover the bases, the CICS region also needs SIT Parameter RLS set to YES.
Upvotes: 1
Reputation: 455
In your scenario you probably need to do the following:
Upvotes: 2