Pathmaker Reference Manual
PMADL Statements
Pathmaker Application Definition Language (PMADL)
2–6 067869 Tandem Computers Incorporated
Process Termination
A PMADL process terminates when it encounters an end-of-file indicator in the
primary input file or an EXIT statement in any input file. Before PMADL terminates, it
prints update statistics for the current Pathmaker catalog, if one is opened. It prints
error statistics for the primary output file and for the current output file if they differ.
It prints resource usage statistics for the session and total error statistics, if any errors
or warnings were reported in secondary output files. PMADL returns a completion
code to its creator process, indicating whether it detected any warnings, errors, or fatal
errors.
PMADL Statements This part of the section defines the language statements supported by PMADL. You
use these statements describe and manipulate application objects in a Pathmaker
project catalog. Commands and statements form the full language supported by the
PMADL program.
PMADL statements do not have format restrictions: spaces, ends of lines, and
indentation are not significant except that they separate lexical units (tokens). You can
combine several statements on one line, or span several lines with a single statement.
Statements end with semicolons. Statements and commands cannot appear together
on the same line.
Some statements, such as OUTPUT and DELETE, specify actions that PMADL
performs. Other statements describe Pathmaker application objects. PMADL executes
one of these descriptive statements by adding the described object to the current
Pathmaker catalog, if it does not yet exist. If the object does exist, PMADL deletes it
from the catalog and replaces it with the described object.
When an object is added or replaced in the catalog, its ownership, creation, and last
modification attributes are set from the current time and user ID. PMADL collects
update statistics regarding how many objects of each type are added, deleted, or
replaced in a catalog. These statistics are printed when the current catalog is closed.
If PMADL encounters an error while adding a new object to the current Pathmaker
catalog, it keeps the entire object out of the catalog. If PMADL encounters an error
while replacing an existing object in the catalog, it restores the original object to the
catalog if the catalog is audited by the Transaction Monitoring Facility (TMF) product.
You cannot use PMADL to update a catalog that is not audited by TMF.