Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 6968
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 Moving UDB database to Db2 on z/OS Keith Hooley DB2 4 Wed Sep 27, 2017 12:38 am
No new posts LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Select numeric portion from CHAR data... balaji81_k DB2 6 Sat Aug 19, 2017 1:51 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us