Subquery results need help with output

Requirements:
There is request to dump every day’s data from one table into text file.
Tables:INSPECTION_RESULTS
NJAS
Primary Key: RES_SYS_NO
Parent table: INSPECTION_RESULTS
Child table: NJAS
Purpose:
1. obtain output results for the MIN and MAX RES_SYS_NO from INSPECTION_RESULTS table for yesterday’s date.
2. Create comma delimited file for following columns using above table data output.
Script thus far:
SELECT NJA_RES_SYS_NO||','||NJA_TEST_REC_NO||','||NJA_LIC_ST_ID||','||NJA_ETS_ID||','||NJA_SW_VER||','||NJA_TECH_ID||','||NJA_VIN||','||NJA_LIC_NO||','
||NJA_LIC_JUR||','||NJA_LIC_SRC||','||NJA_MODEL_YR||','||NJA_MAKE||','||NJA_MODEL||','||NJA_VHCL_TYPE||','||NJA_BODY_STYLE||','||NJA_CERT_CLASS||','||
NJA_GVWR||','||NJA_ASM_ETW||','||NJA_ETW_SRC||','||NJA_NO_OF_CYL||','||NJA_ENG_SIZE||','||NJA_TRANS_TYPE||','||NJA_DUAL_EXH||','||NJA_FUEL_CD||','
|| NJA_VID_SYS_NO||','|| NJA_VRT_REC_NO||','|| NJA_ARMSTDS_REC_NO||','|| NJA_RSN_F_N_TESTABLE||','|| NJA_DYNO_TESTABLE||','||
NJA_CURR_ODO_RDNG||','|| NJA_PREV_ODO_RDNG||','|| NJA_PREV_TEST_DT||','|| NJA_TEST_TYPE||','||
NJA_TEST_START_DT||','|| NJA_TEST_END_TIME||','|| NJA_EMISS_TEST_TYPE||','|| NJA_TEST_SEQ_NO||','
||NJA_LOW_MILE_EXEMP||','||NJA_TIRE_DRY||','|| NJA_REL_HUMID||','|| NJA_AMB_TEMP||','||NJA_BAR_PRESS||','|| NJA_HCF||','||
NJA_GAS_CAP_ADAP_AVL||','|| NJA_GAS_CAP_REPL||','|| NJA_OVERALL_GAS_CAP_RES
FROM NJAS
WHERE NJA_RES_SYS_NO IN (SELECT MIN(NJA_RES_SYS_NO) FROM INSPECTION_RESULTS WHERE NJA_RES_SYS_NO IN
(SELECT MAX(NJA_RES_SYS_NO) FROM INSPECTION_RESULTS, (SELECT SYSDATE-1 FROM DUAL))
It works but not sure if I am getting accurate results. Can anyone help me fine tune this subquery script? Thanks!
Scott

Duplicate post
See my answer in your other posting here Re: need help with script

Similar Messages

  • PLEASE NEED HELP WITH OUTPUTTING HDV/DV!! 16:9 to 4:3!! NEED HELP NOW!

    ok. I started out with HDV footage. Imported that edited it native HD into final cut 5, didn't downconvert. Now I am trying to output the finished work onto a dv camera through firewire. At first i nested the HDV sequence into a NTSC sequence, but the video wouldn't go through to the camera, only audio. I thought it was a connection problem, but then i played some DV footage and it went to the camera fine. So then i exported the DV sequence as a quicktime movie in NTSC form, but that really cropped the 16:9 footage and made it unwatchable. How can i take the 16:9 HDV footage, and letterbox it so that it fits inside a 4:3 frame without cutting off any of the original frame, and then export that to a DV camera? Let me know if you need more info, please help this is due tomorrow!! ahhhhh!

    When you Export using QuickTime Conversion, to DV Stream, you get an option of what the aspect ratio should be. Select 16:9 and the DV stream will be what you're looking for. Opening that in FCP and sending it to the camera should work out well.

  • Need help with output for D5

    Hi,
    I need some help getting my film in sync to a D5.
    The film was shot on MiniDV and edited drop frame (29.97).
    What we did first is output on miniDV and dubbed that to a D5 for color correction. Everything was in sync with the timeline. Then my friend color corrected. Since then several shots have been replaced, not effecting the timing at all. We checked that everything was hitting at the same timecodes and everything was cool.
    Now I've output another tape onto MiniDV and tried to dub it to D5 but the shots are not hitting at the same timecode. They assure me that everything is drop frame on their end. Not sure what might be causing the problem. Not sure what to try next?
    Need suggestions and ideas.
    thanks.

    if you had a downconvert from your "color corrected d5" you could place it in the timeline and see whats up.

  • Need help with output type EDI for ERS

    All,
    I want to be able to run and ERS settlement and have the invoices created sent via EDI/XML to the supplier.   I have several questions on the set up.
    1)  I have output type ERS6 which is defined as ERS EDI.  I assume because it does not start with Z* this is SAP standard, so I shouldn't have to modify any of this.
    2)  I've added my supplier to this output type. 
    3)  I assume I need to create a partner profile for this supplier?  If so can someone tell me the message type to use?
    Is there any set up I'm missing in this process?   I've executed ERS but do not get an idoc and I'm fairly certain it's because I haven't done the partner profile set-up.
    Thanks for your help.
    Sandra

    Hi,
    You don't have to modify thise setup unless you have any customized requirement.
    You are missing partner profile setup.Carry out the setup and run MRRL tcode to create the idocs
    Enter the following values using tcode WE20.
    Field                                       Value
    Message type                         GSVERF
    Partner type                             LI (vendor)
    Partner function                        LF (vendor)
    Port                                         SUBSYSTEM ( Port to your middleware)
    Output mode                            such as Collect IDocs
    Basic type                                GSVERF01
    Application                                 MR
    Output type                                ERS6 or the type you have defined
    Regards,
    Karuna

  • Need help with output one field horizontally please

    I know I have seen some ideas and threads about this, but it is not really what I need. I have a report in CR XI that seems to be on the right path. The problem I am having is one field that needs to be in details could provide multiple results (products and services) which duplicates all the records. Some customers I'll have 3 lines, the next 9 ... depending on how many P&S they have.
    What I have done is moved all fields from the details section to group1 which so far seems fine and left my P&S field in details.
    The output is normal:
    prod1
    prod2
    prod3
    prod4
    etc.....
    What I need is this: prod1, prod2, prod3, prod4, etc.
    Any ideas greatly appreciated.
    In the group header add a formula
    WhilePrintingRecords;
    Global StringVar ProductList;
    ProductList := '';
    in the details
    WhilePrintingRecords;
    Global StringVar ProductList;
    If ProductList  = '' then
       ProductList  :=
    else
         ProductList := ProductList & ', ' & ; ''
    In the group footer
    WhilePrintingRecords;
    Global StringVar ProductList;
    ProductList
    Edited by: Terry Mergl on Apr 20, 2010 9:15 PM

    What you have should do it.  Is there an issue?  Please explain in detail, giving sample data, current results, and expected results.
    Carl

  • Need help with 'Output Folder URL'

    How can I compile my application and have it get posted on a
    server?
    When I create a project, in the “Flex Build Path”
    I add my server URL in the 'Output Folder URL' field. But when I
    Run my project, it doesn't even seem to attempt to push any files
    to the server. It just brings up my browser with the path to it,
    which it obviously gets a 404 error. And its going to need a
    username and password to post files to a server. Where would I
    assign theses value to Flex Builder?

    After I installed Apache Ant and tinkered with it for about 5
    hours, I have what initially wanted. The code below will compile,
    copy and launch. I also made a splash logo that appears when its
    building. Ant is a nice utility for automated development.
    Ref:
    http://blog.jodybrewster.net/2008/04/09/installing-ant-in-flex-builder-3/
    http://ant.apache.org/manual/tasksoverview.html
    <project name="buildXIFF" default="main">
    <property name="compiler" value="C:\Program
    Files\Adobe\Flex Builder 3\sdks\3.2.0\bin\mxmlc.exe"/>
    <property name="firefox" location="C:\Program
    Files\Mozilla Firefox\firefox.exe"/>
    <property name="projectURL" value="
    http://vmwinserver2003/flex/tests/XIFF/XIFF.html"/>
    <property name="baseDirectory"
    value="Z:\Documents\Programming\Flex\Tests\XIFF"/>
    <property name="baseServerDirectory"
    value="Y:\flex\tests\XIFF"/>
    <target name="main">
    <splash
    imageurl="file:${baseDirectory}/build/FxAntBuildLogo.png"
    showduration="2000"/>
    <antcall target="compile" />
    <antcall target="copy" />
    <antcall target="launch" />
    </target>
    <target name="compile" description="Build XIFF
    project">
    <echo>Building files in bin directory in
    repository</echo>
    <exec executable="${compiler}">
    <arg line="-file-specs '${baseDirectory}/src/XIFF.mxml'
    "/>
    <arg line="-output= '${baseDirectory}/bin-debug/' "/>
    </exec>
    </target>
    <target name="copy" description="Copy XIFF bin directory
    to server">
    <echo>Copying bin directory from repository to server.
    Overwriting all files in destination directory.</echo>
    <copy todir="${baseServerDirectory}" overwrite="true">
    <fileset dir="${baseDirectory}/bin-debug/"/>
    </copy>
    </target>
    <target name="launch">
    <echo>Launching browser, URL is the project's html
    page on the server.</echo>
    <exec executable="${firefox}" spawn="true">
    <arg value="${projectURL}"/>
    </exec>
    </target>
    </project>

  • Need help with outputing query group names

    I am trying to come up with a way to output group headers, then all the records under each group header etc. It would be easy, except there is a twist with what i want to do.
    Normally if I have this set of data (which I ‘borrowed’ from a site that showed the closest to what I’m looking for):
    Example Table Setup:
    TABLE [Numbers]
    (Name, NUMBER)
    Dave Bosky              843-444-4444
    Dave Bosky              843-555-5555
    Matthew Small        843-111-1111
    Matthew Small      _843-222-2222
    Matthew Small        843-333-3333
    I could use the following code:
    <cfoutput query="somequery" group="name">
            #name#<br>
            <cfoutput>
                    #phonenumber#<br>
            </cfoutput>
            <hr>
    </cfoutput>
    And get this:
    Dave Bosky
    843-444-4444
    843-555-5555
    Matthew Small
    843-111-1111
    843-222-2222
    843-333-3333
    BUT, my actual tables are not set up like this. Rather than recording each name with each record, I would have an ID that is the foreign key for another table.
    Current table set up would look like this:
    TABLE [People]
    (ID, NAME)
    1 Dave Bosky        
    2 Matthew Small  
    TABLE [Phones]
    (PEOPLE_ID, NUMBER)
    1              843-444-4444
    1              843-555-5555
    2              843-111-1111
    2              843-222-2222
    2              843-333-3333
    So this output would actually give me this with my current setup and the query code above:
    1
    843-444-4444
    843-555-5555
    2
    843-111-1111
    843-222-2222
    843-333-3333
    How do I keep my current setup but create a query that achieves the same result from the top? (Output the names from the People table as the group headers, but the data from the Phones table underneath that)

    Thanks! With a little tweaking I got it done.
    In case this might be useful to someone else this is the code I ended up using as a test run for what Im trying to do:
    <cfquery name="testthis" datasource="IRLE">
    SELECT ACCOUNTTYPES.ACCOUNTTYPEID, ACCOUNTTYPES.TYPEDESCRIPTION, ACCOUNTS.ACCOUNTNUMBER, ACCOUNTS.ACCOUNTTYPE, ACCOUNTS.ACCOUNTDESCRIPTION
    FROM ACCOUNTS INNER JOIN ACCOUNTTYPES ON ACCOUNTTYPES.ACCOUNTTYPEID = ACCOUNTS.ACCOUNTTYPE
    WHERE ACCOUNTUSERID = '#Session.UserID#'
    </cfquery>
    <table>
    <th colspan="3" align="center"><u>ACCOUNTS:</u></th>
    <cfoutput query="testthis" group="TYPEDESCRIPTION">
    <tr><td></td>
    <td colspan="2">#TYPEDESCRIPTION# Accounts:<BR></td>
    </tr>
    <cfoutput>
    <tr>
    <td></td>
    <td>#ACCOUNTNUMBER#</td>
    <td>#ACCOUNTDESCRIPTION#</td>
    </td>
    </tr>
    </cfoutput>
    </cfoutput>
    </table>
    Im using MySQL, so all the table names etc have to be capitalized.
    Table setup:
    ACCOUNTTYPES
    ACCOUNTTYPEID
    TYPEDESCRIPTION
    1
    CASH
    2
    TRADE
    ACCOUNTS
    ACCOUNTNUMBER
    ACCOUNTUSERID
    ACCOUNTTYPE
    ACCOUNTDESCRIPTION
    1
    1
    1
    CASH
    2
    1
    2
    BROKERAGE
    Note I also threw in a WHERE clause to only show accounts for the logged in user. (Session.USERID is defined by my code at login)
    All in all the output was:
    ACCOUNTS:
                    CASH Accounts:
                    1              CASH
                    TRADE Accounts:
                    2              BROKERAGE
    Given my data at the moment, that’s what I wanted! Sweet!

  • Need help with OutPut message

    My Code's below. I'm having trouble with the out put. Can anyone offer any suggestions?
    import javax.swing.JOptionPane;
    import java.util.Locale;
    import java.text.NumberFormat;
    public class Retail
    public static void main(String args[])
    String firstNum;
    String secondNum;
    String result;
    int prodNum;      //first number to input
    double quantity; //second number to input
    double total;          //total of Prod * Quantity Sold for all items
    // To use American Dollar
    NumberFormat moneyFormat = NumberFormat.getCurrencyInstance( Locale.US );
    // first number entered as string
    firstNum = JOptionPane.showInputDialog( "Enter product number 1-5" );
    // second number entered as string
    secondNum = JOptionPane.showInputDialog( " Enter quantity of items sold" );
    // convert values to type double or int from type string
    prodNum = Integer.parseInt( firstNum );
    quantity = Double.parseDouble( secondNum);
    result = "";
    switch (prodNum)
    case 1: // 1st product
    total = 2.98 * quantity;
    break;
    case 2: // 2nd product
    total = 4.50 * quantity;
    break;
    case 3: // 3rd product
    total = 9.98 * quantity;
    break;
    case 4: //4th product
    total = 4.49 * quantity;
    break;
    case 5:
    total = 6.87 * quantity;
    break;
    default: JOptionPane.showMessageDialog( null, "Wrong product number entered" );
    JOptionPane.showMessageDialog( null, result, "Total Price of Items Purchased", JOptionPane.INFORMATION_MESSAGE );

    basically what it is is it's saying it cannot resolve
    a symbol, but I can't figure out which symbol?Not with the code you just posted, it doesn't. However, the error will tell you exactly what the compiler doesn't recognize. In the meantime, try this:
    import javax.swing.JOptionPane;
    import java.util.Locale;
    import java.text.NumberFormat;
    public class Retail
        public static void main(String args[])
            String firstNum;
            String secondNum;
            String result;
            int prodNum; //first number to input
            double quantity; //second number to input
            double total = 0.0; //total of Prod * Quantity Sold for all items **INITIALIZED **
            // To use American Dollar
            NumberFormat moneyFormat = NumberFormat.getCurrencyInstance( Locale.US );
            // first number entered as string
            firstNum = JOptionPane.showInputDialog( "Enter product number 1-5" );
            // second number entered as string
            secondNum = JOptionPane.showInputDialog( " Enter quantity of items sold" );
            // convert values to type double or int from type string
            prodNum = Integer.parseInt( firstNum );
            quantity = Double.parseDouble( secondNum);
            switch (prodNum)
                case 1: // 1st product
                total = 2.98 * quantity;
                break;
                case 2: // 2nd product
                total = 4.50 * quantity;
                break;
                case 3: // 3rd product
                total = 9.98 * quantity;
                break;
                case 4: //4th product
                total = 4.49 * quantity;
                break;
                case 5:
                total = 6.87 * quantity;
                break;
                default: JOptionPane.showMessageDialog( null, "Wrong product number entered" );
            JOptionPane.showMessageDialog( null, moneyFormat.format(total), "Total Price of Items Purchased", JOptionPane.INFORMATION_MESSAGE );

  • Need help with output please

    Thank you for taking a look ill post my code and then my problem
    import java.util.Scanner;
    public class intrest
        public static void main( String[] args )
         Scanner input = new Scanner( System.in );
            System.out.print("Deposit:");
         double Value =input.nextInt();
         double Rate = 0;
            if (Value >250000 || Value <10000)
              System.out.print("Error: minimum deposit 10,000 and Maximum deposit 250000");
         else if (Value <25000)
              Rate = 2.76;
         else if (Value  <50000)
                    Rate = 3.16;
         else
              Rate = 3.20;
         double Interest = (Value / 100 * Rate);
            System.out.println ("Interest:" +Interest) ;
         System.out.println ("Rate:    " +Rate) ;
    }my goal for this program is to get the interest rate if the value is between 10k and 250k, if its any other value it should bring up an error however when i do input a number out of that range it gives me the error but it also displayes the interest rate and the interest gained although it does not work it out (both stay at 0 which is good),
    i want it to only show the error if the first statement is true "{code}if (Value >250000 || Value <10000){code}" ive tried using "Else If" but its still showing me the interest rate and interest gained, can anyone help would really appreciate it
    thank you very much

    Do a if condition check....if you dont want to use exit...below is the modified code
    import java.util.Scanner;
    public class test
        public static void main( String[] args )
         Scanner input = new Scanner( System.in );
            System.out.print("\n Deposit:");
         double Value =input.nextInt();
         double Rate = 0;
            if (Value >250000 || Value <10000)
              System.out.print("\nError: minimum deposit 10,000 and Maximum deposit 250000");
            else if (Value <25000)
                      Rate = 2.76;                  
                 else if (Value  <50000)
                  Rate = 3.16;
         else 
              Rate = 3.20;          
                 double Interest = (Value / 100 * Rate);
                 if ((Interest != 0) || (Rate !=0))
        System.out.println ("\n\n Interest:" +Interest +"\n\n Rate :"  +Rate);         
    }

  • Need help with output

    im trying to get the list of books on one dialog box. but all it shows is the message and no book title.
    Im trying to get the user to choose a book from the list. by entering 1-4.
    but so far what i really need first is how to get the titles all in one box
            if (quantity > 0) {
                JOptionPane.showInputDialog(null, "Choose a book to purchase or 4 to quit");
                for (int i = 0; i < quantity; i++)
                        JOptionPane.showInputDialog(null, "\"" + volumes.title);
    /code]
    Heres the rest of the code
    import javax.swing.JOptionPane;
    import java.util.*;
    class Book
        public String title;    
    //DONT FORGET TO WRITE COMMENTS!!!!!!!!!!!!!!!
    public class delete
        public static void main (String [] args)
            Book[]  volumes;     
            char    answer;      
            int     quantity = 0,
                    limit = 0;
                   int option;   
           limit = Integer.parseInt(JOptionPane.showInputDialog(null,"How many titles in the store? (Must be no more than 20) ")); //prompts the user for book titles
            volumes = new Book[limit];
            while (quantity < limit) {
                volumes[quantity] = new Book();
              volumes[quantity].title = JOptionPane.showInputDialog(null, "\nEnter book " + (quantity+1) + "'s title : ");
                            quantity++;
            if (quantity > 0) {
                JOptionPane.showInputDialog(null, "Choose a book to purchase or 4 to quit");
                for (int i = 0; i < quantity; i++)
                        JOptionPane.showInputDialog(null, "\"" + volumes.title);

    [url http://forum.java.sun.com/thread.jspa?threadID=5164155&tstart=0]Xpost

  • Need Help with Output Routing...

    Ok, I've spent a few hours trying to figure this out and I give up....here's my question:
    I've got a MOTU Traveler and I'd like to have the Logic Output 1-2 feed its signal to both MOTU Analog Output 1-2 (Main Out) and Analog Output 3-4. I want the same signal going to both places. Basically I have two different sets of speakers I use when I'm finishing up a track and like to A/B between the different speaker sets. I've tried everything in Logic and other then setting up another output in Logic labeled 3-4 and manually switching each channel and bus to that new output, nothing works. I also tried the cuemix console and didn't see anyway to do it in there. The only other thing that seemed to work was using an I/O plugin sending output 1-2 to output 3-4, but the signal was super distorted going into 3-4. Anyone know how to have a single Logic Output (1-2) go to multiple Outputs on a MOTU?

    Hi,
    You can set up another output (3+4) and feed it from a buss that is at unity gain,from the main output 1+2
    Then in your cuemix you can calibrate that output to be the same level as the mains,so when you compare the speakers,the levels stay the same when switching.
    Just make sure to check the physical outputs on your traveler are set to the correct impedance (+4 or -10) to match the main outs.
    Cheers

  • Need Help With File Matching Records

    I need help with my file matching program.
    Here is how it suppose to work: FileMatch class should contain methods to read oldmast.txt and trans.txt. When a match occurs (i.e., records with the same account number appear in both the master file and the transaction file), add the dollar amount in the transaction record to the current balance in the master record, and write the "newmast.txt" record. (Assume that purchases are indicated by positive amounts in the transaction file and payments by negative amounts.)
    When there is a master record for a particular account, but no corresponding transaction record, merely write the master record to "newmast.txt". When there is a transaction record, but no corresponding master record, print to a log file the message "Unmatched transaction record for account number ..." (fill in the account number from the transaction record). The log file should be a text file named "log.txt".
    Here is my following program code:
    // Exercise 14.8: CreateTextFile.java
    // creates a text file
    import java.io.FileNotFoundException;
    import java.lang.SecurityException;
    import java.util.Formatter;
    import java.util.FormatterClosedException;
    import java.util.NoSuchElementException;
    import java.util.Scanner;
    import org.egan.AccountRecord;
    import org.egan.TransactionRecord;
    public class CreateTextFile
      private Formatter output1;  // object used to output text to file
      private Formatter output2;  // object used to output text to file
      // enable user to open file
      public void openTransFile()
        try
          output1 = new Formatter("trans.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openTransFile
      // enable user to open file
      public void openOldMastFile()
        try
          output2 = new Formatter("oldmast.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openOldMastFile
      // add transaction records to file
      public void addTransactionRecords()
        // object to be written to file
        TransactionRecord record1 = new TransactionRecord();
        Scanner input1 = new Scanner(System.in);
        System.out.printf("%s\n%s\n%s\n%s\n\n",
          "To terminate input, type the end-of-file indicator",   
          "when you are prompted to enter input.",
          "On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
          "On Windows type <ctrl> z then press Enter");
        System.out.printf("%s\n%s",
           "Enter account number (> 0) and amount.","? ");
        while (input1.hasNext())  // loop until end-of-file indicator
          try // output values to file
            // retrieve data to be output
            record1.setAccount(input1.nextInt());    // read account number
            record1.setAmount(input1.nextDouble());  // read amount
            if (record1.getAccount() > 0)
              // write new record
              output1.format("%d %.2f\n", record1.getAccount(), record1.getAmount());
            } // end if
            else
              System.out.println("Account number must be greater than 0.");
            } // end else
          } // end try
          catch (FormatterClosedException formatterClosedException)
            System.err.println("Error writing to file.");
            return;
          } // end catch
          catch (NoSuchElementException elementException)
            System.err.println("Invalid input. Please try again.");
            input1.nextLine(); // discard input so user can try again
          } // end catch
          System.out.printf("%s %s\n%s", "Enter account number (> 0) ",
            "and amount.","? ");
        } // end while
      } // end method addTransactionRecords
      // add account records to file
      public void addAccountRecords()
        // object to be written to file
        AccountRecord record2 = new AccountRecord();
        Scanner input2 = new Scanner(System.in);
        System.out.printf("%s\n%s\n%s\n%s\n\n",
          "To terminate input, type the end-of-file indicator",   
          "when you are prompted to enter input.",
          "On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
          "On Windows type <ctrl> z then press Enter");
        System.out.printf("%s\n%s",
           "Enter account number (> 0), first name, last name and balance.","? ");
        while (input2.hasNext())  // loop until end-of-file indicator
          try // output values to file
            // retrieve data to be output
            record2.setAccount(input2.nextInt());    // read account number
            record2.setFirstName(input2.next());      // read first name
            record2.setLastName(input2.next());       // read last name
            record2.setBalance(input2.nextDouble());  // read balance
            if (record2.getAccount() > 0)
              // write new record
              output2.format("%d %s %s %.2f\n", record2.getAccount(), record2.getFirstName(),
                record2.getLastName(), record2.getBalance());
            } // end if
            else
              System.out.println("Account number must be greater than 0.");
            } // end else
          } // end try
          catch (FormatterClosedException formatterClosedException)
            System.err.println("Error writing to file.");
            return;
          } // end catch
          catch (NoSuchElementException elementException)
            System.err.println("Invalid input. Please try again.");
            input2.nextLine(); // discard input so user can try again
          } // end catch
          System.out.printf("%s %s\n%s", "Enter account number (> 0),",
            "first name, last name and balance.","? ");
        } // end while
      } // end method addAccountRecords
      // close file
      public void closeTransFile()
        if (output1 != null)
          output1.close();
      } // end method closeTransFile
      // close file
      public void closeOldMastFile()
        if (output2 != null)
          output2.close();
      } // end method closeOldMastFile
    } // end class CreateTextFile--------------------------------------------------------------------------------------------------
    // Exercise 14.8: CreateTextFileTest.java
    // Testing class CreateTextFile
    public class CreateTextFileTest
       // main method begins program execution
       public static void main( String args[] )
         CreateTextFile application = new CreateTextFile();
         application.openTransFile();
         application.addTransactionRecords();
         application.closeTransFile();
         application.openOldMastFile();
         application.addAccountRecords();
         application.closeOldMastFile();
       } // end main
    } // end class CreateTextFileTest-------------------------------------------------------------------------------------------------
    // Exercise 14.8: TransactionRecord.java
    // A class that represents on record of information
    package org.egan; // packaged for reuse
    public class TransactionRecord
      private int account;
      private double amount;
      // no-argument constructor calls other constructor with default values
      public TransactionRecord()
        this(0,0.0); // call two-argument constructor
      } // end no-argument AccountRecord constructor
      // initialize a record
      public TransactionRecord(int acct, double amt)
        setAccount(acct);
        setAmount(amt);
      } // end two-argument TransactionRecord constructor
      // set account number
      public void setAccount(int acct)
        account = acct;
      } // end method setAccount
      // get account number
      public int getAccount()
        return account;
      } // end method getAccount
      // set amount
      public void setAmount(double amt)
        amount = amt;
      } // end method setAmount
      // get amount
      public double getAmount()
        return amount;
      } // end method getAmount
    } // end class TransactionRecord -------------------------------------------------------------------------------------------------
    // Exercise 14.8: AccountRecord.java
    // A class that represents on record of information
    package org.egan; // packaged for reuse
    import org.egan.TransactionRecord;
    public class AccountRecord
      private int account;
      private String firstName;
      private String lastName;
      private double balance;
      // no-argument constructor calls other constructor with default values
      public AccountRecord()
        this(0,"","",0.0); // call four-argument constructor
      } // end no-argument AccountRecord constructor
      // initialize a record
      public AccountRecord(int acct, String first, String last, double bal)
        setAccount(acct);
        setFirstName(first);
        setLastName(last);
        setBalance(bal);
      } // end four-argument AccountRecord constructor
      // set account number
      public void setAccount(int acct)
        account = acct;
      } // end method setAccount
      // get account number
      public int getAccount()
        return account;
      } // end method getAccount
      // set first name
      public void setFirstName(String first)
        firstName = first;
      } // end method setFirstName
      // get first name
      public String getFirstName()
        return firstName;
      } // end method getFirstName
      // set last name
      public void setLastName(String last)
        lastName = last;
      } // end method setLastName
      // get last name
      public String getLastName()
        return lastName;
      } // end method getLastName
      // set balance
      public void setBalance(double bal)
        balance = bal;
      } // end method setBalance
      // get balance
      public double getBalance()
        return balance;
      } // end method getBalance
      // combine balance and amount
      public void combine(TransactionRecord record)
        balance = (getBalance() + record.getAmount()); 
      } // end method combine
    } // end class AccountRecord -------------------------------------------------------------------------------------------------
    // Exercise 14.8: FileMatch.java
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.lang.IllegalStateException;
    import java.util.NoSuchElementException;
    import java.util.Scanner;
    import java.util.Formatter;
    import java.util.FormatterClosedException;
    import org.egan.AccountRecord;
    import org.egan.TransactionRecord;
    public class FileMatch
      private Scanner inTransaction;
      private Scanner inOldMaster;
      private Formatter outNewMaster;
      private Formatter theLog;
      // enable user to open file
      public void openTransFile()
        try
          inTransaction = new Scanner(new File("trans.txt"));
        } // end try
        catch (FileNotFoundException fileNotFoundException)
          System.err.println("Error opening file.");
          System.exit(1);
        } // end catch
      } // end method openTransFile
      // enable user to open file
      public void openOldMastFile()
        try
          inOldMaster = new Scanner(new File("oldmast.txt"));
        } // end try
        catch (FileNotFoundException fileNotFoundException)
          System.err.println("Error opening file.");
          System.exit(1);
        } // end catch
      } // end method openOldMastFile
      // enable user to open file
      public void openNewMastFile()
        try
          outNewMaster = new Formatter("newmast.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openNewMastFile
      // enable user to open file
      public void openLogFile()
        try
          theLog = new Formatter("log.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openLogFile
      // update records
      public void updateRecords()
        TransactionRecord transaction = new TransactionRecord();
        AccountRecord account = new AccountRecord();
        try // read records from file using Scanner object
          System.out.println("Start file matching.");
          while (inTransaction.hasNext() && inOldMaster.hasNext())
            transaction.setAccount(inTransaction.nextInt());     // read account number
            transaction.setAmount(inTransaction.nextDouble());   // read amount
            account.setAccount(inOldMaster.nextInt());     // read account number
            account.setFirstName(inOldMaster.next());      // read first name 
            account.setLastName(inOldMaster.next());       // read last name
            account.setBalance(inOldMaster.nextDouble());  // read balance
            if (transaction.getAccount() == account.getAccount())
              while (inTransaction.hasNext() && transaction.getAccount() == account.getAccount())
                account.combine(transaction);
                outNewMaster.format("%d %s %s %.2f\n",
                account.getAccount(), account.getFirstName(), account.getLastName(),
                account.getBalance());
                transaction.setAccount(inTransaction.nextInt());     // read account number
                transaction.setAmount(inTransaction.nextDouble());   // read amount
            else if (transaction.getAccount() != account.getAccount())
              outNewMaster.format("%d %s %s %.2f\n",
              account.getAccount(), account.getFirstName(), account.getLastName(),
              account.getBalance());         
              theLog.format("%s%d","Unmatched transaction record for account number ",transaction.getAccount());
          } // end while
          System.out.println("Finish file matching.");
        } // end try
        catch (NoSuchElementException elementException)
          System.err.println("File improperly formed.");
          inTransaction.close();
          inOldMaster.close();
          System.exit(1);
        } // end catch
        catch (IllegalStateException stateException)
          System.err.println("Error reading from file.");
          System.exit(1);
        } // end catch   
      } // end method updateRecords
      // close file and terminate application
      public void closeTransFile()
        if (inTransaction != null)
          inTransaction.close();
      } // end method closeTransFile
      // close file and terminate application
      public void closeOldMastFile()
        if (inOldMaster != null)
          inOldMaster.close();
      } // end method closeOldMastFile
      // close file
      public void closeNewMastFile()
        if (outNewMaster != null)
          outNewMaster.close();
      } // end method closeNewMastFile
      // close file
      public void closeLogFile()
        if (theLog != null)
          theLog.close();
      } // end method closeLogFile
    } // end class FileMatch-------------------------------------------------------------------------------------------------
    // Exercise 14.8: FileMatchTest.java
    // Testing class FileMatch
    public class FileMatchTest
       // main method begins program execution
       public static void main( String args[] )
         FileMatch application = new FileMatch();
         application.openTransFile();
         application.openOldMastFile();
         application.openNewMastFile();
         application.openLogFile();
         application.updateRecords();
         application.closeLogFile();
         application.closeNewMastFile();
         application.closeOldMastFile();
         application.closeTransFile();
       } // end main
    } // end class FileMatchTest-------------------------------------------------------------------------------------------------
    Sample data for master file:
    Master file                         
    Account Number            Name                     Balance
    100                            Alan Jones                   348.17
    300                            Mary Smith                    27.19
    500                            Sam Sharp                   0.00
    700                            Suzy Green                   -14.22Sample data for transaction file:
    Transaction file                    Transaction
    Account Number                  Amount
    100                                         27.14
    300                                         62.11
    300                                         83.89
    400                                         100.56
    700                                         80.78
    700                                         1.53
    900                                         82.17  -------------------------------------------------------------------------------------------------
    My FileMatch class program above has bugs in it.
    The correct results for the newmast.txt:
    100  Alan  Jones  375.31
    300  Mary  Smith  173.19
    500  Sam  Sharp  0.00
    700  Suzy Green  68.09The correct results for the log.txt:
    Unmatched transaction record for account number 400Unmatched transaction record for account number 900------------------------------------------------------------------------------------------------
    My results for the newmast.txt:
    100 Alan Jones 375.31
    300 Mary Smith 111.08
    500 Sam Sharp 0.00
    700 Suzy Green -12.69My results for the log.txt
    Unmatched transaction record for account number 700-------------------------------------------------------------------------------------------------
    I am not sure what is wrong with my code above to make my results different from the correct results.
    Much help is appreciated. Please help.

    From the output, it looks like one problem is just formatting -- apparently you're including a newline in log entries and not using tabs for the newmast output file.
    As to why the numbers are off -- just from glancing over it, it appears that the problem is when you add multiple transaction values. Since account.combine() is so simple, I suspect that you're either adding creating transaction objects incorrectly or not creating them when you should be.
    Create test input data that isolates a single case of this (e.g., just the Mary Smith case), and then running your program in a debugger or adding debugging code to the add/combine method, so you can see what's happening in detail.
    Also I'd recommend reconsidering your design. It's a red flag if a class has a name with "Create" in it. Classes represent bundles of independant state and transformations on that state, not things to do.

  • I need help with my EtreCheck report

    Hi All -
    Thanks for taking the time -
    I NEED HELP WITH MY EtreCheck report
    Problem description:
    running slow
    EtreCheck version: 2.1.8 (121)
    Report generated February 19, 2015 at 3:18:49 PM EST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (15-inch, Mid 2012) (Technical Specifications)
        MacBook Pro - model: MacBookPro9,1
        1 2.6 GHz Intel Core i7 CPU: 4-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1600 MHz ok
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 130
    Video Information: ℹ️
        Intel HD Graphics 4000
            Color LCD 1440 x 900
        NVIDIA GeForce GT 650M - VRAM: 1024 MB
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 0:12:52
    Disk Information: ℹ️
        APPLE HDD HTS547575A9E384 disk0 : (750.16 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 748.93 GB (362.64 GB free)
                Core Storage: disk0s2 749.30 GB Online
        MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Computer, Inc. IR Receiver
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /System/Library/Extensions
        [not loaded]    com.AmbrosiaSW.AudioSupport (4.1.2 - SDK 10.6) [Click for support]
        [not loaded]    com.sony.filesystem.prodisc_fs (2.3.0) [Click for support]
        [not loaded]    com.sony.protocol.prodisc (2.3.0) [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.adobe.versioncueCS3.plist [Click for support]
        [loaded]    com.ambrosiasw.ambrosiaaudiosupporthelper.daemon.plist [Click for support]
    User Launch Agents: ℹ️
        [failed]    [email protected] [Click for details]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [failed]    com.jdibackup.ZipCloud.autostart.plist [Click for support] [Click for details]
        [loaded]    com.jdibackup.ZipCloud.notify.plist [Click for support]
    User Login Items: ℹ️
        RED Watchdog    Application  (/Applications/REDCINE-X Professional/Utilities/RED Watchdog.app)
        GrowlHelperApp    Application  (/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app)
        GrowlHelperApp    Application  (/Users/[redacted]/Library/PreferencePanes/Growl.prefPane/Contents/Resources/Gr owlHelperApp.app)
        iTunesHelper    UNKNOWN Hidden (missing value)
        QmasterStatusMenu    Application  (/Incompatible Software/Apple Qmaster.prefPane/Contents/Resources/QmasterStatusMenu.app)
        SpyderUtility    Application  (/Applications/Datacolor/Spyder3Elite/Support/SpyderUtility.app)
        Spyder3Utility    Application  (/Applications/Datacolor/Spyder3Elite/Spyder3Utility.app)
        Google Drive    Application  (/Applications/Google Drive.app)
        Google Chrome    Application Hidden (/Applications/Google Chrome.app)
    Internet Plug-ins: ℹ️
        JavaAppletPlugin: Version: 15.0.0 - SDK 10.10 Check version
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        AdobePDFViewer: Version: 8.1.0 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
        iPhotoPhotocast: Version: 7.0
    User internet Plug-ins: ℹ️
        Google Earth Web Plug-in: Version: 7.0 [Click for support]
    Audio Plug-ins: ℹ️
        DVCPROHDAudio: Version: 1.3.2
    3rd Party Preference Panes: ℹ️
        Adobe Version Cue CS3  [Click for support]
        Flash Player  [Click for support]
        Growl  [Click for support]
        REDcode  [Click for support]
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
            10%    mds
             5%    WindowServer
             0%    Google Drive
             0%    Google Chrome
             0%    fontd
    Top Processes by Memory: ℹ️
        172 MB    Google Chrome
        155 MB    mds_stores
        155 MB    Mail
        103 MB    Google Chrome Helper
        94 MB    Google Drive
    Virtual Memory Information: ℹ️
        4.52 GB    Free RAM
        2.72 GB    Active RAM
        451 MB    Inactive RAM
        895 MB    Wired RAM
        1.30 GB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Feb 19, 2015, 03:03:40 PM    Self test - passed

    Why Put it off I say ... Here you go Linc
    Start time: 12:05:29 02/20/15
    Revision: 1250
    Model Identifier: MacBookPro9,1
    System Version: OS X 10.10.2 (14C109)
    Kernel Version: Darwin 14.1.0
    Time since boot: 2:42
    UID: 504
    I/O wait time (ms/s)
        kernel_task (UID 0): 39
    Font issues: 263
    Trust settings: admin 4, user 4
    TCP/IP
        Subnet mask: 255.255.252.0
    Listeners
        cupsd: ipp
        nfsd: 1023
        rpc.lockd: 1017
        rpc.rquotad: garcon
        rpc.statd: exp1
        rpcbind: sunrpc
    System caches/logs
        3319 MB: /System/Library/Caches/com.apple.coresymbolicationd/data
    Diagnostic reports
        2015-02-02 Mail crash
        2015-02-04 Spyder3Utility crash
        2015-02-20 Acrobat hang x3
        2015-02-20 Final Cut Pro crash x2
    HID errors: 22
    Kernel log
        Feb 20 10:20:53 Google Chrome He (map: 0xffffff801e1b7c30) triggered DYLD shared region unnest for map: 0xffffff801e1b7c30, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 10:31:10 ARPT: 3921.321063: MacAuthEvent en1   Auth result for: 00:19:92:35:03:01 Auth request tx failed
        Feb 20 10:41:10 Google Chrome He (map: 0xffffff801e116870) triggered DYLD shared region unnest for map: 0xffffff801e116870, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 10:41:14 Google Chrome He (map: 0xffffff802265ee10) triggered DYLD shared region unnest for map: 0xffffff802265ee10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 10:41:30 Google Chrome He (map: 0xffffff802265ee10) triggered DYLD shared region unnest for map: 0xffffff802265ee10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:20:59 Google Chrome (map: 0xffffff801e116870) triggered DYLD shared region unnest for map: 0xffffff801e116870, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:20:59 Google Chrome He (map: 0xffffff802b72a960) triggered DYLD shared region unnest for map: 0xffffff802b72a960, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:20:59 Google Chrome He (map: 0xffffff802b72a3c0) triggered DYLD shared region unnest for map: 0xffffff802b72a3c0, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:20:59 Google Chrome He (map: 0xffffff8023819f00) triggered DYLD shared region unnest for map: 0xffffff8023819f00, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:21:01 Google Chrome He (map: 0xffffff802cdb0e10) triggered DYLD shared region unnest for map: 0xffffff802cdb0e10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:21:01 Google Chrome He (map: 0xffffff8022da2e10) triggered DYLD shared region unnest for map: 0xffffff8022da2e10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:21:01 Google Chrome He (map: 0xffffff8023819b40) triggered DYLD shared region unnest for map: 0xffffff8023819b40, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:30:46 Sandbox: fontworker(1439) deny file-read-data /Library/Fonts/MyriadPro-LightCond.otf
        Feb 20 11:30:46 Sandbox: fontworker(1439) deny file-read-data /Library/Fonts/MyriadPro-LightCondIt.otf
        Feb 20 11:49:11 Google Chrome (map: 0xffffff802b72a2d0) triggered DYLD shared region unnest for map: 0xffffff802b72a2d0, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:49:11 Google Chrome He (map: 0xffffff802cdb0780) triggered DYLD shared region unnest for map: 0xffffff802cdb0780, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63e10) triggered DYLD shared region unnest for map: 0xffffff8022a63e10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63c30) triggered DYLD shared region unnest for map: 0xffffff8022a63c30, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:49:11 Google Chrome He (map: 0xffffff802cdb05a0) triggered DYLD shared region unnest for map: 0xffffff802cdb05a0, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63f00) triggered DYLD shared region unnest for map: 0xffffff8022a63f00, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63690) triggered DYLD shared region unnest for map: 0xffffff8022a63690, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:59:29 Sandbox: fontworker(1671) deny file-read-data /Library/Fonts/MyriadPro-LightCond.otf
        Feb 20 11:59:29 Sandbox: fontworker(1671) deny file-read-data /Library/Fonts/MyriadPro-LightCondIt.otf
        Feb 20 12:08:01 ARPT: 8890.600067: MacAuthEvent en1   Auth result for: 00:19:92:35:7d:e1 Auth request tx failed
        Feb 20 12:08:01 ARPT: 8890.950534: MacAuthEvent en1   Auth result for: 00:19:92:35:03:01 Auth timed out
    System log
        Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
        Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
        Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
        Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
        Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
        Feb 20 11:25:05 airportd: _handleLinkEvent: WiFi is not powered. Resetting state variables.
        Feb 20 11:28:01 WindowServer: WSGetSurfaceInWindow Invalid surface 489574406 for window 1303
        Feb 20 11:28:01 WindowServer: WSGetSurfaceInWindow Invalid surface 489574406 for window 1303
        Feb 20 11:28:01 WindowServer: WSGetSurfaceInWindow Invalid surface 489574406 for window 1303
        Feb 20 11:28:49 WindowServer: WSBindSurface Invalid surface 723885656 for window 1311
        Feb 20 11:29:13 fseventsd: event logs in /Volumes/WDA_1T/.fseventsd out of sync with volume.  destroying old logs. (461 2 59825)
        Feb 20 11:29:13 fseventsd: log dir: /Volumes/WDA_1T/.fseventsd getting new uuid: UUID
        Feb 20 11:30:16 bird: Assertion failed: ![_xpcClients containsObject:client]
        Feb 20 11:30:16 bird: Assertion failed: ![_xpcClients containsObject:client]
        Feb 20 11:32:32 bird: Assertion failed: ![_xpcClients containsObject:client]
        Feb 20 11:32:32 bird: Assertion failed: ![_xpcClients containsObject:client]
        Feb 20 11:32:32 bird: Assertion failed: ![_xpcClients containsObject:client]
        Feb 20 11:36:11 WindowServer: _CGXSetWindowHasKeyAppearance: Operation on a window 0x18 requiring rights kCGSWindowRightOwner by caller Dashboard
        Feb 20 11:36:11 WindowServer: _CGXSetWindowHasMainAppearance: Operation on a window 0x18 requiring rights kCGSWindowRightOwner by caller Dashboard
        Feb 20 11:41:24 apsd: Failed entitlement check 'com.apple.private.aps-connection-initiate' for ManagedClientAgent[1532]
        Feb 20 11:43:40 Mail: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Feb 20 11:43:40 Mail: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Feb 20 12:01:17 WindowServer: WSGetSurfaceInWindow Invalid surface 710322265 for window 1327
        Feb 20 12:04:39 fseventsd: implementation_removed_client: did not find client 0x7f9eec210660 for path = '/.docid'
        Feb 20 12:11:28 apsd: Failed entitlement check 'com.apple.private.aps-connection-initiate' for ManagedClientAgent[2262]
    Console log
        Feb 15 12:07:08 ReportCrash: Invoking spindump for pid=644 wakeups_rate=158 duration=285 because of excessive wakeups
        Feb 15 12:55:36 ReportCrash: Invoking spindump for pid=754 wakeups_rate=200 duration=225 because of excessive wakeups
        Feb 15 13:59:55 ReportCrash: Invoking spindump for pid=913 wakeups_rate=186 duration=242 because of excessive wakeups
        Feb 15 16:54:59 ReportCrash: Invoking spindump for pid=964 wakeups_rate=188 duration=240 because of excessive wakeups
        Feb 16 10:35:10 ReportCrash: Invoking spindump for pid=1059 wakeups_rate=337 duration=134 because of excessive wakeups
        Feb 16 10:51:21 ReportCrash: Invoking spindump for pid=1080 wakeups_rate=161 duration=280 because of excessive wakeups
        Feb 16 11:59:13 ReportCrash: Invoking spindump for pid=1168 wakeups_rate=243 duration=186 because of excessive wakeups
        Feb 16 12:02:57 ReportCrash: Invoking spindump for pid=1175 wakeups_rate=382 duration=118 because of excessive wakeups
        Feb 16 13:07:53 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.ic.searchinstaller/Cache.db is NOT valid.  Unable to determine schema version.
        Feb 16 13:07:53 nsurlstoraged: ERROR: unable to determine file-system usage for FS-backed cache at /Users/USER/Library/Caches/com.ic.searchinstaller/fsCachedData. Errno=13
        Feb 16 13:22:31 ReportCrash: Invoking spindump for pid=2237 wakeups_rate=326 duration=139 because of excessive wakeups
        Feb 16 14:17:37 ReportCrash: Invoking spindump for pid=2420 wakeups_rate=228 duration=198 because of excessive wakeups
        Feb 16 14:33:29 ReportCrash: Invoking spindump for pid=2438 wakeups_rate=240 duration=188 because of excessive wakeups
        Feb 16 14:46:36 ReportCrash: Invoking spindump for pid=2454 wakeups_rate=305 duration=148 because of excessive wakeups
        Feb 17 12:58:26 ReportCrash: Invoking spindump for pid=2894 wakeups_rate=689 duration=66 because of excessive wakeups
        Feb 17 13:13:41 ReportCrash: Invoking spindump for pid=2914 wakeups_rate=487 duration=93 because of excessive wakeups
        Feb 17 16:54:57 ReportCrash: Invoking spindump for pid=1965 wakeups_rate=162 duration=278 because of excessive wakeups
        Feb 18 13:50:58 ReportCrash: Invoking spindump for pid=3869 wakeups_rate=160 duration=282 because of excessive wakeups
        Feb 19 08:17:10 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid.  Unable to determine schema version.
        Feb 19 14:59:30 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid.  Unable to determine schema version.
        Feb 19 15:04:57 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid.  Unable to determine schema version.
        Feb 19 15:18:06 osascript: Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types:  dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found.  Did find:
        /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
        Feb 19 16:50:23 ReportCrash: Invoking spindump for pid=3308 wakeups_rate=189 duration=239 because of excessive wakeups
        Feb 20 09:24:49 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid.  Unable to determine schema version.
    Daemons
        com.adobe.fpsaud
        com.adobe.versioncueCS3
        com.ambrosiasw.ambrosiaaudiosupporthelper.daemon
        com.apple.watchdogd
    Agents
        [email protected]
        - status: 78
        com.apple.Finder
        - status: -15
        com.google.keystone.user.agent
        com.jdibackup.ZipCloud.autostart
        - status: 1
        com.jdibackup.ZipCloud.notify
        - status: 1
    User login items
        RED Watchdog
        - /Applications/REDCINE-X Professional/Utilities/RED Watchdog.app
        GrowlHelperApp
        - /Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app
        GrowlHelperApp
        - /Users/USER/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelp erApp.app
        iTunesHelper
        - missing value
        QmasterStatusMenu
        - /Incompatible Software/Apple Qmaster.prefPane/Contents/Resources/QmasterStatusMenu.app
        SpyderUtility
        - /Applications/Datacolor/Spyder3Elite/Support/SpyderUtility.app
        Spyder3Utility
        - /Applications/Datacolor/Spyder3Elite/Spyder3Utility.app
        Google Drive
        - /Applications/Google Drive.app
        Google Chrome
        - /Applications/Google Chrome.app
    Firefox extensions
        Live PageRank
        Web Developer
        Exif Viewer
    iCloud errors
        bird 418
        cloudd 65
    Continuity errors
        sharingd 21
    Restricted files: 335
    Lockfiles: 48
    Contents of /Library/LaunchDaemons/com.adobe.versioncueCS3.plist
        - mod date: Oct 20 14:05:00 2009
        - checksum: 714202969
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>GroupName</key>
        <string>wheel</string>
        <key>Label</key>
        <string>com.adobe.versioncueCS3</string>
        <key>OnDemand</key>
        <true/>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/Adobe/Adobe Version Cue CS3/Server/bin/VersionCueCS3d</string>
        </array>
        <key>RunAtLoad</key>
        <false/>
        <key>ServiceDescription</key>
        <string>Adobe Version Cue CS3</string>
        <key>UserName</key>
        <string>root</string>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.ambrosiasw.ambrosiaaudiosupporthelper.daemon.plist
        - mod date: Dec 21 11:32:33 2012
        - checksum: 1980407752
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.ambrosiasw.ambrosiaaudiosupporthelper.daemon</string>
        <key>ProgramArguments</key>
        <array>
        <string>/System/Library/Extensions/AmbrosiaAudioSupport.kext/Contents/MacOS/amb rosiaaudiosupporthelper</string>
        </array>
        <key>KeepAlive</key>
        <false/>
        <key>Disabled</key>
        <false/>
        <key>LaunchEvents</key>
        <dict>
        <key>com.apple.iokit.matching</key>
        <dict>
        <key>AmbrosiaAudioSupport</key>
        <dict>
        <key>IOMatchLaunchStream</key>
        <true/>
        <key>IOProviderClass</key>
        <string>com_AmbrosiaSW_AudioSupport</string>
        </dict>
        ...and 4 more line(s)
    Contents of /Library/LaunchDaemons/com.apple.qmaster.qmasterd.plist
        - mod date: Aug 25 21:24:23 2010
        - checksum: 681742547
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.apple.qmaster.qmasterd</string>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/sbin/qmasterd</string>
        </array>
        <key>OnDemand</key>
        <false/>
        </dict>
        </plist>
    Contents of /private/etc/hosts
        - mod date: Sep 20 11:46:00 2013
        - checksum: 1921340845
        127.0.0.1 localhost
        255.255.255.255 broadcasthost
        ::1             localhost
        fe80::1%lo0 localhost
    Contents of Library/LaunchAgents/[email protected]
        - mod date: Sep 15 12:18:45 2009
        - checksum: 2526625188
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>KeepAlive</key>
        <false/>
        <key>Label</key>
        <string>[email protected]</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>LowPriorityIO</key>
        <true/>
        <key>Nice</key>
        <integer>10</integer>
        <key>ProgramArguments</key>
        <array>
        <string>/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices .framework/Versions/A/Support/CSConfigDotMacCert</string>
        <string>-l</string>
        <string>/Users/USER/Library/Logs/[email protected]</string>
        <string>-u</string>
        <string>@me.com</string>
        <string>-t</string>
        <string>SharedServices</string>
        <string>-s</string>
        </array>
        ...and 4 more line(s)
    Contents of Library/LaunchAgents/com.google.keystone.agent.plist
        - mod date: Nov 28 13:56:29 2014
        - checksum: 3826001454
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.google.keystone.user.agent</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>ProgramArguments</key>
        <array>
         <string>/Users/USER/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bu ndle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/MacOS/GoogleSoftw areUpdateAgent</string>
         <string>-runMode</string>
         <string>ifneeded</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StartInterval</key>
        <integer>3523</integer>
        <key>StandardErrorPath</key>
        <string>/dev/null</string>
        <key>StandardOutPath</key>
        <string>/dev/null</string>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.jdibackup.ZipCloud.autostart.plist
        - mod date: Feb 19 15:00:08 2015
        - checksum: 2356528749
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
            <key>Label</key>
            <string>com.jdibackup.ZipCloud.autostart</string>
            <key>ProgramArguments</key>
            <array>
                <string>open</string>
                <string>/Applications/ZipCloud.app/Contents/Resources/Utility.app</string>
                <string>-n</string>
                <string>--args</string>
                <string>9</string>
                <string>-l</string>
            </array>
            <key>StandardOutPath</key>
            <string>/Users/USER/Library/Logs/ZipCloud/lagent_out.log</string>
            <key>StandardErrorPath</key>
            <string>/Users/USER/Library/Logs/ZipCloud/lagent_err.log</string>
            <key>RunAtLoad</key>
            <true/>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.jdibackup.ZipCloud.notify.plist
        - mod date: Feb 19 15:00:08 2015
        - checksum: 1841511774
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
            <key>Label</key>
            <string>com.jdibackup.ZipCloud.notify</string>
            <key>ProgramArguments</key>
            <array>
                <string>open</string>
                <string>/Applications/ZipCloud.app/Contents/Resources/Utility.app</string>
                <string>--args</string>
                <string>7</string>
                <string>1</string>
            </array>
            <key>StandardOutPath</key>
            <string>/Users/USER/Library/Logs/ZipCloud/lagent_out.log</string>
            <key>StandardErrorPath</key>
            <string>/Users/USER/Library/Logs/ZipCloud/lagent_err.log</string>
            <key>StartInterval</key>
            <integer>1200</integer>
            <key>RunAtLoad</key>
            <false/>
        </dict>
        </plist>
    Extensions
        /System/Library/Extensions/AmbrosiaAudioSupport.kext
        - com.AmbrosiaSW.AudioSupport
        /System/Library/Extensions/FAMProtocol.kext
        - com.sony.protocol.prodisc
        /System/Library/Extensions/JMicronATA.kext
        - com.jmicron.JMicronATA
        /System/Library/Extensions/prodisc_fs.kext
        - com.sony.filesystem.prodisc_fs
    Applications
        /Applications/Adobe Acrobat 8 Professional/Acrobat Distiller.app
        - com.adobe.distiller
        /Applications/Adobe Acrobat 8 Professional/Acrobat Uninstaller.app
        - com.adobe.Acrobat.Uninstaller
        /Applications/Adobe Acrobat 8 Professional/Adobe Acrobat Professional.app
        - com.adobe.Acrobat.Pro
        /Applications/Adobe Bridge CS3/Bridge CS3.app
        - com.adobe.bridge2
        /Applications/Adobe Device Central CS3/Device Central.app
        - com.adobe.devicecentral.application
        /Applications/Adobe Dreamweaver CS3/Dreamweaver.app
        - com.adobe.dreamweaver-9.0
        /Applications/Adobe Extension Manager/Extension Manager.app
        - com.adobe.ExtensionManager
        /Applications/Adobe Fireworks CS3/Adobe Fireworks CS3.app
        - com.macromedia.fireworks
        /Applications/Adobe Flash CS3 Video Encoder/Adobe Flash CS3 Video Encoder.app
        - com.macromedia.FLVEncoder
        /Applications/Adobe Flash CS3/Adobe Flash CS3.app
        - com.adobe.flash-9.0-en_us
        /Applications/Adobe Flash CS3/Players/Debug/Flash Player.app
        - com.macromedia.Flash Player.app
        /Applications/Adobe Flash CS3/Players/Debug/Install Flash Player 9 UB.app
        - com.MindVision.VISEX
        /Applications/Adobe Flash CS3/Players/Flash Player.app
        - com.macromedia.Flash Player.app
        /Applications/Adobe Flash CS3/Players/Release/Flash Player.app
        - com.macromedia.Flash Player.app
        /Applications/Adobe Flash CS3/Players/Release/Install Flash Player 9 UB.app
        - com.MindVision.VISEX
        /Applications/Adobe Help Viewer 1.0.app
        - com.adobe.Adobe Help Viewer
        /Applications/Adobe Help Viewer 1.1.app
        - com.adobe.Adobe Help Viewer
        /Applications/Adobe Illustrator CS3/Adobe Illustrator.app
        - com.adobe.illustrator
        /Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Analyze Documents.localized/Analyze Documents.app
        - N/A
        /Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Calendar.localized/Make Calendar.app
        - N/A
        /Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Collect for Output.localized/Collect for Output.app
        - N/A
        /Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Contact Sheet Demo.localized/Contact Sheets.app
        - N/A
        /Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Export Flash Animation.localized/Export Flash Animation.app
        - N/A
        /Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Web Gallery.localized/Web Gallery.app
        - N/A
        /Applications/Adobe Photoshop CS3/Adobe Photoshop CS3.app
        - com.adobe.Photoshop
        /Applications/Adobe Premiere Pro CS3/Adobe Premiere Pro CS3.app
        - com.adobe.AdobePremierePro
        /Applications/Adobe Stock Photos CS3/Adobe Stock Photos CS3.app
        - com.adobe.stockphotos-1.5
        /Applications/Audacity/Audacity.app
        - net.sourceforge.audacity
        /Applications/Beak.app
        - com.flyosity.beak
        /Applications/Buzzbird.app
        - org.buzzbird.buzzbird
        /Applications/Celtx.app
        - ca.greyfirst.celtx
        /Applications/Datacolor/Spyder3Elite/Spyder3Elite.app
        - com.datacolor.spyder3elite
        /Applications/Datacolor/Spyder3Elite/Spyder3Utility.app
        - com.datacolor.spyder3utility
        /Applications/Datacolor/Spyder3Elite/Support/SpyderUtility.app
        - com.datacolor.spyderutility
        /Applications/Disk Inventory X.app
        - com.derlien.DiskInventoryX
        /Applications/Epson Software/Print CD/Print CD.app
        - jp.co.epson.PrintCD2
        /Applications/FileZilla.app
        - de.filezilla
        /Applications/FlashVideo Converter.app
        - com.geovid.
        /Applications/Gorilla Folder/Gorilla Program 4.0.0/Gorilla 4.0.0
        - N/A
        /Applications/HandBrake.app
        - org.m0k.handbrake
        /Applications/Levelator.app
        - org.conversationsnetwork.levelator
        /Applications/OpenOffice.org.app
        - org.openoffice.script
        /Applications/RecBoot.app
        - com.lepidu.RecBoot
        /Applications/Smultron.app
        - org.smultron.Smultron
        /Applications/TouchCopy.app
        - N/A
        /Applications/Uninstall MM Scheduling/Uninstall MM Scheduling.app
        - N/A
        /Applications/Utilities/Adobe Utilities.localized/Adobe Updater5/Adobe Updater.app
        - "com.Adobe.ESD.AdobeUpdaterApplication"
        /Applications/Utilities/Adobe Utilities.localized/ExtendScript Toolkit 2/ExtendScript Toolkit 2.app
        - com.adobe.estoolkit-2.0
        /Applications/Utilities/Bluetooth Firmware Update.app
        - com.apple.updaters.btfirmwareupdate201
        /Applications/Utilities/FAM Driver Tool.app
        - com.sony.famdrivertool
        /Applications/VLC.app
        - org.videolan.vlc
        /Applications/XDCAM Transfer.app
        - com.sony.bprl.xdcamtransfer
        /Applications/YouSendIt Desktop App.app
        - com.yousendit.YouSendIt
        /Applications/YouSendIt.app
        - com.yousendit.YouSendItExpress
        /Applications/gedit.app
        - org.gnome.gedit
        /Applications/iWork '08/Keynote.app
        - com.apple.iWork.Keynote
        /Applications/iWork '08/Numbers.app
        - com.apple.iWork.Numbers
        /Applications/iWork '08/Pages.app
        - com.apple.iWork.Pages
        /Developer/Applications/Utilities/MacPython 2.5/Build Applet.app
        - org.python.buildapplet
        /Developer/Applications/Utilities/Python 2.6/Build Applet.app
        - org.python.buildapplet
        /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Li brary/CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Li brary/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Li brary/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0/Symbols/System/Library /CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0/Symbols/System/Library /CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2/Symbols/System/Libra ry/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.3/Symbols/System/Libra ry/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.3/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1/Symbols/System/Library /CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1/Symbols/System/Library /CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.1/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.1/Symbols/System/Libra ry/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.1/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.2/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.2/Symbols/System/Libra ry/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.2/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2/Symbols/System/Library /CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2/Symbols/System/Library /CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2/Symbols/System/Library /CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.1/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.1/Symbols/System/Libra ry/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.1/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.2/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.2/Symbols/System/Libra ry/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.2/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/System/Library /CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/System/Library /CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/System/Library /CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.1/Symbols/System/Library /CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.1/Symbols/System/Library /CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.1/Symbols/System/Library /CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/MobileAddressBook.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/MobileSafari.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/MobileSlideShow.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/Preferences.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/Web.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/System/Library/CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/System/Library/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/System/Library/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/AdSheet.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Contacts.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Game Center.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/MobileSafari.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/MobileSlideShow.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Preferences.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/TrustMe.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Web.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/WebSheet.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/iPodOut.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/System/Library/CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/System/Library/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/System/Library/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/AdSheet.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Contacts.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Game Center~iphone.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/MobileSafari.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/MobileSlideShow.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Preferences.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/TrustMe.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Web.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/WebSheet.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/iPodOut.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/System/Library/CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/System/Library/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/System/Library/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/AdSheet.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/AdSheet~ipad.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Camera.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Contacts~ipad.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Contacts~iphone.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/DataActivation.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Game Center~ipad.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Game Center~iphone.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/MobileSafari.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/MobileSlideShow.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Preferences.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/TrustMe.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Web.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/WebSheet.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/iPodOut.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/System/Library/CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/System/Library/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/System/Library/CoreServices/VoiceOverTouch.app
        - N/A
        /Library/Application Support/Adobe/Adobe Asset Services CS3/AssetServicesCS3.app
        - com.adobe.assetServicesCS3
        /Library/Application Support/Adobe/Adobe Version Cue CS3/Server/bin/VersionCueCS3.app
        - com.adobe.versioncueCS3.VersionCueCS3
        /Library/Application Support/Adobe/Adobe Version Cue CS3/Server/bin/VersionCueCS3Status.app
        - com.adobe.versioncueCS3.VCStatusMenu
        /Library/Application Support/Adobe/Installers/UUID/Setup.app
        - com.adobe.Installers.Redirector
        /Library/Application Support/Adobe/Installers/R1/Setup.app
        - com.adobe.Installers.Setup
        /Library/Application Support/Intuit/QuickBooks/2007/JHandShake.app
        - com.intuit.JHandShake
        /Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
        - com.microsoft.silverlight.sllauncher
        /Library/Application Support/ProApps/MIO/RAD/Plugins/ReadMe(Image Handling Library).app
        - jp.co.canon.DocumentLauncher
        /Library/Application Support/iWork '08/iWork Tour.app
        - com.apple.iWorkTour
        /Library/Documentation/User Guides And Information.localized/Apple Hardware Test Read Me.app
        - com.apple.AppleHardwareTestReadMe
        /Library/Printers/EPSON/InkjetPrinter/AutoSetupTool/EPIJAutoSetupTool.app
        - com.epson.ijprinter.EPIJAutoSetupTool
        /Library/Printers/EPSON/InkjetPrinter/Filter/rastertoescp.app
        - com.epson.ijprinter.rastertoescp
        /Library/Printers/EPSON/InkjetPrinter/Utilities/EPSON Printer Utility3.app
        - com.epson.ijprinter.Utility3
        /Library/Printers/hp/Fax/fax.backend
        - com.hp.fax
        /Library/Printers/hp/Fax/rastertofax.filter
        - com.hp.rastertofax
        /Library/Printers/hp/cups/filters/pdftopdf.filter
        - com.hp.print.cups.filter.pdftopdf
        /Users/USER/Documents/iPhone Apps/Archivers/build/Debug-iphonesimulator/Archivers.app
        - N/A
        /Users/USER/Documents/iPhone Apps/Archivers_test/build/Debug-iphonesimulator/Archivers.app
        - N/A
        /Users/USER/Documents/iPhone Apps/DateCell/build/Debug-iphonesimulator/DateCell.app
        - N/A
        /Users/USER/Documents/iPhone Apps/EasyCustomTable/build/Debug-iphonesimulator/EasyCustomTable.app
        - N/A
        /Users/USER/Documents/iPhone Apps/Grids/build/Debug-iphonesimulator/Grids.app
        - N/A
        /Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Debug-iphoneos/Metalsmith Suite.app
        - N/A
        /Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Debug-iphonesimulator/Metalsmith Suite.app
        - N/A
        /Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Debug/Metalsmith Suite.app
        - com.yourcompany.Metalsmith-Suite
        /Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Distrobution-iphoneos/Metalsmith Suite.app
        - N/A
        /Users/USER/Documents/iPhone Apps/Scrolling/build/Debug-iphonesimulator/Scrolling.app
        - N/A
        /Users/USER/Documents/iPhone Apps/UICatalog/build/Debug-iphonesimulator/UICatalog.app
        - N/A
        /Users/USER/Documents/iPhone Apps/WebViewTutorial/build/Debug-iphonesimulator/WebViewTutorial.app
        - N/A
        /Users/USER/Documents/iPhone Apps/XML/build/Debug-iphonesimulator/XML.app
        - N/A
        /Users/USER/Documents/sites/nvrslp.com/dev/the_lab/ns_resize
        - N/A
        /Users/USER/Documents/sites/zoomify/Zoomifyer EZ v3.1/Zoomifyer EZ.app
        - N/A
        /Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_apdfllckaahabafndbhieahigkjlhalf/Default apdfllckaahabafndbhieahigkjlhalf.app
        - com.google.Chrome.app.Default-apdfllckaahabafndbhieahigkjlhalf-internal
        /Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_bepbmhgboaologfdajaanbcjmnhjmhfn/Default bepbmhgboaologfdajaanbcjmnhjmhfn.app
        - com.google.Chrome.app.Default-bepbmhgboaologfdajaanbcjmnhjmhfn-internal
        /Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_blpebaehgfgkcmmjjknibibbjacnplim/Default blpebaehgfgkcmmjjknibibbjacnplim.app
        - com.google.Chrome.app.Default-blpebaehgfgkcmmjjknibibbjacnplim-internal
        /Users/USER/Library/Application Support/iPhone Simulator/3.1.2/Applications/UUID/Metalsmith Suite.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/Metalsmith Suite.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/Metalsmith Suite.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/UICatalog.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/WebViewTutorial.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/Archivers.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/AnimatedGifExample.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/3.2/Applications/UUID/Metalsmith Suite.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/4.2/Applications/UUID/Spinspiration.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Metalsmith Suite.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/XML.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/DateCell.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/UICatalog.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Metalsmith Suite.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Scrolling.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Autoscroll.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Grids.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/TapToZoom.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/EasyCustomTable.app
        - N/A
        /Users/USER/Library/Preferences/Macromedia/Flash Player/www.macromedia.com/bin/octoshape/octoshape
        - N/A
    Frameworks
        /Library/Frameworks/REDCODE.Color.framework
        - com.red.redcode.color
        /Users/USER/Library/Frameworks/EWSMac-GC.framework
        - com.eSellerate.EWSMac67108872
    PrefPane
        /Library/PreferencePanes/Flash Player.prefPane
        - com.adobe.flashplayerpreferences
        /Library/PreferencePanes/REDcode.prefPane
        - com.red.prefpanel
        /Library/PreferencePanes/VersionCueCS3.prefPane
        - com.adobe.versioncueCS3.VCPrefPane
        /Users/USER/Library/PreferencePanes/Growl.prefPane
        - com.growl.prefpanel
    Bundles
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/ASEFormat.plugin
        - com.adobe.aseformat
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/BMP.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Cineon.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/EPS Parser.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/GIF.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/JPEG2000.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/OpenEXR.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/PBM.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/PCX.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/PNG.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Pixar.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Radiance.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Targa.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/WBMP.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/altiveccore.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/dicom.plugin
        - com.adobe.dicom
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/mmxcore.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/multiprocessor support.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/ppccore.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Required/Photoshop Adapter.plugin
        - null
        /Library/Application Support/Adobe/Flash Player/Flash Player.plugin
        - com.macromedia.Flash Player.plugin
        /Library/Application Support/Adobe/Plug-Ins/CS3/File Formats/Camera Raw.plugin
        - com.adobe.CameraRaw
        /Library/Frameworks/HPDeviceModel.framework/Versions/2.0/Frameworks/Core.framew ork/Versions/2.0/Resources/PlugIns/CFXmlParser.plugin
        - com.hp.dmf.plugins.CFXmlParser
        /Library/Frameworks/HPDeviceModel.framework/Versions/2.0/Frameworks/Core.framew ork/

  • Need help with accesing variable with xpath.

    Hi All,
    I need help with xpath in "Switch" BPEL construct. Switch is used to compare value assigned to output vairable and follow one path for "Deny" and another for "Approve". The following is data type for output variable.
    <element name="processResponse">
         <complexType>
              <sequence>
                   <element name="result" type="string"/>
              <sequence>
         <complexType>
    </element>
    The following expressions in Switch statement throw lava.lang.Exception. It error is xpath internal error".
    x20:compare('Deny',$outputvariable.payload/client:result)
    x20:compare('Deny',bpws:getVariableData('outputvariable','payload','/client:processResponse/client:result')
    It works with x20:compare('Deny','Deny'). So I assumed it must be accessing the variable.
    Any help greatly appreciated.
    Thanks,
    Satish

    Cany you try the following
    x20:compare('Deny',string($outputvariable.payload/client:result))
    x20:compare('Deny',string(bpws:getVariableData('outputvariable','payload','/client:processResponse/client:result'))
    Regards
    Albin I
    http://www.albinsblog.com/

  • 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

Maybe you are looking for

  • Vendor Bank details for India

    Hello, how do I have to maintain the vendor bank details for an Indian bank? How are the country-specific settings for India in OY17? We have the following informations from our vendor: Bank name Steet City Swift Branch 1. USD A/c 2. EUR A/c Which in

  • I have moved mt PS CC to other screen and can't move back to previous as the top area is hidden how do i get it back?

    I have moved mt PS CC to other screen and can't move back to previous as the top area is hidden how do i get it back?@

  • Cash and Payments based GST reporting

    Hi In Australia and New Zealand some small business have the option of reporting tax (gst) on cash basis.  Meaning its only reported to the tax offices once the invoice is paid and the period its paid in.  This is an option provided by the tax office

  • PSE 8 questions

    I currently have PSE 7 and have been frustrated with the movie playback of HD footage from my point and shoot, the lack of facial recognition that auto tags, and no facebook integration.  I have been toying with switching to Picasa which has all of t

  • Now to configure Non Deductible VAT in SAP

    Dear Friends, I have one specific requirement for non deductible VAT. In this case the VAT amount should be posted to Inventory and credit to VAT payable account to create the liability. We have created the separate tax code and assigned with NVV wit