Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Cobol -DB2 related Query

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
bhairon singh rathore

New User


Joined: 19 Jun 2008
Posts: 1
Location: banglore

PostPosted: Wed Oct 15, 2008 7:04 pm    Post subject: Cobol -DB2 related Query
Reply with quote

hi while inserting into DB2 table with column as varchar thru cobol-DB2 program taking length field as zero and text field some value e.g 'AB123'
What value will be inserted into Table for that column.... for me it is inserting exact value.... icon_question.gif

Then what is the use of length field in this regards

Kindly Explain.
Back to top
View user's profile Send private message
References
dbzTHEdinosauer

Senior Member


Joined: 20 Oct 2006
Posts: 1673
Location: germany

PostPosted: Wed Oct 15, 2008 8:03 pm    Post subject:
Reply with quote

How about showing us the sql, please.
Back to top
View user's profile Send private message
Anuj D.

Global Moderator


Joined: 22 Apr 2006
Posts: 2352
Location: Mumbai, India

PostPosted: Wed Oct 15, 2008 11:29 pm    Post subject:
Reply with quote

dbzTHEdinosauer wrote:
.. please.
Gladiator has an authority to ask..He can't request.. !!

-Ad
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1