Maxl script unable to read/write to a folder

When logged in to EAS, we are trying to run a maxl script to read/write to a report script in a particualr folder on the server. Even though the eas login username has write permissions to that folder, the maxl keeps saying: unable to open file.
Is there any internal Hyperion service account that should specifically have write permissions to the folder?
here is the maxl:
SPOOL ON TO 'D:\Oracle\WE.log;
LOGIN 'username' 'password' on 'server1';
ALTER SYSTEM LOAD APPLICATION 'Plan1';
ALTER APPLICATION 'Plan1' LOAD DATABASE 'Main';
export database Plan1.Main using report_file 'D:\Oracle\WE.rep' to data_file 'D:\Oracle\WE.rpt';
SPOOL ON TO 'D:\Oracle\REV.log';
When we run it, we get the following error:
It gets past the alter systen and alter application commands, and then:
'Unable to open file ['D:\Oracle\WE.rpt']

Have you tried running it from a maxl session and not EAS, if you are testing using maxl you may need double backslashes instead of single ones.
Have you tried with the report script in the database app folder and using the server option - export database Plan1.Main using server report_file 'WE' to data_file 'D:\Oracle\WE.rpt';
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • Unable to read/write CDs/DVDs

    I have a Sony DVD RW DW-U10A combo drive. I have been unable to write CDs for a few weeks now, but manage with my MacBook. Now however, the drive in the iMac doesn't see either blank or written CDs, or professionally produced CDs. This also applies to all DVDs.
    The only, but major, change that I have made is to upgrade to Tiger. I cannot categorically link the problem with the upgrade.
    Could this be the cause of the problem? What can I do to be able to read/write CDs while using Tiger?
    How can I clean the CD lense if that is also contributing to the problem?
    Thanks in advance
    PG

    Hello and Welcome to Apple Discussions. 
    You really need to repost over in the MacBook forums. The hardware is very different.
    http://discussions.apple.com/forum.jspa?forumID=1172
    regards
    mrtotes

  • Unable to read/write bytes using 9870 with cRio 9151

    Hi everyone,
    I'm currently having some problems trying to use 2 ports of module NI 9870. I'm unable to read bytes even if I try to send some datas (I always get a Timeout) and I'm also unable to write some datas( I can't see nothing on Hyperterminal).
    Please find enclosed a snapshot of my Fpga code.
    Regard,
    Nicolas Kaminski, Toulouse France
    Attachments:
    ReadBytes.jpg ‏93 KB
    WriteBytes.jpg ‏30 KB

    Hello,
    Can you give us some other details:
    Are you sure that you provide power to the 9870 module?
    Do you have tested your system with an example? (NI-987x Serial Loopback.lvproj)
    DO you get something through that loopback?
    Regards,
    Mathieu P. | Certified LabVIEW Associate Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Journées techniques : des fondamentaux aux dernières technologies pour la mesure et le contrôle/comm...

  • Unable to read/write to external FW drive

    I have a LaCie external D2 drive and just noticed since I got a new MacBook Pro that I'm getting read/write error -36 when attempting to copy files to/from the disk.
    The actual finding of the problem was on reinstalling and configuring Silverkeeper for backups. I've had problems with Silverkeeper in the past but was giving it one last chance before moving to Retrospect. When it failed I started to config Retrospect and when I set it to discover connected drives it didn't see the external harddrive but did see the internal & external DVD/CD burners. The external DVD/CD burner is also LaCie and was first in the firewire chain but even disconnecting it and connecting the external drive has no effect. So when neither backup program worked I tried an individual file copy from the internal to external drive and received the "error -36"
    Do I need to format the drive to work with the MacPro or is this a permissions problem?
    K.

    Has the drive ever been formatted? If not, then yes
    you need to format the drive before you can use it.
    Otherwise check with LaCie's technical support.
    Yes, the drive has been formatted and was used with my old Powerbook for backup purposes. I forgot to mention that the drive does appear on the desktop when I boot up etc and I can open the Finder window on it and navigate the folders etc located on the drive. Just no read/write

  • HT1549 How do I read write to an external drive?  I am under admin account and cannot read write to any folder on the external drive.

    I have a Mac Mini with Mavericks installed, as well as a PC running Windows 7.  I want to be able to read write from both computers to an external drive on the Mac.  I created 2 folders on the drive and named them Movies, and TV Shows.  The content of those folders are the respective files. I set up both folders to be shared on the Mac under system preferences, and then mapped the drives on the PC.  I also created a user account with admin privileges on the mac that matched my PC.   I then copied a Music folder to the root drive instead of using external, and set up sharing as well.  File Sharing is selected for all three folders, however the music folder is the only one which allows me to change the permissions to allow read write to everyone, or to create individual user accounts to connect with read write permissions.  The options to add users or change permissions are simply grayed out for the two folders on the external drive, so not only can I not write from my PC, but I can’t even do it on the Mac with the administrative user logged in. The folder on the root drive is fine but I cannot make any changes to the external drive at all.  Get info for any folder on drive shows read only.  SMB and AFP are selected for all folders under options.  I can access all three folders from PC, but can only add files to the Music folder. I cannot do anything from either computer to the folders on the external drive.

    Try Applications/Utilities/Disk Utility - select the drive and run Repair Disk.

  • Unable to read/write Windows files on mac anymore

    Today, out of much extreme panick as of a false alarm, i had installed MacFUSE, an application used so you can read and write windows files on your mac side. What i didn't know is that i already had NTFS-3G, one which could already do that. I uninstalled MacFUSE instantly (removed pane from system preferences), now i still can't see windows mounted on my mac desktop. When i boot up, i get an error; below. If i choose to manually mount it from the disk utility i get the same error. I'm not sure where to post this type of stuff since it's not really apple related but it's worth a shot.

    I've had that same issue with NTFS-3G and Fuse. I ended up getting Paragon NTFS for Mac. Its about 20 bucks, but it works great. IMHO, this is a feature Apple should build into OS X especially since they have a feature such as Boot Camp

  • Why I am unable to read/write thermocouple data using FIFO

    I like get data using 9213 module. I used example VI for this. And to get the data according to my desired samling rate, I used FIFO.
    The problem is, if I use FIFO, I do not get any data when run the real time VI.
    But, if I like to get data using cluster, then it is OK.
    Also, can you tell me why the error comes when I use FIFO and run the program?
    My sampling desired rate is 1200 sample/sec. I like to acquire data for 30 seconds after the trigger.
    Attachments:
    Error_50400.jpg ‏34 KB
    FPGA.jpg ‏201 KB
    realtime_temp.jpg ‏249 KB

    Good Afternoon,
    I would suggest lowering the number of elements into the invoke node in your real time VI.  You only need the number fo samples times the sampling rate for the number of elements input.  Hope this helps!
    -Cody C

  • Music Downloads - unable to read or write to disk.

    Hi, I'm new to iPods, and when I try to download music
    I get the message Unable to update iPod, unable to read / write to disk....
    Originally I had no problems now unable to download more than one song at a time, and only the manually... it's taking ages...
    Does anyone have any ideas? I've restored, reset everything and downloaded the latest software....

    Hi,
    Unless you are using OCR (optical character recognition) software when doing the scan, the result of scanning a document is only an image, a picture of the document. Since you only have a picture of the document at this point, the only thing that you can do with it in Word is to insert the image into the document. As an image, you won't be able to edit or search the text that appears in the image. You need to run OCR software to examine the image and convert the images of the characters into editable text. If you are already using OCR software, reply back and let me know which application you are using, and I'll try to help you further.
    Hope this helps,
    Ken

  • Can't Read/Write to External HDD-Permissions Problem

    I have external Seagate HDD, formatted as FAT32, connected to Airport Extreme Base Station. I am unable to Read/Write to this Drive because Finder says I "Don't have permissions" to do so.
    Following are details that may be important:
    1. I was able to read/write to this drive under Leopard but lost the right under Snow Leopard, after upgrade to SL.
    2. In Airport Utility, I set up (2) accounts for the External HDD, "Dad" with "Read/Write" access and "Mom" with "Read" access only. I have Guest Account privileges set to "Read Only". It has been this way for (2) years.
    3. Under "Get Info" in Finder, the only account listed is "everyone" with "read" permission only (this is same as Guest Acount in Airport Utility). I am unable to add new accounts because I get error message "The account name is not valid" even though I am using the account name that I am logged in under.
    4. I can change the Permissions on the "everyone" account (in Finder) by changing the permissions on the "Guest Account" in Airport Utility. When I do this, "everyone" in Finder now has "read/write" access but my two accounts, "Dad" and "Mom still don't show up in Finder.
    5. I also upgraded internal HDD to 1Tb and used Restore from Time Machine. I hhad problems with the restore and did new install of Snow Leopard.
    Any ideas on how to make Finder show the two accounts I have set up in Airport Utility?

    My apologies for bumping this but I still don't have a solution...any help would be greatly appreciated!

  • When syncing my iPod photo it transfers 2 songs then gives error message ' cannot read/write disk' what wrong?

    Can someone tell me whats going wrong when I manually sync my iPod with computer only 2 songs transfer to my iPod then I get error message ' unable to read/write disk ' the 2 songs are transferred to iPod and I have to keep starting the process over again, what can I do?

    First, try shutting down (powering off) your computer and resetting the iPod
    http://support.apple.com/kb/HT1320
    Start up the computer, and connect the iPod to a direct USB port on the computer, if you have been using a USB hub.  If there are other USB devices (other than standard keyboard/mouse) connected, you may want to disconnect them, as a test.
    If that does not help, or you already did that, it is possible that the iPod's hard drive has become faulty.  It is also possible that the hard drive is OK, but there is data corruption that is making the iPod's storage unreliable.
    If the problem is not resolved, you should probably do a Restore on the iPod in iTunes.  The Restore button is on the iPod's Summary screen in iTunes.  This will erase the iPod, reinstall its software, and set it to default settings.  If the cause is data corruption, the Restore (erasing the storage) should fix the problem.  However, if the cause is a hardware fault on the hard drive, it will not help; the Restore may not complete successfully, which will leave your iPod inoperable.

  • How can I read/write data files (text file) from PL/SQL Script

    I had an oracle forms pl/sql program to read/write a data file (text file). When this code is run on a command line as a PL/SQL script using the SQL*Plus I am getting an error:
    -- sample.sql
    DECLARE
      vLocation                 VARCHAR2(50)  := 'r:\';
      vFilename                 VARCHAR2(100) := 'sample.dat';
      vTio                   TEXT_IO.FILE_TYPE;
      vLinebuf               VARCHAR2(2000);
      vRownum               NUMBER        := 0;
      -- use array to store data FROM each line of the text file     
      TYPE           array_type IS VARRAY(15) OF VARCHAR2(100);
      vColumn      array_type := array_type('');
      PROCEDURE prc_open_file(p_filename IN VARCHAR, p_access IN VARCHAR2) is
      BEGIN
        vTio := TEXT_IO.FOPEN(vLocation||p_filename,p_access);
      EXCEPTION
        WHEN OTHERS then
          --  raise_application_error(-20000,'Unable to open '||p_filename);
          message(sqlerrm);pause;
      END;
      PROCEDURE prc_close_file is
      BEGIN
        IF TEXT_IO.IS_OPEN(vTio) then
           TEXT_IO.FCLOSE(vTio);
        END IF;
      END;
    BEGIN
      --extend AND initialize the array to 4 columns
      vColumn.EXTEND(4,1);
      prc_open_file(vFilename,'r');
      LOOP
          LTEXT_IO.GET_LINE(vTio,vLinebuf);
          vColumn(1)  := SUBSTR(vLineBuf, 1, 3);
          vColumn(2)  := SUBSTR(vLineBuf, 5, 8);
          vColumn(3)  := SUBSTR(vLineBuf,10,14);     
          Insert Into MySampleTable
          Values
            (vColumn(1), vColumn(2), vColumn(3));
          EXIT WHEN vLinebuf IS NULL;
       END LOOP;
       prc_close_file;
    END;
    SQL> @c:\myworkspace\sql\scripts\sample.sql;
    PLS-00201: identifier 'TEXT_IO.FILE_TYPE' must be declaredIt works on the oracle forms but not on the SQL*Plus. Is there an alternative method using a PL/SQL script? A simple sample would help. Thanks.

    Did you ever noticed the search box at the right side of the forum?
    A quick search (limited to this years entries) brought up this thread for example
    Re: UTL_FILE Examples

  • Maxl Script will not write to error file for data laod.

    Sorry Glenn here is the new thread. I re ran without the semi colon after data 3 and the same error came up without anything being written to the error file.
    I purposely removed a member from the orginal outline that is included in the data loaded but yet the error file is not written to. I tried doing the load manually but executing it in the background, error file is to be created on my local HD but it does not write it there. Checked the output and it is written to a directory located on the server. Although i think this is normal.
    Could it be that it will not write to a local drive? I am going to try specifying a spot on the server to see if it runs there.
    thanks
    Original post below.
    Hello,
    I am also having this issue.
    I will include my script below but will state some details before
    We are on Essbase 11.1.1.3
    I am running Admin Console from my client PC that connects to the server in the script and I read that in this set up the error file will not get written to. This documentation was for v 9.1.3
    Here is my script (i changed some of the names)
    login 'user' 'password' on server';
    create application 'Money1' as 'Money2';
    spool stderr on to 'errorfile';
    import database 'Money1'.'Main' data
    from local text data_file 'Money1_Data.txt'
    using server rules_file 'Data3'
    on error append to 'dataload.err';
    execute calculation 'CALC ALL;' on 'Money1'.'Main';
    logout;
    spool off;
    exit;
    here is the error output i get:
    code line: on error append to 'dataload.err';
    Statement executed with warnings.
    (3) Syntax error near ['$']
    I don't see a dollar sign anywhere in my code and the error file does not get produced.
    Also do error files get written too if the actins are executed in the background?
    Thanks!
    Alex

    This works for me in a MaxL script run through essmsh.exe:
    import database appname.dbname data from local text data_file "d:\\datafilename.txt" using server rules_file "rulename"
         on error write to "d:\\errorfilename.err" ;Sometimes EAS (I think you are running it through that) does weird things to MaxL. I eschew MaxL in EAS as much as possible (like 100% of the time).
    NB -- the datafilename and errorfilename and their drive letters are local to wherever you're running this process through the MaxL shell. I don't know how that works when you're running EAS -- are drives local to your session, local to the EAS server? Dunno. Leave EAS behind, buy TextPad (no I am not the author of that fine product) and download the MaxL syntax library, and be happy. :)
    Regards,
    Cameron Lackpour
    Edited by: CL on Oct 7, 2010 7:12 AM
    Put the MaxL into a code block to get it to display correctly.

  • Script to set all files in a folder to "Read and Write" permissions? Please

    In advance my most abject apologies for posting such a simple question. I couldn't script my way out of a paper bag, and searching and googling have failed, no doubt because I don't even have the proper keywords. :-/
    The script I need is so simple that it most likely exists somewhere already. Whenever I copy image files from a DVD-ROM or CD-ROM burned on a Windows laptop to my desktop Mac, the files and folders therein are "Read Only" on my Mac. If there are many files in the folder, it's very easy to Select All and do a Get Info on multiple items, so I can rectify the situation by changing the whole set in a single step. But if I have ten files or less in a folder, each file opens an Info dialog box and that can become very tedious when I have scores of folders with nine or so files in each.
    Any guidance will be much appreciated.
    Message was edited by: Ramón G Castañeda

    You can attach a folder action to your destination folder, for example:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    on adding folder items to ThisFolder after receiving AddedItems
    repeat with AnItem in AddedItems
    tell application "Finder" to set owner privileges of AnItem to read write
    -- tell application "Finder" to set everyones privileges of AnItem to read write
    end repeat
    end adding folder items to
    </pre>
    ... but you can also use the Inspector (option-command-i) to get a single info window for multiple items.

  • OBIEE Writeback error - The system is unable to read the Write Back Templat

    Hi all,
    I'm trying to set up the write back feature for one of the reports. All the set up up including XML file in the custommessage folder is done.Ensured the webmessage name tag value (pmet_update) is same as the one used in the report write back template value etc.
    Also the server is restarted after the latest XML file(as shown below) is copied after all type of debugging with similar threads on this matter.
    But when i click on the update button in the report (button is highlighted), i'm getting the error
    "The system is unable to read the Write Back Template 'pmet_update'. Please contact your system administrator."
    here is the xml.
    <?xml version="1.0" encoding="utf-8"?>
    <WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1">
    <WebMessageTable lang="en-us" system="WriteBack" table="Messages">
    <WebMessage name="pmet_update">
    <XML>
    <writeBack connectionPool="PMTCOG">
    <insert></insert>
    <update> UPDATE XREF_PMET_URL SET URL= '@{c1}' WHERE API='@{c0}'</update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    Could you please help?

    Hi,
    I think that you have to spacify also an SQL statement for the update tag, for example:
    <?xml version="1.0" encoding="utf-8"?>
    <WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1">
    <WebMessageTable lang="en-us" system="WriteBack" table="Messages">
    <WebMessage name="pmet_update">
    <XML>
    <writeBack connectionPool="PMTCOG">
    <insert> select null from dual</insert>
    <update> UPDATE XREF_PMET_URL SET URL= '@{c1}' WHERE API='@{c0}'</update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    The witeback wants for both the tags (<insert></insert> and <update></update>) an SQL Statement.
    For me it works.
    Let me know!
    Gianluca Ancarani

  • Write Back Error The system is unable to read the Write Back Template 'test

    Write Back Error The system is unable to read the Write Back Template 'test'. Please contact your system administrator. OK
    But, the update button is on.
    It did work and now it doesn't... nothing of course that we know of has changed. We got this message when we started and the name of the file was what we put as template name in obiee instead of webmessage name but the update button was off.... now we have update button on and same error.
    File is on unix and we have made 777 so it's open to the world.
    <?xml version="1.0" encoding="utf-8"?>
    <WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1">
    <WebMessageTable lang="en-us" system="WriteBack" table="D_EXEC_METRIC">
    <WebMessage name="test">
    <XML>
    <writeBack connectionPool="writeback">
    <update>UPDATE D_EXEC_METRIC SET EXEC_METRIC_ICON_WID = @{c3}, EXEC_METRIC_COMMENT='@{c7}' WHERE SECTOR_WID=@{c0} AND EXEC_METRIC_WID=@{c2}</update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    thanks in advance for your help!

    You're better off searching for an answer to this question in the [OBIEE Forum|http://forums.oracle.com/forums/forum.jspa?forumID=378].
    The topic is discussed at least twice a month so there's tons of posts with all the answers you need. Make a forum search for writeback and you'll have your answer.
    Cheers,
    C.

Maybe you are looking for

  • Error while browing cube in SSMS but now while executing MDx

    Hi all, I have a cube and When I browse(in SSMS) I get error while if I write MDX (in SSMS) and execute that, It executes without any error. This is strange and only happens for one measure group while it does not happen for other. In first case when

  • Audio Filters in FCP

    I just recorded something in the ol' garage with my XH-A1 and I do not have my shotgun mic yet. (I know) Anyway, I was just pondering to see if anyone knew of a Audio Filter that could condense the Echo/Noise? I dont know if that makes sense but thou

  • I have the IPAD 2 and my home seems to be frozen. Please advise.

    I have the IPAD 2 and my home seems to be frozen. Please advise.

  • All mail in my inbox has disappeared and three email accounts not showing

    After logging on normally mail came up with some message about tracking junk mail and creating a file called 'Delivered' and whether I wanted to see new features in mail. I am pretty certain that I did not do anything unusual when logging in. What ha

  • "Internal Error -5002" every order

    On every order submitted from web tools, either thru the administrative screen or by the customer, is giving this error: -5002:Internal error (-5002) occurred    at NetPoint.SynchSBO.SBOObjects.SBODocument.NP_2_SBO(Documents& document, NPOrder order)