Dis51usr.exe: How to run a multisheet report with different parameter?

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 fine,
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.

Hi
Just had an idea. Try removing the double quotes from around the parameter value. Even though it is a string you don't need to provide quotes in the command line. Therefore try again like this:
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
and this:
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
You also may not need the double quotes around the sheet and parameter names. Typically these are only used when there is a space in the name
As an FYI, if you need to put quotes around a parameter value try using single quotes instead of double quotes and as a tip if you are passing multiple values to a parameter they should be passed with a comma between them and no space either before or after the comma.
Do you have a copy of my Oracle Press book called Oracle Discoverer 10g Handbook? If so, please take a look at pages 503 to 509. If you don't have it I'd strongly recommend doing so as it contains over 1,000 pages of information. You can get it at amazon and can find out more about it on my website here: http://ascbi.com/10g-handbook.htm
Best wishes
Michael
URL: http://ascbi.com
Blog: http://learndiscoverer.blogspot.com

Similar Messages

  • How to run the APD programmatically with different query variables

    Hi All
    I have a requirement to run a APD with a query in it programmatically on a series of posting periods from 1 to 10 I want to run the APD once for each posting period.
    Any idea how I can do this.
    Thanks
    Karen

    Karen,
    Create a variable on posting period in the query.
    in tcode RSRT, choose the query name , here you have the option of creating query variants. create different variants and save it.
    In APD, when you choose the query, you have the option of choosing query variant, choose the variant you created in rsrt.
    You can automate by including the APD with different query variants in a PC.
    Sharat

  • How to run a 10g report in batch mode.

    Good Afternoon,
    Please advise if there is a way to run a 10g report from command line.
    We use 6i right now and our job scheduler runs reports using "D:\ORADEV6I\BIN\RWRUN60.EXE ..." executable in batch mode on a separate server. We plan to migrate to 10g Database, Forms, Reports. Is there a way to keep this functionality and create a "command" to request the report server to run a report?
    Thank you,
    Dmitri

    For those of you interested in following this refer to the same thread in the Reports Forum:
    How to run a 10g report in quiet\batch mode

  • NAV 2013 R2; How to run a customized report (206 sales invoice) in the classic client

    Hello, in preparing a newly installed NAV 2013 R2, I'm questioning the following:
    In the Development Environment I have customized report 206 Sales - Invoice in the Design menu View Layout with the space of the logo (by Microsoft SQL Server Report Builder) and
    finally saved and compiled.
    When I do run it connects to the server of what I call the classic client or the real NAV 2013 R2 and I can select a posted sales invoice to show the new layout and the result is
    fine as customized as I wanted.
    When I later ordinary print one of the posted sales invoices this customized logo layout doesn't appear on the print. I print in PDF and paper. When I make a next new sales invoice
    this new layout is not in use either.
    Another thing is run print started from the Development Environment is called Sales - Invoice in the header and not just Invoice that it the name when printing when invoicing and
    printing of posted documents.
    Additionally this form of Sales - Invoice shows our company details and good information as web, e-mail, bank account and bank name that is well demanded on a perfect invoice.
    How to get these informations out normally?
    Is the classic client having a wrong report as sales invoice?
    How to run a customized report (206 sales invoice) in the classic client NAV 2013 R2?
    It is like the customized report (206 sales invoice) is not in use yet in the classic client.
    All you wise people out there are welcomed to help me now
    Best regards
    Carsten

    Try on Dynamics Community forum: https://community.dynamics.com/nav/f/34.aspx

  • How to run Aged Payable report

    Hello Gurus,
    Please how can I run aged payable report with the following format?
    Vendor ABC
    0-30 days
    31-60 Days
    61- 90 Days
    91-120 Days
    +121 Days
    Document Date
    Reference #
    Terms of Pymt
    Net Due Date
    Current
    Past Due Date
    Past Due Date
    Past Due Date
    Past Due Date
    Past Due Date
    Subtotals
    X
    X
    X
    X
    X
    Vendor DEF
    0-29 days
    30-59 Days
    60-89 Days
    90-119 Days
    +120 Days
    Document Date
    Reference #
    Terms
    Net Due Date
    Current
    Past Due Date
    Past Due Date
    Past Due Date
    Past Due Date
    Past Due Date
    Subtotals
    X
    X
    X
    X
    X
    0-29 days
    30-59 Days
    60-89 Days
    90-119 Days
    +120 Days
    Past Due Date
    Past Due Date
    Past Due Date
    Past Due Date
    Past Due Date
    Grand Total =
    X
    X
    X
    X
    X
    Please I need you help.
    Thank you.

    Hi,
    Let me put it this way, the ageing report requirement comes from client i.e. Business which includes users/core-team members/management.
    So, if the requirement to change the ageing report comes from business (whoever is it), then ofcourse, you'll have to rely on them for specifications of report, because ultimately they are the end users for this report, and they know what changes they want.
    I'm not sure under what capacity you're asking this question. If you yourself are the user of this report, then you'll have to provide the detailed requirement to your FI guy who'll work with developer to design the report.
    Thanks,
    Nirav 

  • How to run non-customised report from command prompt to gen trace file?

    Hi
    how to run non-customised report from command prompt to gen trace file?
    EBS R12 RUP6.
    RHEL5
    rgrds

    Hi,
    See (Note: 285497.1 - Rwrun.sh Does Not Generate Trace Output Using TRACEOPTS in Command Line) and/or (Note: 737445.1 - R12 Concurrent Requests Run Forever; rwrun Errors REP-50125) for the command you need to use.
    Thanks,
    Hussein

  • How to run the 9I report from the forms menue 9i

    how to run the 9I report from the forms menue 9i.
    Shehzad Latif

    Hi,
    1. create a Reports Object node in Forms. If you use teh same object node name then you can write generic code that works in all Forms
    2. Get the whitepaper about Forms/reports integrtion
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    Frank

  • How to save each section report into different excel sheet?

    Hi all
    How to save each section report into different excel sheet?
    I have a report in which there are 4 sections north south west east now i need to save north in excel sheet 1 , south in sheet2, west in sheet3, and east in sheet4. under each section there is list report.
    Please let me know is it possible are not if possible let me no the procedure to be followed.
    Thank you

    If you're running XI 3.1 you might be able to solve this as follows.
    1. Create four users: east, west, north, south
    2. Create a profile that filters on the variable you used for the section/break
    3. Publish the report
    3.1 Set users created above to be the enterprise recipients
    3.2 Add personalization (the profile created above)
    3.3 Check the Deliver objects to each user in Destinations
    (3.4 You could use %SI_OWNER% to get a nice suffix to the report name)
    This should cause four reports to be created, each with its own "personalized" contents.

  • How to Run a SCSI Scanner with Firewire In OS X?

    Does anyone know how to run a SCSI scanner with Firewire in Mavericks?
    I have unsuccessfully tried the RATOC FR1SX SCSI-to-Firewire converter. The Ratoc is recognized as a Firewire device in the System Profiler (see pic below). However, the VueScan scanning software does not recognize the scanner.  I know the scanner works because I have been using it in an old HP PC. As such I  installled Windows 7 64 bit via Boot Camp to see if I could use the scanner, but had no luck.
    I have an iMac 21.5-inch, Mid 2010.
    ANY HELP?

    The Mac scanner driver is not seeing it as a native SCSI device assuming VueScan supports the model of scanner you have. (You did not list the scanner model.)
    Other than getting a modern non-SCSI scanner, a possible option would be to get a Thunderbolt PCI expansion chassis and a 'real' SCSI interface card. There is no guarantee this will work though as SCSI has been discontinued in the Mac world for years and years. If you then want to look at a SCSI card for use with the expansion chassis then look at the following.
    Hmm, just looked the AttoTech SCSI cards have been discontinued as well, as I said SCSI is ancient history in the Mac world.

  • How to create a report with different page sizes

    Hi,
    I would like to create a report with different page sizes, it's possible to do it with diadem?
    When I change the layout parameters, changes afect to all sheets...
    Is there a way to change page size individually for each sheet?
    Thanks in advance.
    Marc

    Hi Marc,
    You can use the DocStart and DocEnd commands along with the PicPrint command to spool multiple print commands to the same output PDF file using the direct printer approach.  This should enable you to programmatically specify the page size differently for each sheet that you add to the print job.
    ' Print PDF Page by Page.VBS
    OPTION EXPLICIT
    Dim i, Path, OldPrintName
    Path = AutoActPath & "2D Stacked"
    Call DataDelAll
    Call DataFileLoad(Path & ".TDM")
    PDFFileName = Path & " Page by Page.pdf"
    IF FileExist(PDFFileName) THEN Call FileDelete(PDFFileName)
    OldPrintName = PrintName
    PrintName = "winspool,DIAdem PDF Export,LPT1:" ' Set to PDF printer
    PDFResolution = "72 DPI" ' "2400 DPI" , "default"
    PDFOptimization = TRUE
    PDFFontsEmbedded = FALSE
    PDFJPGCompressed = "high"
    PrintOrient = "landscape" ' orient paper
    Call PrintMaxScale("GRAPH") ' auto-max, see alternative margin setting variables below
    PrintLeftMarg = 0.181
    PrintTopMarg = 0.181
    PrintWidth = 10.67
    'PrintHeigth = 7 (read-only)
    Call WndShow("REPORT")
    Call DocStart ' Begin multi-page document/print job
    FOR i = 1 TO 4
    Call PicLoad(Path & ".TDR")
    Call GraphSheetNGet(1)
    Call GraphSheetRename(GraphSheetName, "Page " & i)
    Call PicUpdate
    Call PicPrint("WinPrint") ' Add a page to be printed
    NEXT ' i
    Call DocEnd ' End multi-page document/print job
    PrintName = OldPrintName
    Call ExtProgram(PDFFileName)
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • How to create Report with different work sheets in XL Reporter

    Hi All
    I want to create a report in xl reporter where one report has multiple work sheets
    Regards
    Farheen

    Hi,
    There is no option to create report with different work sheets in XL Reporter. You may only use one sheet.
    Thanks,
    Gordon

  • How to color single column cells with different colors in classic report based different conditions

    Hi ,
      Am working on Oracle Apex 4.2 version. Am trying to generate a  classic report with different cell colors based on the conditions.
      I tried the solution provided in the below link.
      https://forums.oracle.com/message/9518723#9518723.
      I tried the same query given in that link.
       SELECT e.*,
      CASE
        WHEN sal < 1000
        THEN 'red'
        WHEN sal BETWEEN 1000 AND 2000
        THEN 'yellow'
        WHEN sal > 2000
        THEN 'green'
      END the_color
    FROM emp e
      And, I hidded the column 'the_color' in Report Attributes,
              the Column Template1 has the code , <td #ALIGNMENT# headers="#COLUMN_HEADER_NAME#">#COLUMN_VALUE#</td>.
    After this, what are the steps did I miss here. Because am not getting the report which I need.
    Kindly do provide solution.
    Thanks,
    yashu.

    SAL column values should visible with different color based on the conditions. Same way i did in my report it was working for me. Please refer the below links for more information,
    https://forums.oracle.com/thread/1047891
    http://dbswh.webhop.net/htmldb/f?p=BLOG:READ:0::::ARTICLE:351800346145832
    Thanks
    Lakshmi

  • BO xi 3.1 u2013 schedule a template for multiple reports with different column

    Hi,
    I need to migrate the existing reports from SQL Server Reporting Services to BO, and the column order in the report is very important to the clients since clients have existing code to ingest these reports into their database. Now I want to schedule a single template with different parameters for all reports in BO, or create a single template with lot of parameters for all reports. My question is how I might use one template to create multiple reports with different column orders in the reports?
    For example, client A has the following column order in their report: firstName, LastName, DateBirth, SSN. Client B has the following column order in their report: SSN, DateBirth, LastName, FirstName. Can I use one template to create these multiple reports?
    Thanks!

    Hi,
    The only approach I can think of is to create a template report which uses variables
    For each column you would need to variable
    v_columnAName and v_columnAValue
    v_columnAName would have a if statement in it
    =if([client]="clientA" or [client]="clientC";NameOf([firstName]);if([client]="clientB";NameOf([SSN]);NameOf([lastName]));
    v_columnA would have a if statement in it
    =if([client]="clientA" or [client]="clientC";[firstName];if([client]="clientB";[SSN],[lastName]));
    This would only work when you had a small set of clients.
    This might be more managable if it was done in the universe
    Regards
    Alan

  • Report with user parameter is not runnig

    Hi
    I have created the report with user parameter p_deptno and qyery"select * from emp where depno=:p_deptno";
    when i run the report in paper layout a popup kind page will open and ask us to enter the deptno and based on input parameter it fetches record in report.
    if i tried the same thing with url :http://localhost:portno/reports/rwservlet?destype=cache&desformat=pdf&report=emp.jsp&userid=scott/tiger@orcl
    the parameter window not opening and and blank report will open with coloumn headings.
    help me to solve the problem.
    i am using devsuite oracle10g release 2 on linux(OEL4).

    Hello,
    You have to provide the parameter in the URL :
    For example :
    http://localhost:portno/reports/rwservlet?destype=cache&desformat=pdf&report=emp.jsp&userid=scott/tiger@orcl&p_deptno=10
    or use the Web parameter Form :
    http://localhost:portno/reports/rwservlet?destype=cache&desformat=pdf&report=emp.jsp&userid=scott/tiger@orcl&paramform=true
    Regards

  • Invoice report with different currencies

    Dear friends,
    I need a report for invoices. I want to choose currency from selection screen. And report will calculate invoice amount with this currency. Does SAP have a standard report for this?
    How can I see invoice list with different currency?
    Thanks

    Thanks for your interest. But I am looking for invoce report. For example I have 3 PO
    PO number      Currency      Amount
    121100                EUR             100
    121101                TRY              200
    121102                USD              300
    I want to see a invoice list like below
    Selection screen :
    Report Currency : USD
    When I execute I want to see report like
    PO number      D.Currency      Amount          Report Currency (I choose USD and amount will exchange to USD)
    121100                EUR             100                       68
    121101                TRY              200                      150
    121102                USD              300                      300
    Is it possible?

Maybe you are looking for