Script SQL Developer runs all the lines

I have a group of scripts that I want to execute in the order since a main script.  I created a file referencing these scripts as follows below.  My problem is that when I run this script (via F5 or another script referencing it), it runs only the first line and stops.  I have excluded questions with my references to file by changing the order - always the first runs and stops.  I have tried such as displayed below and with a semicolon; to separate each command.  I have scoured the web and can not find any reason why it does not work.  Each of the scripts listed below contains multiple statements separated by a; that wraps a file to a NAS where he is picked up by our external file transfer program.  It all works properly - the only thing that I have problems with using 1 script to call several files and run them in order.

Any help is greatly appreciated!

@EMSTATUS.sql

@EMPLOYEE.sql

@HREMPUSF.sql

@HRHISTORY.sql

@HRSUPER.sql

@JOBCLASS.sql

@JOBCODE.sql

@PAACTREAS.sql

@PAEMPLOYEE.sql

@PAEMPPOS.sql

@PCODES.sql

@PCODESDTL.sql

@PERSACTHST.sql

@PRDISTRIB.sql

@PRPAYCODE.sql

@PSGRELATE.sql

@REVIEW.sql

Hello

Note You can place in the path: Tools-> preferences-> database-> spreadsheet-> "path select default to search scripts"


I tried the following:

c:\tmp\calltwoscripts. SQL

set echo on

@zone.sql

@ztwo.sql

Select 'done' double.

c:\tmp\zone. SQL:

Select 'one' double;

c:\tmp\ztwo. SQL:

Select 'two' SQL;

executed in a worksheet:

@c:/tmp/calltwoscripts.sql

Output:

> @zone.sql

> select "one" of the double

'A '.

-----

one

> @ztwo.sql

> Select "both" of the double

"TWO".

-----

two

> select 'done' double

'DONE '.

----------

Finish

The things that could go wrong:

Your scripts could end with "quit".

Paths can mingle: try (not @) and full of paths.

You could hit a code issue, the spreadsheet does not recover-in which case you should get the output on the command line and or Page logging of messages in the view.

Turloch

SQLDeveloper - team

http://www.thatjeffsmith.com/archive/2012/06/how-to-collect-Debug-Info-for-Oracle-SQL-Developer/

http://totierne.blogspot.co.UK/2013/07/user-check-on-sqldeveloper-worksheet.html

Tags: Database

