Passing parameters into a .ctl file

Hi,
I have 3 data files and 3 staging tables. Is there any way to enter the data from the data files to their respective staging tables using only a single* control file using parameters.
To detail out the scenario, there are 3 data files namely A.dat, B.dat, C.dat whose data are to be entered into A_Stg, B_Stg,C_Stg staging tables. This can no doubt be done using separate ctl files. But the requirement is to do it using a single loader file.
Any pointers in this direction would be great.
~Astr0
Edited by: 976696 on Dec 13, 2012 1:19 AM

Hello,
welcome to the forum.
My pointer :-)
This is the forum for the tool {forum:id=1317}.
Your question should be asked in {forum:id=732}
Regards
Marcus

Similar Messages

  • Pass parameters into iBot?

    Hi,
    We are trying to use iBots to generate a set of PDF files for many different parameter combinations. Is it possible to pass parameters (like a parameter file) into an iBot and have it run the same answers request for each row in the parameter file, and then save the PDF output to a local directory on the server? I think BI Publisher is better suited for this task but it is not an option for us right now.
    Any suggestions?
    Thanks

    I guess I am unclear of how to automate this - I tried a simple java application from example I found on the web, calling a single Go URL, and it does not save in PDF format. Instead, I get a file with PDF extension but it's actually HTML content. The same code works if I call a direct URL to pdf file.
    Is there some way to automate these Go URLS within OBIEE?
    Here is the code I used if anyone is interested (doesn't seem to work with OBIEE though):
        public static void main(String[] args) throws Exception {
            URL u = new URL("http://localhost:9704/analytics/saw.dll?Go&NQUser=Administrator&NQPassword=Administrator&Path=/shared/Sample%20Sales/Reports/History&Action=Print&Format=pdf");
            URLConnection uc = u.openConnection();
            String contentType = uc.getContentType();
            int contentLength = uc.getContentLength();
            if (contentType.startsWith("text/") || contentLength == -1) {
              throw new IOException("This is not a binary file.");
            InputStream raw = uc.getInputStream();
            InputStream in = new BufferedInputStream(raw);
            byte[] data = new byte[contentLength];
            int bytesRead = 0;
            int offset = 0;
            while (offset < contentLength) {
              bytesRead = in.read(data, offset, data.length - offset);
              if (bytesRead == -1)
                break;
              offset += bytesRead;
            in.close();
            if (offset != contentLength) {
              throw new IOException("Only read " + offset + " bytes; Expected " + contentLength + " bytes");
            String filename = new String();
            filename = u.getFile();
            filename = u.getFile().substring(filename.lastIndexOf('/') + 1);
            filename = "obieetest.pdf";
            FileOutputStream out = new FileOutputStream("output/" + filename);
            out.write(data);
            out.flush();
            out.close();
        }

  • Passing parameters into an URL Services portlet

    Hi,
    is there any way to pass parameters into an URL Services portlet ? I want to give the user the ability to set a preference for which sections of an XML file should be displayed. The preference should be passed into the XMLFilter which should add these parameters as XSLT variables to the stylesheet. Is this possible ?
    Cheers,
    Ernst

    As of now we do not have provision to pass parameters to the portlet dynamically. However, if required, at most could be used is headerTrim tag and footerTrim tag. If you want to discard some data from mid of the file, its not supported.
    bye
    Baig
    null

  • Passing parameters into the Oracle form

    I want to pass some paramaters into the .fmx file which i invoke through the applet. like say, in the following line
    serverArgs="module=abc001.fmx userid=user/pwd@dbuser useSDI=no"
    i want to pass parameters in the following manner:
    serverArgs="module=abc001.fmx(param1,param2) userid=user/pwd@dbuser useSDI=no"
    since one cannot pass parameters to a .fmx file before invoking it, it does not seem possible.
    But is there a sort of a workaround? A java wrapper for oracle forms?? so that i pass parametrs to the java class and it passes this info to the form.
    i need to pass these parameters because these param1,param2 are the username/password for my oracle forms-based application which implements its own in-house user validation logic and i need to display the menu in the applet based on the user without prompting him for this application username/password
    thanks
    Any help will be highly appreciated.

    In the form FNDRSRUN which is the Standard Request Submission form there are parameters CHAR1-CHAR5, NUMBER1-NUMBER5, and DATE1-DATE5. I was wondering if i populate the parameter NUMBER1 with my value how can I access this parameter when the form is brought up. This is more of an applications setup issue I will be creating a function that calls the FNDRSRUN form this function will force this form to use a single request not a request group. In the request setups there is a parameter. When I set up the request parameter I have to select a value set and then for Default Type I can select Constant, Profile, SQL Statement, or Segment and then I have to give a default value. Can I default this parameter to use NUMBER1 or another parameter in the FNDRSRUN form.

  • Why I can't pass parameters into CR from VB6

    I want to Pass parameters into crystal report from VB6.
    But whatever I try, it don't work Fine,
    always Show the message "This field name is not known".
    Crystal Report::
    Parameter: a.@cmpy;
                       b.@p1
    formula:
    a. If {?@cmpy} ="USA" or {?@cmpy} ="usa" then
          "This is test 1 sentences"
       else if {?@cmpy}="TWD" or {?@cmpy} = "twd"  then
          "This is test 2 sentences"
    b. if trim({?@p1})="1" then "This is test 3 sentences"  
    VB::
    Public oApp As New CRAXDDRT.Application
    Public oRpt As CRAXDDRT.Report
    oRpt.ParameterFields(1).ClearCurrentValueAndRange
    oRpt.ParameterFields(2).ClearCurrentValueAndRange
    oRpt.ParameterFields(1).AddCurrentValue ("TWD")
    oRpt.ParameterFields(2).AddCurrentValue ("1")  
    I had trid to use "IsCurrentValueSet" function to check whether parameter was set or not, and It responsed "Ture",so I so confused about it.
    Anyone know about this??
    ps. I had trid other way that change the formula indirectly, although it can work fine, but it isn't a right way to solve my problem.
    Edited by: DeanLai on Jun 22, 2010 8:54 AM

    I Find something.
    First I tried to add parameter and wanted to see these value on Report.
    So I inserted {?@cmpy} and {?@p1} into report, and used VB code
    "oRpt.ParameterFields(1).AddCurrentValue ("TWD")" and "oRpt.ParameterFields(2).AddCurrentValue ("1")",
    then ran the process, but it didn't display any value on report,
    so why it couldn't pass value into parameter??
    then I tried other way which was to add new parameter, and used the same way to pass
    value into parameter, then it can display value on report.
    So the different between these is {?@cmpy} and {?@p1} which come from
    Stores Procedure.
    While I set Database in crystal report, set all value into Store Procedure's
    parameter(the window about "Enter Parameter Values"), then it automatic come out the DB columns and parameter(SP parameter)
    , course include {?@cmpy} and {?@p1}.
    Do this problem cause my question?
    Can we pass value into parameter which come from SP parameter??
    Can we use these parameter into forumla??
    Edited by: DeanLai on Jun 30, 2010 11:56 AM

  • Pass parameters into CellRenderer

    Hello!
    I want to pass parameters into CellRenderer.
    How can I do that?

    Found solution!
    Create method, that set my Bean in CellRenderer, in what I keep my values, and call this method when create my CellRenderer. Than Use MyBean inside CellRenderer when it render cell.
    JSP:
    <hbj:tableView id="NewTable" model="LotsBean.ModelLots"
              design="TRANSPARENT"
              headerVisible="false"
              footerVisible="false"
              fillUpEmptyRows="false"
              selectionMode="NONE"
              visibleFirstRow="1"
              rowCount="16"
              width="100%" >
              <%  MyCellRenderer MyCell = new MyCellRenderer();
                     MyCell.setST(MyBean);
                     NewTable.setUserTypeCellRenderer(MyCell); %>
         </hbj:tableView>
    CellRenderer class:
         public void setST(user_registration_bean Bean){
              MyBean = Bean;

  • Pass parameters into SessionEventListener by using ConnectionPolicy

    Hi,
    My project is using Eclipselink/JPA with Oracle VPD. I have to pass some parameters into SessionEventListener to set up VPD context. I found couple postings in this forum talked about using ConnectionPolicy to pass in the information. Does anyone could give me a code sample about how to pass a parameter (ex. user ID) into a ConnectionPolicy? I am using JPA, so I didn't see a clear way for me to access ConnectionPolicy. Thanks!

    I used the following solution and it worked for me
    ((EntityManagerImpl)em.getDelegate()).getServerSession().getDefaultConnectionPolicy().setProperty("USER_ID", userId);
    Then in SessionEventListener, I could use clientSession to obtain "USER_ID" from connection policy.

  • How to pass parameters into Function module : CLOI_PUT_SIGN_IN_FRONT

    Hello friends,
    I am displaying values ie, amounts in the screen using write statements here i have to display the
    sign left side , i am using  Function module   'CLOI_PUT_SIGN_IN_FRONT'    
    Does anybody help me - How to pass paramter into this Function module.
    Regards,
    Phaneendra

    If you look to the code of the function module, you can see it is condensing the value.
    I would make a copy of this function, and remove the condense lines to give the result you want.
      data: text1(1) type c.
      search value for '-'.
      if sy-subrc = 0 and sy-fdpos <> 0.
        split value at '-' into value text1.
        condense value.
        concatenate '-' value into value.
      else.
        condense value.
      endif.

  • Passing parameters to included JSP files using JSF

    I have included JSP, which I use in many other JSP files. I want to display message in this included JSP which depends on the information in JSP files which include this JSP. How can I do this without using scriptlets?
    Message was edited by:
    cheltsov

    I have one included page in one jsp page(mother page). I have included it by jsp:include tag. The included page consists of two inputText. I need to pass the parameters of the mother page together with the parameters in the included page in the backingBean of the mother page. Hope this one is clearer.
    The code snippet in the mother page looks like this
    <jsp:include page="/pages/ps/sample_rep2.jsp"/>.
    In the sample_rep2.jsp, I have two inputText. How can I pass this in the backingBean of the motherpage.
    The sample_rep2.jsp is the included page here. The sample_rep2.jsp looks like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <af:panelBox>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <af:panelBox>
    <af:inputText label="User ID" id="userid" value="CDOUGLAS"/>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <af:panelBox>
    <af:inputText label="User ID" id="userid" />
    <af:inputText label="Age" id="age"/>
    </af:panelBox>

  • Open and passing parameters into Projector

    How can i from Visual Basic application call Projector and
    passing the parameter into the Projector for Lingo Scripts
    execution. For better understanding, here is my scenario:
    - The role of this projector is as a launcher to luanch 30 of
    my Director movie files.
    In Lingo,
    Global myPath
    On startmovie
    go movie myPath
    end
    - Now, my main application is in Visual Basic. To open this
    projector and play is no problem. But i wanted to open this
    projector and passing the parameter into the Projector global
    variable which is myPath.
    Any solution for that?
    Thanks

    > How can i from Visual Basic application call Projector
    and passing the
    > parameter into the Projector for Lingo Scripts
    execution.
    You can launch the projector with additional arguments in the
    command
    line, and use 'the commandLine' to retrieve these arguments.
    ie:
    launch the projector from visual basic
    projector.exe "some extra info"
    and in your director movie you use
    on startmovie
    alert (the commandLine)
    end startmovie

  • Pass parameters into a method from other methods.

    I m testing  2 related applications with coded ui test and wanna pass a parameter from one method into another.
    how can i do that?
    Thank you in advance.

    Hi mah ta,
    Could you please tell us what about this problem now?
    If you have been solved the issue, would you mind sharing us the solution here? So it would be helpful for other members who get the same issue.
    If not, please let us know the latest information about it.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Passing parameters into ODI procedure step which has an OS command

    Folks,
    I have an ODI procedure step which does a directory listing for a specific directory. The command I am using is
    cmd /C dir d:\local_dir /b > D:\dir_list.txt
    I have put on the 'Command on Target' tab. This works fine
    I want to remove the hardcoding for the directory references. I have tried the command
    cmd /C dir '#src_dir' /b > D:\dir_list.txt
    but when this executes it generates an ODI error 'Wrong process return code'
    any suggestions?

    I've figured it out. The issue was with using quotes in the value being passed into the variable. Once removed, it worked fine. Thanks for the assistance.
    Regards.
    Edited by: user810644 on 17-May-2010 01:59

  • Passing Parameters into Parameter Forms

    I am having a bit of difficulty trying to get a parameter form to display and the report to execute properly with an additional parameter defined in the url.
    Here is the applicable line in cgicmd.dat file...
    key: report=test3.rdf server=xxxx userid=xxxx/xxxx@xxxx destype=cache desformat=htmlcss P_group_no=%1 %P
    I then try to open this webpage...
    http://server/cgi-bin/rwcgi60.exe?key+10
    With the %P setting on the Parameter Form page is displayed as it should and the appropriate form parameter is populated with a 10. However when I go execute the form it displays the following message.
    Oracle Reports Server CGI - Error occurred while parsing the Reports Server command line.
    If I remove the %P parameter and pass in the same argument list then the report display properly. Additionally if I try to run the report with the %P, but without the P_group_no=%1, letting that be defined in the parameter form it also works fine.
    Anyone have any suggestions?
    -Gregory Buchholz
    [email protected]

    How about using paramform=yes in you url and just giving a default value to the parameter you want in the report definition?

  • Passing parameters to a swf file

    I'm trying to do something that sounds simple but for some
    reason it is not working.
    I have a simple SWF file that I want to start at a different
    frame depending on the parameter passed to the SWF file.
    (.e.g. if parameter a, start at frame 20, etc)
    I know the SWF is receiving the parameter properly as I was
    able to display it through a dynamic text field.
    I'm placing the script on the first frame so I thought maybe
    I was missing an event handler or something like onEnterFrame.
    The script looks like this:
    var page:String = _root.id;
    onEnterFrame = function() {
    if (page == "a") {
    gotoAndPlay("a");
    } else if (page == "b") {
    gotoAndPlay("b");
    } else if (page == "c") {
    gotoAndPlay("c");
    } else {
    gotoAndPlay("d");
    stop();
    Even a simple gotoAndPlay(frame); doesn't work on the first
    frame.
    Hi, I've been trying to figure out why this is not working
    for a while but I can't really find the reason.
    Am I missing an event handler? Or something that needs to
    load the movie first?
    I am beginner at this so it would be great if somebody can
    suggest a solution.

    On the very first frame of the movie on a actions layer.
    Inside an if else.
    Thanks!

  • Passing parameters into 11g agent (ibot) scheduled report/dashboard

    Hi,
    Does anyone know whether or not you can pass in or set parameter values when scheduling a report or dashboard using 11g agents (ibots)?
    Thanks in advance
    Phil

    Hi All,
    Is it possible to open another application in the same window?
    Currently my code is:
    APPLICATION.openNewWindow(
    http://<>:8080/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=<>);
    This is working fine but the requirement is to open another dashboard in the same window?
    Is this possible in Design Studio 1.3?
    Thanks & Regards
    Swasti

Maybe you are looking for

  • Group by month, and also show months with no records

    hi - having a major mental block this morning, pretty sure this is an easy one so just need one of you expert types to point me in the right direction.. Using the sample data below, I just need to generate a report to show userid, mon-yy, count of tr

  • ECATT Doubts

    >> I have query regarding the SAPGUI recording pattern of eCATT. I could trap the messages of type 'E' ie. error and made my script to run in success mode. But here if any message type other than 'E'(Error) occurs then SAPGUI recording will fail to h

  • Return the top 3 records only.

    Hello ! I wonder if someone could help me with a question. I have some SQL SELECT * FROM JOBS ORDER BY SALARY Now I only want to return the top three records, in SQL Server I would do the following. SELECT TOP 3 FROM JOBS ORDER BY SALARY Is there any

  • Acrobat Reader Upd 812_SUI_ all

    The installation package couldnot be opened. Contact the application vendor to Verify that this is a valid Windows installer package. This is and update. This also happen when Adobe reader original downloaded it and tried to install. I have it save o

  • SD FAQ

    Hi Experts,                      What are the basic function for sap sd? & definitins? Moderator Message: Wrong Webpage. Try SAP Help. Edited by: kishan P on Mar 4, 2011 1:45 PM