Command to copy database file to folder in AS/400?

5 pts.
Tags:
AS/400 administration
Copy To Import File
Copy To PC Document
CPYTOIMPF
CPYTOPCD
What's the command to copy a database file to a folder in AS/400?

Answer Wiki

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

Hi,

Command is CPYTOPCD. You can also use CPYTOIMPF to copy to the IFS.

Regards,

Martin Gilbert.

CPYTOPCD is theright way but you should have an entry in directory list

Martin, please let me know if I am wrong

Hi,

You’re correct – you will need an entry in the “distribution directory”, you can use the command ADDDIRE (Add directory entry) to add an entry for a user.

Regards,

Martin Gilbert.

Discuss This Question: 5  Replies

 
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.
  • FKP123
    hi
    20 pointsBadges:
    report
  • FKP123
    I wish to know complete setup of email application in JDE World A9.1
    20 pointsBadges:
    report
  • Splat
    FKP123, shouldn't you ask JDE for that?
    10,075 pointsBadges:
    report
  • IanSimmons
    I would use CPYTOIMPF. Specify *PCASCII in the Stream File Code Page and copy it to an IFS folder that you have mapped as a Windows.share.
    185 pointsBadges:
    report
  • IanSimmons
    Forgot to say - record delimiter *CRLF if you're copying for PC systems.
    185 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.

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

Following

Share this item with your network: