Not accepting ) as part of (password) parameter

Document ID : KB000111136
Last Modified Date : 15/08/2018
Show Technical Document Details
Issue:
The Windows batch job does not allow close parenthesis ")" in the password in the Arguments to pass field.
Environment:
CA Workload Automation DE (dSeries)
Cause:
Caused by the close parenthesis ")" in the Arguments to pass field.
Resolution:
Assign the password to a WOB variable in a javascript and used the variable in the arguments to pass field;
For example;
1. In Services -> JavaScripts, define a Javascript named say PASSWD with the following JavaScript;
WOB.passwd='testpas)8word';
2. In the Windows job definition, click on JavaScripts under Options
3. Select the JavaScript name PASSWD 'At job run time'
4. In Arguments to pass: %WOB.passwd