From Wikipedia, the free encyclopedia
Jump to: navigation, search

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.[1]

EXEC 2 was preceded by CMS EXEC; EXEC 2 is similar to EXEC with the following enhancements:[2]

  • Statements can be up to 255 characters long.
  • EXEC 2 can issue commands to subcommand environments as well as CMS and CP.
  • EXEC 2 has additional built-in functions.
  • EXEC 2 commands may include subroutines and functions.
  • EXEC 2 has extra debugging facilities.
  • CMS programs can manipulate EXEC 2 variables.

EXEC 2 has been superseded by REXX. All three — CMS EXEC, EXEC 2 and REXX — continue to be supported by the IBM CMS product.

Related CMS Command Procedure Control Languages[edit]


  1. ^ Varian, Melinda. "VM AND THE VM COMMUNITY: Past, Present, and Future" (PDF). Retrieved March 14, 2012. 
  2. ^ IBM Corporation. "EXEC 2 Processor and CMS EXEC Processor". Retrieved March 14, 2012. 

External links[edit]