OPEN CONVERSATION

OPEN CONVERSATION USING [SUBPROGRAMS] operand1

This document covers the following topics:

For an explanation of the symbols used in the syntax diagram, see Syntax Symbols.

Related Statements: CLOSE CONVERSATION | DEFINE DATA CONTEXT

Belongs to Function Group: Natural Remote Procedure Call


Function

The statement OPEN CONVERSATION is used in conjunction with the Natural RPC (Remote Procedure Call). It allows the RPC Client to open a conversation and specify the remote subprograms to be included in the conversation.

When the OPEN CONVERSATION statement is executed, it assigns a unique ID identifying the conversation to the system variable *CONVID.

Syntax Description

Operand Definition Table:

Operand Possible Structure Possible Formats Referencing Permitted Dynamic Definition
operand1 C S A     A                         yes no

Syntax Element Description:

Syntax Element Description
operand1
Subprogram Names:

As operand1 you specify the names of the remote subprograms to be included in the conversation.

The name of a subprogram can be specified either as a constant of 1 to 8 characters, or as an alphanumeric variable of length 1 to 8.

Further Information and Examples

See the following sections in the Natural RPC (Remote Procedure Call) documentation:

  • Natural RPC Operation in Conversational Mode

  • Using a Conversational RPC