Previous Topic: ACFDBCPY - Copying DatabasesNext Topic: Installation and Maintenance Utilities


ACFSMCOP - Copying SMF Disks

The ACFSMCOP utility reads blocked and spanned SMF records from a service machine SMF disk and outputs to a standard CMS minidisk file (unblocked, with internal headers removed) or to a tape. ACFSMCOP uses OS macros for tape output, in case you want SL tape handling (OS automatically handles SL tapes).

Running ACFSMCOP

The syntax of the ACFSMCOP utility is either of the following:

ACFSMCOP ifn ift ifm ofn oft ofm

ACFSMCOP ifn ift ifm oddname

ifn

The input filename.

ift

The input filetype.

ifm

The input filemode.

ofn

The output filename.

oft

The output filetype.

ofm

The output filemode.

oddname

Corresponds to the output DDNAME on a FILEDEF to tape.

You cannot mask any of the filename qualifiers with an asterisk (*). You can use a dash (-) in the ofn and oft filename qualifiers.

When output is to tape, the ifn and the oddname parameters must be unique. Also, you must supply a FILEDEF and you must specify the RECFM parameter of the FILEDEF as V or VB. The FILEDEF should resemble either of the following:

FILEDEF ddname tapx (RECFM VB LRECL 10240 BLKSIZE 32756
FILEDEF ddname tapx SL (RECFM VB LRECL 10240 BLKSIZE 32756

When you want to output to tape with standard labeling, as in the above FILEDEF, provide a LABELDEF in a REXX exec like the following example:

queue SMF.xxxxxxxx LABELDEF OUTMOVE FID ? volid scratch

Return Codes

ACFSMCOP can generate the following return codes:

0

All processing successfully completed.

4

Parameter error. A message indicates the parameter in error. The possible errors are listed below:

8

The output file already exists.

12

I/O error.

16

The CA ACF2 for z/VM SMF data did not block the input file.

20

A call to the SMF deblocker utility ended due to a logical error.

28

The input SMF file does not exist.