XWB IS RPC AVAILABLE

TITLEVALUE
NAMEXWB IS RPC AVAILABLE
DESCRIPTIONIf RPC is installed, available in relevant context, and of proper version
returns 1.
Otherwise, returns 0.

Integration Agreement (IA) #3011
TAGCKRPC
ROUTINEXWBLIB
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERRPC
DESCRIPTIONName of the RPC to be tested.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERRUN CONTEXT
DESCRIPTIONSpecific context in which RPC will run. Possible values are:
L = run Locally (on the server the user is logged on to)
R = run Remotely (on a server the user is not logged on to)
If this parameter is not sent, RPC is checked for both local and
remote.

The check is done against the value in the INACTIVE field in the
Remote Procedure file. See that field's description for more details.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH1

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERVERSION NUMBER
DESCRIPTIONMinimum version number of the RPC.

This parameter is only used if the RUN CONTEXT parameter = "R". If a
numeric value is in this parameter, the value must be less than or equal
to the value in the VERSION field of the Remote Procedure file for the
RPC is be marked available. Note: if the VERSION field is null, the
check will fail for any numeric value in this parameter.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH11

RETURN VALUE TYPESINGLE VALUE
RETURN PARAMETER DESCRIPTIONBoolean. 1 = RPC available.
0 = RPC not available.
AVAILABILITYSUBSCRIPTION
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION1
SUPPRESS RDV USER SETUP
APP PROXY ALLOWEDYes