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

Problem while viewing unloaded data


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

New User


Joined: 09 Dec 2006
Posts: 56
Location: Pune

PostPosted: Wed Jul 08, 2009 5:19 pm
Reply with quote

Hi,

I am unloading the data which has 15 dates and values can be null.
I have unloaded the data in a file. When I am opening the file using the fileaid (specifying the copybook for the table), I am not able to see the data correctly. Also the date indicator occupying only 1 byte instead of 2 (Indicator S9(4) comp)

Can anyone help me where I am going wrong icon_question.gif
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Jul 08, 2009 5:33 pm
Reply with quote

Depends on how you are 'unloading' the table.
Maybe you have null-ind-variables (as well as lengths for varchar if there are any)
which means the copybook for the table is worthless.
you need a copybook that matches the 'unloaded' data.

If you ask anymore questions, provide us with a cut&paste image of the data with HEX ON using bbcode
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Wed Jul 08, 2009 5:39 pm
Reply with quote

what utility you are using for unloading table?
is it DSNTIAUL if so then check if your copybook is agreeing with SYSPUNCH generated...
Back to top
View user's profile Send private message
Ketan Varhade

Active User


Joined: 29 Jun 2009
Posts: 197
Location: Mumbai

PostPosted: Thu Jul 09, 2009 4:27 pm
Reply with quote

Hi,
Please check with the sysin and the unload card. When we are unloading any table we can give a fix value to unload when a colum has a null value
like
If null then '000000' some what like this there is a option.
So check what are you replacing with.

May be this help.

Regards
Ketan varhade
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 How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top