Purpose
Sends a confirmation request to a remote program and waits for a reply.
Syntax
►►───── CONFIRM ── . ─────────────────────────────────────────────────────────►◄
Usage
CONFIRM sends all data in the communications buffers to the remote program.
Considerations
Example
The local program can issue a confirmation or send an error message:
SEND-DATA EMPLOYEE-RECORD. IF APPCCODE EQ ZERO THEN CONFIRM. ELSE DO. DEALLOCATE ABEND. ABORT MSG TEXT 'SEND-DATA ERROR'. END.
For the corresponding response from the remote program, see CONFIRMED.
|
Copyright © 2014 CA.
All rights reserved.
|
|