Not accepting ) as part of (password) parameter
search cancel

Not accepting ) as part of (password) parameter

book

Article ID: 111136

calendar_today

Updated On:

Products

DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries)

Issue/Introduction

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