Open report file generated from AfterReport trigger fails

Hi,
I generate reports files using rwrun.exe.
In order to know if my report file has been generated without error, I call TEXT_IO.FOpen(..., 'r') into my afterreport to see if any file has been generated.
It works fine under win2000 but not under Solaris 5.8.
The report file is generated but for some strange reason TEXT_IO.FOpen( ) generates a non oracle exception -302000.
Any idea about what happens and how to fix that?
Thanks,
Manu

Hi Sripathy,
Thanks for your answer.
In the afterreport trigger, I just open my file as read only to see if it's there.
The process has just created the file, so, it should be able to open it just to read.
Anyway, I checked the rights on the file and they are Ok.
Actually, I think it's a problem with the OS because sometimes, it works fine and the next report, it fails.
Maybe the file is still "locked" by some other process as I try to read it.
That's a pain to not be able to check if the report went fine from the afterreport trigger.
Manu

Similar Messages

  • How can I change the appearance of html report file generated from Teststand to that I change the orientation of the data in the tables?

    For instance, I'd like to have the measurement results, limits, and status all on one line in a table.
    I am running Teststand 2.0 on Windows 2000.

    Hello Joel_IEI,
    You can modify each report entry as it is being generated by doing the following steps:
    1) In the TestStand Sequence Editor's Report Options, change the Report Generator to "Sequence".
    2) In your sequence file, override the ModifyReportEntry callback. In this callback, you can modify or even replace ENTIRELY the default report information TestStand plans to append to the report. You can use Statement steps to modify the contents of Parameters.ReportEntry (the TestStand variable that you will use to do this), or replace the contents entirely!
    You can look at the code example Adding Extra Results to a Report Using the Modi
    fyReportEntry Callback Sequence for more information.
    David Mc.
    National Instruments

  • How to populate/import data in a XSD file generated from a webservice

    HI All,
      I have an XSD file generated from the webserive using the CRM FM E2C_DOWNLOAD_CRT_SCHEMA.
    I created a Adobe form with the Adobe life cycle designer using the XSD file.
    However Data will have to be entered manually in this adobe form and cannot be pre-populated with data, How do we pre-populate data in the Adobe form generated from XSD file of the above CRM FM.

    This is what you need:
    integer     li_fhandle, li_rcode = 1, li_sfound = 0, li_idx = 0, li_eqpos, i
    string ls_filename = 'C:\app.ini'
    string ls_line, as_key[], as_val[]
    string ls_section = '[General]'
    // OPEN INI FILE
    li_fhandle = FileOpen(ls_filename, LineMode!)
    IF IsNull(li_fhandle) OR li_fhandle < 1 THEN
      // DO NOTHING
    ELSE
      DO WHILE li_rcode > 0
      li_rcode = FileRead(li_fhandle, ls_line)
      IF li_rcode > 0 THEN
      IF POS(ls_section, ls_line) > 0 THEN
      li_sfound = 1
      CONTINUE
      END IF
      IF li_sfound = 0 THEN CONTINUE
      IF POS(ls_line, '[') > 0 AND POS(ls_line, ']') > 0 THEN EXIT
      li_eqpos = POS(ls_line, '=')
      li_idx++
      as_key[li_idx] = MID(ls_line, 1, li_eqpos - 1)
      as_val[li_idx] = MID(ls_line, li_eqpos + 1)
      END IF
      LOOP
    END IF
    FOR i = 1 TO li_idx
      messagebox('Key - Value',as_key[i] + ' = ' + as_val[i])
    NEXT
    // CLOSE INI FILE
    IF li_fhandle > 0 THEN
       FileClose(li_fhandle)
    END IF
    Adapt it to your needs... you probably should make it a function.

  • Opening a file succeeds in Linux but fails in Windows

    Hi,
    I have written an addon to OO Writer. It works properly with GNU-Linux (Ubuntu 9.04, JAVA 6)
    I tried it under Windows 7 RC (I have no other Windows OS available)
    I have a problem opening a file.
    Here is the code I use
    class Dictionary {
       ArrayList brutEntry = new ArrayList();
       ArrayList entryList = new ArrayList();
       DicEntry temp = null;
       public boolean enamdictEnabled;
       public boolean edictEnabled;
        * @param dicFileName A String representing the name of the edict  file which contains the dictionary entries
        * Each entry correspond to a line of the file
        * The dictionary must be EUC-JP coded.
        * @exception exceptions No exceptions thrown
       Dictionary(String dicFileName, String signature) {
          File f=new File(dicFileName);
             WarningHandler.displayMessage("I did; File f=new File(dicFileName); with "+dicFileName+" as a file name"+
                     "\nthe reselt is: "+f.toString()+" with f.toString()");
          BufferedReader i = null;
          try {
          i = new BufferedReader(new InputStreamReader(new FileInputStream(f), "EUC-JP"));//dicFileName
             String str1 = null;
             while ((str1 = i.readLine()) != null) {
                // System.out.println(signature+"making a new entry"+Integer.toHexString(index));
                temp = new DicEntry(str1);
                temp.entrySignature = signature;
                entryList.add(temp);
          } catch (IOException ex) {
             System.out.println("Error message: "+ex.getMessage());
             Logger.getLogger(Dictionary.class.getName()).log(Level.SEVERE, null, ex);
             WarningHandler.displayMessage("There was a problem opening or reading the " + dicFileName +
                     " dictionary file. Please check that your file and filepath are correct and" +
                     "that your dictionary file is EUC-JP encoded");
          } finally {
             try {
                i.close();
             } catch (IOException ex) {
                Logger.getLogger(Dictionary.class.getName()).log(Level.SEVERE, null, ex);
      At first I used
         i = new BufferedReader(new InputStreamReader(new FileInputStream(dicFileName), "EUC-JP"));//dicFileNamewithout the intermediate File creation but the result is the same, under Linux it works and under Windows it fails opening the file.
    From my WarningHandler.displaymessage method I can see taht the file name is correctly (at least I guess) as it is:
    /home/jaaf/jilt/theFileName with Linux
    c:\Users\jaaf\jilt\thefileName with Windows
    For information the file theFileName is EUC-JP encoded and contains Japanese Characters
    Thank you for help
    Edited by: meaulnes on Jul 8, 2009 5:19 AM
    Complementary information after investigation
    I split the line
    i = new BufferedReader(new InputStreamReader(new FileInputStream(f), "EUC-JP"));//dicFileName
    in 3.
    It seems that FileInputStream and InputStreamReader pass without problem.
    But the line
    i=new BufferedReader(isr); where isr is the InputStreamReader makes the program crash (Even the catch is not treated).
    The message I get is:
    Run Time Error
    prog C:\ProgramFiles\OPenOffice.org3\program\soffice.bin
    The application has requested the RunTime to terminate it in an unusual way.
    please contact application support....
    Edited by: meaulnes on Jul 8, 2009 5:31 AM

    Hi,
    Thank You for help;
    I used stack trace
    It seems that the error comes from the encoding.
    Here is the trace:
    java.io.UnsupportedEncodingException: EUC-JP*
    +     at sun.nio.cs.StreamDecoder.forInputStreamReader(Unknown Source)+
    +     at java.io.InputStreamReader.<init>(Unknown Source)+javascript:void(0);
    +     at com.zoraldia.openoffice.Dictionary.<init>(Dictionary.java:71)+
    +     at com.zoraldia.openoffice.Jilt.createDictionaryDialog(Jilt.java:2477)+
    +     at com.zoraldia.openoffice.Jilt.dispatch(Jilt.java:1948)+
    Jul 8, 2009 4:23:32 PM com.zoraldia.openoffice.Dictionary <init>*
    SEVERE: null*
    java.io.UnsupportedEncodingException: EUC-JP*
    +     at sun.nio.cs.StreamDecoder.forInputStreamReader(Unknown Source)+
    +     at java.io.InputStreamReader.<init>(Unknown Source)+
    +     at com.zoraldia.openoffice.Dictionary.<init>(Dictionary.java:71)+
    +     at com.zoraldia.openoffice.Jilt.createDictionaryDialog(Jilt.java:2477)+
    +     at com.zoraldia.openoffice.Jilt.dispatch(Jilt.java:1948)+
    I don't understand why on Linux it works but not on Windows

  • Cannot open .mov files exported from FCP X 10.0.9

    I am trying to export an H.264 version of a 422 file for use on Vimeo.  When I go to my desktop and click on the exported file to check it I get a message that says the file type is unsupported.
    Neither my old nor new Quicktime programs will open the file.  I've also failed at directly uploading the clip to Vimeo.
    I need help! 
    My operating system is 10.7.5, would this cause the error?
    Thanks,
    Tyson

    Exporting from 10.0.9
    I used the Share button and tried both "Master File" and "Export File" to save an H.264 version to my desktop. 

  • Deleting email on outlook opens a file download from firefox

    deleting email on outlook opens a file download from firefox

    Windows 7 - Outlook has a file download box that will not go away.,please help
    go to this website and the solution is there...
    http://www.sevenforums.com/microsoft-office/176965-outlook-has-file-download-box-will-not-go-away-please-help.html

  • Good afternoon ladies and gentlemen!   My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In t

    Good afternoon ladies and gentlemen!
    My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In the settings Adobe Bridge - in "open RAW-files by double-clicking in Adobe Camera Raw» box is checked. When you try any changes in the settings Adobe Bridge system displays a message:
    Bridge's parent application is not active. Bridge requires that a qualifying product has been launched at least once to enable this feature.
    The entire line of Adobe products on my computer updated to the latest updates. Previously, a family of products Adobe Photoshop on your computer is not set. Computer - PC, Windows 7 Enterprises.

    <moved from Adobe Creative Cloud to Bridge General Discussion>

  • I'm using iphone 4S, and I can not open PDF file only from my husband email that using Mic outlook. It was very weird because I can received other email with pdf file from other people. can someone help.

    I'm using iphone 4S and ipad mini, and I can not open PDF file only from my husband email that using Mic outlook. It was very weird because I can received other email with pdf file from other people. Can someone help...
    Thanks in advance

    Hi Eidda,
    This may because the attachment is a winmail.dat file. I would recommend taking a look at the article below for more information. Note: the article is written for OS X mail, but does also apply to this situation.
    Mac OS X Mail: What is a winmail.dat attachment?
    http://support.apple.com/kb/HT2614
    -Griff W.

  • Issue with opening PDF file link from Safari

    Hi Everyone,
    I got a problem with opening PDF file link from Safari 4.04. Instead of getting a normal pdf content, it shows some weird characters. Not sure it is something wrong with Adobe Reader Plugin or Safari?
    I have uploaded a screenshot of the issue in the adobe forum (http://forums.adobe.com/thread/531870). Please help!
    Many Thanks,
    John

    There's nothing wrong, except the fact that you have Adobe Reader installed. You don't need it, so get rid of it; it will only cause problems with Safari. What you're seeing is the contents of the PDF file, rather than having it displayed.
    If you want to download a PDF file, you can either Control-click on the link and choose "Download Linked File As…", or you can Option-click on the link for the file and it will be downloaded to your Download folder (usually your Desktop).
    If you want to view a PDF file in Safari, you don't need Adobe Reader; Safari is perfectly capable of doing this by itself and has been for years. Adobe Reader will only get in the way and slow everything down.

  • Why will CS4 not open DNG files converted from Olympus E-M1 raw files?

    For several years I have been able to use the DNG Converter to convert .ORF raw files from my Olympus E-M1 and then open them for processing in CS4. Suddenly CS4 quit recognizing these DNG files saying "Photoshop could not complete your request because Photoshop does not recognize this type of file"
    I have not changed any preferences. I'm using E-M1 v3.0, DNG Converter v8.3.0.141 on a Mac. I have deleted DNG converter several times, even reinstalled an earlier version but nothing changes.
    However, CS4 will open DNG files converted from Pentax raw .PEF files from my K-5. Weird. It's the Olympus raw DNG conversions that won't open.
    I can view the DNG converted files in question in Mac's Preview just fine but not CS4. Any ideas will be appreciated.

    Be sure the DNG Converter's compatibility is set to provide support for your version of ACR:
    Benjamin

  • I just installed photoshop ele. ver 11 and my file transfer from version 10 failed, what do I do?

    I just installed photoshop ele. ver 11 and my file transfer from version 10 failed, what do I do?

    I was transering my album from version 10 to version 11.  I got on-line help and I and all set.  Thanks for getting back to me.  Dave
    Scott V <[email protected]> wrote:
    Scott V http://forums.adobe.com/people/Scott+V created the discussion
    "Re: I just installed photoshop ele. ver 11 and my file transfer from version 10 failed, what do I do?"
    To view the discussion, visit: http://forums.adobe.com/message/5105851#5105851

  • I cannot Open EXCEL files transferred from my old HP laptop.

    I am unable to open EXCEL files transferred from my HP LapTop. How to resolve?

    The forum for MBP:
    MacBook Pro
    As for Excel, checked microsoft office community?
    Maybe if you try export first....?
    Vista has its own ownership permission flags. Maybe if you modify the file or a copy first, and then copy.

  • This message appears whenever I try to open a file downloaded from internet: can't be opened because it was not downloaded from the Mac App Store

    Just bought a new Imac OX 10.9. Installed contents from previous Time Machine. All looks good. But, now, when I try to open any file downloaded from interent (like the Amazon mp3 downloader, for example or a plugin update) I get this message:
    "XXX can’t be opened because it was not downloaded from the Mac App Store" . Help! Thanks

    Got it solved! System preferences, security & privacy icon, general: allow apps downloaded from Mac Store and Identified developers! Phew!

  • Cannot open .avi files imported from Nikon d90 in Adobe Premiere 6.0.

    Cannot open .avi files imported from Nikon d90 in Adobe Premiere 6.0.
    When I try to open the file I get the following error message:
    "cannot open that file
    the file uses an unsupported file compression format"
    I really need urgent help with this so if you know a soloution, please post it!

    I don't do mjpeg so you will have to search the forum for advice
    But... having a playback codec installed does not ALWAYS mean the codec will work for Premiere editing
    After you search the forum and find the (I think free) codec vendors, you will need to install fresh so Premiere will "see" the codec for editing
    Or, Google
    convert mjpeg avi
    To convert to DV AVI type 2 with 48khz sound so the files will "natively" edit in Premiere
    My GUESS (you didn't say) is the d90 is a STILL camera that has a video function, not a true camcorder
    If you plan to do much video work, you need a tape-based DV camcorder so you use Firewire to do a digital transfer as a "real" AVI that Premiere may edit without conversion or extra software
    For a Firewire DV Camera - look at Panasonic PV-GS320 or GS500 (Note that I have not used either, but they have good reviews)
    http://reviews.cnet.com/Panasonic_PV_GS320/4505-6500_7-32330317.html
    http://reviews.cnet.com/digital-camcorders/panasonic-pv-gs500/4505-6500_7-31660646.html

  • HT4796 I cannot open any files transferred from the PC to my MAC as I am "not authorized". How can I correct this?

    I cannot open any files transferred from my Windows PC to my Mac as I am "not authorized". How can I correct this?

    Select the folderr containing all of those files, CMD+I, click on the lock, enter your admin password, add yourself with read & write, and click on the action button and select apply to enclosed items. That should do the trick. BTW, I don't have a PC, so i've not transfered any such files to my machine.

Maybe you are looking for