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 first published in November 2002
This Content Component encountered an error

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.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close