CMS EXEC Processor
A CMS EXEC procedure is a CMS file that contains executable statements. The statements can be CMS or CP commands or exec control statements. The execution can be conditionally controlled with additional exec statements, or it can contain no exec statements at all. In its simplest form, an exec file can contain only one record, have no variables, and expect no arguments to be passed to it. In its most complex form, it can contain thousands of records and can resemble a program written in a high-level programming language.
Two CMS commands create exec files. One is LISTFILE, which can be run with the EXEC option; it creates a file named CMS EXEC. The CMS/DOS command, LISTIO, creates an exec file named $LISTIO EXEC, which creates records for each of the system and programmer logical unit assignments. For more information on the LISTIO command and the $LISTIO EXEC, see z/VM: CMS Commands and Utilities Reference.
help exec menu
To obtain information
on a particular control statement, enter help exec
followed
by the name of the statement. For example, to get information on the &STACK
control statement, enter: help exec &stack