Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Parameter Reports using RWRUN

Status
Not open for further replies.

dorianr

Programmer
Mar 26, 2001
32
US
I'm trying to use RWRUN to run a report from the command line. My report has 2 parameters on the parameter form. Does reports 9i allow report parameters to be passed in from the command line?
For example:
PF_Name = Jones
PF_Position = Manager

Here's the RWRUN command that I'm trying to use, but I'm getting a REF-0788 error about an LOV parameter that isn't in my Parameter Form. Am I doing something wrong?

RWRUN module=myreport.rdf userid=myusername/mypswd paramform=no batch=yes destype=file desformat=rtf desname=temp2.rtf PF_Name="Jones" PF_Position="Manager"

Thanks!


 
This message probably means that the value being passed is not in the list of available values defined for that parameter. Check List of Values properties for PF_Name and PF_Position parameters. Note, that values are case-sensitive. Try to pass that values without double quotes.

Regards, Dima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top