iDash CLI syntax for Windows AutoSys job

Document ID : KB000113020
Last Modified Date : 21/09/2018
Show Technical Document Details
Question:
What is the syntax to download an iDash report as an AutoSys windows job?
Answer:
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: Administrator@<machine name>
permission:
date_conditions:
alarm_if_fail: 1
alarm_if_terminated: 1