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: 6967
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 11 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Strings with double quotes having pro... raja Arumugam All Other Mainframe Topics 11 Thu Mar 30, 2017 10:34 am
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


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