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
ISRT:Data Commit
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: ISRT:Data Commit
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
Regards
Nic
-
- Posts: 18
- Joined: Wed Oct 27, 2010 5:10 pm
- Skillset: COBOL,JCL,DB2,CICS,IMS DB/DC,VSAM
- Referer: Friend
Re: ISRT:Data Commit
I hope that you will share your knowledge, Thanks
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: ISRT:Data Commit
be thankful that You get to share the link to the IMS manual 
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

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
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
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: ISRT:Data Commit
Hello,
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.
We are quite happy to share knowledge we already have, but we are not a manual reading service. . .I hope that you will share your knowledge, Thanks
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.
d.sch.
-
- Posts: 3
- Joined: Tue May 03, 2011 5:21 pm
- Skillset: COBOL,PL/1,JCL,VSAM,DB2,IMS-DB
- Referer: FRIENDS
Re: ISRT:Data Commit
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,
Because the ISRT CALL is not successful,if it is successful that is the case case the segment is inserted.
Regards,
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: ISRT:Data Commit
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
Regards
Nic
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Commit issued without hold and without close cursor statemen
by ravi11081992 » Sat Jan 22, 2022 2:42 pm » in DB2 - 2
- 2243
-
by engh
View the latest post
Tue Sep 20, 2022 6:07 pm
-
-
- 3
- 6844
-
by socker_dad
View the latest post
Wed May 04, 2022 12:59 am
-
-
eliminate duplicates with different data
by cobol_dev » Fri Jun 03, 2022 3:47 am » in DFSORT/ICETOOL/ICEGENER - 7
- 1875
-
by cobol_dev
View the latest post
Wed Jun 15, 2022 10:44 pm
-
-
- 4
- 3273
-
by socker_dad
View the latest post
Fri Dec 31, 2021 5:28 am
-
-
Copying All Data Off An Old Mainframe
by zunebuggy » Wed Sep 25, 2024 1:10 am » in Mainframe Security - 0
- 1599
-
by zunebuggy
View the latest post
Wed Sep 25, 2024 1:10 am
-