Page 1 of 1

Sending Zip File

Posted: Fri Oct 09, 2009 2:54 am
by bharani
Hi,

I have a new requirement to send the 3 diferent GDG version as a zip file in a mail using JCL or a cobol program.

Say A, B, C three file, have to be ziped in MF as D and it must be sent to the receipients in a mail as an attachement.

Can you pleople please help me.

Thanks in advance.

-Bharani.

Re: Sending Zip File

Posted: Fri Oct 09, 2009 5:09 am
by MrSpock
bharani wrote:Can you people please help me.
With what part of your project, exactly? Sounds to me like normal tasks that you'd probably already have a set of tools & standards & procedures for.

Posted: Fri Oct 09, 2009 1:38 pm
by bharani
Hi,

This is a new enchancement am asked to made.

Before that we will be extracting the reports from MF and will be sending that to the clients.

Now they asked me to zip the contents of the report and send it to them through mail automatically using a JCL.

This will reduce the time taken by us to do this.

And there is no tools i can use, i can make use of only JCLs.

can you please help me?

Posted: Fri Oct 09, 2009 2:43 pm
by MrSpock
Well, you need PKZIP or some similar product.

Posted: Fri Oct 09, 2009 10:52 pm
by bharani
Hi i can't use any outside products, is it possible to do this using jcl or cobol????

if no means, how can i do it using PKZIP?

Posted: Sat Oct 10, 2009 6:41 pm
by MrSpock

Posted: Sun Oct 11, 2009 3:44 am
by Anuj Dhawan
Bharani - MrSpock has given you a correct direction, you need to have a "zip-product" installed at your shop.
is it possible to do this using jcl or cobol????
JCL has to execute something; JCL, itself, does nothing - you need to instruct it to execute some zip-instruction via the programs from products like PKZIP, GZIP etc. as MrSpock has said. Suggest you check which zip product is available at your shop so that some one can have a better suggestion/s.

Posted: Tue Oct 13, 2009 1:47 am
by bharani
Hi MrSpock and Anuj,

Thanks for your valuable guidence.

I understood, will try to get the product and do it asap.

Once again thanks.

-Bharani

Posted: Tue Oct 20, 2009 5:44 pm
by Anuj Dhawan
You're welcome. Keep us posted as you make progress or have some queries, some one will be around...:)