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

DB2 Unload to AIX readable format.


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

New User


Joined: 11 May 2010
Posts: 16
Location: South Africa

PostPosted: Thu Feb 03, 2011 10:17 am
Reply with quote

Hi guys,

Please need your help, I have to unload DB2 data from the mainframe to an AIX readable format. Now the unload part I can do that is not a problem but getting it to a AIX readable format is where I get stuck.

Can some one please assist me regarding this situation.

Thanks icon_biggrin.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Thu Feb 03, 2011 10:39 am
Reply with quote

Hello,

When you unload the data on the mainframe, convert all of the content to a delimited text file (i prefer using the tab character - x'05').

Possibly i misunderstand where you are stuck. . .
Back to top
View user's profile Send private message
Heindba

New User


Joined: 11 May 2010
Posts: 16
Location: South Africa

PostPosted: Thu Feb 03, 2011 10:42 am
Reply with quote

thanks for the reply, should I state that in my Unload JCL?
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Thu Feb 03, 2011 11:25 am
Reply with quote

You should specify numeric columns to be unloaded in display format, if you have mixed contents in you table. Packed or binary fields will not survive an EBCDIC to ASCII conversion.

Unload formats can be specified in control cards DD to your unload utility, and you may also be able to specify any fixed delimiter chars in there.
Back to top
View user's profile Send private message
Heindba

New User


Joined: 11 May 2010
Posts: 16
Location: South Africa

PostPosted: Thu Feb 03, 2011 11:26 am
Reply with quote

Cool, thanks for the help guys.
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Thu Feb 03, 2011 3:33 pm
Reply with quote

publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.db29.doc.ugref/db2z_unloaddelimitedfiles.htm
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 Populate last day of the Month in MMD... SYNCSORT 2
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts Remote Unload of CLOB Columns DB2 6
Search our Forums:

Back to Top