Loading AI tools
From Wikipedia, the free encyclopedia
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.[1]
EXEC 2 is mostly compatible[2] with CMS EXEC but EXEC 2 scripts must begin with an &TRACE statement. 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.
EXEC 2 has the following enhancements:[3]
Some statemts of EXEC are not supported in EXEC 2, including:
Some predefined variables of EXEC are not defined in EXEC2:
XEDIT Macros are files with filetype XEDIT, whose contents are written using the syntax of CMS EXEC, EXEC 2 or REXX.[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.
All three command interpreters—CMS EXEC, EXEC 2 and REXX — continue to be supported by z/VM.
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.