The 'jr' command is not working after new AutoSys instance install
search cancel

The 'jr' command is not working after new AutoSys instance install

book

Article ID: 267505

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

On older AutoSys servers, we are able to run 'jr <job_name>' to get information about a job. After installing AutoSys R12.1, that command is no longer working. Has this been removed in AutoSys R12?

Environment

Release : 12.1 Linux

Resolution

The 'jr' command is not an actual AutoSys command. That is actually a UNIX/Linux command alias mapped to 'autorep -J'. Those command aliases will be set if you source $AUTOUSER/autosys.bash* when you login. If you look at that env file, you will see lines setting these command aliases at the bottom...

# Set CA Workload Automation AE aliases
# Send Event
alias se='sendevent -E'

# Send Event FORCE STARTJOB
alias fsj='sendevent -E FORCE_STARTJOB -J'

# Send Event STARTJOB
alias sj='sendevent -E STARTJOB -J'

# Job Report
alias jr='autorep -J'

# Machine Report
alias mr='autorep -M'