beautypg.com

Escort_optmzunlocksoff, Escort_read_null_recs, Escort_skip_null_recs – HP NonStop G-Series User Manual

Page 197: Program, use the, Define

background image

Special DEFINEs

HP NonStop AutoTMF Software User’s Guide429952-014

B-7

=_ESCORT_OPTMZUNLOCKSOFF

=_ESCORT_OPTMZUNLOCKSOFF

Specify this define to disable the optimization of UNLOCKFILE operations.

The file parameter is ignored.

This define overrides the value of the global parameter ATMFOPTIMIZEUNLOCK or of
the ATMFPROGRAMS attribute OPTIMIZEUNLOCKS.

=_ESCORT_READ_NULL_RECS

You can request that the NonStop AutoTMF software runtime return (not skip) zero-
length records when a process is reading sequentially through an audited entry-
sequenced. The DEFINE is added with the following TACL command:

The file parameter is ignored.

This define reverses the effect of the

=_ESCORT_SKIP_NULL_RECS

define. See the

description below for details.

Specifying this define overrides the value of the global parameter
ATMFSKIPNULLRECS.

=_ESCORT_SKIP_NULL_RECS

You can request that the NonStop AutoTMF software runtime ignore zero-length
records when a process is reading sequentially through an audited entry-sequenced
file. The DEFINE is added with the following TACL command:

The file parameter is ignored.

If a record is inserted into an audited entry-sequenced file and subsequently backed
out because a transaction is aborted, a zero length record is left in the file where the
record had been inserted. This does occur if the file is not audited and can cause
problems for programs that are not expecting to encounter such records.

Specifying this define precludes the program from reading unexpected null records.

Although automatic transactions are never aborted by NonStop AutoTMF software,
unilateral aborts could leave such gaps in an entry-sequenced file.

Specifying this define overrides the value of the global parameter
ATMFSKIPNULLRECS.

ADD DEFINE =_ESCORT_OPTMZUNLOCKSOFF, CLASS MAP, FILE $X.Y.Z

ADD DEFINE =_ESCORT_READ_NULL_RECS, CLASS MAP, FILE $X.Y.Z

ADD DEFINE =_ESCORT_SKIP_NULL_RECS, CLASS MAP, FILE $X.Y.Z

This manual is related to the following products: