RSC/MP Programming Manual
C RSC/MP Constants
Ta ble C-1 lists the RSC/MP constants and their va lues. You can use either the
constant name or the actual value in your code; however, the constant name is more
descriptive to someone no t 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
Ta ble C-2 For example, the true va lue of the RSC_ALIAS_SIZE constant is 30.
Ta ble C-1 and Ta ble 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
RSC_BEGIN_END_TRANS
Value
3
Usage
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 when
running on a NonStop platform
using a version of Guardian prior to
Rev D48.
HP NonStop Remote Server Call (RSC/MP) Programming Manual — 522360-006
C- 1