Previous Topic: How CA Automation Point Looks for FilesNext Topic: Managing Site Files


Search Order For REXX Programs

When a REXX script is launched directly by CA Automation Point (for example, from rules) it uses the following search order:

  1. The site REXX files directory, the %AP_SITE%\MyFiles\REXX subdirectory.
  2. Product support files directory, the installDir\Distrib directory.

When a REXX script is launched, from another REXX script using the CALL instruction the search order depends on the default interpreter behavior. To replicate the same search order that this product uses when launching REXX scripts directly, you can use the .ap~excall method that is provided in the aplib.rex REXX library that is distributed with the product. For more details about the .ap~excall method and other search order considerations see REXX Search Order Considerations.