Compressed File from Mainframe not opening in uni

Hi All ,

I have recieved a compressed file from mainframe server to our linux server .The file has no extension I am not able to untar it on linux .
Even when I copied it to windows the type it shows is ALLDATA FILE and not able to unzip there as well.
Any thing I am missing ?
br

What is the mainframe?

How was the file transferred? If FTP'd, was it transferred in binary mode rather than ascii mode?

What method/options were used to compress the file on the mainframe when the tar archive was created?

1 Like

what does

file MAINFRAME output ?

The was transfereed in binary mode
The compression was done
public class ZipDatasets extends java.lang.Object

A sample Java main class that can be invoked to create a Zip archive from one or more datasets or PDS members. Datasets are treated as text and converted from EBCDIC to ASCII (ISO8859-1) or to the specified target codepage.

Details on the input arguments to this class are available by executing the main method with no arguments. (see [usage()]

Example: Zip several partitioned datasets to a Unix zip file:

com.ibm.jzos.sample.ZipDatasets test.zip sys1.proclib(asm*) hlq.**.jcl

The file is main frame and was compressed and sent to linux where I am not able to untar .

you haven't answered the question, can you do that please.

@Maverick3 , please,

please show any/all outputs/errors/commands-used/environment/permissions that were actually executed in order to create this.

these are meaningful ways to help the team potentially help you. describing/saying '**The compression was done. public class ZipData.... **' is short on detail/context.

tks

Hey @munkeHoller , Thanks for the help and concern to be frank I have not been given clear code by the developer by which he generated the file :slight_smile:
I am now trying to genereate *.zip or *.tar file on the mainframe and will export to linux and will try to decompress .
Will let know the details if fails or story of scucess :wink:

1 Like

then, I'd ask the developer to provide those details - as they are relevant to helping you.

  • last time of asking - provide the output of file MAINFRAME please :thinking:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.