ISRT:Data Commit



IBM's hierarchical database management system with a Database Manager (IMS DB) and a Transaction Manager(IMS DC)

ISRT:Data Commit

Postby raghav08 » Thu May 19, 2011 3:15 pm

Hello,

I'm executing a COBOL-IMS/DB batch program that inserts segments using ISRT call. Suppose in between this program fails(ABEND) , please let me know whether already inserted data will be reverted ?

Thanks
raghav08
 
Posts: 18
Joined: Wed Oct 27, 2010 5:10 pm
Has thanked: 0 time
Been thanked: 0 time

Re: ISRT:Data Commit

Postby NicC » Thu May 19, 2011 9:26 pm

What does the manual say? Either you read it or I read it - I could charge for reading it.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: ISRT:Data Commit

Postby raghav08 » Fri May 20, 2011 12:13 pm

I hope that you will share your knowledge, Thanks
raghav08
 
Posts: 18
Joined: Wed Oct 27, 2010 5:10 pm
Has thanked: 0 time
Been thanked: 0 time

Re: ISRT:Data Commit

Postby enrico-sorichetti » Fri May 20, 2011 12:25 pm

be thankful that You get to share the link to the IMS manual :D
http://publibz.boulder.ibm.com/cgi-bin/ ... s/DFSSH0H1

if that is not the version/release of Your choice here is the link where You can choose the appropriate one
http://www-03.ibm.com/systems/z/os/zos/ ... ppls2.html
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: ISRT:Data Commit

Postby dick scherrer » Fri May 20, 2011 9:08 pm

Hello,

I hope that you will share your knowledge, Thanks
We are quite happy to share knowledge we already have, but we are not a manual reading service. . .

When someone suggests you read some particular manual (or some parts of one), you need to read the suggested material and post a reply if you find something that is not clear. If you post what you found and your doubt, someone here may be able to clarify.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: ISRT:Data Commit

Postby RAJ2 » Sat May 21, 2011 10:24 am

I hope surely it will be revert the previous data.
Because the ISRT CALL is not successful,if it is successful that is the case case the segment is inserted.
Regards,
RAJ2
 
Posts: 3
Joined: Tue May 03, 2011 5:21 pm
Has thanked: 0 time
Been thanked: 0 time

Re: ISRT:Data Commit

Postby NicC » Sat May 21, 2011 10:40 am

I hope surely it will be revert the previous data.
Because the ISRT CALL is not successful,if it is successful that is the case case the segment is inserted.

does not really make sense. OK, English is obviously not your first language so something got lost between your thoughts and the keyboard.

If an ISRT does not work then obviously the data does not get inserted - no rollback ('revert') is necessary. However, if previous inserts have been successful they may, or may not, be rolled back depending on program design (commit points) - you do not want to roll back 1 million inserts just because the 1,000,001th fails.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times


Return to IMS DB/DC

 


  • Related topics
    Replies
    Views
    Last post