Natural for Mainframes Version 8.2.5 for Mainframes
 —  Statements  —

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.

Top of page

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.

Top of page

Further Information and Examples

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

Top of page