cdsacomp -m

decompress

-d

text

-i

compressed.file

-o

dest.file

-x

/home/cd/ndm/xlate/def_recv.xlt

Examples—csdacomp Command Help

Requesting a summary of cdsacomp command parameters and help options:

cdsacomp -h

Example—Decompress a File on the Remote Node During the Copy Step

The “precomp=yes” parameter is used when the file was compressed by the cdsacomp utility prior to this Process. The file is transferred by this Process as a pre-compressed file. It is then decompressed by special processing as it is received on the remote node.

sample process snode=cdunix1 step01 copy

from

(

file=/home/cd/upload/compressed.file

sysopts=”:precomp=yes:” pnode

)

to

(

file=/home/cd/download/decompressed.file snode

disp=rpl

)

pend;

Example—Send Precompressed File to z/OS and Storing It as Precompressed

The precompressed file is copied to the z/OS node with PNODE sysopts of “datatype=binary”. The destination file is not decompressed. The DCB settings of the original precompressed file are preserved on the z/OS node. The specified checkpoint interval will be used during the file transfer. The file can be decompressed with the z/OS cdsacomp utility.

sample process snode=cdunix1 step01 copy

from

(

file=/home/cd/upload/compressed.file

sysopts=”:datatype=binary:” pnode

)

chkpt=2M to

(

file=upload.compressed.file dcb=(blksize=27920, lrecl=0, dsorg=ps, recfm=u) snode

disp=(new,catlg)

)

pend;

52Sterling Connect:Direct for UNIX: User Guide

Page 58
Image 58
IBM 4J manual Examples-csdacomp Command Help