EXEC 2

EXEC 2 is an interpreted, command procedure control, computer scripting language used by the EXEC 2 Processor originally supplied with the CMS component of the IBM Virtual Machine/System Product (VM/SP) operating system.

Some EXEC statements and predefined variables do not exist in EXEC 2, although in some cases there are analogs.

There are some minor differences in some statements and predefined functions.

[5] Like regular EXEC 2 "EXEC" command files, they begin with a "&TRACE" statement,[5] to distinguish them from CMS EXEC files.

Written in the 1970s[6] and formally introduced for CMS with VM/SP Release 1, EXEC 2 was preceded by CMS EXEC and superseded by REXX.