Sending Zip File

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
bharani
Member
Posts: 13
Joined: Fri Oct 09, 2009 2:47 am

Sending Zip File

Post by bharani » Fri Oct 09, 2009 2:54 am

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.

MrSpock
Active Member
Posts: 273
Joined: Wed Jun 27, 2007 5:37 pm

Re: Sending Zip File

Post by MrSpock » Fri Oct 09, 2009 5:09 am

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.

bharani
Member
Posts: 13
Joined: Fri Oct 09, 2009 2:47 am

Post by bharani » Fri Oct 09, 2009 1:38 pm

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?

MrSpock
Active Member
Posts: 273
Joined: Wed Jun 27, 2007 5:37 pm

Post by MrSpock » Fri Oct 09, 2009 2:43 pm

Well, you need PKZIP or some similar product.

bharani
Member
Posts: 13
Joined: Fri Oct 09, 2009 2:47 am

Post by bharani » Fri Oct 09, 2009 10:52 pm

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?

MrSpock
Active Member
Posts: 273
Joined: Wed Jun 27, 2007 5:37 pm

Post by MrSpock » Sat Oct 10, 2009 6:41 pm


Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Sun Oct 11, 2009 3:44 am

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.
Regards,
Anuj

bharani
Member
Posts: 13
Joined: Fri Oct 09, 2009 2:47 am

Post by bharani » Tue Oct 13, 2009 1:47 am

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

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Tue Oct 20, 2009 5:44 pm

You're welcome. Keep us posted as you make progress or have some queries, some one will be around...:)
Regards,
Anuj

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others