ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

CA WA Agent: Aliases not working or expanding in UNIX jobs

book

Article ID: 132532

calendar_today

Updated On:

Products

CA Workload Automation Agents

Issue/Introduction

User defined or system wide alias set in /etc/profile work for interactive users.  They are not expanded in UNIX or Linux jobs executed by CA WA Agent.

Cause

By default the aliases are not expanded in non-interactive shells.

Environment

CA WA Agent
OS: Linux/UNIX

Resolution

Consult man pages of shell used by the jobs.
For BASH, see the following:
https://www.gnu.org/software/bash/manual/html_node/Aliases.html