Top Method Summary
Options Name Purpose
CHARACTER Resolve (character) Resolves all tokens in the given value
CHARACTER ResolveEnvironmentTokensWithDefault (character) Resolves ${env.NAME:defaultValue} tokens in the given value
CHARACTER ResolveOptionalEnvironmentTokens (character) Resolves ${?env.NAME} optional environment variable tokens in the given value


Method Detail
Top

CHARACTER Resolve (character)

Purpose: Resolves all tokens in the given value
Notes: Resolves the ${env.NAME:defaultValue} tokens first, then (before
OpenEdge 12.8) the optional ${?env.NAME} tokens and finally passes
the value through the OpenEdge TokenResolver for the remaining
token syntax. Values without a token (or the unknown value) are
returned unchanged

Parameters:
pcValue CHARACTER
The value to resolve the tokens in
Returns CHARACTER
The value with all tokens resolved
Top

CHARACTER ResolveEnvironmentTokensWithDefault (character)

Purpose: Resolves ${env.NAME:defaultValue} tokens in the given value
Notes: SCL side extension to the OpenEdge TokenResolver token syntax
(SCL-5415). When the environment variable is set, its value is
substituted; when it is not set, the default value following
the first colon is substituted instead of keeping the token
text. Tokens without a default value are left untouched for
the OpenEdge TokenResolver

Parameters:
pcValue CHARACTER
The value to resolve environment tokens with default values in
Returns CHARACTER
The value with all ${env.NAME:defaultValue} tokens resolved
Top

CHARACTER ResolveOptionalEnvironmentTokens (character)

Purpose: Resolves ${?env.NAME} optional environment variable tokens in the
given value
Notes: SCL-5415: Before OpenEdge 12.8 the OpenEdge TokenResolver does not
support the ${?...} optional token syntax (Token:AllowUnknownValue)
and leaves those tokens unresolved. This method emulates the
OpenEdge 12.8 behavior: when the environment variable is set, its
value is substituted; when it is not set, the literal string "?"
is substituted (the OpenEdge TokenResolver turns the unknown value
into "?" using substitute). As on OpenEdge 12.8, the complete token
content after "?env." is used as the environment variable name

Parameters:
pcValue CHARACTER
The value to resolve optional environment tokens in
Returns CHARACTER
The value with all ${?env.NAME} tokens resolved


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       19.09.2026 10:07:24