Q
Problem solve Get help with specific problems with your technologies, process and projects.

Extraction problems with a DB2 file

Extraction problems of DB2 file When viewing the information in the flat file through iSeries some of the columns are full of special characters and symbols rather than the expected text characters. It is unlikely they are blobs because the text normally contained in the columns would be very short. Why is it in this format and how can I successfully extract the files into readable format?

This is dependent on the code page(CCSID) of the data and the tool/environment that you are using to view the DB2 database table as a flat file. If you want to use non-database interfaces to view DB2 data, then you should probably use the CPYTOIMPF CL command to export the DB2 data into a 'true' byte-stream file. Actually, iSeries Navigator (formerly Operations Navigator) provides a very easy way to correctly view the data in a DB2 table - all you do is double-click on a table or physical file and the data is presented in a new window that's scrollable.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Search400.com's targeted search engine: Get relevant information on DB2/400.

The Best Web Links: tips, tutorials and more.

Check out this online event, Getting the Most out of SQL & DB2 UDB for the iSeries.


Dig Deeper on Oracle on iSeries

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close