Previous Topic: CONFIRMNext Topic: CONTROL SESSION


CONFIRMED

Purpose

Sends a confirmation reply to the remote dialog.

Syntax

►►───── CONFIRMED ── . ───────────────────────────────────────────────────────►◄

Usage

CONFIRMED sends all data in the communications buffers to the remote program.

Note: CONFIRMED is sent in response to CONFIRM only.

Considerations

Example

In response to the preceding CONFIRM example, the remote program would issue:

RECEIVE-AND-WAIT EMPLOYEE-RECORD.
IF APPCCODE EQ ZERO
  THEN
  DO.
  RECEIVE-AND-WAIT.
  IF APPCCODE EQ ZERO AND WHAT-RECEIVED EQ 'CONFIRM'
    THEN
    CONFIRMED.
  END.