SYNCPOINT ROLLBACK



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

SYNCPOINT ROLLBACK

Postby piyush bhargava » Sat Oct 04, 2014 2:00 am

Hi All,

I am using EXEC CICS SYNCPOINT END EXEC to set up a start up point and EXEC CICS SYNCPOINT ROLLBACK END EXEC to do the roll back in case of any error.
In between these two points I am writing and deleting records from a vsam file which is working accurately (as in case of error updates done gets backed out).However when I try READ UPDATE followed by REWRITE to another file though there is an error changes in the file gets retained.

So my question is can't we use syncpoint rollback for read update rewrite.Can any one please help me on this?It would be of great help.

Also,I tried write and delete for this second file,that thing also didnt work.

Thanks,
Piyush
piyush bhargava
 
Posts: 1
Joined: Sat Oct 04, 2014 1:48 am
Has thanked: 0 time
Been thanked: 0 time

Re: SYNCPOINT ROLLBACK

Postby Kcobol » Mon Nov 24, 2014 9:24 pm

What is the RDO RECOVERY for this file? If its NONE, try setting it to BACKOUT.
Kcobol
 
Posts: 1
Joined: Sat Nov 22, 2014 1:46 am
Has thanked: 0 time
Been thanked: 0 time


Return to IBM Cobol