Use the COMPRESS statement to compress a PDS data set.


Read syntax diagramSkip visual syntax diagramlabel COMPRESS OUTDD= DDnameOUTDSN=DSname( DSname,SHROLD),LIST=YESNOALLONLY


All keyword parameters have the same syntax as for the COPY statement.

Usage notes

  • Either OUTDD or OUTDSN keywords must be specified, but together they are mutually exclusive.
  • The COMPRESS statement is converted into an equivalent COPY statement for a compress operation.