Dictionary Manipulation Statements
Data Definition Language (DDL) Reference Manual — 426798-002
8 -8
OUTPUT UPDATE Statement
OUTPUT UPDATE Statement
The OUTPUT UPDATE statement produces DDL source code that you can use to
modify or delete a referenced object in an open dictionary.
constant-name
is the name of a constant in the open DDL dictionary. You can specify up to 50
constants.
def-name
is a DDL name that uniquely identifies a definition in the open DDL dictionary. You
can specify up to 50 definitions.
If the keyword CONSTANT, DEF, DEFINITION, or TOKEN-TYPE is omitted, DDL
assumes that the specified object is a definition. This is for compatibility with
previous versions of DDL.
type-name
is a DDL name that uniquely identifies an SPI token type defined in the open DDL
dictionary. You can specify up to 50 token types.
OUTPUT UPDATE Statement Guidelines
The following points are guidelines for using the OUTPUT UPDATE statement:
•
The OUTPUT UPDATE statement is useful only when you want to modify or delete
an object that might be referenced by one or more other dictionary objects.
•
The dictionary and a DDL source file must both be open before you specify
OUTPUT UPDATE.
•
Pathmaker objects (servers, services, requesters, and screens) that refer to the
specified definition are ignored by OUTPUT UPDATE. If a Pathmaker object refers
to a definition that has changed, the Pathmaker product makes the changes to the
Pathmaker object, issuing an error message if appropriate.
•
OUTPUT UPDATE searches the dictionary for all DDL objects that refer to an
object specified in the statement. DDL then generates source code that can be
used to delete any objects that refer to the specified object, to update the definition
of the specified object, and to redefine the referring objects. DDL writes this source
code to the previously opened DDL source-code file.
{ CONSTANT constant-name ... }
OUTPUT UPDATE { [ DEF[INITION] ] def-name ... }
{ TOKEN-TYPE type-name ... }