EXEC 2 Processor and CMS EXEC Processor
EXEC 2 programs and processing are similar to CMS EXEC programs, with
the following differences:
- There is no 8-byte restriction on token length. The words that comprise EXEC 2 statements can be up to 255 characters long.
- You can use EXEC 2 to issue commands to specified subcommand environments, such as the editor macro facility, as well as CMS and CP.
- EXEC 2 has extended string manipulation and arithmetic functions.
- You can define EXEC 2 subroutines and functions.
- EXEC 2 provides extensive debugging facilities.
- CMS user programs can manipulate EXEC 2 variables.
Although CMS EXEC programs can call EXEC 2 programs, and EXEC 2 programs can call CMS EXEC programs, the language statements cannot be mixed within one exec.