Need help with archive and install

I'm doing and archive and install. The first try was with a defective retail version of OS X Tiger, which did part of the job then stalled. Now I've been able to get a good DVD of this and was able to do an archive and install,although I couldn't check the box to save user settings etc., On the screen it gives me 3 options transfer info from another mac, transfer info from another partition on this mac or do not transfer my info. I'm new to all this, because of the first failed archive and install do I transfer the info from another partition or not transfer at all and find the old folder later on in the process?

Hi D,
I couldn't check the box to save user settings etc.
I think that is due to the partial previous install moving things to a Previous System folder, but not finshing.
Let's see if that's what happened... if you have 2 Macs with Firewire this could be a lot easier.
Oh, do you have a Backup?
"Try Disk Utility
1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
3. Click the First Aid tab.
4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
5. Select your Mac OS X volume.
6. Click Repair. Disk Utility checks and repairs the disk."
http://docs.info.apple.com/article.html?artnum=106214
After quitting DU, look for Terminal in that Menu Bar, open that and type in this...
Wait, let's hear if you have another Mac or Boot Disk first...

Similar Messages

  • Help with Archive and Install

    Hi, I just archived and installed OS X today 10.5 and I noticed that there's a folder called previous system. This folder has the same applications that I have on the new applications folder, for example, I had two versions of iTunes, the new one would not read the library so I deleted it and moved the older one to the new applications folder. My question is: Is that folder really necessary? Because it has the same applications that I have on the new one and it's taking up disk space. Is it Ok to delete? or should I just leave it alone?
    Thank You for your time

    if all your apps are working normally you can safely delete that folder. it's left there just in case something didn't migrate properly.

  • I need help in downloading and installing a previously purchased version of Photoshop Elements 12: AD012822594 1057-0247-4177-3303-6451-8067  or   1057-0904-6949-7119-8323-9165

    I need help in downloading and installing a previously purchased version of Photoshop Elements 12: AD012822594 1057-0247-4177-3303-6451-8067  or   1057-0904-6949-7119-8323-9165

    Please do not share serial numbers  or Order numbers on Forums . Serial numbers and order numbers  are very confidential.
    You can only share serial number with Adobe Customer support staff.

  • I need help in downloading and installing a previously purchased version of Photoshop Elements 12: Serial number removed by moderator

    I need help in downloading and installing a previously purchased version of Photoshop Elements 12: <Serial number removed by moderator>

    Hi There,
    Kindly try: Troubleshoot installation | Photoshop Elements, Premiere Elements | Windows
    Thanks,
    Atul Saini

  • MOVED: [Athlon64] Need Help with X64 and Promise 20378

    This topic has been moved to Operating Systems.
    [Athlon64] Need Help with X64 and Promise 20378

    I'm moving this the the Administration Forum.  It seems more apporpiate there.

  • Problem with Archive and Install - Second disc won't complete

    I'm trying to run an archive and install for my iMac, OS 10.4.11. I get through the first disc fine, but after I put in the 2nd install disc, it gets all the way to the "finishing installation" and then won't move past "running GarageBand Demo Songs Installer Script". it says less than a minute remaining, and the downloading bar is swirling, but there is nothing happening and it hangs here for hours. I've tried reinstalling, but it will only ask me to load the 2nd disk again, and the same thing happens over and over. I even tried a different install disc 2, and the same thing happened. Is there a way to push past this, or start the entire archive and install again? when i reboot to the disc drive with the 1st install disk, it ask me to put in the 2nd disc.
    This all started because iTunes was acting up after I got an ipod touch, no prior problems with the computer. Can anyone help?

    I've seen this reported before. What some have had some success with is to do a custom install so the second disk is not needed. See BDAqua's tip to someone with the same issue in the Tiger forum.
    http://discussions.apple.com/message.jspa?messageID=9959537#9959537

  • Trouble with Archive and Install of Tiger 10.4.6

    During a Software Update of QuickTime 7.5 I ran into multiple problems:
    1. Iphoto would not import from any souce.
    2. Safari quit when I used the Bookmark menu.
    3. Itunes won't show any graphics.
    4. Others I haven't run into yet?
    I tried repairing permissions, then I downloaded the Quicktime 7.5 and tried to install, the installation quit.
    I tried re-installing Iphoto from my ILife 06 disk, still could not import.
    I tried to do an Archive and Install from my Tiger 10.4.6 DVD, the installatiion quit, said retry. I repaired permissions using the Tiger install DVD, the tried to do an Archive and Install again, but it quit during the installation.
    Any thoughts would be appreciated.

    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot.
    The usual reason why updates fail or mess things up, is if Permissions are not fixed before & after every update, with a reboot... you may get a partial update when the installer finds it doesn't have Permissions to change one obscure little part of the OS, leaving you with a mix of OS versions.
    Some people get away without Repairing Permissions for years, some for only days.
    If Permissions are wrong before applying an update, you could get mixed OS versions, if Directory is the slightest messed up, who knows!
    If many Permission are repaired, or any Directory errors are found, you may need to re-apply some the latest/biggest updates.
    How much free space do you have on what size HD?

  • Please help with erase and install

    I have been having major problems lately with my Leopard upgrade which I did once Leopard first came out.... Ran good for a while but now it locks up all the time and force quit does nothing... At first I did an Upgrade from Tiger but now I want to do an erase and install...
    Can someone run me through using Time Machine to backup my existing drive for my Applications I have like CS3 and Quark etc...
    My main question is... after running TM and having a copy of my existing hard drive.. once I erase and install Leopard can I just tell TM to put certain files back on but leave the NEW Leopard install clean?
    Thank you in advance,
    Marc

    If you are going to go to the extreme of doing an Erase and Install, then do it right and also re-install all your third-party software. This will assure that you won't have problems caused by damaged components or files belonging to your third-party applications. Just backup your personal data files, pictures, music, etc. which you can do by copying them to your backup drive.
    If this isn't feasible then rather than an Erase and Install do an Archive and Install:
    How to Perform an Archive and Install
    1. Be sure to use Disk Utility first to repair the disk before performing the Archive and Install.
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior (4.0 for Tiger) and/or TechTool Pro (4.5.2 for Tiger) to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Do not proceed with an Archive and Install if DU reports errors it cannot fix. In that case use Disk Warrior and/or TechTool Pro to repair the hard drive. If neither can repair the drive, then you will have to erase the drive and reinstall from scratch.
    3. Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When you reach the screen to select a destination drive click once on the destination drive then click on the Option button. Select the Archive and Install option. You have an option to preserve users and network preferences. Only select this option if you are sure you have no corrupted files in your user accounts. Otherwise leave this option unchecked. Click on the OK button and continue with the OS X Installation.
    4. Upon completion of the Archive and Install you will have a Previous System Folder in the root directory. You should retain the PSF until you are sure you do not need to manually transfer any items from the PSF to your newly installed system.
    5. After moving any items you want to keep from the PSF you should delete it. You can back it up if you prefer, but you must delete it from the hard drive.
    6. You can now download a Combo Updater directly from Apple's download site to update your new system to the desired version as well as install any security or other updates. You can also do this using Software Update.

  • Need help with JTextArea and Scrolling

    import java.awt.*;
    import java.awt.event.*;
    import java.text.DecimalFormat;
    import javax.swing.*;
    public class MORT_RETRY extends JFrame implements ActionListener
    private JPanel keypad;
    private JPanel buttons;
    private JTextField lcdLoanAmt;
    private JTextField lcdInterestRate;
    private JTextField lcdTerm;
    private JTextField lcdMonthlyPmt;
    private JTextArea displayArea;
    private JButton CalculateBtn;
    private JButton ClrBtn;
    private JButton CloseBtn;
    private JButton Amortize;
    private JScrollPane scroll;
    private DecimalFormat calcPattern = new DecimalFormat("$###,###.00");
    private String[] rateTerm = {"", "7years @ 5.35%", "15years @ 5.5%", "30years @ 5.75%"};
    private JComboBox rateTermList;
    double interest[] = {5.35, 5.5, 5.75};
    int term[] = {7, 15, 30};
    double balance, interestAmt, monthlyInterest, monthlyPayment, monPmtInt, monPmtPrin;
    int termInMonths, month, termLoop, monthLoop;
    public MORT_RETRY()
    Container pane = getContentPane();
    lcdLoanAmt = new JTextField();
    lcdMonthlyPmt = new JTextField();
    displayArea = new JTextArea();//DEFINE COMBOBOX AND SCROLL
    rateTermList = new JComboBox(rateTerm);
    scroll = new JScrollPane(displayArea);
    scroll.setSize(600,170);
    scroll.setLocation(150,270);//DEFINE BUTTONS
    CalculateBtn = new JButton("Calculate");
    ClrBtn = new JButton("Clear Fields");
    CloseBtn = new JButton("Close");
    Amortize = new JButton("Amortize");//DEFINE PANEL(S)
    keypad = new JPanel();
    buttons = new JPanel();//DEFINE KEYPAD PANEL LAYOUT
    keypad.setLayout(new GridLayout( 4, 2, 5, 5));//SET CONTROLS ON KEYPAD PANEL
    keypad.add(new JLabel("Loan Amount$ : "));
    keypad.add(lcdLoanAmt);
    keypad.add(new JLabel("Term of loan and Interest Rate: "));
    keypad.add(rateTermList);
    keypad.add(new JLabel("Monthly Payment : "));
    keypad.add(lcdMonthlyPmt);
    lcdMonthlyPmt.setEditable(false);
    keypad.add(new JLabel("Amortize Table:"));
    keypad.add(displayArea);
    displayArea.setEditable(false);//DEFINE BUTTONS PANEL LAYOUT
    buttons.setLayout(new GridLayout( 1, 3, 5, 5));//SET CONTROLS ON BUTTONS PANEL
    buttons.add(CalculateBtn);
    buttons.add(Amortize);
    buttons.add(ClrBtn);
    buttons.add(CloseBtn);//ADD ACTION LISTENER
    CalculateBtn.addActionListener(this);
    ClrBtn.addActionListener(this);
    CloseBtn.addActionListener(this);
    Amortize.addActionListener(this);
    rateTermList.addActionListener(this);//ADD PANELS
    pane.add(keypad, BorderLayout.NORTH);
    pane.add(buttons, BorderLayout.SOUTH);
    pane.add(scroll, BorderLayout.CENTER);
    addWindowListener( new WindowAdapter()
    public void windowClosing(WindowEvent e)
    System.exit(0);
    public void actionPerformed(ActionEvent e)
    String arg = lcdLoanAmt.getText();
    int combined = Integer.parseInt(arg);
    if (e.getSource() == CalculateBtn)
    try
    JOptionPane.showMessageDialog(null, "Got try here", "Error", JOptionPane.ERROR_MESSAGE);
    catch(NumberFormatException ev)
    JOptionPane.showMessageDialog(null, "Got here", "Error", JOptionPane.ERROR_MESSAGE);
    if ((e.getSource() == CalculateBtn) && (arg != null))
    try{
    if ((e.getSource() == CalculateBtn) && (rateTermList.getSelectedIndex() == 1))
    monthlyInterest = interest[0] / (12 * 100);
    termInMonths = term[0] * 12;
    monthlyPayment = combined * (monthlyInterest / (1 - (Math.pow (1 + monthlyInterest,  -termInMonths))));
    lcdMonthlyPmt.setText(calcPattern.format(monthlyPayment));
    if ((e.getSource() == CalculateBtn) && (rateTermList.getSelectedIndex() == 2))
    monthlyInterest = interest[1] / (12 * 100);
    termInMonths = term[1] * 12;
    monthlyPayment = combined * (monthlyInterest / (1 - (Math.pow (1 + monthlyInterest,  -termInMonths))));
    lcdMonthlyPmt.setText(calcPattern.format(monthlyPayment));
    if ((e.getSource() == CalculateBtn) && (rateTermList.getSelectedIndex() == 3))
    monthlyInterest = interest[2] / (12 * 100);
    termInMonths = term[2] * 12;
    monthlyPayment = combined * (monthlyInterest / (1 - (Math.pow (1 + monthlyInterest,  -termInMonths))));
    lcdMonthlyPmt.setText(calcPattern.format(monthlyPayment));
    catch(NumberFormatException ev)
    JOptionPane.showMessageDialog(null, "Invalid Entry!\nPlease Try Again", "Error", JOptionPane.ERROR_MESSAGE);
    }                    //IF STATEMENTS FOR AMORTIZATION
    if ((e.getSource() == Amortize) && (rateTermList.getSelectedIndex() == 1))
    loopy(7, 5.35);
    if ((e.getSource() == Amortize) && (rateTermList.getSelectedIndex() == 2))
    loopy(15, 5.5);
    if ((e.getSource() == Amortize) && (rateTermList.getSelectedIndex() == 3))
    loopy(30, 5.75);
    if (e.getSource() == ClrBtn)
    rateTermList.setSelectedIndex(0);
    lcdLoanAmt.setText(null);
    lcdMonthlyPmt.setText(null);
    displayArea.setText(null);
    if (e.getSource() == CloseBtn)
    System.exit(0);
    private void loopy(int lTerm,double lInterest)
    double total, monthly, monthlyrate, monthint, monthprin, balance, lastint, paid;
    int amount, months, termloop, monthloop;
    String lcd2 = lcdLoanAmt.getText();
    amount = Integer.parseInt(lcd2);
    termloop = 1;
    paid = 0.00;
    monthlyrate = lInterest / (12 * 100);
    months = lTerm * 12;
    monthly = amount *(monthlyrate/(1-Math.pow(1+monthlyrate,-months)));
    total = months * monthly;
    balance = amount;
    while (termloop <= lTerm)
    displayArea.setCaretPosition(0);
    displayArea.append("\n");
    displayArea.append("Year " + termloop + " of " + lTerm + ": payments\n");
    displayArea.append("\n");
    displayArea.append("Month\tMonthly\tPrinciple\tInterest\tBalance\n");
    monthloop = 1;
    while (monthloop <= 12)
    monthint = balance * monthlyrate;
    monthprin = monthly - monthint;
    balance -= monthprin;
    paid += monthly;
    displayArea.setCaretPosition(0);
    displayArea.append(monthloop + "\t" + calcPattern.format(monthly) + "\t" + calcPattern.format(monthprin) + "\t");
    displayArea.append(calcPattern.format(monthint) + "\t" + calcPattern.format(balance) + "\n");
    monthloop ++;
    termloop ++;
    public static void main(String args[])
    MORT_RETRY f = new MORT_RETRY();
    f.setTitle("MORTGAGE PAYMENT CALCULATOR");
    f.setBounds(600, 600, 500, 500);
    f.setLocationRelativeTo(null);
    f.setVisible(true);
    }need help with displaying the textarea correctly and the scroll bar please.
    Message was edited by:
    new2this2020

    What's the problem you're having ???
    PS.

  • Need help with trim and null function

    Hi all,
    I need help with a query. I use the trim function to get the first three characters of a string. How do I write my query so if a null value occurs in combination with my trim to say 'Null' in my results?
    Thanks

    Hi,
    Thanks for the reply. What am I doing wrong?
    SELECT trim(SUBSTR(AL1.user_data_text,1,3)),NVL
    (AL1.user_data_text,'XX')
    FROM Table
    I want the XX to appear in the same column as the
    trim.The main thing you're doing wrong is not formatting your code. The solution may become obvious if you do.
    What you're saying is:
    SELECT  trim ( SUBSTR (AL1.user_data_text, 1, 3))
    ,       NVL ( AL1.user_data_text, 'XX' )
    FROM    Tablewhich makes it clear that you're SELECTing two columns, when you only want to have one.
    If you want that column to be exactly like the first column you're currently SELECTing, except that when that column is NULL you want it to be 'XX', then you have to apply NVL to that column, like this:
    SELECT  NVL ( trim ( SUBSTR (AL1.user_data_text, 1, 3))
                , 'XX'
    FROM    Table

  • Need help with backup and clean install

    Need Assistance with G5
    Background
    I'm an inexperienced Mac user with a G5, twin 2.0 gig processors and 1.5
    gig ram. The OS is v10.3.6. It is the latest OS that will not slow down
    internet (Safari/Mail) applications. Anything newer has really slowed internet applications down big time.
    Current Problem
    I've probably messed up my hard drive by switching back and forth
    (archive/install) from newer to present OS. I now have corrupted data and
    while my Mac is useable, several things do not work (disk utility, printing
    and possibly more). I have a mixture of new and older versions of
    these applications/utilities in my OS.
    Going Forward
    I believe I need to wipe out my hard drive and do a clean install. I also have a Mac mini which I can use (I believe) for backup via firewire.
    Backup
    Is everything I need to backup in the "User" folder? My spouse and I have
    separate accounts and a shared account on the same Mac, with a total of 8.5 gig of data, mostly photo's and music. We want to save that and the usual preferences and favorites/bookmarks/addresses/email, etc. It would be nice if all I had to do was drag the user folder into the target drive.
    I'd appreciate any assistance. I have more questions which I'll get to later, but I need to start somewhere.
    Thanks all
    Mac G5    

    Backing up your Users folder will save everything in all the accounts on the computer including pictures, music, preferences, etc. as long as they were kept in that folder.
    If you have File Vault turned on you should turn it off. The "correct" procedure for transferring to your Mac Mini is as follows:
    1. Turn both computers off. Connect them together with a Firewire cable.
    2. Boot the G5 into Target Disk Mode.
    3. Then boot the Mac Mini normally. The G5's hard drive should be present on the Mini's Desktop.
    4. Create a new folder on the Mini and name it something appropriate like G5 User Backup. Drag the Users folder on the G5 into this new folder on the Mini.
    After the transfer completes you should verify that everything has been transferred and is there in the folder.
    5. Drag the G5's hard drive icon from the Desktop to the Trash or CTRL-click on its icon and select Eject from the contextual menu.
    6. Shutdown the G5 and remove the Firewire cable connecting the two computers.
    You can now proceed to fix the G5. Because you are planning to erase the hard drive I would like to suggest you do an extended format to prep the hard drive properly for your restoration:
    1. Boot from your Panther Installer Disk. After the installer loads select Disk Utility from the Installer menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Set the number of partitions from the dropdown menu (use 1 partition unless you wish to make more.) Set the format type to Mac OS Extended (Journaled, if supported.) Click on the Partition button and wait until the volume(s) mount on the Desktop.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled, if supported.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process will take 30 minutes to an hour or more depending upon the drive size.
    You can then quit Disk Utility and return to the installer. Now proceed to reinstall OS X. Be sure you set up your accounts with the exact same usernames and passwords as you used before.
    Once you have completed your reinstallation on the G5 you can restore your Users folder from the Mac Mini.
    1. Shut down both computers. Connect them with a Firewire cable.
    2. Boot the G5 into Target Disk Mode.
    3. Boot the Mac Mini normally. G5's hard drive should appear on the Mini's Desktop.
    4. Open a Finder window on the G5's hard drive and drag the Users folder to the Trash (don't delete yet.)
    5. Now copy the saved Users folder from the Mac Mini to the G5 (only the Users folder, not the folder in which you stored it.)
    6. Eject the G5's hard drive from the Mini's Desktop and shut down the G5.
    7. Disconnect the Firewire cable.
    Now restart the G5. If all worked well it should start up normally and you should find everything normal in your accounts.
    There is one potential problem in all the above. All your account preferences are contained in the Users folder. If you have any corrupted preferences, they will still be corrupted and may continue to cause problems. If that's the case you may need to trash the /Home/Library/Preferences/ folder's contents. Hopefully, this won't be the case, but you should be aware of the possibility.
    If eveything is working normally you can empty the Trash and delete the contents. Same on the Mac Mini.

  • Need help with XtremeGamer and

    Can someone from support or other knowledgable peeps help me identify what exactly is going on with my soundcard, as well as answering my question about sound quality, ?or direct my post to the relevant thread, Im sorry for the long post I will try to keep it as small as possible with the relevant information:?SB0730: Sound Blaster X-Fi XtremeGamerXP SP2: Basic/Fresh install with latest updates(no other software)Sennheiser PC6: Headset + MicLogitech: 2. Speakers
    ?)?[color="#0033ff">Is the 'sound?quality' the same for the '0-pin front panel connection' as the backplate connection, basically?is their any disadvantage to?plugging my headset + mic into the front panel of my PC, as opposed to plugging it into the backplate of the card. [color="#0033ff">?[color="#0033ff">[color="#000000"]2) [color="#3366ff">Here is a description of my card problem in order of occurence, is this?a driver issue?(I hear that there are new beta drivers being released?)?or do I need to RMA:?a) Installed drivers from disk, mic didnt work?and had to re-install Windows in the endb) Downloaded and installed SBXF_PCDRV_LB_2_09_0007.exec) Mic?didnt work so re-installed Windows and this time used Microsoft drivers, which seemed more stabled) The mic?worked fine with MS drivers, with headset connected to backplate and speakers connected to seperate Karajan audio module/card, even though sometimes the mic mute coudnt be unticked it still worked somehow after lots of messing with sound settings in Windows control panel?...then?e) While attempting to attach my speakers to the XtremGamer, I disabled the Karajan Module in the BIOS, attached XtremeGamer front panel connectors?and re-installed windows.f)?Connected the speakers and?installed SBXF_PCDRV_LB_2_09_0007.exeg) Mic problems, no mic sound, cant untick mute as before, cant turn down mic volume or if you can turn it down, the mic spookily turns itself back up right before your eyes, all my usual tweeking of Windows sound control panel to no avail, the hardware test will detect the mic once in 5 tries, with terrible sound quality and then eventually cuts out. doesnt make any differnec having the mic/speakers in the front/back panel

    DOUBLE POSTING!!!
    thanks again to flounder and swapnaja for your help!
    here's the code i ended up using, it's a bit sloppy, but it works!
    public static int magicNumber(String userName, int yearOfBirth ) throws Exception
    int      firstNumber,
                        secondNumber,
         thirdNumber,
         fourthNumber,
         hundred,
         ten,
         magicNumber;
    firstNumber = yearOfBirth/1000;
    hundred = yearOfBirth%1000;     
    secondNumber = hundred/100;
    ten = hundred%100;     
    thirdNumber = ten/10;
    fourthNumber = ten%10;
    magicNumber = firstNumber + secondNumber + thirdNumber + fourthNumber;
    hitEnter();
    return magicNumber;
    }

  • Need help with INSERT and WITH clause

    I wrote sql statement which correctly work, but how i use this statment with INSERT query? NEED HELP. when i wrote insert i see error "ORA 32034: unsupported use of with clause"
    with t1 as(
    select a.budat,a.monat as period,b.vtweg,
    c.gjahr,c.buzei,c.shkzg,c.hkont, c.prctr,
    c.wrbtr,
    c.matnr,
    c.menge,
    a.monat,
    c.zuonr
    from ldw_v1.BKPF a,ldw_v1.vbrk b, ldw_v1.bseg c
    where a.AWTYP='VBRK' and a.BLART='RV' and a.BUKRS='8431' and a.awkey=b.vbeln
    and a.bukrs=c.bukrs and a.belnr=c.belnr and a.gjahr=c.gjahr and c.koart='D'
    and c.ktosl is null and c.gsber='4466' and a.gjahr>='2011' and b.vtweg='01'
    ,t2 as(
    select a.BUKRS,a.BELNR, a.GJAHR,t1.vtweg,t1.budat,t1.monat from t1, ldw_v1.bkpf a
    where t1.zuonr=a.xblnr and a.blart='WL' and bukrs='8431'
    ,tcogs as (
    select t2.budat,t2.monat,t2.vtweg, bseg.gjahr,bseg.hkont,bseg.prctr,
    sum(bseg.wrbtr) as COGS,bseg.matnr,bseg.kunnr,sum(bseg.menge) as QUANTITY
    from t2, ldw_v1.bseg
    where t2.bukrs=bseg.bukrs and t2.belnr=bseg.BELNR and t2.gjahr=bseg.gjahr and BSEG.KOART='S'
    group by t2.budat,t2.monat,t2.vtweg, bseg.gjahr,bseg.hkont,bseg.prctr,
    bseg.matnr,bseg.kunnr
    ,t3 as
    select a.budat,a.monat,b.vtweg,
    c.gjahr,c.buzei,c.shkzg,c.hkont, c.prctr,
    case when c.shkzg='S' then c.wrbtr*(-1)
    else c.wrbtr end as NTS,
    c.matnr,c.kunnr,
    c.menge*(-1) as Quantity
    from ldw_v1.BKPF a,ldw_v1.vbrk b, ldw_v1.bseg c
    where a.AWTYP='VBRK' and a.BLART='RV' and a.BUKRS='8431' and a.awkey=b.vbeln
    and a.bukrs=c.bukrs and a.belnr=c.belnr and a.gjahr=c.gjahr and c.koart='S'
    and c.ktosl is null and c.gsber='4466' and a.gjahr>='2011' and b.vtweg='01'
    ,trevenue as (
    select t3.budat,t3.monat,t3.vtweg, t3.gjahr,t3.hkont,t3.prctr,
    sum(t3.NTS) as NTS,t3.matnr,t3.kunnr,sum(t3.QUANTITY) as QUANTITY
    from t3
    group by t3.budat,t3.monat,t3.vtweg, t3.gjahr,t3.hkont,t3.prctr,t3.matnr,t3.kunnr
    select NVL(tr.budat,tc.budat) as budat,
    NVL(tr.monat,tc.monat) as monat,
    NVL(tr.vtweg,tc.vtweg) as vtweg,
    NVL(tr.gjahr, tc.gjahr) as gjahr,
    tr.hkont as NTS_hkont,
    tc.hkont as COGS_hkont,
    NVL(tr.prctr,tc.prctr) as prctr,
    NVL(tr.MATNR, tc.MATNR) as matnr,
    NVL(tr.kunnr, tc.kunnr) as kunnr,
    NVL(tr.Quantity, tc.Quantity) as Quantity,
    tr.NTS as NTS,
    tc.COGS as COGS
    from trevenue TR full outer join tcogs TC
    on TR.BUDAT=TC.BUDAT and TR.MONAT=TC.MONAT and TR.GJAHR=TC.GJAHR
    and TR.MATNR=TC.MATNR and TR.KUNNR=TC.KUNNR and TR.QUANTITY=TC.QUANTITY
    and TR.VTWEG=TC.VTWEG and TR.PRCTR=TC.PRCTR
    Edited by: user13566113 on 25.03.2011 5:26

    Without seeing what you tried it is hard to say what you did wrong, but this is how it would work
    SQL> create table t ( n number );
    Table created.
    SQL> insert into t
      2  with test_data as
      3    (select 1 x from dual union all
      4     select 2 x from dual union all
      5     select 3 x from dual union all
      6     select 4 x from dual)
      7  select x from test_data;
    4 rows created.
    SQL>

  • Noob needs help with Logic and Motu live setup.

    Hello everyone,
    I'm a noob / semi noob who could use some help with a live setup using 2 MOTU 896HD's and Logic on a Mac.
    Here's the scenario:
    I teach an outdoor marching percussion section (a drumline and a front ensemble of marimbas and vibes). We have an amazing setup of live sound to amplify and enhance the mallet percussion. There is a yamaha PA system with 2 subs and 2 mains which are routed through a rack unit that processes the overall PA balance. I'm pretty sure that the unit is supposed to avoid feedback and do an overall cross-over EQ of the sound. Other then that unit, we have 2 motu896hd units which are routed via fire-wire. I also have a coax cable routing the output of the secondary box to the input of the primary box (digital i/o which converts to ADAT in (i think?)..?
    Here's the confusion:
    There are more then 8 inputs being used from the ensemble itself, so I need the 16 available inputs to be available in Logic. I was lead to believe that the 2nd motu unit would have to be sent digitally to the 1st motu unit via coax digital i/o. Once in Logic, however, I cannot find the signal or any input at all past the 8th input (of the 1st unit).
    Here's the goal:
    All of my performers and inputs routed via firewire into a Mac Mini running OSX and Logic pro.
    I want to be able to use MainStage and run different patches of effects / virt. instruments for a midi controller keyboard / etc.
    I want to be able to EQ and balance the ensemble via Logic.
    Here's another question:
    How much latency will I be dealing with? Would a mac mini with 4gb of ram be able to handle this load? With percussion, I obviously want the sound as latency free as possible. I also, however, want the flexibility of sound enhancement / modification that comes with Logic and the motu896hd units.
    Any help would be REALLY appreciated. I need the routing assistance along with some direction as to whether or not this will work for this type of application. I'm pretty certain it does, as I have spoken with some other teachers in similar venues and they have been doing similar things using mac mini's / logic / mainstage / etc.
    Thanks in advance,
    Chris

    You'll definitely want to read the manual to make sure the 896HDs are connected together properly. ADAT is a little tricky, it's not just a matter of cabling them together. Go to motunation.com if you need more guidance on connecting multiple devices. Beyond that initial hookup, here are a couple of quick suggestions:
    1. Open CueMix and see if both devices are reported there. If not, your connections aren't correct. Be sure to select 44.1kHz as your sample rate, otherwise you are reducing the number of additional channels. For instance at 88.2kHz you would get half the additional channels via ADAT.
    2. You may need to create an aggregate device for the MacBook to recognize more than the first 896HD. Lots of help on this forum for how to do that. Again, first make sure you have the 896HDs connected together properly.
    3. As for latency with Mainstage on the Mini, no way to know until you try it. Generally MOTU is fantastic for low latency work but Mainstage is a question mark for a lot of users right now. If the Mini can't cut the mustard, you have a great excuse to upgrade to a MacBook Pro.

  • Need help with mac and java

    Hi, I'm trying to develop an application on a Machintosh OSX 10.2.8 machine.
    I'm having a herrendous time trying to get quicktime to work on it.
    I've somehow managed t oget 1.3.1 and QTJava.jar to work together but now i need encryption, however that requires 1.4+
    Now 1.4.1 doesnt work with quicktime
    I've downloaded the latest software upgrades but Ive got no idea how to set up quicktime to work with java 1.4.1
    Now to add on top of that mac reports it can use AES encryption. this is from source code ripped striaght from this website.
    But first and foremost can anyone, annyonee help me out with setting up 1.4.1 with quicktime?
    Thank you

    If you need encryption with Java 1.3.1, download the JCE from either Sun (http://java.sun.com/products/jce/) or Bouncy Castle (http://www.bouncycastle.org/).
    Cheers,
    --Arnout                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Shockwave player compatible with OSX 10.10.2?

    Since updating to Yosemite, I am having probs with shockwave player. When on certain sites, i get the error "plugin failed." I have reinstalled adobe reader to the latest version, and when checking shockwave it says i have most current version. I hav

  • MEDIA ENCODER ISSUES...PLEASE HELP!

    IVE BEEN USING ADOBE CS4 MASTER COLLECTION FOR 2 YEARS AND AM NOW HAVING PROBLEMS WITH MEDIA ENCODER! I CAN OPEN NO PROBLEM...BUT WHEN I TRY ADDING A SUPPORTED FILE TO ENCODE IT FREEZES?....IF IT DOES MAKE IT PAST THAT POINT WHICH SELDOM IT DOES WHEN

  • Firefox does NOT display Ebay items

    A text of an ebay item# 130543746409 does NOT display in some parts of the auction item. When I use IE for item#130543746409, the text is displayed. I have screen prints of both Firefox and IE as proof of Firefox's shortcoming, but I see no way to at

  • Substitution string not working in interactive report

    Hi all, I am using a substitution string in the no data found message of the interactive report. But instead of the actual message, &my_message. is displayed when there is no data found. I noticed that this problem is also occuring when a substitutio

  • Native dialogs in HTML/JS AIR?

    Hi there, My app is being developed in HTML/JS and deployed on Adobe AIR for Windows/Mac/Linux and PhoneGap on Android/iPad. This is going well, but while PhoneGap supports native dialogs, does Adobe AIR? I could obviously build my own with NativeWin