Similar Questions

  • OpenScript / chaining script / how to run all the scripts if we fail?

    Hello

    I have a problem using openscript and please I would like to know if there is a work around.

    Here's what I do:

    with script open:

    1 / I record many different scripts for an application: a script = a feature

    2 / then I create a script and I run all these previous script.


    The problem is:

    I get an error 'Timeout occurred waiting for the page to load.' which is a normal mistake (the link is broken, the page is missing, etc.).

    I can't get back, and stops the main script. Although I also want other scripts to be read.


    I tried to put the ERR_RESPONSE_TIME_ERROR Warn option (instead of failure). But no way! It breaks down!



    Please could you tell me what I'm missing?


    Thank you.




    Michael

    Published by: user12252276 on 24 nov. 2009 01:38

    Michael

    You can put a try catch around the control that you want to manage and then save the error so reported ex:

    try {}
    Web.Window (6, "/ web: window [@title ='Oracles Test Manager for Applications Web - Login']") .waitForPage (null);
    {
    Think (0);
    }
    } catch (Exception e) {}
    getStepResult () .setError (e.getMessage ());
    }

    hope this helps

    Alex

  • Script Sql to run in the background

    Hi guys,.

    I will carry out two unix machine sql scripts by connecting through sqlplus in two sessions of PuTTY, I need to run the scripts background is there a way to run outside the sh script execution.

    SQL > @test.sql

    .

    .

    .

    Another session

    SQL > @test1.sql

    .

    .

    .

    actutally I need to run the sql in the background scripts so that my putty session will not cut

    Assuming that this is really what you want to do, use screen sessions.

    This puts the interactive session of ATS in the background, allowing you to reconnect to the it (another putty session, or of the same) to a later date to check the results manually intervene, etc.

    Install the screen on the server as root:

    yum-y install screen

    As the launch of PuTTY user session screen:

    screen

    Then start your session of sqlplus, script execution, etc.-, then press ALT-D to disconnect from the session.

    Start at any number of additional screen sessions.

    To list the sessions:

    Screen - ls

    To join your putty for a screen session session:

    session - dr

    Lose your PuTTY connection does not screen sessions you started. You can go home, in the Office VPN, mastic fire upwards and reconnect to sessions of your screen.

  • I installed the trial version of LR6. In developer mode, all the pictures are black with some coloured points/line, as a kind of negative

    I installed the trial version of LR6. In developer mode, all the pictures are black with coloured points/line, as a kind of negative. I deleted lR6 and installed again but no change. Who has an advisor?

    Try to disable the GPU under Edit > Preferences > performance. (Lightroom > Preferences on Mac)

    Uncheck the box use Graphics Processor.

  • Having problems with SQL Developer connection to the database on a LINUX machine

    Having problems with SQL Developer connection to the database on a LINUX machine
    Hello
    I am trying to connect my machine to windows 7 Home premium to an oracle database 11 g on RedHat 5 machine using SQL Developer. I got this error on SQL Developer
    Status: Failed - Test has failed: the network adapter could not establish the connection


    on Linux
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date                03-APR-2013 16:13:13
    Uptime                    7 days 22 hr. 16 min. 41 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.X.X.X)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orc11g" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11gXDB" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11g_XPT" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    and TNSPING
    tnsping 172.x.x.x
    
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 11-APR-2013 14:32:17
    
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    
    Used parameter files:
    /u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    
    Used EZCONNECT adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=172.x.x.x))(ADDRESS=(PROTOCOL=TCP)(HOST=172.x.x.x)(PORT=1521)))
    OK (0 msec)
    [oracle@ltebilling ~]$
    Tnsnames.ora on Linux,
    ORC11G =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orc11g)
    )
    )
    Listner on Linux,
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (PROGRAM = extproc)
    )
    )
    
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    )
    )
    hosts/ect/Linux,
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    172.x.x.x             LTEBilling
    and there is no problem to ping linux from windows

    Published by: user11309581 on April 11, 2013 15:16

    user11309581 wrote:
    as I have already desciped earlier, I can't connect to the server throw Linux my Windows SQL Server, with error message below.
    tatus: failed - Test has failed: the network adapter could not establish the connection

    It's too generic to mean anything. The application is hidden the real error message. You got when you did the tnsping and obtained "TNS-12535: TNS:operation has expired. Now THAT's an error.

    This indicates a problem firewall and routing. You said earlier you could ping the server, but now we see tnsping fails. Two different protocols of usage, so that both the successful ping turns out a valid physical path, it guarantees not that all traffic will pass. What happens with

    c:\ telnet 172.x.x.x 1521
    
  • How to access all the lines one by one, a table ADF via managed bean

    Hi Experts,

    Hi I'm new in the ADF.

    Could someone help me to fix the case below?

    Scenario - I have a table called Test_T1 that have 4 columns C1, C2, C3, C4. Creation of EO, VO and AM for test_t1.
    When created in pages ADF, I selected the option "automatically exposed components UI in new managed bean" (mynewmanagedbean.java).
    Control data drag and drop Test_T1 table in the page as a table of the ADF.
    Set the properties is read-only C1, C2, C3 and C4 is an input text.
    Add after the table and attathed button action on the mynewmanagedbean.java bean managed.
    At the time of the Test_T1 page filled with a few No.. lines (such as 9).
    How can I access all the lines above through the key without selection of these.
    In fact, I want to print all the rows of the table in the log at the time to press the button.

    Thanks in advance.

    Sorry for the delay, the code was copied from another test case. You can work directly with the line...
    I created a new test case based on the departments of the HR schema table:

    import oracle.adf.model.BindingContext;
    import oracle.adf.model.bean.DCDataRow;
    import oracle.adf.model.binding.DCBindingContainer;
    import oracle.adf.model.binding.DCIteratorBinding;
    import oracle.adf.share.logging.ADFLogger;
    
    import oracle.jbo.Row;
    
    public class DumpRows
    {
        private static ADFLogger _logger = ADFLogger.createADFLogger(DumpRows.class);
        public DumpRows()
        {
        }
    
        public String cb3_action()
        {
            DCBindingContainer bindings =
            (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
            DCIteratorBinding dcIteratorBindings =
            bindings.findIteratorBinding("DepartmentsView1Iterator");
    
            // Get all the rows of a iterator
            Row[] rows = dcIteratorBindings.getAllRowsInRange();
            for (Row row : rows) {
                String depname = (String)row.getAttribute("DepartmentName");
                _logger.info(depname);
            }
            return null;
        }
    }
    

    As you do not have the class of line interface build you must get the attributes in their names. Be careful here, because any misspelling is cought only when you run the application.

    Timo

  • How to display all the lines to PRint html option in obiee 11g

    Hello

    I am facing a problem in obiee 11g (windows server 2003). I have 2 environments (SIT & dev)
    In dev I'm not confronted with no problem but in SIT when I print the report in html format only lines 1 to 25 are displayed.
    What should I do to display all the lines

    Thanks in advance
    Abdul

    Hello

    By default it will like that alone. You must enable PDF/print properties in your analysis
    Just go to edit analysis - result table edit table/pivot table see and
    -Click on properties of PDF print control - select display as "all lines".

    Then save it and run it.

    Thank you

    Deva

  • The fan runs all the time because xinetd running more than 80% all the time.  Someone else has the same problem?

    xinetd is running at 83% or more 24 x 7 devours battery in 2 hours or less and making the fan run all the time.  I am connected to a bug report, and it turns out that it was a duplicate because someone else had the same problem.  However, I have no access to the other bug report or find anything either in the discussion forums or online.  Anyone experience this problem?

    Hello gorgonzola1111,

    I doubt that someone else has this problem because xinetd does not part of macOS. Have you installed it from a package of "ports" 3rd party?

  • Satellite R630 - fan runs all the time

    Hello everyone,

    I have a Satellite R630, and I'm happy with it. But there is one thing that makes me angry... the fan! It runs ALL the time. I browse a little... the fan works. I work with the office, or something... the fan works. To clarify: the CPU is not used, there is no heavy processes running, and the Notebook\CPU is cool. There is no reason why the fan should work, all the laptops that I had before where calm in the same situations. Of course it is not a problem if it starts working if necessary (a game, looking for a HD video or something). But not without reason!

    Someone at - it a solution for this problem? A tool to fix the fan speed\intervals manually, or better: an update of the bios (in the version 1.4 and 1.5 I can choose what I want... the fan did not stop execution). It is also quiet in Linux or any other operating system.

    @Toshiba: (!) Please do something. The only solution for me right now is to return the laptop to the store. :-(

    Best regards
    Imk82

    Hello

    Hmm... If you have already installed the latest BIOS updates, you should check the cooling of Windows Power management settings. Generally you can switch between different methods of cooling as you can read here:

    [How to handle power management features | http://aps2.toshiba-tro.de/kb0/HTD84026Q0000R01.htm]

  • Satellite Pro 4600: Win2k with SP4 - cooler run all the time

    Hello

    last week, I bought a used Toshiba Satellite Pro 4600 PIII, 1 GHz, 512 GB of Ram, WIFI and DVD burner. Great machine so far.

    After that I changed the FAT32 file system to NTFS and reinstalled Win2K/SP4 cooler runs all the time.

    TaskManager says that "THOT_KEY.exe" uses up 99% of the CPU power. Disabling this service reduces the power of the processor and the cooler was quite, BUT didn't really helped - lots of keys does not work.

    I ran a few utilities to disinfect as Kaspersky, NOD32 etc. to ensure that Ia´ve not taken some malware.
    Should I try a bios update or change some settings?

    Any ideas?

    Thanks for help

    Hello

    AFAIK the THOT_KEY.exe belongs to the Toshiba Hotkey utility that controls the various key functions.
    If you disable this service, you will not be able to use the FN keys more.
    I m not 100% sure why this service uses 99% of CPU performance, but perhaps that it s not completely compatible with the W2K service packs. Where did you download this utility? I found it on the page of Toshiba Europe!

    In my opinion, you should try to reinstall the system again. This is probably the key!

    Good luck

  • Our computer is running slow and sounds like it runs all the time, then gives error reading disk

    Our computer is running slowly.  Looks like it is running all the time.  It will turn off by itself and I say disc read error.  You need to restart all the time.  A lot of the time, he does not let us start windows.

    Original title: slow slow slow

    Robert,

    Try to run the "chkdsk" how to perform disk error checking in windows 7 http://windows.microsoft.com/en-us/windows7/Check-a-drive-for-errors

    UTC/GMT is 02:19 on Saturday, November 10, 2012

  • I still have not found "help" to tell me how to remove all the lines and columns beyond those needed for my spreadsheet.

    I used several worksheets.  More allows me to specify the rows/columns and then delete them.  This is to remove all the lines/columns beyond those set up and formatted for my spreadsheet.   I tried many ways to remove all additional lines/columns, but without success.  I even took the time to scroll down/on to highlight all the unnecessary lines and columns, but they do not remove it.
    Any suggestions?  I used spreadsheets most allow me to specify the number of rows/columns for my worksheet

    You can ask your question in the office | Excel Forum because it is not really a problem of Windows XP performance and maintenance.

    Office | Excel

    http://answers.Microsoft.com/en-us/Office/Forum/Excel

    Also, providing specific information may help to get a faster response or better, such as the version of Office or Excel? version of Windows XP? Home, Pro, 32-bit or 64-bit.

    I hope this helps.

  • e7240 CONSTANT NOISE OF FAN NOISY / FAN RUNNING ALL THE TIME

    We received 2 nine E7240s directly from Dell, one for me and one for my colleague. As soon as I turned it on to build for my colleague, I noticed that the machine was overheating and the fan made a noise. Dell offers an upgrade of the BIOS that has not changed anything. They then changed the radiator, even once, that does not change and since then, they have changed the motherboard. My colleague went on vacation, so I don't know if the problem has been resolved, however, my laptop day you do not overheat (also of course as it has done for my colleague) BUT THE FAN RUNS ALL THE TIME. So much so that I think that the person in the room upstairs is using his hairdryer. Dell has replaced the heatsink of heat and the motherboard yesterday, I did the same update of the BIOS and the problem is even worse. As soon as I turn the thing, the fan runs all the time making a big noise. My predecessor was the E6500 and I was not bothered by noises, he did.

    The 7240 made so much noise that I want to throw it out the window , seriously, I go back to my old 5 years e6500, which is now very slow, I can not just take constant hair dryer of the fan noise! I'm waiting for Dell back to me, but I don't see what else they can do.

    I suspect a problem of design with newer models, someone with a laptop computer Latitude 13 also mentioned it on the Forum, someone else with an e7240 also said "I noticed the fan turns most of the time - it's quiet, but you don't know is spinning."  I just implemented, so the CPU is busy enough. "A person with the e6320 says"and the fan is noisy and turns far too often.

    I just bought a new Dell Latitude E7240 with Windows 7 laptop and had the same problem with overheating and the fan is running loudly all the time. I just fixed it on my laptop, it may not work for everyone but just in case I walked it here.

    The index for me was that the question has happened at home, not at work.

    • Using the Task Manager, I found that a "svchost.exe" process was always running at 25% of the CPU, i.e. to take 100% of one of the 4 hearts. For this you need view all processes, and that's why you need a local administrator account if she asks permission.
    • With right click on this process-online 'Go to services', you can study what services are hosted by this instance of svchost.
    • For each of these services, try to stop one at a time (if it helps) and see if the CPU usage goes down. For me, a clue was a service stuck on 'Stop' but never stopped.
    • The service which for me was the "HomeGroup provider." That's why the issue has happened at home and at work. The laptop had spotted my homegroup on my home network, but had not been able to accede. Maybe a problem with IPv6 that I could not turn on my desk.
    • In the Services tab in Task Manager, get on the service properties, which set to Disabled Startup Type.
    • Restart the laptop, to ensure that the service is stopped.

    That did the trick for me, and now the CPU remains less than 5% when idle. This isn't the problem that the fan is noisy when the CPU usage is high, but for me what rarely happens now.

    If you want to access files and printers on your home network without the homegroup feature, you can still do that the old way:

    • Network and sharing Center-Online avancΘs => Homegroup Connection-online 'use user accounts to connect to other computers.
    • Also in the settings advanced: enable discovery network. and Turn on File and Printer Sharing.
    • Then, you can click on your wifi network => add a printer.
    • If your office does not appear, click on "Not listed", then browse. As long as the network discovery and printer sharing are enabled, desktop PC should appear and you can connect using your local Windows user name and password.

    Hope this helps someone.

    Peter

  • Run all the scans of the Diagnostics Bootable Lenovo's

    I might be missing something obvious, but how do run you a full scan of a machine using Lenovo Diagnostics Bootable? AFAIK, you can scan only individually each component (memory, motherboard, PCI bus, hard drive, etc.).

    If indeed there is no way to click on a single button and the program do run all the tests, and a person of Lenovo is reading, consider this a feature request. Ideally, there would be two options: one that runs a quick full test and the other to run a fuller (who would perform advanced analysis of memory).

    Update: Fortunately, this feature was added in version 4.0.0.6027, available for download from http://support.lenovo.com/us/en/lenovodiagnosticsolutions/downloads.

  • To run all the applications of the laptop or install download applications works does not error message indicating that the application is not valid "win32.exe or win32.application.

    To run all the applications of the laptop or install download applications works does not error message indicating that the application is not valid "win32.exe or win32.application.

    Hello m.velentino,

    Not sure if you are still having the error message isn't valid win32.applicaiton.

    Get the error: not a valid 32-bit application can have several origins:
    I have listed some of them below.

    The file is corrupted, bad or missing.
    -If the hard disk is damaged or hurt it cause work programs to fail, either because not all data can be read from the hard drive the program is damaged on the drive. Run scandisk and defrag on the hard disk to check for potential errors.
    -If you run the program from a shortcut on the computer, verify that the program is still on the computer. In some cases if the program is no longer installed on the computer, you can get this error.

    File is not designed for your version of Windows:
    -If you try to run a program that is not designed for your version of Windows, you can get this error.
    -Although many old programs designed to work in older versions of Windows will work with new versions of Windows, unfortunately, not all programs will not work.
    -If the program is an MS-DOS program more former start program or Windows, you can get this error.
    -If the program is designed for a 64-bit version of Windows and you are running in a 32-bit version of Windows, it will not work and generate this error.

    File is a virus, worm or other malicious program file.
    -
    This error can be generated by a file that is a virus, worm, Trojan horse or other type of malware file. Often, this will result because the antivirus installed on the computer will not allow the file to install or run. Try to analyze the file to check, it is not a virus or infected.
    -If the file has been checked and is clean, it is always possible that the virus protection program or a another program installed on the computer is at the origin of questions during installation or execution of the program. Start the computer in Mode safe and try to run the program. start the computer in Mode safe will be that nothing is running in the background that could cause this problem.

    Hardware incompatibility.

    -If you get this error during the installation of a program, it is also possible that the CD-ROM drive or the drive that you are installing the program from is not compatible with Windows or has drivers that are not compatible with Windows.
    -Download the latest drivers for your CD player or other of the manufacturer of the computer or the manufacturer of the equipment. (Microsoft does not pilot for other materials)

    Let us know if these suggestions help you.

    Marilyn

Maybe you are looking for