Hello
I was trying to recompile an existing online DB2 program with Xpediter ON, so that to debug the program; however, after re-compiled the program, I got SQLCODE -805 after run it.
Here's how I recompiled the program:
1. Compiled the program with the DBRM generated
2. Bound the DBRM into a package used for online program in our testing environment
3. Further bound the package to the plan used for online program in our testing environment
4. Login the CICS testing region and NEWCOPY the program
5. Debug the program by Xpediter, then got SQLCODE -805 upon the 1st SQL statement was executed
Can anyone advise what could be the rootcause? I'm thinking, other than NEWCOPY the program, do I've to do anything to refresh the plan also (since it's bound again) ?
Thanks, Roy
SQLCODE -805 encountered in a CICS/DB2 program
-
- Posts: 23
- Joined: Thu Jul 21, 2016 10:10 pm
- Skillset: CICS/COBOL/JCL
- Referer: Google search
Re: SQLCODE -805 encountered in a CICS/DB2 program
Update:
I've located the rootcause - when bound the DBRM, I specified the wrong DB2 subsystem which is for batch testing(I thought it's for online also), after I changed to use the subsystem for CICS testing, the issue is solved!
So, please ignore the post, thanks!
I've located the rootcause - when bound the DBRM, I specified the wrong DB2 subsystem which is for batch testing(I thought it's for online also), after I changed to use the subsystem for CICS testing, the issue is solved!
So, please ignore the post, thanks!
-
- Posts: 239
- Joined: Wed Dec 04, 2013 11:08 pm
- Skillset: COBOL, JCL, ISPF.
- Referer: While searching the Internet for answers.
- Location: Richfield, MN, USA
Re: SQLCODE -805 encountered in a CICS/DB2 program
Oh, we won't ignore it. Someone may come along and have the same problem and your solution might be theirs also.
.... Terry
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Calling Java program on UNIX/USS from a COBOL CICS program?
by zbius » Tue Nov 05, 2024 2:37 pm » in IBM Cobol - 2
- 2580
-
by zbius
View the latest post
Wed Nov 06, 2024 6:02 pm
-
-
-
CICS program output different when ran using CEDF.
by rogerstrycova » Sun Oct 03, 2021 4:52 pm » in CICS - 2
- 1551
-
by Robert Sample
View the latest post
Sun Oct 03, 2021 8:22 pm
-
-
- 0
- 2317
-
by VJSIRI
View the latest post
Fri Nov 13, 2020 1:53 am
-
- 1
- 2045
-
by prino
View the latest post
Mon Sep 05, 2022 2:12 am
-
- 5
- 2577
-
by sergeyken
View the latest post
Thu Sep 19, 2024 5:06 pm