DSM Template Services Manual
TEMPL Errors
DSM Template Services Manual—427187-004
B-21
TEMPL Errors and Warnings
Only one redefinition can be given for any one token or field. The item mentioned in the
current DEF_ENUM statement was redefined in an earlier DEF_ENUM statement.
Determine whether the maximum number of DEF_ENUM has been exceeded in a
particular case by taking all the DEF_ENUM statements for tokens. Count the number
of enumeration names listed in these statements. The total must not exceed 50. Then
take all the DEF_ENUM statements for fields, and count the number of enumeration
names listed in these statements. This total must not exceed 50.
A SHARED_SSID statement can have up to 10 subsystem IDs.
The HEADING attribute of the two named tokens is the same. If you collect the tokens
under the current subsystem ID, the tokens under all subsystem IDs in the
SHARED_SSID list, and the universally shared tokens, each of these tokens must
have a distinct HEADING attribute.
The character strings associated with the code values of an enumeration must all be
distinct. For more information, see DEF_ENUM Statement
on page 3-11.
A call to the KEYPOSITION procedure received an error. file-type is either object
or token label work.
A call to the POSITION procedure received an error.
*** ERROR 138 -- This token or field has already been
defined in another DEF_ENUM.
*** ERROR 139 -- Too many DEF_ENUM entries.
*** ERROR 140 -- Too many shared subsystem IDs.
*** WARNING 141 -- The token heading "label" appears both
on token token1 and token token2.
*** WARNING 142 -- The AS string "label" appears more
than once in the enumeration enum.
*** ERROR 143 -- KEYPOSITION of file-type file failed.
err-file line
*** ERROR 144 -- POSITION of enum-label work file failed.
err-file line