Adding osuser to a trigger

I have a trigger on a table which fires after an update on a specific field. I need to get the osuser (NOT the user) who ran the update . Is that possible ?

> I need to get the osuser (NOT the user) who ran the update.
Why?
The OSUSER, for a client-server connection, is specified by that client's connection string when connecting to Oracle. In addition to other details like the terminal, executable name and so on.
That data is just slightly interesting and nothing more. Reason? On the server side we cannot trust the client telling the truth. Especially not when dealing with issues like auditing.
Data supplied by the client is untrusted data. The client can spoof that data. In some cases, this is so easy that even an end-user, with very little technical knowledge, can do it. I.e. it can be done by a script kiddie - no real hacking needed.
So you need to ask yourself what is the business reason/requirement for wanting to store the OSUSER and whether or not that business requirement can really be satisfied using OSUSER.
IMO, 99% of the time it cannot as the primary business reason is some kind of auditability. The word audit has a very specific legal meaning. And OSUSER in this case simply does not cut it.
I can already hear some of the counter arguments to this. Fact is, that this data is useless ito any type of disciplinary action as that action has very specific legal implications. So if you cannot use to "identify a culprit", just why are you looking at OSUSER?
Which is why it is a much more sensible approach not to attempt to re-invent the wheel, but to run the database in archive log mode, keeping record of all transactions, and enabling Oracle's auditing feature.

