System Level Process Parameters

System wide batch parameters are defined at the System Level on the System Level Process Parameters page. This page is accessed by selecting Edit from the row-level menu for the Batch Catalog record on the Setup Batch Job (that is, Item Type is Folder and Catalog Label is Batch Catalog).

  • AMSROOT - Root directory of the batch files (for example, /apps/CGIADV/RTFiles/<admin|fin|hr|pb|vss>)

  • AMSEXPORT - For files that are created by the program and need to remain after the job is completed (that is, cannot be temporary files). This could include interface files that come from/go to third party sources (for example, $AMSROOT\ExportImport).

  • AMSIMPORT - For files that are used by the program and need to remain after the job is completed (that is, cannot be temporary files). This could include interface files that come from/go to third party sources (for example, $AMSROOT\ExportImport).

  • AMSLOGS - For batch framework log files. If the job requires its own log files, this is where it is put (for example, $AMSROOT\Logs).

  • AMSPARM - Batch job parameter files specific to a single job instance only (for example, $AMSROOT\Parms).

  • AMSTEMP - For temporary files, usually stamped with process ID (for example, C:\TEMP).

  • AMSSPOOL - Batch job report files, statistic files, exception reports, and so forth. These files may be sent to an OS print queue. File name is usually date and time stamped (for example, $AMSROOT\Spool).

AMSROOT can be set separately for each product, and this can be done from the Setup Batch Job (BATSETUP - Administration) page. Simply navigate to the Setup Batch Job page and then filter by the Application (such as Advantage Financial or Advantage HRM) and filter where Catalog Label is Financial or HRM. Next, click Edit from the row level menu and then update the desired value of AMSROOT for the selected application.

Note: Assumptions while implementing system wide batch parameters: It is assumed that wherever in the Job processes system wide batch parameter variables (that is, AMSEXPORT, AMSIMPORT, AMSROOT, AMSLOGS, AMSPARM, AMSTEMP, AMSSPOOL) are declared as input parameters, care should be taken to set the Override flag for that variable to Yes; otherwise, the process may fail.