CPYTOPCD gettig an error in CL

115 pts.
Tags:
CL
CL Errors
CPYTOPCD
Hello, This is my command in CL CPYTOPCD FROMFILE(QS36F/&SVPF) + TOFLR('c:testfoldertext.txt') + TODOC(&SVPF) REPLACE(*YES) I get an error at run time. Error message as follows: 13308 - CPYTOPCD FROMF QCA ILE(QS36F/Y15162612) TO FLR('c:testfoldertext .txt') TODOC('Y15162612 ') REPLACE(*YES) Folder name not correct QHU. 'Y15162612 ' QHU is not a correct docume nt or folder name. Error found on CPYTOPCD QCA command. Function check. CPF0001 QMH unmonitored by A4CORTW U1 at statement 13308, instruction X'00F5'. Variables Any idea? Thanks

Answer Wiki

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

Hi,

CPYTOPCD is used to copy a file to a PC format document on the AS/400. You seem to be trying to copy the file to your PC hard disk. You will probably need to use an AS/400 folder to copy your document, then you can map the AS/400 folder as a network drive to your PC to access the document.

Regards,

Martin Gilbert.

Discuss This Question:  

 
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

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