copying to a folder with .zip extention

5 pts.
Tags:
CPYTOIMPF
CPYTOIMPF performance
Is it possible to use CPYTOIMPF to copy file to a folder with the .zip extention

Software/Hardware used:
Iseries

Answer Wiki

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

Yes.
Just remember that the CPYTOIMPF does do the ZIP.
You need to run PKZIP or some other program over your file first.

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
  • TomLiotta
    If you mean that you want to use CPYTOIMPF to add a file to a "compressed folder", then, no, CPYTOIMPF won't do it. A compressed folder isn't a directory. CPYTOIMPF will simply replace the .zip file with an uncompressed streamfile. You will need CPYTOIMPF to a separate file and then use some other zip utility to add the new streamfile to the .zip file. Alternatively, you might be able to use the Qshell java ajar tool on the AS/400 to add the streamfile from CPYTOIMPF into the .zip file. Tom
    125,585 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