beautypg.com

C problem resolution, Runtime errors, Program failures (abend) – HP Integrity NonStop J-Series User Manual

Page 207: C. problem resolution, Tmf errors, Problem resolution

background image

HP NonStop AutoTMF Software User’s Guide429952-017

C-1

C

Problem Resolution

AutoTMF is designed to be invisible to an application program. AutoTMF is logically a
layer that looks like the file system to the programs and like an application to the file
system. Because the runtime is a library to the application programs, its operating
environment is the application’s environment; thus, distinguishing between application
problems and AutoTMF problems may be difficult.

This appendix discusses how to diagnose problems and the tools to do so and how to
report them given the context of AutoTMF applications. This appendix covers the
following topics:

Runtime Errors

Diagnostic Tools

Reporting Problems

Runtime Errors

Runtime errors fall into the following categories:

Program Failures (ABEND)

Locking Problems

Incorrect Behavior

Program Failures (ABEND)

AutoTMF intercepts Enscribe I/O and selected other operating system calls. It tracks
the sequence of calls and makes decisions about generating and committing automatic
transactions. It then issues the Enscribe calls on behalf of the application program.

Errors returned from the procedure calls are passed back unchanged to the application
program. The application then proceeds with its normal error checking and recovery.

TMF errors

The introduction of TMF transactions may cause programs to encounter errors that
they are not expecting and that they are unable to handle. In most cases, such
conditions, when detected by AutoTMF, cause a program to abend immediately to
avoid compromising data integrity.

You can configure AutoTMF to stop a program rather than causing it to abend when a
program encounters an TMF environmental error, by setting the global parameter
ATMFSTOPONTMFERR or the program attribute STOPONTMFERR to ON. AutoTMF
stops the program and no saveabend file is produced.

If AutoTMF stops or aborts a program due to a TMF environmental error, a message
describing the error sent to the EMS log to alert the operator of the failure.

This manual is related to the following products: