Issue with ODI 11g and Fixed width files

Hi to everyone,
i've got a problem with a flat file with fixed length fields. I delcared all correctly(it seems) and in the data preview i see the correct data, unfortunatly when i lounch my interface execution i receive an error telling that the dimension of the last filed is more than the declared one. It looks like he is not able to understand the end of the record that is the normale "0D0A".
And i have also another question, anyone knows why inside my ODI Desiner i see always the same file also if i try to change the data inside? Is it a problem of release or some bug? Have i forgot to configure something in some place?
Thank you in advance.
B.

Yes AyushGaneriwal,
the problem was non printable characters in the last field of 2000 character arriving from Mainframe download, now i asked for a clean file and is working good.
Thank you.
B.

Similar Messages

  • Issue with having to declare fixed width for my top level floated LI in horizontal menu

    Hi and thanks for taking a look at my problem:
    I am having trouble getting my sub menus to display correctly in IE.
    Originally i didn't declare a fixed width for my top level li and it displayed perfectly in all browsers except IE.
    If i don't declare a fixed width for my floated floated elements, IE treates the top level li as the same width as the ul they contain (which I don't want). So I declared a width for the ul.MenuBarHorizontal li to be 80px, which is close to the minimum width that i want to use for the top level list items. However, in actual fact, the top level list items all have individually declared widths in the classes they are assigned.
    How can i re-write the html or CSS so that the browser, mainly IE, reads the correct widths for the top level ist li??
    Here is a link to the page with the problem
    Thanks in advance if anyone can help me out.

    Hi Beth,
    thanks so much for your repsonse.
    I will take your notes and advice and see if i can apply it to the actual page i was referring to. It seems you were now looking at a completely different page with a different (albeit spry) horizontal menu.
    Again, i truly appreciate your time and advice.
    Thanks!

  • Issue with PDF links and opened Adobe files

    I have tested and IE 8 opens correct links inside PDF's.
    When I open link in Mozilla or Chrome it will not work.
    Is this related to Adobe Plugin which is installed inside Add-ons?
    Strange is that link inside PDF shows the following link:resource://pdf.js/web/
    After checking support issues there was quoted in the past:
    The current Firefox 27 beta release still doesn't show the links properly using version 0.8.641, but the current Aurora 28.0a2 build does show the links to the Appendices properly using version 0.8.759.
    So that would mean that when Firefox 28 gets released in March it will work for users with this Firefox version.

    This is likely a problem with the way those links are coded in the PDF file, so the file may have to be saved again using different settings to make it work with PDF Viewers other than the Adobe Reader.

  • HT201442 I am got error while trying to restore,, but i just only error file with 3194. I try many step by install lastest version and fix host file, but still fail. Anybody can give me any key point to solve this problem? Thank you

    I am got error while trying to restore,, but i just only error file with 3194. I try many step by install lastest version and fix host file, but still fail. Anybody can give me any key point to solve this problem? Thank you

    Error 3194:
    This device isn't eligible for the requested build
    It means that Apple has stopped signing the version of iOS that you have, try downloading the latest iOS version, then try Restore again.

  • I am having an installation failure issue with my itunes 11 software.  File is corrupted and i don't know what to do.  I've un-install and re-installed the software three times and continue to get the same error message.  It states that "This copy of ITun

    I am having an installation failure issue with my itunes 11 software.  File is corrupted and i don't know what to do.  I've un-install and re-installed the software three times and continue to get the same error message.  It states that "This copy of ITunes is corrupted or is not installed correctly.  Please reinstall Itunes"
    iMac, iOS 6

    HI,
    If your old version of iTunes is still working - then I sugest you stick with that.
    iTunes 11 is a lousy update - It will not retain your playlists, you can't find and delete duplicates... and a whole arry of oyher issues. (have a look around this forum to see how many issues IT11 gives people)
    Just a friendly advise and warning :-)

  • Is there a Yosemite fix on the horizon?  Lots of issues with Adobe CC and even Mac Apps

    What is Apple doing about Yosemite issues with Adobe, MSoft and its own apps?

    We are Apple, so we don't know.
    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback

  • Issues with ODI connection to Hyperion Financial Management

    Hi,
    I am having some issues with ODI connection to Hyperion Financial Management. ODI and Financial management are setup on different machines.
    The ‘Cluster(Data Server)’ name in Topology is given as ‘hfm03cl’. On reverse-engineering a model it gives the following error:
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 38, in ?
    com.hyperion.odi.common.ODIHAppException: Error occurred in driver while connecting to Financial Management application [HFM1] on [hfm03cl] using user-name [admin].
    at com.hyperion.odi.hfm.ODIHFMAppConnection.<init>(ODIHFMAppConnection.java:58)
    When HFM is installed on the same machine, it works fine. How does ODI identify a cluster on a different machine? Do I have to give the machine name along with the cluster name? If so, what is the format?
    Thanks,
    Su

    You will need to have the HFM client installed on any machine that will be running ODI (i.e. Designer or Agent) that will be executing connections to an HFM server.
    Once you have the HFM client installed, see if you can actually connect to HFM from that machine using the HFM client.
    Couple of other thing, in the Physical Schema, have you set the Application Catalog and Work Catalog to the same HFM application?
    Also, when you are reversing, are you using the local agent or one you have installed using agentservice?
    geeo

  • Issue with Information broadcasting and pre-cal server in SAP BI

    Hi Experts,
    I have issue with information Broadcasting and Pre-cal server. I have a worrkbook whcih runs from information broadcasting in pre-cal server. Workbook is desinged on single query and workbook contains visual basic code. workbook has a variable which is controlled by Control query in information broadcasting.
    I have 20 employees every month I need to send workbook via e-mail from information broadcasting.  The problem is sometimes all 20 employees will recieve e-mails and sometimes not. I identified there is something wrong in workbook or in pre-cal server.
    because after workbook calculation in pre-cal server is not pushing to SOST so there is something wrong in workbook or in pre-cal server.
    I closely observed pre-cal server front end log. There are few operations performing on workbook in pre-cal server
    like Open workbook, Calculate workbook, Save woorkbook and close workbook. In success case pre-cal sever is performing all the operations but in failure case pre-cal server is missing Close workbook case.
    Below log In pulled from pre-cal server
    Can you please tell what could be the problem.
    Successful job
    3/11/2011 9:29:46 AM (3) -> RS_PREC_LAUNCH_EXCEL i nvoked in thread 3 and job 'BIBCAST4L4EIS7TOR5BWG0
    2PCUG9ZPPP'. nvoked in thread 3 and job 'BIBCAST4L4EIS7TOR5BWG0
    3/11/2011 9:29:46 AM (3) -> InitConnection in thre ad 3
    3/11/2011 9:29:46 AM (3) -> Trying to open "C:\Pro gram Files\Common Files\SAP Shared\BW\BExAnalyzer.
    xla" gram Files\Common Files\SAP Shared\BW\BExAnalyzer.
    3/11/2011 9:30:18 AM (4) -> RS_PREC_GET_SERVER_STA TUS invoked.
    3/11/2011 9:30:18 AM (4) -> RS_PREC_GET_SERVER_STA TUS finished
    3/11/2011 9:30:35 AM (3) -> Using Version 7100.4.1 200.35 of BExAnalyzer.xla
    3/11/2011 9:30:35 AM (3) -> PID of Excel process: "2504"
    3/11/2011 9:30:35 AM (3) -> EndOfInitConnection in  thread 3
    3/11/2011 9:30:35 AM (3) -> RS_PREC_LAUNCH_EXCEL f inished
    3/11/2011 9:30:36 AM (0) -> Calculation Request 91 1A35ED029D4D79DD7A000200000000 received for job 'B
    IBCAST4L4EIS7TOR5BWG02PCUG9ZPPP'. 1A35ED029D4D79DD7A000200000000 received for job 'B
    3/11/2011 9:30:52 AM (6) -> RS_PREC_GET_SERVER_STA TUS invoked.
    3/11/2011 9:30:52 AM (6) -> RS_PREC_GET_SERVER_STA TUS finished
    3/11/2011 9:31:22 AM (0) -> Opening workbook: C:\W INDOWS\TEMP\BW\Analyzer\Workbooks\SAPBEXPRECMML4NN
    DVLYAPC2SYIC7F1AAIO_0.xls INDOWS\TEMP\BW\Analyzer\Workbooks\SAPBEXPRECMML4NN
    3/11/2011 9:31:43 AM (0) -> Refresh BExAnalyzer.xl a!MenuRefreshPrecalc returned with 1.
    3/11/2011 9:31:43 AM (0) -> Calculated workbook C: \WINDOWS\TEMP\BW\Analyzer\Workbooks
    SAPBEXPRECMML
    4NNDVLYAPC2SYIC7F1AAIO_0.xls saved. \WINDOWS\TEMP\BW\Analyzer\Workbooks
    SAPBEXPRECMML
    3/11/2011 9:31:43 AM (0) -> Calculated workbook C: \WINDOWS\TEMP\BW\Analyzer\Workbooks
    SAPBEXPRECMML
    4NNDVLYAPC2SYIC7F1AAIO_0.xls closed. \WINDOWS\TEMP\BW\Analyzer\Workbooks
    SAPBEXPRECMML
    3/11/2011 9:31:44 AM (0) -> Excel based operations  finished.
    Failure job
    3/10/2011 10:22:58 AM (1) -> RS_PREC_LAUNCH_EXCEL invoked in thread 1 and job 'BIBCAST4L41566ZBZDN2N
    TGJR0462ZFX'. invoked in thread 1 and job 'BIBCAST4L41566ZBZDN2N
    3/10/2011 10:22:58 AM (1) -> InitConnection in thr ead 1
    3/10/2011 10:22:58 AM (1) -> Trying to open "C:\Pr ogram Files\Common Files\SAP Shared\BW\BExAnalyzer
    .xla" ogram Files\Common Files\SAP Shared\BW\BExAnalyzer
    3/10/2011 10:23:20 AM (3) -> RS_PREC_GET_SERVER_ST ATUS invoked.
    3/10/2011 10:23:20 AM (3) -> RS_PREC_GET_SERVER_ST ATUS finished
    3/10/2011 10:23:44 AM (1) -> Using Version 7100.4. 1200.35 of BExAnalyzer.xla
    3/10/2011 10:23:44 AM (1) -> PID of Excel process:  "2544"
    3/10/2011 10:23:44 AM (1) -> EndOfInitConnection i n thread 1
    3/10/2011 10:23:44 AM (1) -> RS_PREC_LAUNCH_EXCEL finished
    3/10/2011 10:23:44 AM (5) -> Calculation Request 9 11A35ED02654D789871000900000000 received for job '
    BIBCAST4L41566ZBZDN2NTGJR0462ZFX'. 11A35ED02654D789871000900000000 received for job '
    3/10/2011 10:24:27 AM (0) -> RS_PREC_GET_SERVER_ST ATUS invoked.
    3/10/2011 10:24:27 AM (0) -> RS_PREC_GET_SERVER_ST ATUS finished
    3/10/2011 10:24:31 AM (5) -> Opening workbook: C:\ WINDOWS\TEMP\BW\Analyzer\Workbooks\SAPBEXPRECQB2VE
    A8O8D8FBHYCR4HVB5UI8_0.xls WINDOWS\TEMP\BW\Analyzer\Workbooks\SAPBEXPRECQB2VE
    3/10/2011 10:24:52 AM (5) -> Refresh BExAnalyzer.x la!MenuRefreshPrecalc returned with 1.
    3/10/2011 10:24:52 AM (5) -> Calculated workbook C :\WINDOWS\TEMP\BW\Analyzer\Workbooks
    SAPBEXPRECQB
    2VEA8O8D8FBHYCR4HVB5UI8_0.xls saved. :\WINDOWS\TEMP\BW\Analyzer\Workbooks
    SAPBEXPRECQB
    Thanks in advance
    Narendra

    Hi Ravikanth,
    Thank you very much for the reply
    I went into RSPRECADMIN and clicked on 'Display Current Queue'.  There we have 3 sections
    1) Queue Overview of Open Precalculations
    I can see this section is always blank after running IB also
    2) Queue Overview of Current Precalculations
    In this section I can see an entry after running IB and duration is changing. but some time workbook in this section will never processed but the duration column is changing may be something is happening at this stage.
    If the entry is not proccessed in this section and IB SM37 job will never end. I manually cancelled the job from SM50.
    Don't why the workbook is taking long time and will never end even though I cancelled the SM37 IB job.
    3) Queue Overview of Proccessed Error-Free Precalculations
    All the error free workbooks which means all pre-cal server completed workbook calculation and sent to SOST.
    I manually ran the workbook for all the 20 employees I can't find any pop-up message (earlier we have pop-up windows appearing because of VB code and when report returns no data and we fixed the pop-up issues)
    Can you please help me further to trace the error.
    Thank you
    Narendra

  • Unable to install the Demonstration Environment with ODI 11g

    Hi,
    Can someone please help me with Demonstration environment installation with ODI 11g on a windows system.
    I have downloaded the zipped file from the OTN site.
    I am unable to understand the installation steps in the user guide.Posting them for your reference.
    "To manually install the Demonstration environment, do the following:
    Unzip oracledi-demo.zip in the ODI_HOME folder.
    Verify that the JAVA_HOME environment variable is set and contains the path of a JVM suitable for Oracle Data Integrator.
    If this variable is not set correctly, set it to a valid java machine location.
    For example:
    On UNIX operating systems:
    setenv JAVA_HOME/usr/local/java
    On Windows operating systems:
    Set the JAVA_HOME variable graphically "
    Regards,
    Lovey Saxena

    Hi;
    Did you try to start installation? Your Java_Home could be avaliable on your env settings, so you dont need to set this for installation. If its fails please try to use this syntax:
    Set JAVA_HOME=C:\xxx
    Regard
    Helios

  • Hyperion Planning- Account dimension - Sort Order Issue with ODI 11.1.1.5

    Hello Experts,
    First of all, I thank you everybody in this forum for posting their valuable suggestions.
    I am facing a strange issue with ODI (Version 11.1.1.5) while loading metadata to Planning ACCOUNT dimension (Version 11.1.2.x). I am using a Oracle view to load metadata to this dimension. I have defined the sort order in the view and enabled SORT_ORDER_BY_INPUT. For the fresh load to the dimension, everything is working fine. But, when I move a member from one parent to another parent, and define it as the top member of new parent, it is missing its sort order.
    But it is working fine if you define it as the second, third...or last member under new parent. I have tried all the possible ways by flipping all the properties but unable to fix it.
    Please help me here to resolve this issue.
    Your help is greatly appreciated!!
    Thanks
    Edited by: user11965311 on Sep 20, 2011 7:07 PM

    To be honest I think you are best logging it with Oracle because it sounds like you are doing everything correctly so it could be a bug.
    Have you tested this on any previous versions of ODI or is it a new installation?
    If it does get logged with Oracle please keep me informed of the outcome as I would be interested to hear.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Issue with Anonymous Authentication and updating or starting new projects

    So 2 weeks ago I had a post about Anonymous Authentication found here:
    https://social.technet.microsoft.com/Forums/office/en-US/9b0e6eec-190a-4b48-a280-6adef441659a/issue-with-anonymous-authentication-and-people-picker-and-reports?forum=sharepointgeneral&prof=required
    That issue has been resolved but has created a new issue. We have Anonymous Authentication disabled but when one of our users tries to make a new project she gets the following:
    Unexpected response from server. The status code of response is '0'. The status text of response is ''.
    When she tries to edit an existing project, she gets the following:
    The server was unable to save the form at this time. Please try again.
    If I re-enable the Anonymous Auth. everything works for her again, but then we face the issue from the original post with reports not publishing.
    Any ideas on how to make everything get along?

    #apDiv2 {
        position: absolute;
        width: 698px;
        height: 299px;
        z-index: 1;
        left:50px;
        top: 117px;
        overflow: scroll;
    Don't forget to fix your code errors.  You're still missing a <body> tag in your markup. 
    Nancy O.

  • How do I Help Apple Care Stop Warring with Each Other and Fix the Problem with My iPhone that They Acknowledge Creating?

    How Do I Help Apple US & Apple Europe Stop Warring With Each Other And Fix The Problem They Created?
    PROBLEM
    Apple will not replace, as promised, the iPhone 5 (A1429 GSM model) that they gave me in London, UK, with an iPhone 5 (A1429 CDMA model).
    BACKGROUND
    My iPhone 5 (A1429 CDMA model) was purchased this year in September on an existing Verizon Wireless (VZW) line using an upgrade. The purchase took place in California and the product was picked up using Apple Personal Pickup through the Cerritos Apple Retail Store. I will refer to this phone at my "original" phone.
    The original phone was taken into the Apple Store Regent Street in London, England, UK on November 15, 2012. The reason for this visit was that my original phone's camera would not focus.
    The Apple Store Regent Street verified there was a hardware problem but was unable to replace the part.
    The Apple Store Regent Street had me call the US AppleCare. At first they denied support, but then a supervisor, name can be provided upon request, approved the replacement of my original phone with an iPhone 5 (A1429 GSM model) as a temporary solution until I got back in the US. And approved that the GSM model would be replaced with a CDMA model when I came back to the US. I will refer to the GSM model as the "replacement". They gave me the case number --------.
    The Apple Store Regent Street gave me the replacement and took the original. The first replacement did not work for reasons I do not understand. They switched out the replacement several times until they got one that worked on the T-Mobile nano SIM card that I had purchased in England, UK. Please refer to the repair IDs below to track the progression of phones given to me at the Apple Store Regent Street:
    Repair ID ----------- (Nov 15)
    Repair ID ----------- (Nov 16)
    Repair ID ----------- (Nov 16)
    The following case number was either created in the UK or France between November 15 to November 24. Case number -----------
    On November 19, 2012, I went to France and purchased an Orange nano SIM card. The phone would not activate like the first two repair IDs above.
    On November 24, 2012, I went to the Apple Store Les Quatre Temps. The Genius told me that my CDMA phone should not have been replaced with a GSM model in the UK and that this was clearly Apple's fault. They had me call the AppleCare UK.
    My issue was escalated to a tier 2 UK AppleCare agent. His contact information can be provided upon request. He gave me the case number -----------.
    The UK tier 2 agent became upset when he heard that I was calling from France and that the France Apple Store or France AppleCare were not helping me. He told me that my CDMA phone should not have been replaced with a GSM model in the UK and that this was clearly Apple's fault.
    The UK tier 2 agent said he was working with engineers to resolve my problem and would call me back the next day on November 25, 2012.
    While at the Apple Store Les Quatre Temps, a Genius switched the phone given to from repair ID ----------- with a new one that worked with the French nano SIM card.
    Also, while at the Apple Store Les Quatre Temps, I initiated a call with AppleCare US to get assistance because it seems that AppleCare UK was more upset that France was not addressing the issue rather than helping me. I have email correspondance with the AppleCare US representative.
    A Genius at the Apple Store Les Quatre Temps switched the replacement with a new GSM model that worked on the French SIM card but would not work if restored, received a software update, or had the SIM card changed. This is the same temporary solution I received from the Apple Store Regent Street in the UK.
    By this point, I had spent between 12-14 hours in Apple Store or on the phone with an AppleCare representative.
    Upon arriving in the US, I went to my local Apple Store Brea Mall to have the replacement switched with a CDMA model. They could not support me. He told me that my CDMA phone should not have been replaced with a GSM model in the UK and that this was clearly Apple's fault. My instructions were to call AppleCare US again.
    My call with AppleCare US was escalated to a Senior Advisor, name can be provided upon request, and they gave me the case number -----------. After being on the phone with him for over an hour, his instructions were to call the Apple Store Regent Street and tell them to review my latest notes. They were to process a refund for a full retail priced iPhone 5 64BG black onto my credit card so that I could use that money to buy a new iPhone 5 64GB black at the Apple Store Brea Mall to reoslve the problem.
    The Apple Store Regent Street did not process my refund. He, name can be provided upon request, told me that the AppleCare US did not do a good job reviewing my case, that they were incapable of getting to the bottom of it like they were, and instructed me to call AppleCare US and tell them to review this case number and this repair id. I asked if he read the notes from the AppleCare US Senior Advisor and he would not confirm nor deny. When I offered to give him the case number he accepted but it seemed like would do no good. Our call was disconnected. When I tried calling back the stores automated system was turned on and I could not get back through.
    Now I have the full retail price of an iPhone 5 64GB black CDMA on my credit card and Apple will not process the refund as they said they would.
    I've, at this point, spent between 14-16 hours at Apple Stores or on the phone with AppleCare representatives, and still do not have the problem resolved.
    SOLUTION
    AppleCare US and AppleCare Europe need to resolve their internal family issues without further impacting their customers.
    Apple is to process a refund to my credit card for the cost of a full retail priced iPhone 5 64GB black.
    DESIRED OUTCOMES
    I have an iPhone 5 (A1429 CDMA model) that works in the US on VZW as it did before I received the replacement phone in the UK.
    Apple covers the cost of the solution because I did not create the problem.
    Apple resolves their internal issue without costing me more time, energy, or money.
    This becomes a case study for AppleCare so that future customers are not impacted like I have been by their support system.
    Does anyone have recommendations for me?
    Thank you!
    <Edited by Host>

    Thanks, but I've been on the phone with AppleCare US (where I am and live) and AppleCare UK. They continue bouncing me back and forth without helping resolve the problem.
    Perhaps someones knows how to further escalate the issue at Apple?

  • Issues with iCloud synchronisation and contacts over two or more devices.  iTouch and iPad2 sync with different results from iMac.  Thoughts?

    Has any one experienced issues with iCloud synchronisation and contacts over two or more devices? The primary machine is an iMac running Lion. Address Book was created from vcf file (backup of address book prior to moving to iCloud). iTouch replicates Contacts just fine and matches the Address Book on the iMac. The iPad 2 does not showing only 123 contacts where there should be 200. I have turned off iCloud on both devices thus erasing the iCloud content of both devices and staring from scratch with both devices with identical results. Even turned off iCloud on the iMac and erased the Address Book and rebuilt with the same results. Anyone have any ideas or suggestions? I am going nuts.....

    To follow-up with this issue:
    I ended up performing a security wipe on my device. The security wipe finished, and I was about to reconnect with Exchange when I decided to visit our host's web site to see if they had any articles covering the issues I was experiencing. While they didn't have anything specific, I did find a step-by-step guide to connecting a BB10 device to Exchange... and right there at the end, it said "Do NOT enable memo sync."
    I contacted support, and the rep told me that OS 10 has an issue with memo sync and it can cause all sorts of unpredictable behavior. Now, whether or not this is accurate I can say this: So far, the device is not disconnecting and reconnecting like it was before. Problem is, is this a result of not enabling memo sync, or is this a result of the security wipe?
    I may have overlooked it, but I don't recall reading anything about that anywhere else. I'm tempted to try re-enabling the memo sync to see if everything blows up again. At least that way I can see for myself if the memo sync is a real issue. Of course, perhaps it's an issue with SherWeb (our host) specifically. Hm...
    Anyway, for those that were interested, and for those that may come along in the future with a similar situation, the strange behavior that I first reported is no longer happening. I just don't know if it was a result of a security wipe or a result of not enabling memo sync with Exchange.
    Ian

  • Issue with setting ratings and labels

    Greetings all. I am having an issue with setting ratings AND labels on image files at the same time. If the script sets the label first then the rating, the label doesn't show in Bridge. If the script sets the rating first then the label, the rating doesn't show in Bridge.
    Is there a workaround for this? Here is my script function for doing this. file=filename minus extension. Rating is a number for the desired rating. lab is a number for the level of Label I wish to set. Everything works great except that I can't set both Rating and Label with the script as shown. In this instance, only the Ratings will show up in Bridge after running the script. If I move the x.label=Label line under the x.rating=Rating line, then the ratings only show for those images with no label (lab=0). Any image that gets a label receives no rating.
    If you're going to test this, you may want to comment out the Collections part. That's the part within the "switch(Number(Rating))" block.
    function setRating(file,Rating,lab) {
        try{
            cr=File(file+"CR2");
            psd=File(file+"psd");
            jpg=File(file+"jpg");
            tif=File(file+"tif");
            switch(lab) {
                case 0: Label = ""; break;
                case 1: Label = "Select"; break;
                case 2: Label = "Second"; break;
                case 3: Label = "Approved"; break;
            if (cr.created) {
                var c=new Thumbnail(cr);
                c.label=Label;
                c.rating=Rating;
                if (psd.created) {
                    p=new Thumbnail(psd);
                    p.label=Label;
                    p.rating=Rating;
                    if (jpg.created) {
                        var j=new Thumbnail(jpg);
                        j.label=Label;
                        j.rating=Rating;
                        Rating=0;
                    else addFile=psd;
                else addFile=cr;
            switch(Number(Rating)){
                case 0 : break; /* No Rating */
                case 1 : if(!app.isCollectionMember(OneStar,new Thumbnail(addFile))) app.addCollectionMember(OneStar,new Thumbnail(addFile)); break;
                case 2 : if(!app.isCollectionMember(TwoStars,new Thumbnail(addFile))) app.addCollectionMember(TwoStars,new Thumbnail(addFile)); break;
                case 3 : if(!app.isCollectionMember(ThreeStars,new Thumbnail(addFile))) app.addCollectionMember(ThreeStars,new Thumbnail(addFile)); break;
                case 4 : if(!app.isCollectionMember(FourStars,new Thumbnail(addFile))) app.addCollectionMember(FourStars,new Thumbnail(addFile)); break;
                case 5 : if(!app.isCollectionMember(FiveStars,new Thumbnail(addFile))) app.addCollectionMember(FiveStars,new Thumbnail(addFile)); break;
                default : break;
        }catch(e){
              alert(e);
              return -1;

    Afew errors to start with, you were not creating a proper file as there wasn't a fullstop in the filename.
    If a CR2 file didn't exist no other file was looked for, you were using "created" and should have been "exists"
    This now labels and rates....
    setRating("/C/Test Area/NEF/z",2,1);
    function setRating(file,Rating,lab) {
        try{
            cr=File(file+".CR2");
            psd=File(file+".psd");
            jpg=File(file+".jpg");
            tif=File(file+".tif");
            switch(Number(lab)) {
                case 0: Label = ""; break;
                case 1: Label = "Select"; break;
                case 2: Label = "Second"; break;
                case 3: Label = "Approved"; break;
            if (cr.exists) {
                var c=new Thumbnail(cr);
                c.label=Label;
                c.rating=Rating;
                if (psd.exists) {
                    p=new Thumbnail(psd);
                    p.label=Label;
                    p.rating=Rating;
                    if (jpg.exists) {
                        var j=new Thumbnail(jpg);
                        j.label=Label;
                        j.rating=Rating;
                        Rating=0;
            switch(Number(Rating)){
                case 0 : break;
                case 1 : if(!app.isCollectionMember(OneStar,new Thumbnail(addFile))) app.addCollectionMember(OneStar,new Thumbnail(addFile)); break;
                case 2 : if(!app.isCollectionMember(TwoStars,new Thumbnail(addFile))) app.addCollectionMember(TwoStars,new Thumbnail(addFile)); break;
                case 3 : if(!app.isCollectionMember(ThreeStars,new Thumbnail(addFile))) app.addCollectionMember(ThreeStars,new Thumbnail(addFile)); break;
                case 4 : if(!app.isCollectionMember(FourStars,new Thumbnail(addFile))) app.addCollectionMember(FourStars,new Thumbnail(addFile)); break;
                case 5 : if(!app.isCollectionMember(FiveStars,new Thumbnail(addFile))) app.addCollectionMember(FiveStars,new Thumbnail(addFile)); break;
                default : break;
        }catch(e){
              alert(e);
              return -1;

  • HT1222 Ipad2 losses cell connection now that iOS 8 was installed.  Ios 8.0.2 did NOT correct the issue. Come on and fix this issue!

    Ipad2 losses cell connection now that iOS 8 was installed.  Ios 8.0.2 did NOT correct the issue. Come on and fix this issue!

    Hey everyone-
    Im in the same boat, started a thread . My hands free system worked fine with iOS 8 out of the box new iphone 6. Did the update this morning and i can stream music perfectly fine however i cannot make or receive calls through hands free system.
    I have not tried resetting the settings like most people indicate is working. I feel like I shouldn't have to reset anything, even less mess with settings with an update coming from apple. it should "Just Work"
    Some people who reset said it works for a few hours, other say it don't work, and I don't know what I should do.
    Car: Hyundai Sonata 2014
    NOTE: I was able to replicate the issue in my wifes Hyunday Elentra 2013.
    This is how I know its not a defect with the BT in my car.

Maybe you are looking for

  • Safari often freezes up my whole computer.

    Safari often freezes up my whole computer. The cursor can move around some on the desktop, but then it quickly jumps back to the last safari page. Nothing seems to help. I have to shut down the computer from the power button. Argh!

  • Unable to connect to database which uses custom NLS charset

    Hello, I have custom character set installed on my database. I'm trying to connect to DB using OCI driver. On the client machine (Linux), I have Oracle 10g Release 2 installed. Custom character set is installed on the client side too and SQL*Plus con

  • Sharing Photos among sessions

    Something that has been bugging me for a while- On my family G5 we have 3 different iPhoto sessions with 3 different photo libraries. The thing is I wish we could have some photos in common (since, you know, we're a family and do stuff together) with

  • Wlserver.exe has generated errors.

    Hello,I installed the Weblogic server 5.1 service pack 8 with the installation instruction guideline under Windows 2000, and used wlconfig.exe to make changes to my installation configuration as described under installation.Restarted the weblogic ser

  • App size list directly on ipad

    Hi gang, My iPad's pretty filled up. I sometimes have to ditch an old app in favor of bringing on something new and awesome. This is a real pain when I'm away from my computer (and hence iTunes), because I don't know how big each of my apps is. Does