Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

problem in moving variable to comp3 datatype

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: problem in moving variable to comp3 datatype
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

Site Director


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

PostPosted: Thu Oct 16, 2008 8:58 pm    Post subject:
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    Post subject:
Reply with quote

There is also the IBM website, LookAt, http://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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm
No new posts Moving a PD to PD spoorni DFSORT/ICETOOL 8 Fri Oct 07, 2016 9:52 pm
No new posts DB2 Streaming Batch Processing Problem Manshadi DB2 4 Sat Sep 24, 2016 12:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us