Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
CICS - DB2 - SYNCPOINT ROLLBACK

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Hema_Manyam

New User


Joined: 07 Dec 2005
Posts: 1

PostPosted: Mon Dec 19, 2005 3:27 pm    Post subject: CICS - DB2 - SYNCPOINT ROLLBACK
Reply with quote

Hi , I have CICS - DB2 query.

1) I have 3 programs : PGMA, PGMB, PGMC. PGMA calls PGMB and PGMB calls PGMC. I have to do inserts, updates in all the 3 pgms.

2) Say PGMC has done its work successfully and returned to PGMB

3) PGMB had an SQL error while doing some update

4) PGMA has already done some updates before calling PGMB

Note: There is no explicit syncpoint in these programs, all are running under the same CICS region.

What will happen if I issue SYNCPOINT ROLLBACK in PGMB when it abends ? Does all the changes in PGMA,B,C rollback ? (because all the pgms belong to same task).

Please clarify..

Thanks in Advance
Hema
Back to top
View user's profile Send private message

srini_igsi
Currently Banned

New User


Joined: 09 Dec 2005
Posts: 30
Location: Pune

PostPosted: Thu Dec 22, 2005 1:42 pm    Post subject: Re: CICS - DB2 - SYNCPOINT ROLLBACK
Reply with quote

Hi
I dont think u r explicitly needed to issue ROLLBACK, as u r saying that there is no explicit COMMIT in any of the three pgms, so if any thing goes wrong the DB2 itself will ROLLBACK all changes that have been done so far.

correct me if am wrong.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts How do I define a DB2 plan for a web ... John Poulakos CICS 5 Sat Apr 14, 2018 1:58 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts Limit in Length for a CICS START seahawk789 CICS 6 Mon Apr 02, 2018 8:34 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us