%exec line command

The %exec line command invokes a TSO CLIST or REXX executable script on a data set object. The value of variable exec is the name of a valid TSO CLIST or REXX executable script file.

Usage notes

  • The object must be a valid VSAM or non-VSAM data set.
  • When command SHOWCMD ON is in effect, the complete command statement is displayed for verification or modification before being executed.
  • If the TSO PARMS field is not blank, the value will be appended to the combined command that follows the object name and member name.
  • If the Member field is not blank, and the object is a partitioned data set, the command will be processed by the DSC MSL function.

Examples

%SHOWDS
Execute CLIST script SHOWDS on the current data set object.