Q

IFS directory seems to be in comma delimited format

The following was entered to copy an iSeries file to the IFS directory.

CPYTOIMPF FROMFILE(mylib/filename) TOSTMF('/qdls/dir1/filename.csv' ) MBROPT(*REPLACE) RCDDLM(*CRLF) DTAFMT(*DLM)

When displaying the file within the IFS directory, it appears to be in a comma delimited format. However, when this file is copied to a PC, it does not display in a comma-delimited format ("@@@@kCOk???oonuuokCO?uonoooo" displayed).

This occurs on both V4R5 and V5R1 machines. What can I do to get this to display the PC file in the proper comma-delimited format?


It seems to me that the sream file created by cpytoimpf has an ebcdic code page. In order to test it you may try to add stmfcodpag parameter , for example:

CPYTOIMPF FROMFILE(mylib/filename) TOSTMF('/qdls/dir1/filename.csv' ) MBROPT(*REPLACE) RCDDLM(*CRLF) DTAFMT(*DLM) stmfcodpag(819)

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

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.

The Best Web Links: Tips, tutorials and more.


This was last published in November 2002

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.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close