SNAX/HLS Configuration and Control Manual
Objects and Attributes
Using the HLSRDT Utility
104705 Tandem Computers Incorporated 4-31
CHARMAP
This PROFILE attribute is a map name that specifies the mapping table to be used for
sessions established under this profile. The name is case insensitive and can be up to
50 characters long. It must start with an alpha character and contain only
alphanumerics.
If omitted, the default map is implied. The default map is specified by the
CHARMAPNAME configuration parameter, which itself defaults to the standard
Tandem ASCII-to-EBCDIC translation. Mapping only takes place, however, if the
TRANSLATE PROFILE attribute is set to YES.
ENCODE-ERI
This PROFILE attribute has the value type
yesno
. The default value is NO.
ENCODE-ERI specifies whether the indication delivered to the application program
indicating which configuration of DR bits accompanied an inbound request should
include the indication of the ERI bits. This PROFILE option exists only to provide
compatibility with earlier releases of SNAX/HLS.
An examination of the response to RECEIVE-DATA, RECEIVE-CONTROL, or
RECEIVE-CONTROL-WAIT reveals that the field DEFINITE-RESPONSE-IND is set to
one of the three character values, 1, 2 or 3, depending on whether the message
specified DR1, DR2, or both. The ENCODE-ERI option expands this encoding as
shown in Table 4-2:
Table 4-2. DEFINITE-RESPONSE-IND Returned to Application
DR or ER Bits Received ENCODE-ERI = NO ENCODE-ERI = YES
DR1 1 1
DR2 2 2
DR1&DR2 3 3
ERI and DR1 1 5
ERI and DR2 2 6
ERI and DR1&DR2 3 7
The IBM IMS product, among others, uses the ERI flag as an indicator. If it is set on a
null request, the application is expected to issue RTR (HLS-FLOW-CONTROL (RT))
commands to obtain the real results of a previous request. If the ERI is not set, no such
action should be performed.