Failed to Generate Reports through CLI Commands
search cancel

Failed to Generate Reports through CLI Commands

book

Article ID: 6109

calendar_today

Updated On:

Products

iDash Workload Automation

Issue/Introduction

While generating the idash 'autotrack.report' through CLI recieved the following error. The same report is available and can be downloaded through Web-interface.

[[email protected] bin]# ./idgenpdf -t autotrack.report -n daily_autotrack_report -f daily_autotrack_report.pdf

unable to retrieve configuration:type=autotrack.report:user=idashusr:id=daily_autotrack_report

[[email protected] bin]#

If run through CLI, this is one of the common messages for all the report types available in various formats.

Please refer to Additional Information section for various report types and formats.

Environment

All OS platforms supported by the product

Cause

Non-existence of the report

Ownership of the report

Resolution

Validate the existence of the report name (-n).

[[email protected] bin]# ./idlist -t autotrack.report

daily_autotrack_report:idashAdm

public_audit_report:idashAdm

autotrack_report:idashAdm

When the report ownership is under 'public' in the WebUI, the actual ownership is mapped with the user 'idashAdm'.

To generate the public reports through CLI, option -u must be included with user 'idashAdm'. 

[[email protected] bin]# ./idgenpdf -t autotrack.report -n daily_autotrack_report -f daily_autotrack_report.pdf -u idashAdm

[[email protected] bin]#

The optional parameter " -u USER" must be used if the report is under private ownership of a specific user otherthan the one who is running the CLI.

[[email protected] bin]# ./idgenpdf -t autotrack.report -n administrator_audit_report -f administrator_audit_report.pdf -u administrator

[[email protected] bin]#

Additional Information

Generate Reports with CLI Commands:

https://techdocs.broadcom.com/us/en/ca-mainframe-software/automation/ca-workload-automation-idash/12-1-01/using/reports/generate-reports-with-cli-commands.html

Command syntax help: "idgenpdf /?"