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 »

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: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: where is com.ibm.jzos.CompressionFactory

Post by dovetail »

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 »

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: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: where is com.ibm.jzos.CompressionFactory

Post by dovetail »

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