RSC/MP 7.2 Programming Manual

HP NonStop Remote Server Call (RSC/MP) Programming Manual522360-004
C-1
C RSC/MP Constants
Table C-1 lists the RSC/MP constants and their values. You can use either the
constant name or the actual value in your code; however, the constant name is more
descriptive to someone not familiar with your code and can be more easily changed.
The constants are listed in the workstation header file (RSC.H). If you are using
constants in your program, include the RSC.H header file at the top of your code.
Users of other languages must convert these constants. The values of the constants
represent a string size for the C language, which includes a NULL terminator and a
filler character. If you are using another language, subtract two from the values listed in
Table C-2 For example, the true value of the RSC_ALIAS_SIZE constant is 30.
Table C-1 and Table C-2 also show the usage of a constant. For example, the
RSC_ALIAS_SIZE constant is used in the UMS header.
Table C-1. RSC/MP Constants, Values, and Usage (page 1 of 2)
Constant Name Value Usage
RSC_BEGIN_END_TRANS 3 Values used for setting the
TMF_OPTION option.
RSC_BEGIN_TRANS 1 Values used for setting the
TMF_OPTION option.
RSC_BEGIN_WAITED 1 Type of I/O used in an
RscBeginSession API call.
RSC_CONNECT_WAITED 1 Type of I/O used in an
RscConnection API call.
RSC_DEFAULT_OPTIONS 0L Default options handle in all API
calls.
RSC_END_TRANS 2 Value used for setting the
TMF_OPTION option.
RSC_GROUP_ALIAS 1 Option used for UMS messages.
RSC_IDS_MAX_MSGSIZE 8192 Maximum message size for IDS
session used in an RscWriteRead
function call.
RSC_INTERPROCESS_MAX_MSGSIZE 31000 Maximum message size used in
RscWrite and RscWriteRead
function calls when communicating
with a Pathway server via Pathsend,
or when running on a NonStop
platform using a version of Guardian
prior to Rev D48.