beautypg.com

Large-transfer writing, Large- transfer writing – HP Integrity NonStop J-Series User Manual

Page 63

background image

Configuring Automatic Transaction Processing

HP NonStop AutoTMF Software User’s Guide429952-016

4-15

Large-Transfer Writing

A structured audited file cannot be opened for write access. An attempt to perform
such an open results in an error 80. TMF and the file system do not permit
unstructured updates to an audited structured file. TMF auditing is based on the
logical records of the file; unstructured access changes the physical structure of
the file, so the changes cannot be properly reflected in the TMF audit.

Unstructured read access to an audited file, structured or unstructured, is not
restricted.

Large transfer updates to unstructured audited files are now supported by the
NonStop OS. The emulation of large transfers is described in

Large-Transfer

Writing

on page 4-15.

Some third-party programs perform unstructured read/write opens of a structured file.
Careful analysis of third-party programs has revealed that in most cases, these
programs did not attempt to update the file; read/write access was requested because
read/write access is the default.

If an error 80 occurs on an unstructured open of an audited structured file, AutoTMF
will retry the open for read-only access. The retry allows some programs to run
successfully.

Programs that do attempt to update the audited structured file will receive an error 49
on the write operation. No known method can make such programs work with
AutoTMF. If an error 49 occurs, either the file must be unaudited or the program
changed to use conventional record updates.

Large-Transfer Writing

Large transfer reads are permitted on audited files without a transaction, so these
reads are processed without emulation or automatic transactions.

Some applications use the file-system large-transfer facility to load large files quickly. If
the application issues a SETMODE 141 call, the application can then perform 56 KB
unstructured writes directly to the disk.

Until recently, such large-transfer write operations to an audited unstructured file were
not permitted by the file system. To emulate large-transfer writes, AutoTMF break up
the large write into an equivalent number of 4KB writes. If the file was opened in nowait
mode, all writes except the last were waited. This emulation offered a trade off
between the efficiency of large transfers and the ability to audit and, thereby, replicate
such files.

However, recent versions of the file system (G06.20 and later) support large transfers
to audited unstructured files; if AutoTMF is running on a system that supports large
transfers, it takes advantage of the feature to provide optimum performance.

AutoTMF cannot emulate unstructured writes (either with large or small transfers) to
audited structured files.

This manual is related to the following products: