IMS ROLBACK
Select messages from
# through # FAQ
[/[Print]\]

MVSFORUMS.com -> IMS

#1: IMS ROLBACK Author: MFdiggerLocation: Chicago PostPosted: Thu Jan 29, 2015 10:41 am
    —
HI,

Is it possible that we can do the ROLL BACK on a particular database in IMS? can we able to specify in ROLLBACK transaction pointing to a particular database

#2:  Author: kolusuLocation: San Jose PostPosted: Thu Jan 29, 2015 11:23 am
    —
MFdigger,


Yes you can issue Roll Back (ROLB) call is used to dynamically back out database changes and return control to your program.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFSAPDF8/1.5.13

or you can issue Roll (ROLL) call is used to abnormally terminate your program and to dynamically back out database changes

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFSAPDF8/1.5.14

or you can issue Roll Back to SETS (ROLS) call is used to back out to a processing point set by a prior SETS or SETU call.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFSAPDF8/1.5.15?

Kolusu

#3:  Author: MFdiggerLocation: Chicago PostPosted: Wed Feb 04, 2015 3:12 pm
    —
Thank you Kolusu

I'm trying to use SETS as below and when I try to recompile the program, I'm facing the compilation error as

"SETS" was not defined as a data-name

Not sure why its not recognizing the SETS function

Code:

 CALL "CBLTDLI"  USING  SETS     
                       IOPCB.




Rolling Eyes

#4:  Author: kolusuLocation: San Jose PostPosted: Thu Feb 05, 2015 11:54 am
    —
MFdigger,

Did you get the error message during compile or run time? And what is your IMS version?

Kolusu

#5:  Author: MFdiggerLocation: Chicago PostPosted: Thu Feb 05, 2015 2:45 pm
    —
Thank you Kolusu. I have defined the SETS in a field and used the field in the call and it worked , but other functions which used in program are working fine

now, I could able to recompile the program and when I run the program, I'm facing with 'SC' status code.

as per the manual, the explanation for SC status code is as shown below. However, the Databases which we are using is HALDB. in the PSB, we have GSAM files also in the PCB. I'm not sure if I'm facing SC status code because of GSAM in PSB

Explanation: The SETS request was rejected because the PSB contains an access to a DEDB, MSDB, or GSAM organization or has accessed an attached subsystem.
Programmer Response: The SETS request is invalid in this environment. The program must either remove the use of the database organization that is preventing the use of the SETS request, or the program must not use the SETS request.

#6:  Author: MFdiggerLocation: Chicago PostPosted: Thu Feb 19, 2015 2:38 pm
    —
Hi,

Is there any way in IMS that we can identify that ROLLBACK call was issued some where in the chain of program calls?
Rolling Eyes



MVSFORUMS.com -> IMS


output generated using printer-friendly topic mod. All times are GMT - 5 Hours

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group