SQL/MX 3.2 Management Manual (H06.25+, J06.14+)

Table Of Contents
A Using Guardian Names with TMF, RDF, and Measure
The TMF, RDF, and Measure subsystems provide important infrastructure and management support
to NonStop SQL/MX. Currently, however, the user interfaces to these subsystems require Guardian
physical file names, whereas SQL/MX tables can be referenced by their ANSI logical names:
Guardian physical file name format:
[\node.][[$volume.]subvolume.]filename
ANSI logical file name format: [[catalog.]schema.]name
For subsystems that do not currently support ANSI names and do not use the MXGNAMES utility,
use the SHOWDDL or SHOWLABEL commands to return Guardian names for the SQL/MX objects.
Conversion from ANSI logical to Guardian physical names is semiautomated by the MXGNAMES
utility. You can use the MXGNAMES utility (for example, in OBEY command files) to generate the
physical file names required by these subsystems from the ANSI logical names of SQL/MX tables.
Using the MXGNAMES Utility
The MXGNAMES utility is a Guardian program run from a TACL prompt or OBEY command file.
Use MXGNAMES to generate the portions of the subsystem command lines that contain Guardian
file names. These portions can then be used directly to form complete subsystem commands, without
additional editing that might be cumbersome and error-prone.
For example, to use TMF RECOVER FILES without MXGNAMES, you would have to:
1. Run SHOWDDL and capture output in an OSS edit file.
2. Use MXCI to obey the file and re-create the table.
3. Execute the RECOVER FILES command.
You can specify table names either on individual MXGNAMES command lines or in an input file.
In either case, one or more tables might not be found. If you specify a list of table names,
MXGNAMES processes valid table names in the list and returns a warning to standard output for
those not found.
For more information, see the SQL/MX Reference Manual.
For detailed descriptions of MXGNAMES error messages, see the SQL/MX Messages Manual.
MXGNAMES Input Files
MXGNAMES uses the same information that is provided by SHOWDDL, which always includes
all partitions of the base table and all implicitly and explicitly defined indexes on the table. This
information constitutes the entire set of files that would have to be recovered or restored to replace
all objects described in the SHOWDDL text.
General Characteristics of EDIT Files
The inputs and outputs of MXGNAMES are standard Guardian EDIT files with:
Guardian file code of 101
Maximum line length of 239 characters
For readability, MXGNAMES limits output lines to 80 characters.
Other tools or programs can be used to capture data for later use with MXGNAMES. Any such
file to be used as input to MXGNAMES might have to be converted to the Guardian format to be
compatible with MXGNAMES. Tools such as CTOEDIT can be used in these conversions.
SQL Names File
The input SQL names file is an EDIT format file used in conjunction with the -SQLNames
command-line option. It consists of a list of fully qualified ANSI table names, one per line.
306 Using Guardian Names with TMF, RDF, and Measure