search cancel

iDash CLI syntax for Windows AutoSys job

book

Article ID: 113020

calendar_today

Updated On:

Products

iDash Workload Automation

Issue/Introduction



What is the syntax to download an iDash report as an AutoSys windows job?

Environment

Release:
Component: AEIDSH

Resolution

Syntax to download the iDash report from the command line:
C:\Program Files\CA\idash\bin> idgenpdf -t run.report -n john -f c:\john.pdf -u idashAdm 

Syntax for AutoSys job:
NOTE the double quotes in the command syntax when running the same command as an AutoSys job.

*/ idash_report */
insert_job: idash_report
job_type: CMD 
command: "c:\Program Files\CA\idash\bin\idgenpdf" -t run.report -n john -f "C:\john.pdf" -u idashAdm
machine: <windows machine name>
owner: [email protected]<machine name>
permission:
date_conditions:
alarm_if_fail: 1
alarm_if_terminated: 1