Modify batch configuration file
- Last Updated: January 20, 2026
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
To configure preferences of the OpenEdge Memory Profiler tool, you can use a configuration
file. By default, you can import a maximum of two recordings simultaneously on a PAS for
OpenEdge instance. However, to change this default behavior, you can modify the
batch.config configuration file in the
<WRKDIR>/oemp/openedge directory
according to your requirements and available operating system (OS) resources.
- Locate the
batch.configfile in the <CATALINA_BASE>/openedge folder of your PAS for OpenEdge instance. Open the file in a text editor to make the necessary changes.The batch.config file opens.
Table 1. Example batch.config file { "watchdog": { "enabled": true, "interval": 60 }, "maxImports": 2, "stuckDelay": 120000, "endpoint": { "secure": false, "host": "127.0.0.1", "port": 8880, "webapp": "batch" }, "locations": [{ "path": "UPLOAD", "auto": false, "delete": false }, { "path": "CATALINA_BASE/import", "auto": true, "delete": false }] } - The file contains the following sections that you can modify as required:
Table 2. batch.config sections Sections Description watchdogManages a standalone AVM process (ABL procedure) that regularly monitors if recording files are ready for import. Valid properties of the watchdogsection are:enabled—Facilitates automatic import of recording files, when set totrue. By default, it is set totrue.interval—Determines how often the watchdog process scans for available, unprocessed recording files that are ready for import. The default interval is 60 seconds (1 minute).
maxImportsLimits the total number of recording files that can be imported simultaneously, which should be determined by the OS resources available for the PAS for OpenEdge instance. For example, an OS image that has been allocated a greater amount of CPU and memory should be able to load more recording files than a virtual machine (VM) with restricted resources. The default is set to two recordings at a time. Note: Progress recommends that you adjust themaxImportssetting to higher value only if you understand the potential performance impact based on the limitations of your system hardware.endpointEstablishes the APSV endpoint designated for import requests. By default, endpointuses the same PAS for OpenEdge instance, utilizing port8880on the local system within thebatchABL Web Application.locationsSpecifies paths that will be scanned for .oemp files and provides the option to automatically import any unprocessed files. While every API or endpoint that requests a list of files automatically uses the specified paths, the watchdog.enabledproperty described previously controls the auto-import ability globally for the PAS for OpenEdge instance.By default,locationsdefines two directories used for importing data, each with specific behaviors:"path": "UPLOAD"—Specifies the <CATALINA_BASE>/upload directory. The setting"auto": falseindicates that the files placed in this directory are not imported automatically. This directory is reserved for API calls that upload multipart-form data to a designated location within the PAS for OpenEdge instance."path": "CATALINA_BASE/import"—Specifies the <CATALINA_BASE>/import directory. The setting"auto": trueindicates that the files placed in this directory are imported automatically. This directory serves as the default location for user-supplied files intended for auto-import.
.oempfiles, with the flexibility to enable or disable automatic import for each location. Files placed in directories configured with"auto": trueare processed automatically, while those with"auto": falsemust be imported manually.Note:- Only files in the watched directory that meet
all of the following criteria are eligible for
automatic import:
- Have a
.oempfile extension - Are text files (not binary)
- Contain a final
_Exitsnapshot
- Have a
- Watched directories support subfolders, and files are read recursively, but only one level deep. For example, files in /import/<subdir> are processed. Avoid placing duplicate or backup files in subfolders to prevent unintended processing.
- Both /import and /upload directories are valid watched directories. However, the /upload directory is reserved for specialized workflows and is not part of the standard usage currently. It is recommended that you use /import as the default location.
The Recordings home page displays an informational banner that presents a comma-separated list of directories configured under the
locationssection of thebatch.configfile in the<WRKDIR>/oemp/openedgedirectory. For more information, see Recordings.Note: By default,watchdog.enabledandlocations.autoare set totrue, which automatically imports any unprocessed files available in the CATALINA_BASE/import folder.