Using SLQLOADER in Forms6i

Hi,
I need to call SQLLDR to run a load job via forms. I have tried invoking it via the Host command but nothing happens. Ironically, when I invoke sqlplus, I got connected to the db. Does anyone know why this is happening or what I must to correct this problem. Below are both codes:
To invoke sqlldr (nothing happened):
host('sqlldr userid=username/password@alias');
To invoke sqlplus (works fine):
host('sqlplus username/password@alias');
Thanks for your help!

jennisy wrote:
Hi,
Actually, there is a button to trigger the web.show_document.
I've tried this code, but it doesn't work. There is no any feedback and no error popup.
WEB.SHOW_DOCUMENT ('javascript:void(window.open("http://www.yahoo.com"))','_blank');
Hi JY,
what happens if you actually try this
Web.Show_Document(‘http://www.yahoo.com’, ‘_blank’);

Similar Messages

  • How to use PL/SQL & Forms6i for a logon screen

    i am new user to oracle. just wanna now how to create a user logon screen using SQL and Forms6i. well, i have created a table for logon with data item of username and password. in the form, i hava successfully created the data blocks but i don't know how to link them using PL/SQL or triggers or etc.
    ur concern will be very grateful. TQ.

    Hi MatrixMan
    Just create button and write the follwing inside
    trigger when_button_pressed :\
    begin
    logout;
    LOGON(:USER_NAME,:PASSWORD );
    IF FORM_SUCCESS THEN
    MESSAGE('Login Successful');
    MESSAGE('Login Successful');
    ELSE
    MESSAGE('Check username or password');
    MESSAGE('Check username or password');
    GO_ITEM('USER_NAME');
    :USER_NAME:=NULL;
    :PASSWORD:=NULL;
    END IF;
    end;
    Thanks
    Mohammed Al-shake

  • Print report directly to printer using RUN_PRODUCT in Forms6i

    Hi all,
    I would like to have information regarding print any .rdf directly to printer from form 6i using RUN_PRODUCT.
    I got help from Form Builder Help option and tried following coding in form
         DECLARE
         PL_ID                    PARAMLIST;
         printername          VARCHAR2(50);
         BEGIN
         PL_ID := GET_PARAMETER_LIST('WEIGHMENT');
              IF NOT ID_NULL(PL_ID) THEN
                   DESTROY_PARAMETER_LIST(PL_ID);
              END IF;
              PL_ID := CREATE_PARAMETER_LIST('WEIGHMENT');
              printername := '"'||'I.T Printer'||'"';
              Add_Parameter(pl_id, 'DESTYPE', TEXT_PARAMETER, PRINTER);
              Add_Parameter(pl_id, 'DESNAME', TEXT_PARAMETER, printername);
              Add_Parameter(pl_id, 'P_EQ_NBR', TEXT_PARAMETER, :weighment.eq_nbr);
              Add_Parameter(pl_id, 'P_WT_GKEY', TEXT_PARAMETER, :weighment.gkey);
              Run_Product(REPORTS, 'c:\wegt001r', ASYNCHRONOUS, RUNTIME, FILESYSTEM, PL_ID, NULL);
         EXCEPTION
              WHEN OTHERS THEN
              MESSAGE(SQLERRM);
         END;
    END IF;
    But report did not printed and following message received in Reports Background Engine
    Error submitting report [Thu May 07 18:49:23 2009] ...
    REP-0159: Syntax error on command line.
    Pls help.
    Thanks,
    Hassan

    Hi Heidi
    I have already tried printername := 'I.T Printer'; but result is same.
    This is also my default printer and I tried to add / remove the following coding
    Add_Parameter(pl_id, 'DESNAME', TEXT_PARAMETER, PRINTER);
    but in both cased I received the same error.
    I also tried to print thru HOST command as follows
    the_username := Get_Application_Property(USERNAME);
         the_password := Get_Application_Property(PASSWORD);
         the_connect := Get_Application_Property(CONNECT_STRING);
    the_command := 'rwrun60 report=c:\wegt001r.rdf userid= '||the_username||'/'||the_password||'@'||the_connect||' DESTYPE=Printer BACKGROUND=NO BATCH=YES ERRFILE=c:\reports\error.log LOGFILE=c:\reports\joblog.log p_eq_nbr='''||'TESTMKI'''||' p_wt_gkey=118306';
    Host( the_command );
    Host command displays correctly but no printing.
    I then change my command as follows
    the_command := 'rwrun60 report=c:\wegt001r.rdf userid=test/test@test DESTYPE=Printer BACKGROUND=NO BATCH=YES ERRFILE=c:\reports\error.log LOGFILE=c:\reports\joblog.log p_eq_nbr='''||'TESTMKI'''||' p_wt_gkey=118306'; and now report prints on printer.
    But I cannot hard coded the username, password and connect.
    Thanks,
    Hassan
    Edited by: Hassan Raza Khan Lodhi on May 7, 2009 6:55 PM

  • Web.show_document using javascript in Forms6i

    Dear all,
    I wnat to know in forms6i , is it workable calling web.show_document with javascript?
    As I face a problem that calling a url by web.show_document, but the requirement should not display the menu bar ... how can I do?
    Thanks in advance.
    JY

    jennisy wrote:
    Hi,
    Actually, there is a button to trigger the web.show_document.
    I've tried this code, but it doesn't work. There is no any feedback and no error popup.
    WEB.SHOW_DOCUMENT ('javascript:void(window.open("http://www.yahoo.com"))','_blank');
    Hi JY,
    what happens if you actually try this
    Web.Show_Document(‘http://www.yahoo.com’, ‘_blank’);

  • How to get the installation path or ms word using forms 6i

    dear all
    i want to know the client side full path with exe file name of ms word or acrobat reader e.t.c. from forms 6i
    actually i want to run word file on button click. according to the type of file extension. if the file is related to .doc then open the file in word, and if the file extension is .pdf then run the file in acrobat.
    how can i do this in forms 6i. without using any utlity like d2k.
    regards
    Asif iqbal ( Software Engineer )
    Lucky Tex
    Karachi, Pakistan

    Assuming that you are using client/server forms6i, you can use the HOST command to start a DOS session and then use START.
    e.g.
    start xyz.doc - starts Word and opens xyz.doc
    start abc.pdf - starts Acrobat, etc..
    start bcd.log - starts Notepad, etc..

  • ORA-12203 error in Forms6i, after installing 10g local DB

    Hello,
    I have a configuration with multiples Oracle_Homes as I use Disco R4, Forms6i, Forms 10g, and sqlplus. I had no problem when I used a local 9i DB. All worked fine.
    When I had the 9i DB, I decided to set a TNS_ADMIN variable and only use one version of SQLNET.ORA and TNSNAMES.ORA. All was fine !
    Recently, I have decided to install a brand new 10gR2 DB, and get rid off my 9i DB.
    Since then, only the 10g tools work fine... and I cannot connect anymore to any of my Forms6i or Disco. BIG Problem !!!
    The error is always the same : ORA-12203: TNS:unable to connect to destinationI have made many different tries for fixing this issue...but I have no clue, and I would like some advices from you.
    Here are the details of the variables and files (after all my modifications):
    - My 10DB is located under OracleHome DB10g_OH (c:\10g\DB)
    - My Forms6i is located under OracleHome DEFAULT_HOME (c:\oraNT)
    - I created environment variables
    ORACLE_SID=SCFOXD
    TWO_TASK=SCFOXD
    and
    PATH= C:\10g\DB\bin;C:\orant\bin; ....
    I currently put the same version of listener.ora, sqlnet.ora and tnsnames.ora in both directories (C:\orant\NET80\ADMIN and C:\10g\DB\NETWORK\ADMIN):
    - sqlnet.ora:
    SQLNET.ALLOWED_LOGON_VERSION = 9
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    TRACE_LEVEL_CLIENT = ADMIN
    TRACE_UNIQUE_CLIENT = on
    NAMES.DIRECTORY_PATH= (HOSTNAME, EZCONNECT, TNSNAMES)
    TRACE_LEVEL_SERVER = ADMIN
    TRACE_DIRECTORY_CLIENT = C:\orant\net80\admin
    TRACE_DIRECTORY_SERVER = C:\orant\net80\admin
    USE_DEDICATED_SERVER = on
    - tnsnames.ora
    SCFOXD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SID = SCFOXD)
    (SERVER = DEDICATED)
    (GLOBAL_NAME = SCFOXD)
    (HS = OK)
    - listener.ora (defined with the 10g Net Manager)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = SCFOXD)
    (SID_NAME = SCFOXD)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    Using the Dos command window, I stopped and started the listener (lsnrctl stop/start and its current status is (in french!!):
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 05-NOV. -2006 12:07:23
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connexion Ó (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUT du PROCESSUS D'ECOUTE
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Date de départ 05-NOV. -2006 12:02:33
    DurÚe d'activitÚ 0 jours 0 heures 4 min. 52 sec
    Niveau de trace off
    Sécurité ON: Local OS Authentication
    SNMP OFF
    Fichier de paramètres du processus d'écoute C:\oraNT\NET80\admin\listener.ora
    Fichier journal du processus d'écoute C:\10g\DB\network\log\listener.log
    Récapitulatif d'écoute des points d'extrémité...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Récapitulatif services...
    Le service "SCFOXD" comporte 1 instance(s).
    L'instance "SCFOXD", statut UNKNOWN, comporte 1 gestionnaire(s) pour ce service...
    La commande a réussi
    Looking at the listerner status, all seems fine, except the status UNKNOWN of the DB... I have no idea why it is that, as I can successfully connect it using the 10g tools (sqlplus/forms10g)
    To go further, I can reproduce the same error (like with Forms6i) when I use the DOS command window, when I run plus80.
    Anyway, I am sure there is something I missed to do... but, I am really stuck, and I would like to get some advices in order to solve my issue.
    Thanks,
    Olivier

    Thanks for your quick reply.
    1) forms 6i version is = 6.0.8.23.2
    2) in the DOS box, here is what I get :
    I set ORACLE_SID=SCFOXD
    a) lsnrctl status : all seems ok.
    b) tnsping SCFOXD : seems ok.
    c) tnsping80 SCFOXD : brings this error:
    TNS Ping Utility for 32-bit Windows: Version 8.0.6.0.0 - Production on 06-NOV-06
    21:25:38
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))
    TNS-12538: TNS:no such protocol adapter
    d) plus80 username/password gives error
    ORA-12203: TNS:unable to connect to destination
    e) plus80 username/password@SCFOXD gives error
    ORA-12222: TNS:no such protocol adapter
    Here are my current listener/sqlnet/tnsnames files:
    - listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = SCFOXD)
    (ORACLE_HOME = c:\10g\DB)
    (SID_NAME = SCFOXD)
    USE_PLUG_AND_PLAY_LISTENER = ON
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    - sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    - tnsnames.ora
    SCFOXD = (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA = (SID = SCFOXD))
    (SRVR = DEDICATED) )
    I really feel bad about my current configuration. I don't understand at all...
    Any other suggestion?

  • Forms6i

    Dear friends,
    please Answer my question as early as possible(immediately)
    1) How to debug in forms6i using tool debug menu.
    2) Is it possible to open worddocument in forms6i using editor
    object.Rather than opening an notepad (if it is system_editor)
    3) what is 6i(define)
    4) What are the Activex controls in Forms6i & how to use it?
    5) When we go for multiple forms(module) &windows?
    one module is sufficeint for the application?
    6) How to use javaBean in forms6i?
    My e-mail id is [email protected]
    thanks
    regards,
    kamala.

    Hi,
    i Think you are using Oracle 8i.
    Check if u have started the Listener. Go to Services and See if
    the Listener Service for Oracle is running.
    If Yes Then
    Did u create the Service name in tnsnames.ora Using the net8
    Configuration Utility.
    If Yes Then
    Did u Give that Service Name while connecting to the Database.
    I think the first one is your problem. Check it out and revert
    back if anything more is needed....
    Regards,
    Ganesh R

  • How to use database link in from6i?

    I can use database link in sql plus,but i can't use it in forms6i,why? thanks

    Don't know why.
    What I always do is create a synonym on the local database which points (through the db link) to the object on the other database.
    Regards,
    Meine

  • Forms6i and Javabeans

    Can anyone tell me how where I can find good documentation about using Javabeans and Forms6i? I want to use a bean that communicates with another server over http.
    I don't want to load the bean it into the DB, but has to run from client-machine. Has anyone example code how to integrate existing beans into Form ????? And example of IVIEW class?
    Thanks, Brian

    see if this helps http://otn.oracle.com/sample_code/products/forms/listing.htm#jbpjc

  • Hw to use OLE  and HOST

    Hi ,
    According to my prj requirement.I have to devlop a form in Oracle 10g.A textbox and button is there .After entering a value in text box and on pressing the button.It should execute a perl script and after perlscript is executed it creates a textiles and stores it in its server.After that I want to diplay that text file in the form.In form 6i it was possible to do it through OLE.
    So hw can we achieve there 2 jobs.
    1.To iteract with perl script and execute it.
    2.Finally display the text file in Form.
    Thanks in advance.

    to execute an .exe file or a script we use HOST in forms6i and CLIENT_HOST in forms 9i/10g.
    If you are familiar with OLE2 in forms 6i then just replace it with CLIENT_OLE2 for forms10g.(but first attach wbeutil.pp to your forms10g)
    chek this demo of forms9i webutil:
    http://www.oracle.com/technology/sample_code/products/forms/demo/9i/javabeans_pjc_samples/webutil/viewlet/WebUtil_Simple_viewlet_swf.html

  • Porting Forms6i Application  already deployed in IAS.

    Hi all,
    We are in the process of creating an internal enterprise portal
    for our company. We have created new portlets and downloaded many portlets and deployed. Now the problem here is we have an internal application developed in 6i and now running on IAS formserver as applets. Is it possible to deploy it as a portlet in this EIP of ours. I tried to link it using URL , but what happens is it opens as a single window overriding the portal. That means when i call the portal the formserver will load this application as a full page application instead of a portlet. Is there any way to convert these application to portlet and publish it as a portlet or can i use the same forms6i converted applets as portlets by doing small changes? please help so that we can go forward with our EIP , the project will otherwise be scrapped. if anyone can help us in this regard asap, will be grateful.
    thanx
    arun

    Hi,
    no really clear what you mean with " in spite of those jars be in de WAR file.". Are the Struts libraries available on the application server ? Did you install the ADF runtime to the application server ?
    Frank

  • How to install forms and reports 6i

    I am facing a problem while installing Forms 6i. The following are the details.
    I successfully installed Oracle 9i first under F:\oracle\ora90. While installing Forms 6i, I selected the "Typical" and gave the path as "F:\oracle\ora90" and clicked on the Next Button. Immediately I got an error message as "The location specified, 'F:\oracle\ora90' is already used as an Oracle home for 'Oracle 82 Beta'. It cannot be used as an Oracle home for 'nt'".
    Could any one give the information of how to install forms and reports 6i. It ll be of great help to me.

    use F:\oracle\ora90 as your oracle-db-home
    use F:\oracle\forms6 as your forms-home
    try it
    Gerd

  • How to install forms FMX to the server?

    FRM-99999 a network error occured, the client will not be able
    to continue.
    java.net.socketException:Connection reset by peer.
    I tried to setup forms 6.0 server w/ OAS 4.07 on NT 4 Sp3
    plateform. Oracle client software is 8.0.5. Db backend on
    the other PC is 8.1.5.
    I created the base HTML file(I copied from
    selltools.us.oracle.com). My browser is Netscape 4.51 with
    Jinitiator 1.1.7.11. It works fine for the demos at
    selltools.us.oracle.com.
    I installed Developer server and demo tables. I can run demos
    (calendar and buttons) from the Forms Builder in both
    client/server mode and web mode.
    I copied the .FMX files into e:\orant\webtemp\" folder. I defined
    FORMS60_MAPPING and other stuffs in the registry.
    When I go to the URL of the base HTML (static), the browser
    displays:
    Loading java applet...
    oracle.forms.engine.Main inited.
    FRM-99999 a network error occured, the client will not be able
    to continue.
    java.net.socketException:Connection reset by peer.
    If I stopped the forms server from "Control Panel". I got an
    error
    msg like:
    can't contact to xzang-pc.us.oracle.com:9000.
    I think the applet is talking with the Forms server. The socket
    has been established. But the applet doesn't show anything at
    all.
    best regards,
    ---- HTML ---------
    <OBJECT>
    <COMMENT>
    <EMBED TYPE="application/x-jinit-applet;version=1.1.7.11"
    CODE="oracle.forms.engine.Main"
    CODEBASE="/forms_code/"
    ARCHIVE="f60all.jar"
    WIDTH=300
    HEIGHT=200
    serverPort="9000"
    serverArgs="module=E:\ORANT\WEBTEMP\BUTTONS
    userid=xzang/[email protected]"
    <NOEMBED>
    </COMMENT>
    </NOEMBED>
    </EMBED>
    </OBJECT>
    null

    use F:\oracle\ora90 as your oracle-db-home
    use F:\oracle\forms6 as your forms-home
    try it
    Gerd

  • Counting the no. of rows in excel worksheet ??

    Dear all,
    Using OLE2 in forms6i to upload data from a excel sheet.
    But in the process i hv to enter a input from Forms which acts as a loop max value.
    Isn't there any method in ole2 to count the no. of records in excel sheet so that
    i can load any no of rows without mentioning the loop value..?????
    regards,

    I think you are using BW3.5, which has this limit.
    In BI7, the limit is around 1 million rows.
    I do not think it is possible to increase this limit. Its Excel 2003 limit. You can remove some characterstics from query drilldown and then display the result.
    Edited by: Pravender on Apr 21, 2010 1:19 PM

  • Problem to connect E 73 with home wireless

    Hi there
     I cant connect my E 73 with home wifi system, it always come up with the error messsage : J007 Incorrect Security Certificate. 
    Pls advise what to do. Thanks
    allan

    Hello,
    I am currently using Oracle8i with Forms6i. Inorder to acheive this, follow the following procedures:
    1. Install Oracle8i and Forms6i in two different homes.
    2. Use Net8 config assistant from Forms6i home and set, the host name, oracle home and sid to that of Oracle8i's home.
    3. That is all.
    You are ready to use forms6i with oracle8i.
    Jothiram
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Imran Naeem ([email protected]):
    I installed Oracle8i and Form6i on Win2k. When ever I connect with the form builder it gives me an error. I want to modify my tnsnames.ora files and listiner.ora files in my Oracle_Home dir. When I run the lsnrctl it was successfully completed. I'm using system/manager and my host string is oracle8i. <HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • How to add header to a file in mapping

    Hi, I need to add header to a file , the header information i am getting is dynamic , it is an IP address of the m/c from where i received the file and keeps on changing. Can we add this information in the header in mapping or there is any other way

  • Itunes stops working when i hit download

    when i start to download a song a message pops up saying "itunes has stopped working" then it closes down. I have reloaded the programe , it works fine on my work computer but not my home one? HELP

  • Access control for different user groups in APEX 4.0

    Hi guys, in Apex 4.0, is there any way to use the access control page to configure access control for different user groups? The access control page currently only has an access control list by users with 3 privileges namely, Administrator, Edit & Vi

  • Why I can't re-install Acrobat Pro (Abode Creative suite 4)

    hello, (sorry I'm french, my english is not good) I had problem with my Acrobat Pro so I unstalled the software, but now I can't re-install ! When I try with my DVDs (that I buy few years ago)  when a strat the installation it stay indefinitly at the

  • When opening firefox, another new tab automatically opens making you search in "yahoo"

    problem as stated in title All Crash Reports Extensions Name Version Enabled ID DownloadHelper 4.9.22 true {b9db16a4-6edc-47ec-a1f4-b86292ed211d} MySearchDial 9.5.5.1 true {ad9a41d2-9a49-4fa6-a79e-71a0785364c8} RoboForm Toolbar for Firefox 7.9.6.7 tr