Home » Developer & Programmer » Reports & Discoverer » dis51usr.exe: How to run a multisheet report with different parameter? (Discoverer 10g)
dis51usr.exe: How to run a multisheet report with different parameter? [message #481030] Fri, 29 October 2010 08:01
sourajit_seth
Messages: 38
Registered: November 2005
Location: India
Member
Hi,
I have a report ( say 1.dis) with 2 sheets ( X and Y ). X has the parameter
District and Y has the parameter Division. While I saved the report, the sheet X was opened.
(That means I run the report X from Desktop and save the report )


Now I execute the following command to run the X .

C:\Dis10gDesktop\bin\dis51usr.exe /connect <user id>/<password>@connectstring /apps_user /apps_responsibility "test_Resp" /open "C:\Test\1.DIS" /sheet "X" /parameter "District" "ABC" /export xls C:\Test\DIS_REPORT_OUTPUT_X.xls /BATCH

It is successfully run and gives the output file.

Now I execute the following command to run the Y.

C:\Dis10gDesktop\bin\dis51usr.exe /connect <user id>/<password>@connectstring /apps_user /apps_responsibility "test_Resp" /open "C:\Test\1.DIS" /sheet "Y" /parameter "Division" "DEF" /export xls C:\Test\DIS_REPORT_OUTPUT_Y.xls /BATCH

It is showing the error
District: Unresolved parameter.

If I save the report while the sheet Y is opened , then the second command is running file, but the first one is showing the error
Division: Unresolved parameter.

It looks the command can not move to other sheet . How can I resolve it ?
Please help.



Previous Topic: Report not printing complete line on second page (merged)
Next Topic: how_to_add_aggrigate_functions_manually
Goto Forum:
  


Current Time: Fri Apr 26 21:36:26 CDT 2024