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

problem in moving variable to comp3 datatype


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
tututnb56

New User


Joined: 15 Oct 2008
Posts: 2
Location: Hyderabad,India

PostPosted: Thu Oct 16, 2008 4:44 pm
Reply with quote

I have to take data from jcl that i have declaled in working storage variable as S9(7)v99.I have to put this data in DB2 table, in dclgen it is defined as S9(7)v99 comp-3 .The error in moving this data from jcl to DB2 table I am getting is SQLCODE 310. Anyone please give suggestions .
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Oct 16, 2008 8:58 pm
Reply with quote

Hello and welcome to the forum,

When you looked up the 310, what did the documentation tell you?

If you did not look up the code, there is an "IBM Manuals" link at the top of the page and one of the manuals available there is DB2 Messages & Codes.

If you find somethng in the explanation that is not clear, post your questoin about it here and someone will be able to clarify.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Oct 16, 2008 9:02 pm
Reply with quote

There is also the IBM website, LookAt, www-03.ibm.com/servers/eserver/zseries/zos/bkserv/lookat/

where you just enter the error code, number, what have you, and the website searches for the error and provides links to discussions/solutions.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Variable Output file name DFSORT/ICETOOL 8
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
No new posts parsing variable length/position data... DFSORT/ICETOOL 5
Search our Forums:

Back to Top