OEPROP
- Last Updated: May 5, 2025
- 2 minute read
- OpenEdge
- Version 12.2
- Documentation
Purpose
OEPROP is a command-line utility used to display and manage properties in the instance-name/conf/openedge.properties file.
Note: Use TCMAN (tcman config) to manage the properties in instance-name/conf/appserver.properties or to view the
properties in conf/jvm.properties.
Syntax
|
Parameters
- -help
- Display the syntax and parameter descriptions for the oeprop command.
- group_name.prop_name
- Display the value of the specified property the the specified group in .../conf/openedge.properties.
- group_name.prop_name=value
- Set the value of a property in a group that exists in .../conf/openedge.properties.
- +group_name.prop_name=value
- Add a new property to the specified group in .../conf/openedge.properties and set its value.
- ~group_name.prop_name
- Remove the specified property in the specified group in .../conf/openedge.properties. If prop_name refers to a group, the group must be
empty. To remove non-empty groups, use the
-Roption. - ~group_name
- Remove the specified group in .../conf/openedge.properties. The group must be empty. To
remove non-empty groups, add the
-Roption. - -R
- Use with
~group_nameto remove non-empty groups. - -f filename
- Merge the contents of the text file, filename, with the existing
openedge.properties file.
This option is particularly useful when deploying and configuring new Web applications. It allows you to add property names and property groups in one step.
- -v
- Display verbose information when oeprop runs.
- -g
- Display debug information when oeprop runs.
- -t
- Display detailed trace information when oeprop runs.
Note
Properties in the openedge.properties files are organized in groups. For
example, the following shows the properties listed under the
AppServer.SessMgr group:
|
When specifying a property as a parameter to the oeprop command, the
group name must precede the property name. For example,
AppServer.SessMgr.maxAgents and both the group name and
property names are case-sensitive.
Examples
- Display the maximum number of agents (returns 10, the default setting):
proenv> bin\oeprop.bat AppServer.SessMgr.maxAgents 10 - Set the maximum number of agents to 12 and verify the change:
proenv> bin\oeprop.bat AppServer.SessMgr.maxAgents=12 proenv> bin\oeprop.bat AppServer.SessMgr.maxAgents 12
- Add the groups and properties contained in
NewWebAppProperties.txt to
conf/openedge.properties:
proenv> bin\oeprop.bat -f NewWebAppProperties.txt