EXEC 2 Processor

The EXEC 2 processor handles EXEC 2 programs. These EXEC 2 programs and processing are similar to CMS EXEC programs and processing.

EXEC 2 differs from CMS EXEC in these ways:
  • EXEC 2 has extended string manipulation functions.
  • EXEC 2 has arithmetic functions for multiplication and division.
  • EXEC 2 has extended debugging facilities.
  • EXEC 2 supports user defined functions and subroutines.
  • EXEC 2 lets CMS user programs manipulate EXEC 2 variables.
  • There is no 8-byte token restriction. Statements are composed of words of up to 255 characters each.
  • Commands can be entered from EXEC 2 either to CMS or to specified subcommand environments (for example, XEDIT).
The exec control statements for EXEC 2 are part of the CMS General-Use programming interface. To obtain a list of all the control statements, enter:
help exec2 menu
To obtain information on a particular control statement, enter help exec2 followed by the name of the statement. For example, to get information on the &TRACE control statement, enter:
help exec2 &trace