CPYTOPCD command.

0 pts.
Tags:
AS/400
Database
DB2 Universal Database
RPG
Are any of you familiar with this command? Can this be used to copy something from the AS400 to a shared folder on a Windows system, or do any of you know how to accomplish this?
ASKED: October 17, 2005  4:12 PM
UPDATED: November 16, 2009  9:42 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

it is not the good command, youy have to copy your file to QNTC disk system, not QDLS disk system;

use CPYTOSTMF to copy to QNTC
look at http://www.iseriesnetwork.com/Forums/Index.cfm?CFApp=55&Message_ID=113086

=====================================================

To copy a streamfile from the IFS to a share on a Windows system, use they CPY command. To copy an externally described database file, use CPYTOIMPF. To copy a source file member or program-described file, use CPYTOSTMF.

CPYTOPCD is an obsolete special-purpose command. It’s almost certain you will never have a use for it. If you think you do, assume that you haven’t found what you need and keep looking.

Tom

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
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
  • Teandy
    I find it better to either FTP the file to a folder on the windows machine or to have the user map a drive to the IFS and then use CPYTOIMPF to send the file to the mapped drive.
    5,860 pointsBadges:
    report

Forgot Password

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

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
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

Thanks! We'll email you when relevant content is added and updated.

Following