Zipping CSV to AS/400

335 pts.
Tags:
AS/400 CSV
AS/400 FTP
CSV
Zip Files
Hi I have one doubt in zipping the CSV files... Iam keeping the daily running reports in My IFS called ABC folder. wrklnk ABC.This folder contains 10 csv files with date extension. Now i want to zip all this CSV files and FTP to another system. how to do this in AS400.? please help me out in solving this question. Thanks

Software/Hardware used:
AS400

Answer Wiki

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

There are various ways to create usable .ZIP files on AS/400s. One obvious way is to purchase a 3rd-party product or utility that provides a nice, clean user interface into functions on the system or into program code that implements the algorithms used for “zipping” files. I don’t have a list of providers, but I’m sure most search engines can give you a list.

If a purchase is out of the question or a fancy interface isn’t needed, then AS/400s with Qshell installed can use the Java jar (or ajar) tool to create .ZIP compatible files. For basic usage details, type “jar” on a Qshell command line. (For ajar, see the <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzahz/ajar.htm”>ajar – Alternative Java(TM) archive</a> page.)

If you have difficulties with either of those, post your test command and results back here.

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
  • iiiiiiiiiiiii
    Hi Tom In zipping the csv files,i wrote the shell command jar cfM /Home/hope_02012011.ZIP /home/hope_02012011.CSV this logic i have implemented in my CL program.but most of the times it is failing the error command was. command excuted normally with exit code 2. i searched in google,the error was system could not able to allocate the system resourec. how can we avoid this kind of errors in i series.? if u can help me it will be great
    335 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