Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

db2cmd option for increasing column width

Status
Not open for further replies.

mjlong999

Programmer
Feb 12, 2002
9
US
Db2 version 6.1

I have a job which is using the db2cmd utility to import data from a flat file into a db2 table. One of the columns, a varchar(1500), is being truncated at 35 characters when it is imported.

Additionally, I noticed that our db2 software package defaults to a max column width of 35 bytes for it's result sets.

Does anyone know the option (hopefully there is one) to change the db2cmd utility, so that it does not truncate the data when it imports?

Thanks in advance,
mjlong
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top