Previous Topic: Accessing the FDT

Next Topic: Calling the Subroutines


JCL Implications for Existing Application Programs

When CA Compress/2 subroutines are called by an application program to process compressed data sets, corresponding changes must be made to the JCL which defines the compressed data sets. The definition of the compressed version of the data set must be substituted for the definition of each formerly uncompressed data set.

Information needed to code the JCL for the compressed data set is available from the data set label or, if the Compression Utility was used, from the Compression Utility job which compressed the data set. In general, the RECFM is variable and the LRECL must be increased by 8 bytes (12 if originally fixed length). See the section JCL Defaults in this chapter for detailed information.

When

How Much

Always

+2

Type L defined

+2

VER length descriptor defined

+2

RDW present (not RECFM=U, F, or VSAM)

+4

Each type GA definition

-field length

Each non-GA field redefined using the Position function

+field length