View previous topic :: View next topic
|
Author |
Message |
daye.Zheng
New User
Joined: 15 Feb 2008 Posts: 22 Location: China
|
|
|
|
Hi folks,
My program run in the cics unseccessful, the sql code can not be zero.
I move the sqlcode to a output variable, the display is '00000092P',
could anybody tell me, what wrong with the problem?
The hex : sqlcode is FFFFFC61,
MY-code-variable is F0F0F0F0F0F0F9F2D7. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Your problem is that sql returned a -927. The 00092P is zoned decimal for negative 927.
The db2 manuals are available via the "IBM Manuals" link at the top of the page. You want the "DB2 Messages and Codes" manual. |
|
Back to top |
|
|
daye.Zheng
New User
Joined: 15 Feb 2008 Posts: 22 Location: China
|
|
|
|
hi dick scherrer,
So, how could i display a decimal return code? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
So, how could i display a decimal return code? |
I do not understand the question What you posted already displays the return code.
Do you want some piece of cobol code to actually display the 927-? If so, moving the zoned decimal field to another field defined as zzzzz9- would do this when that field was diaplsyed.
If i misunderstand, please clarify. |
|
Back to top |
|
|
daye.Zheng
New User
Joined: 15 Feb 2008 Posts: 22 Location: China
|
|
|
|
Quote: |
I do not understand the question
Haha dick scherrer,
You are very clever guy! Thank you!
And now, i got another question!
The -927, the manual indicate that "In the CICS environment, the user has attempted to execute an application program that is not using the correct language interface module."
My question is, where the language interface module i can modify?
|
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
I'd suggest you talk with your CICS or DB2 support people. They can provide all of the information specific to your environment. |
|
Back to top |
|
|
daye.Zheng
New User
Joined: 15 Feb 2008 Posts: 22 Location: China
|
|
|
|
Hi,
, the man of CICS or DB2 support, just me! |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
All the steps needed to activate the cics db2 interface are clearly described in the manuals
and in the customization/installation procedures/documentation of Your software distribution |
|
Back to top |
|
|
|