PASPROPCONV
- Last Updated: August 18, 2021
- 3 minute read
- OpenEdge
- Version 12.2
- Documentation
Purpose
The
paspropconv
tool is useful for migrating application logic from a Classic AppServer to a Progress Application Server for OpenEdge (PAS for OpenEdge) instance. The tool takes as input the properties of a Classic AppServer from either a
ubroker.properties
file or a
.merge
file (created using the
mergeprop
utility) and generates several files, including:
-
pasoename.ubrokername.oemerge: This file contains two sections. The first section explains all the conversions made while adapting the Classic AppServer properties to PAS for OpenEdge. It also indicates properties that were not adapted, properties that you should review and modify, and other important information. Please take time to read this section. The second section can be used to add the new values to your PAS for OpenEdge instance using theoeproputility. -
pasoeAppName_setenv.shandpasoeAppName_setenv.bat: These environment files are generated, if there is a corresponding[Environment.ubrokerName]section in theubroker.propertiesor the.mergefile. Copy the platform-specific file to the instance's bin directory to have the environment variables read at the time your PAS for OpenEdge instance starts. -
paspropconv.log: Review this file for any errors that may have occurred during the conversion process. -
paspropconv_notesdb.en: This file is used to create the comments section of thepasoename.ubrokername.oemergefile. Presently, it is available only in English.
Note: The
paspropconv utility requires
$DLC/bin/mergeprop.bat to work. Therefore, it is bundled with the Classic AppServer
in OpenEdge 11.7.3. If you are using an earlier version of the Classic AppServer, use the
mergeprop -listall command to create a .merge file. Then,
you can use the .merge file for conversion using paspropconv. For more information, see Learn About Migrating Classic AppServer Applications to PAS for OpenEdge in Migrate Classic AppServer Applications to PAS for OpenEdge.
Syntax
|
Parameters
- --ubrokerPropsFile
-
Specify the absolute path of the
ubroker.propertiesfile. This parameter is required, unless you useubrokerMergeFile. - --ubrokerMergeFile
-
Specify the absolute path of the
ubrokerMergeFilethat is generated usingmergeprop. This parameter is required, unless you useubrokerPropsFile. - --ubrokerName
-
Specify the fully qualified name of the AppServer broker (
UBroker.AS.brokername). - --pasoeAppName
- Specify the name of the ABL application to which you want to migrate your application logic. If you want to migrate the application logic to the default ABL application, specify the name of your PAS for OpenEdge instance.
- --pasoeWebAppName
- It is an optional parameter. Specify the name of the ABL web application, inside the ABL application that you already specified, to which you want to migrate your application logic. By default, the application logic will be migrated to the ROOT ABL web application.
- --pasoeMergeFile
-
It is an optional parameter. Specify the name of the file that is one of the expected file outputs of running the
paspropconvtool. You will subsequently merge the contents of this file with your PAS for OpenEdge instance's openedge.properties file. By default, the file will be named aspasoeAppName.ubrokername.oemerge. - --pasoeSetEnvFile
-
It is an optional parameter. Specify the name of the file that you will later copy to the PAS for OpenEdge instance's bin folder, so that environment variables are properly set when the instance is started or restarted. This file is generated on running
paspropconv. By default, the generated files are named aspasoeAppName_setenv.sh/.bat(for UNIX/Windows). - --convNotesDBFile
-
It is an optional parameter. Specify the name of the file. This file is generated on running
paspropconv. By default, the generated file will be named aspaspropconv_notesdb.en. - --logFile
-
It is an optional parameter. Specify the name of the
paspropconvtool's log. By default, the log is named aspaspropconv.log. - --loggingLevel
-
It is an optional parameter. This parameter determines how much information is captured in the tool's log. Possible values are
0,1,2,3,4, and5. By default, the parameter is set to2. - --logAppend
-
It is an optional parameter. This parameter determines whether information captured for every execution of
paspropconvreplaces the existing information in the log or appends to the end of the log. If you want information replaced, specify0. If you want information appended, specify1, which is the default value. - --mergepropExe
-
It is an optional parameter. Specify the full pathname of the
mergeproputility, if you are not using the default location (<install-dir>/bin/mergeprop.bat). The default value ismergeprop. - --help
-
If you need help with the
paspropconvtool, runpaspropconv --helpto see the complete list of parameters available with the tool.