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

Maintaining the member name during transfers

I need to transfer many members (text data) of unique names from our iSeries 270 to my PC using the .DTF file transfer technique -- maintaining the member name. Is this possible without using the file transfer browse?

You could take advantage of the IFS using the CPYTOPCD (copy to PC document). What I would do is do a DSPFD of the CLSRC and put it into an output file. Use the following command: DSPFD FILE(XXXX/QCLSRC) TYPE(*MBRLIST) OUTPUT(*OUTFILE) OUTFILE(XXXX/YYYYYY) where XXXX = library name and YYYY= file name. Using a CL, you can read through the file created and use the CPYTOPCD command to copy the members to the IFS. Hope this helps.


The Best Web Links: Tips, tutorials and more.

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

Read this Search400.com Featured Topic: Managing your iSeries.

Ask the Experts yourself: Our systems management gurus are waiting to answer your technical questions.

Dig Deeper on Performance

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.