TERMINAL Phrase
See Format 4 for general considerations concerning the TERMINAL phrase.
The TERMINAL phrase specifies which program device’s subfile is to have a record written to it. If the TERMINAL phrase is specified, literal-2 or identifier-3 must refer to a workstation associated with the TRANSACTION file. If literal-2 or identifier-3 contains a value of blanks, the TERMINAL phrase is treated as if it was not specified. The workstation specified by the TERMINAL phrase must have been acquired, either explicitly or implicitly.
If the TERMINAL phrase is omitted, the subfile used is the subfile associated with the default program device.