Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

DB2 Unload to AIX readable format.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: DB2 Unload to AIX readable format.
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

Site Director


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

PostPosted: Thu Feb 03, 2011 10:39 am    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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: 1278
Location: Belgium

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

http://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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
No new posts Low values Results from VARCHAR FORMAT balaji81_k DB2 10 Thu Oct 20, 2016 1:18 am
No new posts output data in CSV Format janmejay COBOL Programming 8 Sat Oct 15, 2016 2:20 pm
This topic is locked: you cannot edit posts or make replies. output data in CSV Format janmejay DFSORT/ICETOOL 3 Sat Oct 15, 2016 2:16 pm
No new posts Best IMS DB Unload Utility jjabez10 IMS DB/DC 12 Thu Sep 22, 2016 11:15 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us