Similar Messages

  • How to adding new operation and trigger PR

    Hi guru,
    I am seeking an opinion and recommendation:
    We have a process flow where we need to create a purchase order when we reach a specific operation in the routing. This purchase order is send to a external vendor that gets information to arrive to the factory and finsh an operation.
    The routing consist of 4 operations:
    010 assembly,
    020 - testing,
    030 - machine polish(triggers the PO to the vendor when operation 20 is confirmed),
    040 - packing and the milestone.
    Normally the routing only consist of 3 steps - assembly, packing and testing. but for these special machines we add the extra operation to have the machine cleaned. We need to have a solution for how the new operation can be added to the routing and in the same time trigger a Purchase requistion.
    Thanks.
    tuff

    Hey Gorla,
    Thanks for you feedback.
    two questions:
    1 - currently the routing of this material consists of only three operations (i.e. 0010 - Assembly, 0020 - Testing in Production, 0030 - Packing). So if I want to adding in this subcon operation (ie. machine polish) to the between 0020 and 0030, I will have to adding it manually. Will this cause problem? sorry I am not a PP person.
    2 - may i know the "external processing control key" you mention is the technical field PLPOD-STEUS appear in the "Display Routing: Operation Overview" screen in CA03?
    Thanks

  • What trigger is called?

    While navigating through my form I get a message
    "One or more blocks have changed would you like to save your changes?"
    I choose [Yes]
    Then another message pops up
    "FRM-40400: Transaction complete: 1 records applied and saved."
    I choose [Ok]
    Then I loose focus on the form. I want to know what trigger is called after those events so I can set the focus back to where I was so I do not need to use the mouse to regain focus.
    Thanks

    When they were running from Oracle Applications 11.5.10.2 - Forms Server 6.0.8.28.0, the focus would return to the field that was selected when the messages popped up.
    Now we are on Oracle Applications 12.1.3 - Forms Server 10.1.2.3.0 and the focus does not return to the field that was selected when the messages pop up.
    I am going to try the trigger you mentioned and report back, let me know if any more information is required.
    EDIT: Adding go_item to the trigger is not giving me any results. I even included a message box to see if the trigger was being executed and nothing happened.
    Thank you.
    Edited by: 948165 on Apr 12, 2013 11:15 AM

  • Force Form to Execute builtin trigger at form level

    Hi,
    I have form 10g R2 I put PRE-UPDATE trigger at block level and Form level but I when I update a record it executes only block level update trigger, I want to execute both builtin at block as well as form level, is there a way.
    Thanks and Regards, Khawar.
    Message was edited by:
    S. Khawar

    I created a test form (Oracle Forms 10g r1) that hits the EMP table in the SCOTT schema. In the form, I added a Pre-Update trigger at the Form and Block level. With the "Execution Hierarchy" (EH) left at the default Override, saving my form caused only the Block Pre-Update trigger to fire. Changing the Block EH to Before and the Form EH to After caused the Block Pre-Update to fire first followed by the Form Pre-Update. I then changed the Form EH to Before and the Block EH to After and tried it again. This time, the Save caused the Form Pre-Update to fire first and the Block Pre-Update to fire second. Therefore, S.Khawar, depending on which Pre-Update trigger you want to fire first, I suggest you set the Execution Hierarchy accordingly.
    That was an fun little exercise. I've had this discussion with people before, but never took the time to throw together a test case to confirm what really happens in a Form. Steve - thanks for raising the question! :-)
    Craig...

  • Final trigger for lightbox seems to load in active state

    i am a total noob
    i designed a site with a lightbox and 5 triggers.
    i made the triggers blank boxes and overlayed them on a grid of 5 photos.
    i also added txt to each trigger to define its rollover state- normal is no fill/ rollover and pushed is filled/ active is no fill.
    for some reason, the final trigger does not do the roll over action for the text box. i think it is because it loads into the active state but i can not be sure.
    i noticed that once the corresponding triggers are activated, the text boxes do not resume they're roll over behavior- they remain in the active state.
    this is the site www.joepennella.com
    the trigger i'm taling about is on the bottom right- for "commencement"
    any guidance would be greatly appreciated
    max

    how do i change it so that when the page loads that text frame loads normal state? i can't seem to get this particular txt frame to do that. all the others do it. i've deleted it, copied another, made it from scratch- this last one always seems to load in active state
    also, after coming out of the lightbox- is it possible to make the txt frame return to normal state?

  • File Dialog not appearing in web form after Note:74140.1

    Hello, I have implemented the source given in Note:74140.1 to replace the get_file_name function that displays the file dialog box. However I still am not able to see the dialog that the JavaBean should display. I am relativly new at linking JavaBeans with forms, so there might be something that I am missing.
    I have created the class files for FDialog and FDialogPJC and put them in an ear file. I have also modified the fiels server.xml and default-web-site.xml to include the ear file. The respective code for a button has been added to the button trigger in the form, as well as the code for the JavaBean.
    So far this has been unsuccessful. If you have a suggestion, your help is much appreciated.
    Justin.

    the problem is that when I type JDialogPJC in the implementation class property of the java bean when working in JDeveloper, it cannot locate the java class file JDialogPJC.class. This happens when I put both the JDialogPJC and JDialog classes in the jar file and put the jar file in the forms90/java directory.
    However, if I just put both class files (not contained in a jar file) in the forms90/java directory, and I specify the JDialogPJC in the implementation class property of the java bean, it works fine.
    I would like to be able to use the jar file instead of a whole load of class files sitting in the directory.

  • SAP Technical roles and IDM Business roles mapping

    Hi Guys
    Just wondering if there is an easy way to export SAP Positions and create them automatically as Business Roles in IDM and the SAP technical roles that are related to that corresponding position into privledges assigned to that Business Role. Or am I going about this the wrong way? What do you normally do in terms of getting all your sap technical roles from the sap system and assigning them to business roles in IDM. Any help on this is much appreciated?
    Cheers
    Leo

    Thanks Matt,
    I think get I the picture now
    One thing that I am still not sure about is how the sap abap technical roles or profiles are provisioned through workflow
    Here is what Ive done so far
    1. HCM data loaded into productive identity store via vds
    2. Did an initial load of the abap system into the productive identity store (now the technical roles and profiles are loaded as privileges in the idstore)
    3. Through workflow I select a user that already has an abap account and assign that user some additional sap technical roles, for e.g. sap_all and sap_new. The corresponding privileges for these roles are namely PRIV:PROFILE:ECX:SAP_ALL and PRIV:PROFILE:ECX:SAP_NEW .
    4. For the provisioning to occur so that these new privileges are reflected in the ABAP system for this user, I have used the setABAPRole&ProfileForUser task from sap provisioning framework folder and set it as the add/mod/del  event task for the MXREF_MX_PRIVILEGE attribute. That way whenever a privilege is added to a user account the setABAPRole&ProfileForUser task will run and the sap_all and sap_new profiles will be added in the backend. This way I can avoid setting a provisioning task for each abap privilege that gets loaded.
    But it should be obvious now that there is a flaw with this kind of setup, because all non abap privileges that get added or removed will trigger the setABAPRole&ProfileForUser task anyway because the privileges use the same attribute i.e.MXREF_MX_PRIVILEGE. So it brings me to the question how do you provision abap technical roles or profiles through workflow without setting a provisioning task for each abap related privilege.
    Thanks again for all your help!
    Leo

  • Possible bug with Triggers tab

    Hi there,
    I'm using 1.0.0.12.15 and think there is a bug with the triggers tab. When I navigate to my table (which has one trigger on it), and then click on the Triggers tab, the trigger shows up multiple times. It's probably not a coincidence that it shows up the same number of times that there are columns :)
    Looks like a missing join condition somewhere.
    Hope this helps

    Tracked this one down too...
    SQL Developer is getting the triggers like this:
    Select dt.trigger_NAME, dt.trigger_type, dt.triggering_Event, dt.status, do.object_id , do.owner sdev_link_owner, dt.trigger_NAME sdev_link_name,'TRIGGER' sdev_link_type
    from all_triggers dt, all_objects do
    where do.owner = :OBJECT_OWNER
    and dt.owner = :OBJECT_OWNER
    and dt.trigger_name = do.object_name
    and dt.table_name = :OBJECT_NAME
    However, we got other objects (mainly tables) with the same name as the trigger. Not specifying the object type will identify them the same way as the trigger, resulting them all to be included in the select!
    Adding "and do.object_type = 'TRIGGER'" will solve the problem.
    K.

  • New Podcast Episode Not Updating in iTunes

    Hello Apple Community,
    My name is Sara Simms, I have recently started a new DJ podcast series called Flight. My new episode has not updated yet in the iTunes store (its been over three days since I uploaded it)
    My podcast episodes are hosted here:
    http://sarasimms.blogspot.ca
    My Feedburner URL is:
    feed://feeds.feedburner.com/sarasimmsflightofficialpodcast
    I also uploaded new artwork via Feedburner, in the 'Podcast' section of iTunes I see the artwork has updated.
    However, in the iTunes store itself, the new artwork is not displayed. Here is the link to my iTunes podcast:
    http://bit.ly/VM8tcF
    I just pinged Feedburner, hopefully this helps to update everything.
    Could anyone else please let me know if there's anything else I should check/change to make sure my podcast episodes are updating?
    Thank you in advance!
    Best wishes,
    Sara Simms

    Your second episode has a media file referenced at http://sarasimms.com/wp-content/uploads/2014/flight_episode_two
    This works when the URL is entered in a browser, but at the URL has no extension (.mp3) iTunes does not see it as being a media file and thus does not display the episode. You need to give a full URL including the extension, as you have done for your first episode.
    You are mixing episodes with and without media files - there are a lot of earlier episodes which don't have media files - these won't show in iTunes. If blogger limits the number of episodes shown in the feed, these will count towards that limit which could result in episodes not showing in iTunes once you have added enough episodes to trigger the limit.

  • List items do not refresh correctly.

    In a form that i have developed there are two list items. I
    want among others to chenge their appearance (background color
    basicaly) according to witch one has th focus each time.
    So I've put this code on the items, in WHEN-NEW-ITEM-INSTANCE
    triger:
    * LIST1
    SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'SELECTED');
    SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'GREYED');
    * LIST2
    SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'SELECTED');
    SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'GREYED');
    The Visual Attributes have the colors that i would like to
    appear on the items.
    This does not work (while it was working on Forms 5.0). It
    seems to be a refresh problem, because when you open another
    form that covers this one, or you minimize and maximize it the
    colors are assigned corectly.
    Thanks in advance for your help.
    null

    Panagiotis Lygnos (guest) wrote:
    : In a form that i have developed there are two list items. I
    : want among others to chenge their appearance (background color
    : basicaly) according to witch one has th focus each time.
    : So I've put this code on the items, in WHEN-NEW-ITEM-
    INSTANCE
    : triger:
    : * LIST1
    : SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'SELECTED');
    : SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'GREYED');
    : * LIST2
    : SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'SELECTED');
    : SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'GREYED');
    : The Visual Attributes have the colors that i would like to
    : appear on the items.
    : This does not work (while it was working on Forms 5.0). It
    : seems to be a refresh problem, because when you open another
    : form that covers this one, or you minimize and maximize it the
    : colors are assigned corectly.
    : Thanks in advance for your help.
    Hi Panagiotis Lygnos ,
    I am not able to produce this problem. I create one form with
    two list item ,two visual attribute & when-new-item-instance
    trigger for these two list item as you have written above.
    But List item background color of both list item is getting
    changed according to witch one has th focus each time.
    Even I tried to call this form from some other form still I am
    getting correct result.
    Can you just try by adding synchronize in the trigger of
    both list item.
    SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'SELECTED');
    SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'GREYED');
    Synchronize;
    Bye
    Mani/-
    null

  • Oracle Forms to Apex

    We are considering migrating our Forms based applications to Oracle Apex. Does Apex offer all the capabilities that Oracle Forms offers ? What are the gotchas ?

    I can add some detailed questions to this topic.
    Apex does not have the forms execution model: enter_query, execute_query. If you have forms where you
    have the user enter query values and then programmatically execute_query and check form_success you need to
    find another way to do this. This is something I haven't totally worked out how to get the same functionality as
    in forms where one might use the same form for insert/update and even delete. How can the forms execution
    model be implemented in apex?
    I don't know if apex has the ability forms had to refer to items indirectly or generically. For example in forms one could reference the current item as :system.trigger_field . Contents of items could be generically copied:
    copy (name_in(v_source_item), v_dest_item);
    Forms had scope for triggers. So one could put a trigger on a block and it could fire for every item. Adding to
    this each trigger could be marked: before, after, or override. It is a very flexible system. Thus one could have a block level trigger fire for every item but also have a per item trigger that could fire before, after or instead of the block level trigger. I don't know if apex 4.0 dynamic actions are so flexible. For example, can a dynamic action be defined that would act on any item in a form without hard coding all the item names in it?
    I do not know how many detail tables can be handled in apex. Whereas in forms one could have a lot. I have a form with 50 relationships off the master table :-) Probably can't do that in apex.
    Similarly apex is limited in the number of fields that can comprise the primary key. I don't think it handles more
    than 2 fields.

  • SSLHandshakeException: Received fatal alert :handshake_failure

    Hola forum,
    I'm having a bit of a problem with ssl sockets currently. Please bear with me as this is my first run at using ssl sockets for anything and I've done a fair bit of searching on google already.
    Here's the code I'm using:
    (kindly ignore any typos as they are the result of having to manually type the code in - the code resides on a seperate system).
    int port = 443;
    String hostname = "hostname";
    TrustManager[] trustAllCerts = new TrustManager[]{
       new X509TrustManager(){
          public void checkClientTrusted(X509Certificate[] arg0, String arg1) throws CertificateExcpetion{}
          public void checkServerTrusted(X509Certificate[] arg0, String arg1) throws CertificateException{}
          public X509Certificate[] getAcceptedIssuers(){
              return new X509Certificate[0];
    SSLContext sslContext = SSLContext.getInstance("SSL");
    sslContext.init(null, trustAllCerts, new SecureRandom());
    SSLSocketFactory factory = sslContext.getSocketFactory();
    SSLSocket socket  = (SSLSocket)factory.getSocketFactory(hostname, port);
    socket.setUseClientMode9true);
    socket.startHandshake();
    ...this throws the following exception from startHandshake():
    javax.net.ssl.SSLHandhakeException: Received fatal alert: handshake_failure
          at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
          at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
          at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source)
          at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Uknown Source)
          at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
          at testcode.main(testcode.java 62)Any insight? I would be most appreciative. Thanks!

    ejp thanks for the reply - unfortunately I have 0 control over the server that I am attempting to establish a connection to and I don't think I can get them to do much of anything (just getting their server certificate was some work).
    Could this exception be caused by the server requiring client validation? I checked the various socket settings (forget the property names) but none of them indicated that client validation was required.
    Let me know if just the debug on the client side would be helpful and I'll type it in.
    --edit, alright here are what I think the relevant parts of the debugging info from the client side(bear with me as this has to be hand transcribed-). Please let me know if more is needed-
    found key for : key alias
    chain[0] = [
    addiing as trusted cert:
    adding as trusted cert:
    trigger seeding of SecureRandom
    done seeding SecureRandom
    dexport control - checking the cipher suites
    export control - no cached value available...
    export control - storing legal entry into cache...
    %% No cached client session
    ** ClientHello, TLSv1
    RandomCookie:...
    Session ID: {}
    Cipher Suites: ...
    Compression Methods: { 0 }
    main, WRITE: TLSv1 Handshake. length = 73
    main, WRITE: SSLv2 client hello message, length = 98
    main, READ: TLSv1 Handshake, length = 74
    ***ServerHello, TSLv1
    RandomCookie: ...
    Cipher Suite: ...
    COmpression Method: 0
    %% Created: ...
    **SSL_RSA_WITH_RC4_128_MD5
    main, READ: TLSv1 Handshake, length = 2702
    *** Certificate chain
    chain [0] = ...
    [2] : ...
    [3] : ...
    [4] : ...
    [5] : ...
    chain [1] = ...
    [2] : ...
    [3] : ...
    [4] : ...
    [5] : ...
    chain[2] =...
    [2]: ...
    Found trusted certificate:
    main, READ: TLSv1 Handshake, length = 278
    *** CertificateRequest
    Cert Types: RSA, DSS,
    Cert Authorities:
    *** ServerHelloDone
    *** Certificate chain
    *** ClientKeyExchange, RSA PreMasterSecret, TLSv1
    Random Secret: ...
    main, WRITE: TLSv! Handshake, length = 141
    SESSION KEYGEN:
    PreMaster Secret:
    CONNECTION KEYGEN:
    Client Nonce:
    Server Nonce:
    Master Secret:
    Client MAC write Secret:
    Server MAC write Secret:
    Client write key:
    Server write key:
    ...no IV for cipher
    main, WRITe: TLSv1 Change Cipher spec, length = 1
    *** Finished
    verify_data: ...
    main, WRITE: TLSv1 Handshake, length = 32
    main, waiting for close_notify or alert: state 1
    main, Exception while waiting for close java.net.SocketException: Software caused connection abort: recv failed main, handling exception: java.net.SocketException: Software caused connection abort: recv failed
    java.net.SocketException: Software caused connection abort: recv failed
        at java.netSocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(Unknown Source)
        at com.sun.net.ssl.interal.ssl.InputRecord.readFully(Uknown Source)
        at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
        at com.sun.net.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLCoketImpl.waitForClose(Unknown Source)
        at com.sun.net.ssl.internal.ssl.HanshakeOutStream.flush(Unknown Source)
        at com.sun.net.ssl.internal.ssl.Handshaker.sendChagneCipherSpec(Unknown Source)
        at com.sun.net.ssl.internal.ssl.ClientHandshaker.sendChangeCipherAndFInish(Unknown Source)
        at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(Unknown Source)
        at com.sun.net.ssl.internal.ssl.CLientHandshaker.processMessage(Unknown Source)
        at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
        at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
        at com.sun.net.internal.ssl.SLSocketImpl.startHandshake(Unknown Source)
        at https.TestSSLSockets.main(TestSSLSockets.java:104)thanks again!
    Message was edited by:
    cjmose

  • Is it possible to see DML generated by Applying the LCR?

    We've got a fairly strange situation happening at one of our client sites. Our system includes triggers on the target/replica tables, to track changes for incremental refresh purposes. Been working great (mostly) for years with Streams. However, recently some logic was added to the triggers to NOT record changes if a specific column on the table is being UPDATEd (due to aa source application change), so in the UPDATE section of the trigger, the UPDATING('<COLUMN_NAME'>) function is used to determine if that column is actually being updated or not. THis works because in the source application, this column ONLY evre gets updated during one single process that we DO actually want to ignore. Again, this logic worked great internally as well at almost all client sites. However, at one client, this logic is NOT working, which is leading to the theory that for some reason, when applying the actual LCR to the table, STreams is firing off an UPDATE statement that is updating ALL columns, regardless of whether the values changed or not. Whereas in most situations, the evidence suggests that Streams only puts those columns in the SET clause of the UDPATE statement that are in fact different/changed.
    So - this then begs the question: is there some way to "see" the UPDATE statement generated by Streams when applying the LCR? We've been able to look at the actual LCR contents (all the OLD and NEW values) and so can see that this value is in fact, NOT changing. Yet the UPDATING logic in the trigger seems to indicate that it is still being included in the SET clause for some reason...
    Have tried adding logic to the trigger itself to look at v$SQL, etc to see the actual UDPATE statement but that doesn't seem to be working. Any other tips for debuging this one?
    This is 11.2.0.2 - alternatively: any known Streams bugs w/ this release that we need to look for patches for that might address this?
    Thanks for any/all ideas.
    Cheers,
    Jim

    Yes you can see the DML executed by the apply servers. This is documented here:
    http://docs.oracle.com/cd/E11882_01/server.112/e17069/strms_trapply.htm#STRMS1062
    Regards,

  • Calling SQL Loader using HOST command from Developer Forms 4.5

    I want to execute a set of code from D2K Forms 4.5 which has interfface with Client - OS ( In my case Windows NT/XP). I want to execute SQL Loader from Forms using Host Command and then after completion of that process, I want to do next transcations ( depending upond success of HOST/SQL Loader).
    How to achive this?
    I tried writing code like this ...
    l_vc_command := 'sqlldr73'
                        ||' USERID='||l_vc_username||'/'||l_vc_password||'@'||l_vc_connect_string
                        ||' CONTROL='||l_vc_filepath||'Upload.ctl'
                        ||' DATA='||LTRIM(RTRIM(l_vc_fileloc))
                        ||' LOG='||l_vc_filepath|| l_vc_log_file || '_' || l_dt_sysdate_str ||'.log'                    
                        ||' BAD='||l_vc_filepath|| l_vc_bad_file || '_' || l_dt_sysdate_str ||'.bad'
                        ||' DISCARD='||l_vc_filepath|| l_vc_discard_file || '_' || l_dt_sysdate_str ||'.dsc';
    HOST(l_vc_command,NO_PROMPT);
    After this command i want to do some other code execution. so even if it fails or success, next code is executed. How to control this?
    Please help..
    Regards,
    Milind

    Forms6i running on W2000, Rdbms 8.1.7
    in Forms I added a button TEST,
    Trigger when-button-pressed : host('test.bat') ;
    in directory .......\frm I added file test.bat :
    REM ===============
    cd /d C:\........\ldr
    pause
    sqlldr parfile=test.par
    pause
    type test.log
    pause
    exit
    REM ================
    now, pressing TEST button opens DOS window, telling me what's going on, running sqlldr, finally going back to forms
    Are you using NO_PROMPT or NO_SCREEN option of HOST command ?
    Had a look at Forms 4.5 manuals, there is no mentioning of (a)synchronously operation in connection with HOST command.

  • Calling SQL Loader from Forms 4.5 using HOST command in Win2000

    One of my forms calls SQL Loader 7.3 using HOST command to load a csv file onto the database(Oracle 7.3) under Windows 2000 platform.
    Only after sql loader finishes its operation the control should come to my form i.e. synchronous execution.
    As of now its running asynchronously.
    Is there any way to make it synchronous. If Not any other work arounds?
    Environment Details
    Forms [32 Bit] Version 4.5.10.6.0 (Production)
    Windows 2000 Operating System
    Oracle7 Release 7.3.2.3.2

    Forms6i running on W2000, Rdbms 8.1.7
    in Forms I added a button TEST,
    Trigger when-button-pressed : host('test.bat') ;
    in directory .......\frm I added file test.bat :
    REM ===============
    cd /d C:\........\ldr
    pause
    sqlldr parfile=test.par
    pause
    type test.log
    pause
    exit
    REM ================
    now, pressing TEST button opens DOS window, telling me what's going on, running sqlldr, finally going back to forms
    Are you using NO_PROMPT or NO_SCREEN option of HOST command ?
    Had a look at Forms 4.5 manuals, there is no mentioning of (a)synchronously operation in connection with HOST command.

Maybe you are looking for

  • Vendor bank information maintenence

    Frnds I have one complex situation, we have one vendor 201111 and it is shared by three company codes one in US 1100 and two cocodes in Europe, 2100 (france) and 2200 (italy). AS all of them pays the vendor by ACH and they to directly to the vendors

  • Can I put a static findByXandY() in my Entity?

    Hi, The examples I find put @NamedQuery in the Entity. Then they put all the code to implement a findByXandY() method in the Session Bean that wants to locate the Entity for X and Y. That seems a lot of excess code if I have say 10 Session Beans that

  • Finding the column names from a table.

    I am on 10g I would like to find out the columns of a table where there are null columns in a table.....this table contains about 300 + columns where i do not want to put where condition for all the columns is there a way i can write a sql to find? f

  • Hidden Photos Appear In Slideshow

    Is this a bug or a feature? If you've hidden some photos in an Event and then make a slideshow of that Event, the hidden photos show up in the slideshow. Why would you ever want hidden photos popping up in your slideshow?

  • Use @TODATE with Subs Variable?

    I'm have a series of calculations which depend on the elapsed time between now (stored in a substitution variable as &Todaysdate), and a date which is in an Attribute.While I can get the formulae to work using typed-in dates, when I swap the date for