jdbc-tool.jar DB Execution Action does not accept file path with space character

book

Article ID: 84958

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
N/A

When using the DB Execution action, jdbc-tool.jar, if there are space characters in the file path, even if there are double quotes(") around them, the action behaves unpredictably.

When a file path with space character is used in the DB Execution action, internally the space is replaced with the string %20 and so the actual path in the Windows environment can't be found.

<Please see attached file for image>

0EMb0000000IXfK.png

Cause

Cause type:
Defect
Root Cause: When JDBC actions are executed if there are spaces in the file path (i.e. "C:\Program Files\..") the actions fail because the space is converted to the string of %20 (i.e. "C:\Program%20Files\..) and that path does not exist.

Environment

OS Version: N/A

Resolution

Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Package JDBC 1.2.5 - Available

Additional Information

Workaround :
Use file name and location path without any empty spaces.

Attachments

1558693472385000084958_sktwi1f5rjvs16m87.png get_app