IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

query regarding downloading table


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
karnataka

New User


Joined: 15 Sep 2006
Posts: 20
Location: bangalore

PostPosted: Thu Oct 26, 2006 2:49 pm
Reply with quote

hi,


i am encountering some problem in downloading one table from production please do assist me.

problem description:
column ==> var-char datat-ype of size 100 byte
if that column is having 100 byte full data then its not giving any problem,if lesser than 100 bytes than remaining space will be having dots.

for exp: if column is having 'abcd' then it is downloading as
'adcb.............(96 dots)'
Back to top
View user's profile Send private message
sridevi2005

New User


Joined: 15 Sep 2005
Posts: 42

PostPosted: Thu Oct 26, 2006 3:09 pm
Reply with quote

Hi,

Whenever there is column with data type varchar then u need to specify the table structure and in your example varchar size is 100 in this case your variable size in table structure is 102 not 100.

See Following example :

I have varble LEGAL_DESC with 100 bytes its datra type is varchar2.
Here we need to define in the table structure

LEGAL_DESC POSITION( 316 ) VARCHAR

Here 316 is starting on this field and its length is 102.Next varriable start in the position 418.

Thanks,
Sridevi
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts RC query -Time column CA Products 3
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top