IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

UNRECOGNIZED DATA TYPE CODE OF 452


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 193
Location: chennai

PostPosted: Thu Apr 02, 2015 1:37 pm
Reply with quote

Hi,

I am getting an error while executing a dynamic sql program using SQLDA. The message is
Code:
DSNT496I UNRECOGNIZED DATA TYPE CODE OF  00000452
DSNT495I SUCCESSFUL SELECT 00000000 ROWS OF TABLE EMPLOYEE


The datatype for code +452 is chartype. It is defined in the working-storage section of the program.
I am not able to find the solution for this error, looked in manual, internet and forums. In the manual it is mentioned that this error may occur for this type of application program. But no remedy is given.
Can anyone please help me to resolve the error.

Regards
Raghunathan
Back to top
View user's profile Send private message
chandan.inst

Active User


Joined: 03 Nov 2005
Posts: 275
Location: Mumbai

PostPosted: Thu Apr 02, 2015 2:31 pm
Reply with quote

Hi,

Can you please your query and code , so that people here will understand what you are doing exactly?

Regards,
Chandan
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3048
Location: NYC,USA

PostPosted: Fri Apr 03, 2015 5:30 am
Reply with quote

I think you should take a look here.
www-01.ibm.com/support/knowledgecenter/#!/SSEPEK_11.0.0/com.ibm.db2z11.doc.apsg/src/tpc/db2z_samplecoboldynamicsql.dita
www-01.ibm.com/support/knowledgecenter/#!/SSEPEK_10.0.0/com.ibm.db2z10.doc.msgs/src/tpc/dsnt496i.dita

also,

Quote:
If any of the columns in the problem source table were ALTERed on,
make sure a REORG has been done image copy of it.
Back to top
View user's profile Send private message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 193
Location: chennai

PostPosted: Fri Apr 03, 2015 4:05 pm
Reply with quote

Hi all,

In my post, I have mentioned a statement "UNRECOGNIZED DATA TYPE CODE OF 452" is from my program only. Sorry for the mistake from my side.
I have rectified by problem by correcting my program.
Thanks for all for the hint and comment.

Regards
Raghuanthan
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3048
Location: NYC,USA

PostPosted: Mon Apr 06, 2015 8:42 pm
Reply with quote

Quote:
In my post, I have mentioned a statement "UNRECOGNIZED DATA TYPE CODE OF 452" is from my program only. Sorry for the mistake from my side.

Is this a fix?
if not
then it would be helpful for others as well if you post your corrections.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top