FOLDER Keyword (OMS command)

With OUTPUTSET, you can also use the FOLDER keyword to specify the location for the routed output. Since you may not know what is considered to be the "current" directory, it's probably a good idea to explicitly specify the location. The keyword must be followed by an equals sign (=) and a valid location specification in quotes.

Example

OMS
 /SELECT TABLES
 /IF SUBTYPES = ['Frequencies' 'Descriptive Statistics']
 /DESTINATION FORMAT = OXML OUTPUTSET = SUBTYPES
  FOLDER = '/maindir/nextdir/newdir'.
  • If the last folder (directory) specified on the path does not exist, it will be created.
  • If any folders prior to the last folder on the path do not already exist, the specification is invalid, resulting in an error.