12Enable/Disable Record Counts Option

PURPOSE:  The RECORD COUNTS option controls the displaying of record statistics after data manipulation commands are used interactively.

SYNTAX

{ENABLE; DISABLE} RECORD COUNT/S/ [{IF; UNLESS} clause]

ENABLE

causes ACCENT R to display the contents of one or more of the record counting system fields after an interactive command has been executed.  The information displayed is command dependent (see Notes).  ENABLE is the default state.

DISABLE

causes the displaying of record statistics to be turned off.

IF; UNLESS clause

specifies certain criteria that must be met for the ENABLE or DISABLE command to take effect.

EXAMPLE

*ENABLE RECORD COUNTS
*UPDATE WITH FUND5 MATCH ON QUENUM VIA CONTER
57399  Master Record(s)   Processed
  762  Transaction Record(s)   Processed
 3088  Master Record(s)   Added

NOTES:  The statistics displayed by each command are as follows:

ALTER, CHECK, CONVERT, EXTRACT, REPORT, and SORT display the value in @QUALIFIED:M in the format:

n RECORD(S) PROCESSED

CHANGE displays the value in @QUALIFIED:M it also displays the values in @OMITTED:M and @NEW_RECORDS:M if these values are not zero.  The format is:

n RECORD(S) PROCESSED
n RECORD(S) PURGED
n RECORD(S) ADDED

ENTER and LOAD display the value in @NEW_RECORDS:M in the format:

n RECORD(S) ADDED

DELETE and PURGE display the value in @OMITTED:M in the format:

n RECORD(S) PURGED

SELECT and UPDATE display the values in @MATCHED:M and @MATCHED:T.  They also display the values in @OMITTED and @NEW_RECORDS:M if these values are not zero.  The format is:

n MASTER RECORD(S) PROCESSED
n TRANSACTION RECORD(S) PROCESSED
n MASTER RECORD(S) PURGED
n MASTER RECORD(S) ADDED

MERGE displays the values in @QUALIFIED:M and @QUALIFIED:T in the format:

n MASTER RECORD(S) MERGED
n TRANSACTION RECORD(S) MERGED

COUNT is not affected by ENABLE/DISABLE RECORD COUNTS.

APPEND displays no record statistics, since it does not operate at the record level.

FIND when used to create a new subset or call up a previous subset, displays the value in @QUALIFIED:M in the format:

n RECORD(S) FOUND

When FIND ALL is executed, no record message is displayed.

KEEP, RESTORE, and EVALUATE display no record statistics.

Any command entered at command level, even if it calls a Process Module, will display the statistics shown above.  When commands are contained in a Command Module or System File, the record statistics are always suppressed.

This option can be included in Command Modules (CM) and Process Modules (PM).

SEE ALSO:  @MATCHED, @NEW_RECORDS, @OMITTED, @QUALIFIED