DSM Template Services Manual

TEMPL Errors
DSM Template Services Manual427187-004
B-22
TEMPL Errors and Warnings
A call to the CONTROL procedure received an error. The CONTROL operation is 20
(purge data).
This error message is self-explanatory.
In field references in certain contexts, the named structure can be different from the
structure used to define the token value. Conceptually, this reflects the fact that a token
value can be partitioned in more than one way. But the ENUM edit code is restricted to
field references that name the structure originally used to define the token value.
For an explanation of the general restriction, see the explanation for error 147.
For DEF_ENUM to redefine a tokens values, the tokens subsystem ID must be that of
the current application, one of the subsystem IDs listed in the SHARED_SSID
statement, or one of the universally shared tokens.
A token must have an SSID clause in its DDL definition if you are to represent it
through an ENUM edit code.
References to fields of structures in DEF_ENUM statements and to enumeration literal
fields in token value expressions must not contain subscripts, even for fields that are
declared with OCCURS. Simply omit the subscripts.
*** ERROR 145 -- CONTROL of enum label work file failed.
err-file line
*** ERROR 146 -- DEF_ENUM can only redefine tokens of the
current subsystem or shared tokens.
*** ERROR 147 -- The structure used with the ENUM edit
code is not the same as the structure
used when declaring the token.
*** ERROR 148 -- An ENUM edit code cannot be used with a
structure reference applied to a simple
token.
*** ERROR 149 -- The subsystem ID of this token is not
one of the shared subsystem IDs: ssid
*** ERROR 150 -- The token does not have a subsystem ID.
*** ERROR 151 -- Subscripts are not accepted in this
reference.