i am trying to run/compile the CompressFile.java program that was in the jzos j7 samples (sent to me by IBM since they were missing from the website)
and cannot find com.ibm.jzos.CompressionFactory anywhere. I know that this is just a sample and that IBM is not responsible for it, but maybe you can help
thank you
package com.ibm.jzos.sample.compress;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import com.ibm.jzos.CompressionFactory;
/**
* Use CompressionFactory to compress a z/OS UNIX file.
*
* @see com.ibm.jzos.CompressionFactory
* @see com.ibm.jzos.ZCompressor
* @since 2.4.4
public class CompressFile {
where is com.ibm.jzos.CompressionFactory
Re: where is com.ibm.jzos.CompressionFactory
com.ibm.jzos.CompressionFactory should be in SDK 7 - check with IBM to see that you have the correct service level.
Re: where is com.ibm.jzos.CompressionFactory
there is nothing in sdk7 about CompressionFactory. mvstools just contains the JVMLDM70 load module and a text file pointing to a link on ibm for
the samples which do not even exist (file jzos_samples-sdk_700.zip has 0 length). IBM sent me the jzos samples for sdk70 and will fix the url to them on the web site,
but the samples i received do not contain CompressionFactory, only the CompressFile.java and other Compress programs.
the samples which do not even exist (file jzos_samples-sdk_700.zip has 0 length). IBM sent me the jzos samples for sdk70 and will fix the url to them on the web site,
but the samples i received do not contain CompressionFactory, only the CompressFile.java and other Compress programs.
Re: where is com.ibm.jzos.CompressionFactory
Class com.ibm.jzos.CompressionFactory is not a sample, it is a class in the SDK.
If you have the correct service level, it should be in the ibmjzos.jar that is part of the SDK.
If you have the correct service level, it should be in the ibmjzos.jar that is part of the SDK.