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

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)


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

Dig Deeper on Physical connections to 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.



  • How do I size a UPS unit?

    Your data center UPS sizing needs are dependent on a variety of factors. Develop configurations and determine the estimated UPS ...

  • How to enhance FTP server security

    If you still use FTP servers in your organization, use IP address whitelists, login restrictions and data encryption -- and just ...

  • 3 ways to approach cloud bursting

    With different cloud bursting techniques and tools from Amazon, Zerto, VMware and Oracle, admins can bolster cloud connections ...