How to zip mainframe file and sftp to Unix server?



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

How to zip mainframe file and sftp to Unix server?

Postby Emma_lee » Sun Feb 20, 2022 5:38 pm

Hello anyone,

I wanted to zip a mainframe file and send it to Unix server without using pkzip utility. Could any one please help.

Thanks,
Emma
Emma_lee
 
Posts: 1
Joined: Sun Feb 20, 2022 5:23 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to zip mainframe file and sftp to Unix server?

Postby Robert Sample » Sun Feb 20, 2022 8:04 pm

IBM mainframes do not have a ZIP utility available by default. Hence what you want to do pretty much cannot be done as specified.

One option would be to use the Unix System Services (USS) pax command which is available on Unix systems and does similar things to pkzip. Your site may have gzip / gunzip as well in USS -- you would have to ask your site support to know for sure.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post