Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 1281
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 Format Last Record differently from r... Learncoholic DFSORT/ICETOOL 5 Tue Oct 24, 2017 12:01 pm
No new posts Format issues using XMITIP MSGDD ssdjp1 CLIST & REXX 5 Mon Oct 23, 2017 8:47 pm
No new posts Fetch Previous month & year in MM... girishb2 DFSORT/ICETOOL 3 Thu Sep 21, 2017 9:54 pm
No new posts Convert rows and column into JSON for... Dinesh Manivannan DB2 2 Sun Sep 03, 2017 6:50 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us