FILE Keyword (OMSEND command)

The optional FILE keyword ends specific OMS commands based on the filename specified with the OUTFILE keyword of the DESTINATION subcommand of the OMS command. The FILE keyword must be followed by an equals sign (=), and a list of quoted file specifications must be enclosed in square brackets.

Example

OMSEND 
 FILE = ['/mydir/mysavfile.sav' '/otherdir/myhtmlfile.htm'].
  • If the specified file doesn’t exist or isn’t associated with a currently running OMS command, a warning is issued.
  • The FILE keyword specification has no effect on OMS commands that use OUTPUTSET instead of OUTFILE.