CANCEL (Cancel) keyword for ICF files

Use this file- or record-level keyword to cancel the current chain of data (group of records) that is being sent to the remote program.

This keyword has no parameters.

The CANCEL keyword must have an option indicator when it applies to a record for which any of the following keywords apply:

CNLINVITE
EVOKE
RQSWRT
RSPCONFIRM
VARBUFMGT
VARLEN

Data fields and these keywords are ignored at run time when the CANCEL keyword is in effect. If a CANCEL keyword with no option indicator applies to a record for which any of these keywords apply, error messages are issued and these keywords are ignored at creation time. If a CANCEL keyword with no option indicator applies to a record with data fields, a severe error is issued and the file is not created.

The CANCEL keyword is ignored at run time when EOS, FAIL, or NEGRSP is in effect. These keywords must have option indicators if they apply to a record for which CANCEL applies. If a EOS, FAIL, or NEGRSP keyword with no option indicator applies to a record for which CANCEL applies, an error message is issued and the CANCEL keyword is ignored at creation time.

You cannot specify CANCEL with the TIMER keyword.

Option indicators are valid for this keyword.

Example

The following example shows how to specify the CANCEL keyword.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
     A  02                                  CANCEL
     A          R RCD1
     A