View previous topic :: View next topic |
Author |
Message |
MFdigger Beginner
Joined: 09 Sep 2005 Posts: 124 Topics: 52 Location: Chicago
|
Posted: Thu Jan 29, 2015 10:41 am Post subject: IMS ROLBACK |
|
|
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 _________________ Tx
Digger |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12369 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
MFdigger Beginner
Joined: 09 Sep 2005 Posts: 124 Topics: 52 Location: Chicago
|
Posted: Wed Feb 04, 2015 3:12 pm Post subject: |
|
|
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.
|
_________________ Tx
Digger |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12369 Topics: 75 Location: San Jose
|
Posted: Thu Feb 05, 2015 11:54 am Post subject: |
|
|
MFdigger,
Did you get the error message during compile or run time? And what is your IMS version?
Kolusu |
|
Back to top |
|
|
MFdigger Beginner
Joined: 09 Sep 2005 Posts: 124 Topics: 52 Location: Chicago
|
Posted: Thu Feb 05, 2015 2:45 pm Post subject: |
|
|
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. _________________ Tx
Digger |
|
Back to top |
|
|
MFdigger Beginner
Joined: 09 Sep 2005 Posts: 124 Topics: 52 Location: Chicago
|
Posted: Thu Feb 19, 2015 2:38 pm Post subject: |
|
|
Hi,
Is there any way in IMS that we can identify that ROLLBACK call was issued some where in the chain of program calls?
_________________ Tx
Digger |
|
Back to top |
|
|
|
|