CFTACCNT - Accounting records transfer

This topic describes the CFTACCNT command.

Use this command to define the recording mode of the statistical data concerning correctly terminated transfers (T or X state).

Two recording modes are available:

  • Recording data in Transfer CFT files. When the primary file is full, Transfer CFT switches to an alternate file. This mode is available on all operating systems.
  • Recording data in the files of the operating system accounting utility.

To activate the statistical mode, you must also configure the CFTPARM object.

Parameter Description

ID = identifier

Identifier of the CFTACCNT command.

LANGUAGE

Programming language of the application using the statistical data recorded.

  • COBOL
  • C

TYPE 

Defines the accounting type.

  • FILE: statistical data is recorded in the Transfer CFT files described by the FNAME and AFNAME parameters.
  • SYST: statistical data is recorded in a "system" file, through an interface with the system accounting utility. If TYPE=SYST then An. = CCID

FNAME

Name of the statistical file.

AFNAME

Name of the alternate statistical file.

MAXREC 

Statistical file maximum number of records.

EXEC 

Name of the procedure to be executed when Transfer CFT switches to the other statistical file

(SWITCH).

SWITCH 

Time at which Transfer CFT automatically switches to the alternate statistical file.

When this parameter is not defined, Transfer CFT switches statistical files daily at midnight.

ACCID    OS

Only used if TYPE=SYST Accounting system file identifier records.

Examples

TYPE = FILE

CFTACCNT

ID = ACCNT,

 

LANGUAGE = C,

 

FNAME = <filename1>,

 

AFNAME = <filename2>,

 

MAXREC = 1000,

 

EXEC = <filename3>,

This command defines the recording of statistical data concerning transfers in files specific to Transfer CFT. It designates the statistical and alternate statistical files (FNAME and AFNAME parameters). Data is recorded in these files for use by an application program written in C language.

File switching takes place manually (SWITCH command) or when the number of statistical records equals 1000. The procedure initiated at the time switching occurs is located in the file designated by the EXEC parameter.

TYPE = SYST

CFTACCNT

ID = ACCNT,

 

 

TYPE = SYST,

 

 

ACCID = n

MVS

This command defines the recording of statistical data concerning transfers in operating system accounting utility files, using an identifier indicated by the ACCID parameter, for the systems designated.

Related Links