#1: IMS ROLBACK Author: MFdigger, Location: ChicagoPosted: 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: kolusu, Location: San JosePosted: 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.
#3: Author: MFdigger, Location: ChicagoPosted: 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.
#4: Author: kolusu, Location: San JosePosted: 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: MFdigger, Location: ChicagoPosted: 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.