Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Commit Error in IMS/DC Trigger Monitor Program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
naveeneckumar

New User


Joined: 11 Jan 2008
Posts: 5
Location: india

PostPosted: Fri Oct 16, 2009 1:12 am    Post subject: Commit Error in IMS/DC Trigger Monitor Program
Reply with quote

hi,

I wrote a program which is triggered from ESB(MQ) and has IMS/DB,DB2 and MQ.
I need to commit the after processing each record.

Note:1. chkp call is not working it shows MQ queue error.
2. If I processed single record and then try to make GU call to ims region to commit and process next record is gives MQ queue error at the time to extracting record from MQ queue

Is there any other way to commit the record in this type of program.
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6967
Location: porcelain throne

PostPosted: Fri Oct 16, 2009 2:28 am    Post subject:
Reply with quote

would look at RRSAF. Resource Recovery Services. Used to control more than 2 resources (DB2, MQS, IMS ...etc...)

RRS supports two phase commit; a lot easier to use than coding the process yourself.

to do it without RRS,
you need to make separate COMMITs one for MQS and one for IMS and one for DB2
- can get a little complicated - especially if a commit on db2 fails and you have already commited your MQS.
RRSAF will control this problem.
You only need to execute COMMIT in one place
and RRSAF will take care of the UOW for all resources at the same time.

Search the ibm Redbook site for RRSAF.
Back to top
View user's profile Send private message
naveeneckumar

New User


Joined: 11 Jan 2008
Posts: 5
Location: india

PostPosted: Fri Oct 16, 2009 9:46 pm    Post subject: Reply to: Commit Error in IMS/DC Trigger Monitor Program
Reply with quote

how to implemet RRS in cobol code
will you please describe this little bit.



Thanks,
Naveen
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Oct 16, 2009 10:01 pm    Post subject:
Reply with quote

Hello,

RRS is not implemented in some single program. . . It is a direction that is implemented over a much broader scope.

It is also not (typically) implemented by one person. . .

Suggest considerably more study/investigation is needed before implementation is considered.
Back to top
View user's profile Send private message
naveeneckumar

New User


Joined: 11 Jan 2008
Posts: 5
Location: india

PostPosted: Fri Oct 16, 2009 10:06 pm    Post subject: Reply to: Commit Error in IMS/DC Trigger Monitor Program
Reply with quote

Thanks
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 -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts Application not run by time HH:MM tri... jzhardy IBM Tools 1 Sun Apr 09, 2017 3:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us