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 Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am


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