Using service-enabled scripting and the prpcServiceUtils tool

If you have a running Pega node, use prpcServiceUtils to script service-enabled application distribution.

If you need to perform these operations by using a direct connection to the database, use the prpcUtils tool. For more information about the prpcUtils tool, see prpcUtils tool.

The properties in the prpcServiceUtils.properties file and the arguments to the prpcServiceUtils.bat script or prpcServiceUtils.sh script control

Properties files and command-line arguments

Configure the prpcServiceUtils.bat or prpcServiceUtils.sh script actions in the prpcServiceUtils.properties file.

You can also pass arguments to the script to override settings in the prpcServiceUtils.properties file.

  • Use the properties file to set property values for reuse to minimize errors in entering commands.

  • Use the command-line arguments to augment or override values in the property file, for example, to customize one script action. The use of these arguments is optional. Each argument should be preceded with two hyphens (--).

prpcServiceUtils script arguments

Use the command-line arguments to augment or override values in the property file, for example, to customize one script action. The use of these arguments is optional. Each argument should be preceded with two hyphens (--).

prpcServiceUtils script argument Value
artifactsDir The full path to the output file location, for those functions that generate output. The default is the /scripts/utils/logs directory.
connPropFile The full path to the serviceConnection.properties file that includes information for multiple targets.
poolSize The thread pool size. The default is 5.
requestTimeOut The number of seconds the system waits for a response before failing with a time-out error. The default is 300 seconds.
jobIdFile The path to the job IDs file that is generated by the asynchronous operation.
propFile The property file name, to override the default prpcServiceUtils.properties file.
operationName Specify the operation that generated the job ID for getStatus: import, export, expose, hotfix, or rollback.