where is com.ibm.jzos.CompressionFactory

General discussion on the JZOS batch launcher and toolkit
Post Reply
cscs010
Posts: 37
Joined: Tue Jul 31, 2007 3:50 pm

where is com.ibm.jzos.CompressionFactory

Post by cscs010 » Thu Jan 24, 2013 4:02 pm

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 {

dovetail
Site Admin
Posts: 1856
Joined: Thu Jul 29, 2004 12:12 pm

Re: where is com.ibm.jzos.CompressionFactory

Post by dovetail » Thu Jan 24, 2013 4:46 pm

com.ibm.jzos.CompressionFactory should be in SDK 7 - check with IBM to see that you have the correct service level.

cscs010
Posts: 37
Joined: Tue Jul 31, 2007 3:50 pm

Re: where is com.ibm.jzos.CompressionFactory

Post by cscs010 » Fri Jan 25, 2013 10:50 am

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.

dovetail
Site Admin
Posts: 1856
Joined: Thu Jul 29, 2004 12:12 pm

Re: where is com.ibm.jzos.CompressionFactory

Post by dovetail » Fri Jan 25, 2013 2:37 pm

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.

Post Reply