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

Facing problem while loading data into tables


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

New User


Joined: 15 Sep 2005
Posts: 42

PostPosted: Thu Jan 17, 2008 2:53 pm
Reply with quote

Hi All,

I'm facing problem while loading data into tables.

I have taken the punch card by unloading the table.

I have used the same punch card while loading data into that table.

It is giving SOC4 because of description field and this field is VARCHAR field.

Is I'm getting this problem because of same punch card.

Do I need to increase varchar length while loading.

TEST_DES POSITION( 61 )
VARCHAR -- Got this by unloading the table and same used for loading the table

Please help me out on this.

Thanks,
Sridevi
)
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Thu Jan 17, 2008 9:31 pm
Reply with quote

Hello,

If you post your load job (jcl and control statements), the data that causes the 0c4, and any diagnostic info presented by the load, we may be able to help.

What you have posted does not provide anything to work with.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Jan 17, 2008 9:49 pm
Reply with quote

Sridevi,

I have to guess with the little bit of info that you have given us that the data you are trying to load is not the same data that you unloaded.
The DB2 Utility Guide has this for VARCHAR fields
Quote:
VARCHAR and VARGRAPHIC fields must contain a valid 2-byte binary length field preceding the data; there cannot be intervening gaps between them and the fields that follow.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Structured Data and Nested Loops via ... COBOL Programming 0
No new posts Question regarding ISPF tables with T... TSO/ISPF 11
No new posts Alternate key data extracttion COBOL Programming 13
Search our Forums:


Back to Top