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
Test the system fields: APPCCODE and WHAT-RECEIVED.
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.
|
Copyright © 2014 CA.
All rights reserved.
|
|