Number of parameters possible in cgicmd.dat?

Is it possible to have more than 10 parameters in the cgicmd.dat keyfile?
I have a query that requires a lot of joins and would like to use parameters like
param1=%1
param20=%20.
The problem seems to be that I can't use 2-digit parameters - I run into trouble as soon as I use something like %10. The cgi then substitutes the %1 value and errors on the '0' part.
any help much appreciated!
null

Hi, Alan and John
The following is written in the cgicmd.dat file ITSELF:
; Currently recognized special parameters:
; %0 - %9 - 0..9 arguments from original RWCGI60 URL request. Note that %0 refers to the key itself.Remember that you can also create different key maps for the same report (again in cgimap.dat) with some of the parameters already filled.
Or you can use PARAMFORM=YES and use an HTML FORM to enter the parameters (if you are not calling the reports in BATCH mode).
The limit of 9 parameters only applies for parameters that you would want to enter in the URL itself.
Hope this helps,
Pedro

Similar Messages

  • Exception has occurred during data insertion ... Wrong number of parameters

    I am using an ADO dataflow source and an ADO dataflow destination to move data from a table on an IBM iSeries DB2 database to another IBM iSeries DB2 database on another machine.  The connection managers for source and destination both use .Net Providers\Odbc
    Data Provider with the Data Source Specification being ODBC connections specified on the Windows Server 2008 r2 machine hosting bids.  All the test connections work...so far so good.
    Issue is when I execute the control flow task the rows get picked up from the source DB2 database no problem but it fails on the insert to the destination DB2 table...The progress tab specifies the exceptions...
    [ADO NET Destination [601]] Error: An exception has occurred during data insertion, the message returned from the provider is: ERROR [07002] [IBM][System i Access ODBC Driver]Wrong number of parameters.
    [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "ADO NET Destination" (601) failed with error code 0xC020844B while processing input "ADO NET Destination Input" (604). The identified
    component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the
    failure.
    I put a data viewer on the data flow connection and the records I expect are  getting picked up and look ok. I checked to make sure the source and destination tables have the same number of columns in their record layout and identical data
    types and they look fine.
    Could someone kindly tell me whats going wrong?  Does the error message indicate that some of the columns are getting dropped from the dataset before the insert?
    Thanks much in advance for any help, Roscoe

    Hi Roscoe,
    Glad to hear that you have found the root cause. So, the issue occurs because numeric values with no decimal cannot be inserted into the Decimal data type column in the DB2 table. In SSIS, data type Decimal of DB2 database is mapped to data type DT_NUMERIC.
    To address the issue, you can do a data conversion for the column in question to define its precision and scale such as DT_NUMERIC(9,2) by using the Data Conversion Transformation before the ADO NET Destination.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Max no of parameters in cgicmd.dat

    Hi,
    It has been observed that the max no of parameters that can be
    passed thro'key mapping is 9.
    If the no of parameters r more than 9, an error "Error parsing
    parameters to command line" is flashed.
    What r the options available in case one has to pass more than 9
    parameters thro'key mapping.
    The problem is concerned with reports6i
    Thanx
    Yogesh

    We encounter problems on Oracle 8.05 when attempting to have more then 30 parameters.
    ("Invalid parameter type (sqlstate=S1105)").
    Slobodan
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jay ([email protected]):
    Is there a limit on the number of parameters that can be used in the PL/SQL procedure declaration?
    Jay<HR></BLOCKQUOTE>
    null

  • Passing Variable Number of Parameters to Cobol Stored Procedure

    Hi. I have a web front end that needs to access several different tables via Cobol stored procedures. It seems simple enough to call the stored procedures straight away (DAO Pattern perhaps?) but my boss is insistent on having an intermediate Cobol program that decides which table to access. I think he at a bigger picture than I can see.
    The problem lies in the number of parameters that need to be passed to the stored procedures; some need 3, others needs 5, a few need 4. The only two solutions that I can think of are to pass EVERYTHING (we're talking 50 parameters or so) to the intermediate stored procedure and then pulling only what is needed from that data set to access the desired table. Solution number two involves passing everything to a temp table and then pulling what is needed from it. The former solution seems a little cleaner but still involves passing a lot of parameters. If Cobol could handle some sort of dynamic memory allocation (Vector) there seems to be a possible solution there. Though, as far as I know, that isn't possible.
    Any ideas are much appreciated.
    Thanks in advance,
    Chris

    Hi Saurabh,
    The method in which stored procedures are called on form submit is something as follows.
    Let us take your scenario of a form which has multiple checkboxes and a submit button. On clicking the submit button, this form data is submitted using either get or post. The form's submit action invokes a procedure.
    The HTML form code will look something like this..
    htp.formOpen( curl => 'URL /myProcedure',
    cmethod => 'post' );
    htp.formCheckbox( cname => 'myCheckbox'
    cvalue => 'A');
    htp.formCheckbox( cname => 'myCheckbox'
    cvalue => 'B');
    htp.formCheckbox( cname => 'myCheckbox'
    cvalue => 'C');
    htp.formSubmit( cname => 'myButton',
    cvalue => 'OK');
    Now, whenever the submit button is clicked, all these form values are passed to our stored procedure 'myProcedure'.
    "myProcedure" looks something like this.
    procedure myProcedure
    myCheckbox IN sys.owa_util.vc_arr,
    myButton IN VARCHAR2
    is
    begin
    end myProcedure;
    The point to be noted here is that the name of the variable being passed in the procedure is the same as the name of the HTML element being created in the HTML form. So, there is a direct mapping between the elements in the HTML form and the procedure parameters.
    Another noteworthy point is that since you have multiple checkboxes in your HTML form, it is impractical to name all the checkboxes differently and then pass those many parameters to your procedure (Imagine a scenario where there are a hundred check-boxes in an HTML form!). So portal allows you to give the same name (cname) to all the checkboxes in your HTML form, and if multiple checkboxes are checked, it will return all the checkbox values in an array (Note the usage of "myCheckbox IN sys.owa_util.vc_arr" in myProcedure).
    You can check out this link for more information.
    Re: retrieving data from fields
    Thanks,
    Ashish.

  • Argument error; the number of columns does not equal the number of parameters.

    I am using the Database Toolkit (Enterprise Connectivity) to check for a network connection and then send information from a local database to a SQL database on the network if needed.  In development of the code I continue to receive Error 1 and the Possible Reason(s) is "Argument error; the number of columns does not equal the number of parameters."  I am using the DBToolsSelectData.VI to retrieve data from the local MDB file and the DBToolsInsertData.VI to write it to the SQL file.  The collection of the data from the MDB file is successful and the connection and validation of the table and columns in the SQL file is also successful.  The error occurs when the Insert VI tries to build the query.  The number of columns being written (attempted) does match the number of columns in the data, they are both 16 string arrays.

    Ok, it's taken a bit, and I have a solution! It took a while to figure out what the DCT is doing, but it seems to be working now.
    The reason for the original error is that you were passing into the insert subVI an array of variants - which the input to the VI coerced into a single variant. You were getting the error because as far as the insert VI was concerned you were only passing it a single data value. The way to get around that was to create a cluster with one element for each column value, convert the cluster to a variant and pass the result to the insert VI - see attachment.
    In terms of the other modifications, I made a copy of the endurance.mdb file, emptied it and used it as the destination for the copy.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
    Attachments:
    NetworkCheck.vi ‏49 KB

  • Manupulation in  cgicmd.dat file...!

    Hi all I'm using Forms/Reports 9.0.1 ..My question is wether is it possible to make a key in cgicmd.dat file for "HOST" i.e.
    mykey:http://local11:8888/reports/rwservlet
    can i make a key like that ...???? If yes, then how to use it ... I have referred the mannual for that it says 'Key must be defined for parameters after the "?" sign in URL '...
    I want to hide the HOST path in URL of web.show_document command..
    Anybody,
    Thanx in advance
    Regards
    Percy

    Thanx for reply ..
    can i make key for whatever written on LEFT of "?"...
    Let me tell u first why i want to do this .. It might be possible that my host server might get changed in future & if it happens i ve to change the host name in every form where i wrote the web.show_document statement ... that could be a big headache...i dont want to do that..... So instead of modifying the statement in every form can i make a KEY in cgicmd.dat so that i will modify only the KEY and subsequent changes will reflect in every form...!!

  • Key map problem (cgicmd.dat)

    I am trying to set the server name in the key map file but am not having any luck (i.e. the report always comes back with
    a request for the server name).
    Here is the key:
    epcdb_run: server=rptsvwww008 destype=cache desformat=HTMLCSS %*
    The cgicmd.dat file is found but no matter what I do, I always have to specify the server on the actual URL.
    (this works http://..//epcdb_run?server=rptsvwww008, this doesn't http://...//epcdb_run
    We have a large number of drill-down reports and I am trying to set the server name in one place for portability reasons.
    Thanks,
    Jason

    Some suggestions,
    (1). First of all, make sure your url is like:
    http://<server-name>:<port>/<cgi-bin>/rwcgi60.exe?epcdb_run
    Not
    http://<server-name>:<port>/<cgi-bin>/rwcgi60.exe//epcdb_run (as you said in your message).
    (2). Please do a showmap: http://....../rwcgi60.exe/showmap, and verify key epcdb_run's content is correct. Sometimes you may have more than one keymap file in your system, and you may accidentally use another key map file.
    (3). Please do a parsequery: http://...../rwcgi60.exe/parsequery?epcdb_run. Web command "parsequery" is for diagnostic purpose, you can see what parameters reports CGI is received and will be passed to Reports Server. You should be able to see if the server name is there.
    Hope this helps,
    -Jeff Tang

  • PO report for field:Latest Possible Goods Receipt Date

    Hi Gurus,
    can you please recommend me a standart report of Purchase orders, where is possible to see field from PO - item level - tab Delivery - field:Latest Possible Goods Receipt Date. It should be field MEPO1313-LEWED
    thank you!

    hi,
    please check it in me2n
    Purchase order list displays by Vendor                           ME2L
    Purchase order list displays by Material                           ME2M
    Purchase order list displays by General                           ME2K
    Purchase order list displays by Material Group     ME2C
    Purchase order list displays by Tracking Number     ME2B
    Purchase order list displays by PO Number     ME2N
    Purchase order list displays by Service                          MSRV3
    Aggregate PO History                                               ME87
    Analysis of Purchase Order Values                          ME81N
    Thanking you

  • Problem with cgicmd.dat in reports 10g

    Dear Sir/Mam,
    I've configured report serve on solaris 10. When executing reports using web url with key map given in cgicmd.dat file, I'm getting a very strange problem. Whatever parameters m passing to the reports through web url an additional "=" character is appended automatically. I'm giving details of the files below. Please help me out. Thanks in advance.
    Content of rwservlet.properties:-
    SERVER_IN_PROCESS=YES
    RELOAD_KEYMAP=YES
    DIAGNOSTIC=YES
    TRACEOPTS=TRACE_ALL
    TRACEFILE=rwservlet.trc
    TRACEMODE=TRACE_REPLACE
    SERVER=test
    #IMAGEURL=http://<web_server_name>:<port_num>/reports/rwservlet
    KEYMAPFILE=cgicmd.dat
    #DBAUTH=RWDBAUTH.HTM
    #SYSAUTH=RWSYSAUTH.HTM
    #ERRORTEMPLATE=RWERROR.HTM
    #COOKIEEXPIRE=30
    ENCRYPTIONKEY=reports9i
    #DIAGBODYTAGS=<reports_servlet_help_file_title>
    #DIAGHEADTAGS=<reports_servlet_help_file_body_tag>
    #HELPURL=<url_of_customized_help_file_for_reports_servlet>
    #SINGLESIGNON=YES
    OID_ENTITY=%REPORTS_OID_ENTITY%
    #ALLOWHTMLTAGS=NO
    #REPORTS_NETWORK_CONFIG=rwnetwork.conf
    #OIDCON_INIT=10
    #OIDCON_INCREMENT=10
    #OIDCON_TIMEOUT=0
    DEFAULTCHARSET=JA16EUC
    #DEFAULTCHARSET=EUC-JP
    Content of cgicmd.dat:-
    osk47zgenp: report=%1 userid=utimainapp/utimainapp@testdb rundebug=NO desformat=delimited destype=cache mode=bitmap mast_ext=roymask.xls p_start_dt=%2 p_end_dt=%3 p_srvc_id=%4 p_sch_id=%5 p_agnt_cd=%6 p_user_id=%7 p_sesn_id=%8
    Report URL is:-
    http://10.10.100.110:8890/reports/rwservlet?osk47zgenp+rp_os424_mat_recon.rdf+30-JUN-2009+01-JAN-2010++31++shashi+1492544
    Error coming on browser:-
    REP-110: File 'rp_os424_mat_recon.rdf=' not found.
    REP-0110: Unable to open file 'rp_os424_mat_recon.rdf='.
    Content of rwservlet.trc:-
    [2011/1/19 7:37:1:624] (RWClient:doGet) enter...
    [2011/1/19 7:37:1:625] Debug 50103 (RWClient:doGet): QueryString: osk47zgenp+rp_os424_mat_recon.rdf+30-JUN-2009+01-JAN-2010++31+
    shashi1492544
    [2011/1/19 7:37:1:625] Info 50103 (RWClient:processRequest): reload key map file: s_reloadKeyMap: YES
    [2011/1/19 7:37:1:626] Debug 50103 (KeyEntry:replaceParams): report=rp_os424_mat_recon.rdf= userid=utimainapp@testdb rundebug=N
    O desformat=delimited destype=cache mode=bitmap mast_ext=roymask.xls p_start_dt=30-JUN-2009= p_end_dt=01-JAN-2010= p_srvc_id=31=
    p_sch_id=shashi= p_agnt_cd=1492544= p_user_id= p_sesn_id=
    [2011/1/19 7:37:1:626] Debug 50103 (RWClientUtility:isFromPortal): portal: null
    [2011/1/19 7:37:1:626] Debug 50103 (RWClientUtility:isFromPortal): webdbversion: null
    [2011/1/19 7:37:1:627] Info 50103 (RWClientUtility:findServer): Failed to bind to server: test
    [2011/1/19 7:37:1:627] Warning 50103 (RWClient:startInProcessServer): start inprocess server test
    [2011/1/19 7:37:1:657] Debug 50103 (NetworkUtility:getIOR): Found a server and returning the IOR
    [2011/1/19 7:37:1:658] Debug 50103 (ServerManager:getServer): Found server class object
    [2011/1/19 7:37:1:659] Debug 50103 (ServerManager:getServer): ping server successfully
    [2011/1/19 7:37:1:660] Debug 50103 (RWClientUtility:getReportsServer): server: test
    [2011/1/19 7:37:1:660] Debug 50103 (ServerManager:getServer): Found server class object
    [2011/1/19 7:37:1:660] Debug 50103 (ServerManager:getServer): ping server successfully
    [2011/1/19 7:37:1:661] Debug 50103 (AuthManager:getAuthId): server secure: false
    [2011/1/19 7:37:1:663] Debug 50103 (RWClientUtility:getReportsServer): server: test
    [2011/1/19 7:37:1:664] Debug 50103 (RWClientUtility:getReportsServer): server: test
    [2011/1/19 7:37:1:664] Debug 50103 (ServerManager:getServer): Found server class object
    [2011/1/19 7:37:1:665] Debug 50103 (ServerManager:getServer): ping server successfully
    [2011/1/19 7:37:1:666] Debug 50103 (RWClientUtility:isFromPortal): portal: null
    [2011/1/19 7:37:1:666] Debug 50103 (RWClientUtility:isFromPortal): webdbversion: null
    [2011/1/19 7:37:1:667] Debug 50103 (RWClient:runReport): cmdline: p_end_dt=01-JAN-2010= baseUrl=http://10.10.100.110:8890/report
    s/rwservlet/getfile/ userid=utimainapp@testdb USER_AGENT="Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0)" p_srv
    c_id=31= SERVER_NAME=10.10.100.110 jobname="rp_os424_mat_recon.rdf=" p_sesn_id= mast_ext=roymask.xls getFilestr=/no> imagekey=re
    ports9i p_user_id= REMOTE_ADDR=10.10.105.54 SERVER_PROTOCOL=HTTP/1.1 authid=RWUser p_start_dt=30-JUN-2009= mode=bitmap REMOTE_HO
    ST=10.10.105.54 destype=cache SERVER_PORT=8890 p_sch_id=shashi= report="rp_os424_mat_recon.rdf=" expiredays=0 ACCEPT_LANGUAGE=en
    -us desformat=delimited p_agnt_cd=1492544= SCRIPT_NAME=/rwservlet rundebug=NO
    [2011/1/19 7:37:1:668] Debug 50103 (ServerManager:getServer): Found server class object
    [2011/1/19 7:37:1:669] Debug 50103 (ServerManager:getServer): ping server successfully
    [2011/1/19 7:37:1:669] Debug 50103 (ReportRunner:connectToServer): New Connection request for userid: RWUser to server: test
    [2011/1/19 7:37:1:673] Debug 50103 (ReportRunner:connectToServer): Connection succeeded for user: RWUser to server: test
    [2011/1/19 7:37:1:709] Info 51022 (ReportRunner:Release): Connection object has been released
    [2011/1/19 7:37:1:711] Exception 110 (): File 'rp_os424_mat_recon.rdf=' not found.
    REP-0110: Unable to open file 'rp_os424_mat_recon.rdf='.
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
    at oracle.reports.RWExceptionHelper.read(RWExceptionHelper.java:67)
    at oracle.reports.server._ConnectionStub.runJob(_ConnectionStub.java:504)
    at oracle.reports.client.ReportRunner.dispatchReport(ReportRunner.java:288)
    at oracle.reports.rwclient.RWReportRunner.dispatchReport(RWReportRunner.java:86)
    at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1671)
    at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1525)
    at oracle.reports.rwclient.RWClient.doGet(RWClient.java:366)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    [2011/1/19 7:37:1:711] Debug 50103 (RWClientUtility:isFromPortal): portal: null
    [2011/1/19 7:37:1:711] Debug 50103 (RWClientUtility:isFromPortal): webdbversion: null
    [2011/1/19 7:37:1:716] Debug 50103 (RWClientUtility:isStatusFormat): statusformat: null
    [2011/1/19 7:37:1:717] Debug 50103 (RWClientUtility:isStatusFormat): statusformat: null
    [2011/1/19 7:37:1:717] (RWClient:doGet) ...exit

    HI,
    From where can I get access of the Doc id 341188.1. Could u tell me the solution? I'm stuck with it for more than 2 weeks.
    Thanks in advance.
    Regards,
    Shashi Ranjan

  • Possible to validate data entries during Digital Signature?

    I have a form that was built from scratch using Adobe LiveCycle  Designer ES 8.2. I also have Adobe Acrobat Pro 9.3.2. (WinXP)
    I  see numerous articles online related to validating user input prior to  data submission for an online form via a Submit button, however, I  am trying to figure out how to implement the same sort of data  validation during the signing of a particular digital signature field in an offline pdf form. Simply, I want to perform data validation during a digital  signature instead of when user presses Submit button.
    Here's my  use-case:
    1. Form Originator fills out a large number of data fields  and signs form via a CAC cert.
    2. Another person will review,  possibly edit/add data, and sign another signature block with CAC.
    3.  Then there is one more final CAC signature on the form before it is  completed and then emailed to the right folks for processing.
    4. I  would like to be able to enforce the population of several Mandatory  data fields (at least one Radio button and one text input, possibly  others) before the 3rd signature can be applied to the document.
    Again, I  need to emphasize this is all happening in an offline form, no data  submission or database back-end. Also, everything with the digital  signatures (and locking up fields afterword) works totally fine, just interested  in adding Data Validation capability during Digital Signature.
    I am in no way a javascript expert, but I can  probably learn from a good example. Any help or guidance is very much appreciated. Thanks...

    If you are using SignatureField in the form then you will get two events preSign and postSign which you can use to validate the field input just like you do with a Submit button.
    Thanks
    Srini

  • Variable number of parameters in a procedure

    Hello !
    I have a form in a procedure with dynamic inputs type "checkbox" (one checkbox by record of a table).
    The action of the form is another procedure. There is a variable number of parameters (depending on checked inputs).
    How can I do for retreiving these variable data within a single variable in my second procedure ?
    Thanks for help and sample
    null

    What u can do is use Javascript and pass all the selected checkbox Ids as a dilimited string..which u can read in second procedure and can perform appropriate action. for example if you have check box named as chk1,chk2,chk3,chk4 n so on..
    now if chk1,chk3,chk4 are checked then pass this string in the hidden field "1|3|4"which is a |(pipe) delimited string..

  • Is it possible to import data into an existing table?

    Hi.. everyone.
    Is it possible to import data into an existing table
    by using import utility?
    The exported table and the existing table have the same name
    and table schema.
    I want to append "new data(exported from oracle8.0.5)" to
    "an existing partitioned-table" by using "oracle 9i import utility".
    Thanks in advance.
    Have a nice day.
    Ho.

    SQL> select index_name
    2 from user_indexes
    3 where table_name = 'IMPORTPK';
    INDEX_NAME
    SYS_C007610
    SQL> create view importpk_view as select * from importpk;
    View created.
    SQL> disconn
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    SQL> exit
    C:\>exp userid=oracle/oracle tables=importpk
    Export: Release 10.1.0.2.0 - Production on Tue Sep 5 08:30:50 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export specified tables via Conventional Path ...
    . . exporting table IMPORTPK 10 rows exported
    Export terminated successfully without warnings.
    C:\>imp userid=oracle/oracle tables=importpk ignore=y
    Import: Release 10.1.0.2.0 - Production on Tue Sep 5 08:31:12 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V10.01.00 via conventional path
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    . importing ORACLE's objects into ORACLE
    . . importing table "IMPORTPK"
    IMP-00019: row rejected due to ORACLE error 1
    IMP-00003: ORACLE error 1 encountered
    ORA-00001: unique constraint (ORACLE.SYS_C007610) violated
    Column 1 1
    Import terminated successfully with warnings.
    C:\>sqlplus/nolog
    SQL*Plus: Release 10.1.0.2.0 - Production on Tue Sep 5 08:33:20 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    1.No
    Note : if table content primary key and index.
    SQL> conn oracle/oracle
    Connected.
    SQL> create table withoutcons ( no number);
    Table created.
    SQL> insert into withoutcons select * from importpk;
    10 rows created.
    SQL> create view withoutcons_view as select * from withoutcons;
    View created.
    SQL> disconn
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    SQL> exit
    C:\>exp userid=oracle/oracle tables=withoutcons
    Export: Release 10.1.0.2.0 - Production on Tue Sep 5 08:36:05 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export specified tables via Conventional Path ...
    . . exporting table WITHOUTCONS 10 rows exported
    Export terminated successfully without warnings.
    C:\>imp userid=oracle/oracle tables=withoutcons ignore=y
    Import: Release 10.1.0.2.0 - Production on Tue Sep 5 08:37:17 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V10.01.00 via conventional path
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    . importing ORACLE's objects into ORACLE
    . . importing table "WITHOUTCONS" 10 rows imported
    Import terminated successfully without warnings.
    2. Yes
    If table content no unique constraints
    Message was edited by:
    user526020

  • Cgicmd.dat file usage

    Hi,
    I am generating my reports using the cgicmd.dat file in pdf format and my application is in web-based html.
    I have a report which passes 4 paramters and 2 of it is considered imortant (and dynamic according to user interaction in the begining) and should not be changed by the users. I have found out that by using the parameter forms like %P, %PT and %PC entry in the cgicmd.dat file would means that I cannot use other user parameters in the file entry, and so also in the reverse situation.
    But when I tried to put both of them (%P and %1..%4 for user parameters) together, then call up the reports with the parameter values included in the entry (like http://server/repserver/?repname+value1+v2+v3+v4), I seems to be able to pass the important values to the displayed parameter form while hiding them and asking the users to enter only the other 2 parameters which they may change.
    But then, when I submit the form, it gave me an error:
    ======================================================
    Error: The requested URL was not found, or cannot be served at this time.
    Oracle Reports Server CGI - Error occurred while parsing the Reports Server command line.
    ======================================================
    May anyone assist me on how I can make use of the parameter form and also passing in some values that are dynamic and cannot be changed by the users?
    Thank you in advance for your assistance!

    FYI...
    Our dev and prod are at the same levels. I was able to narrow the problem down further, however. It appears to be a row size problem. If I force a rownum < 1500 in my report's query, then it works fine on dev and prod. If I force a rownum < 2000, then it crashes the engine on prod. The reason it works on dev and not on prod is that the amount of data on dev is far less than prod. Also, I ran the report locally on my PC against the prod database and it gave me a little more info. The report appears to query all of the rows fine, but it gets an ArrayIndexOutOfBounds exception. Since the report comes back with all rows just fine using a DESFORMAT other than DELIMITED, I believe it's a bug with applying the delimiter when formatting the report. The admins say that we are a few patchsets behind, so I'm guessing it is a fixed bug already.
    Thanks.

  • How to use the cgicmd.dat to specify a directory name for desname

    Hi folks,
    What I'm trying to do is use a command key to specify the directory for a file, specified via desname. Here's an example.
    cgicmd.dat
    custom_reports_dir: /some/directory/custom_reports
    Then I want to reference it via something like this..
    http://server:7777/reports/rwservlet?cmdkey=rpt_connect&destype=file&desname=custom_reports_dir/test.pdf&desformat=pdf
    Where in the above example, I'm trying to use the command key to specify a directory name, and then append a file name to it. It isn't working for me, is this possible to do? I figure since it's not an argument in itsself, it's being interpreted literally, rather than being substituted for the parameter.
    Thanks very much,
    -Adam vonNieda

    That depends on how you actually run your program in the first place. If you just use a batch file you could simply make the path to the javaw.exe relative (e.g. jre\javaw.exe �cp lib\myJar.jar com.MyClass). Or you could look into some third-party software that allows you to create installations packages for Java. I have used Zero G's InstallAnywhere before and they have support for you setting up their executables to use a bundled jre. I am sure all the other java install makers have similar functionality.
    Lance

  • Is it possible to load data at aggregated level directly

    Hi All,
    My question may sound vague but still would like to clarify this.
    Is it possible to load data at some higher level than the leaf level? The reason for asking this question is that we are facing severe performance issues while loading the cube.
    We are trying to reduce the number of members which inturn can reduce the loading time. On this attempt to reduce the number of members client said that there are 3 million leaf members(out of 4.3 million total members) for which they do not bother if they appear on report or not but they want to see the total value correct. i.e. the dimension will be only loaded with 1.3 million(4.3 - 3) members but the total can still be correct(including the 3 million leaf members).
    Is it possible to have two loads one at leaf level only and other at parents and above levels.
    DB - 10.2.0.4
    Also I want to know when do we use allocmap? how does this work?
    Regards,
    Brijesh
    Edited by: BGaur on Feb 13, 2009 3:33 PM

    Hi Carey,
    Thanks for your response.
    I worked on your suggestion and I could able to load data at higher level for a value based hierarchy. But I met with a other problem while doing this.
    I am describing this as a level based but while loading we are converting to value based hierarchy.
    we have following levels in the customer dimension having two hierarchy
    hier1
    lvl1
    lvl2
    lvl3
    lvl4
    lvl5
    prnt
    leaf
    hier2
    level1
    level2
    level3
    level4
    prnt
    leaf
    so prnt and leaf is common levels are common in both the hierarchies but we were facing multipath issues in second hierarchy and we work around it by concatenating the level name.
    In attemp to decrease the number of this dimension member(currrently 4.3 million) business suggested that there are some kind of customer for which they dont want to see the data at leaf and prnt level instead the level4 or lvl5 should have the total consisting of those members. So by this way we need not to load those members and they were making up 2.4 million out of 4.3
    To implement above I did following.
    1. Created six hierarchies.
    one to have members from level4 till level1
    second to have members from lvl5 till lvl1
    third to have all members of hier1
    fourth to have all members of hier2
    fifth will have leaf and prnt of hier1
    sixth will have leaf and prnt of hier2
    In fifth and sixth hierarchy leaf is common but prnt is different due to the concatenation.
    In the cube I am selecting the aggregation hierarhies as first,second,fifth and sixth. hierarchies third and fourth will be used for viewing the data.
    Fact will have data corresponding for leaf level data,level4 and lvl5.
    The challenge I am facing is that if there is some fact value for leaf level loaded through relational fact but no value being loaded through fact for lvl5 or level4 I am not seeing the total value as leaf value is aggregating till prnt level and no value at level4 or lvl5 so same is propagated till lvl1 and level1.
    I tried to be as clear as possible but still if there is any confussion pls update the thread. I understand that the approach is vague but I am not seeing any other way.
    Thanks
    Brijesh

Maybe you are looking for

  • Dynamic action setvalue from pl/sql function

    Hi, I have a currency table with exchange rate column. I created a form that allow user to select currency from the table and get the rate into Px_RATE page items. I would like to implement it using Dynamic action in apex 4 Please help me on this cas

  • Awr and dba_feature_usage_statistics

    Hi Gurus. I found below important information about the license. http://download-east.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm#CIHJJBGA It says that to use AWR features(to access v$active_session_history, dba_hist_xxxxxxx, oracle_h

  • Integrated weblogic server in jdeveloper

    Starting WLS with line: C:\oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\webl

  • How default FREIGHT TERMS are getting enabled in RMS 10.1.23

    Hi All, During installation of RMS10.1.23 , statcin.sql which inserts the default FERIGHT TERMS records with enabled status as 'N'. Then how its enabled status get changed to 'Y'. Because you can't use these default freight terms untill it status got

  • Projectors won't work...help!

    I'm running Vista on Bootcamp on a mac book pro and projectors will not work. My monitor works just fine. I've read various things about installing different drivers but it is hard to believe it requires work-arounds. Anyone else having this issue? S