Page 1 of 1

ISRT:Data Commit

PostPosted: Thu May 19, 2011 3:15 pm
by raghav08
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

Re: ISRT:Data Commit

PostPosted: Thu May 19, 2011 9:26 pm
by NicC
What does the manual say? Either you read it or I read it - I could charge for reading it.

Re: ISRT:Data Commit

PostPosted: Fri May 20, 2011 12:13 pm
by raghav08
I hope that you will share your knowledge, Thanks

Re: ISRT:Data Commit

PostPosted: Fri May 20, 2011 12:25 pm
by enrico-sorichetti
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

Re: ISRT:Data Commit

PostPosted: Fri May 20, 2011 9:08 pm
by dick scherrer
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.

Re: ISRT:Data Commit

PostPosted: Sat May 21, 2011 10:24 am
by RAJ2
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,

Re: ISRT:Data Commit

PostPosted: Sat May 21, 2011 10:40 am
by NicC
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.