To generate a report from the command line in UNIX, you must use the CA SDM report command:
pdm_task report [-h][-e][-f][-F ffstring][-p pagelength] filename [command-line arguments]
Note: The report command is preceded by the pdm_task command, which sets necessary environment variables. If the report is designed to accept command line arguments, you must enter one for each argument in the report template.
On Windows, use the rpt_srv command:
rpt_srv report-title
The following example includes the three command line arguments (Smith, Jane, and L) needed for the Affected Contact Report described in the report template example earlier in this section:
pdm_task report /reports/myrpt.rpt Smith Jane L
If an argument is empty, you must use a null string. For example, if Jane Smith did not have a middle initial, the syntax would be:
pdm_task report /reports/myrpt.rpt Smith Jane "" rpt_srv \reports\myrpt.rpt Smith Jane L
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |