TMF Application Programmer's Guide (G06.26+)
TMF ARLIB2 Audit-Reading Procedures
HP NonStop TMF Application Programmer’s Guide—522419-005
5-57
ARGETANSINAME
name information is returned in either name buffer in such cases, but the minimum
buffer lengths needed are returned in both the ansi-name-length and
partition-name-length parameters.
guardian-name input
STRING .EXT
specifies the Guardian name. This is a pointer to a buffer of type
DSMSMFILESPEC that is allocated by the calling process.
ansi-name output
STRING .EXT
is the corresponding ANSI name (in external format). This is a pointer to a buffer
of length ansi-name-buffer-length bytes that is allocated by the calling
process.
The format of an ANSI name is <Catalog>.<Schema>.<Object>.
ansi-name-buffer-length input
INT(32):value
is the length in bytes of the caller-allocated buffer for the returned ANSI name.
The maximum length necessary for this buffer is the maximum length in bytes of
an external format ANSI name: ((((128 * 2) + 2) * 3) + 2).
ansi-name-length output
INT(32) .EXT:ref
is the length in bytes of the returned ANSI name string.
namespace input
STRING .EXT:ref:2
is the name space of the returned ANSI name. Because the ANSI names of an
SQL/MX base table and an SQL/MX index can be the same, the name space is a
necessary adjunct to an ANSI name to prevent name clashes.
The defined ANSI name spaces are as follows:
TA = Base Table or View
IX = Index
IL = Log Table for Materialized Views (not returned in this interface)
RL = Range Log Table for Materialized Views (not returned in this interface)
TT = Trigger Temporary Table
= Unknown Namespace