EXEC 2 is an interpreted, command procedure control, computer scripting language used by the EXEC 2 Processor supplied with the IBM Virtual Machine/System Product (VM/SP) operating system.
EXEC 2 was preceded by CMS EXEC; EXEC 2 is similar to EXEC with the following enhancements:
EXEC 2 has been superseded by REXX. All three — CMS EXEC, EXEC 2 and REXX — continue to be supported by the IBM CMS product.