Can ora:readFile not take a hard-coded argument?

Hi:
I have a need to pass in a different filename to ora:readFile(<dynamic file name>).
I tried to do the following and it does not like it:
<copy>
<from expression="ora:readFile(concat('file:///', bpws:getVariableData('Variable_File_Name')))"/>
<to variable="Variable_File_Contents"/>
</copy>
where Variable_File_Name may hold string like d:/myfile.txt or d:/yourfile.txt etc.
Can someone help?
AJ

Can you turn your iPad on? Or does it only not work when you want to take a screen?

Similar Messages

  • Why dont we like hard coded literald

    Hello Abapler,
    I am planning a workshop for developers concerning guidelines. They shall use less hard coding.
    But...  Why ?
    It is clear for me in cases of translation. But what other reasons are there.
    Do you have any source, ideas, examples ?
    We are working with classic Abap and little OO
    Thanks for every help !
    Simone

    >
    Paul Chapman wrote:
    > Also, if you have to change it and it's used in more then one place, you only need change it in one.
    And if you used hard coding you will have to change it not only in several places but in all places. And most likely you will forget to change one place. The results can be strange...
    One thing I would like to add: Most likely your developers will produce bugs once in a while. Or if they are perfect someone will try to use their programs for something they were not developed for. In the end you (or them) will have to debug the source code. And it's helping a lot if you can just search for a constant by it's name. If you just see in the code of somebody else that a 'magic' parameter is set to 42 you will have a really bad time to find all other places where 42 is used with the same intention.
    But this are all reasons that are not restricted to ABAP. It's true in every programming language. And there is one easy way to teach a programmer not to use hard coding whenever he can avoid it without major performance drawbacks: Just let him do maintainance for some weeks...
    Best regards,
    Jan Stallkamp

  • When i want to export movie as a quicktime movie in imovie09 i've saved it, it exports somewere, take a hard drive space but movie does not exist or i can't find it, please any help

    In imovie (8.0.6) i click share, then export movie as quicktime movie, choose a folder then click save and it starts working. At the end of job movie is not there but hard disc space is gone. So I'm keep loosing space but not getting movie. Please can someone help me with this.

    If you have Qt Pro, you can open the file and turn on a controller, then resave the file.

  • How can I avoid hard-coding this where clause in the inner select?

    This is extremely fast, but I have to hard-code the inner-most where clause, and I obviously can't do that. I know how to work-around it by creating a function that takes the CUSTOMER_ID and returns the ORDER_ID from the most recent payment, and that's reasonably fast, but I thought it would be worthwhile to see if there was a way to do this in straight SQL. I also know that better design could make the problem go away.
    Very much appreciate it if you could take a look and let me know if there's any way to get this kind of performance without hard-coding.
    Thanks,
    create or replace view customer_view as
    select customer.customer_id,
              customer.customer_name,
                   select t.order_id
                        from (
                                  select payment.order_id
                                       from payment
                                       where payment.customer_id = 1 -- <-- Here's the line where I'm hard-coding the customer_id. Is there any way to reference the customer_id without hard-coding this?
                                       order by payment.payment_date desc
                             ) t
                        where rownum = 1
              ) as latest_order_id
         from customer
    select * from customer_view where customer_id = 1; <-- I want that inner-most select to use this customer_id, without having to hard-code it.

    Hi Matt,
    Something like this could be a possibility (Not tested)
    create or replace view customer_view as
      select customer.customer_id,
             customer.customer_name,
             (select min (t.order_id)
                       keep (dense_rank first order by payment.payment_date desc)
              from   payment
              where  payment.customer_id = customer.customer_id)
               as latest_order_id
      from   customer;Regards
    Peter

  • How do I just remove the current update to 3.6.12 and go back to an earlier version as I can not take the continual freeze ups ever few mins.? If this continues I will remove Firefox totally and switch to another browser I can not take this anymore.

    I can NOT take the continual freeze ups of my entire browser even worse when updating a page let alone just opening email. I closed the browser and have had to use even just microsoft or Google since this Firefox has gotten so horrible...
    I clear my history and my cache so many times a day I can not keep track anymore and that is insane to have to do it as many times as I am even worse that it does not help in the least!
    I have used Firefox for years now but if I have to remove it and switch to a different one by the days end I will and I will post in Facebook to all my friends who I had switch to Firefox what and why though some have already just switched to other browsers.

    First, that cannot be an iBook G4 as that machine cannot run Snow Leopard let alone Mountain Lion.  To run Snow Leopard it has to be an Intel processor, not a G4.  What does it show as the Model Identifier in About This Mac, More Info, System Report, Hardware, Model Identifier?
    Second, if you have erased the hard drive there should not be remnants of any prior content.  Even though Disk Warrior is saying nothing is wrong with the hard drive, it sounds as though there are problems.  You may want to consider simply replacing the hard drive so there are no questions about faults.  A good source is OWC, http://www.macsales.com where they also have on-line videos showing how to do the replacement.
    Third, you could also try again to restart using the Snow Leopard DVD/CD and use Disk Utility on that install disk to erase again, and do it a couple times, then try to install.  If it continues to refuse, then it sounds as though there is a fault with the hard drive.

  • When Hard-coded server name and data base name are replaced with variables , execute process task does not produce the result

    Hi All,
    I am trying to load shape file into a sql spatial table. A execution process task is used to run the ogr2ogr.exe program.
    This is how the process tab looks like .
    Executable : C:\gdal_ogr2ogr\bin\gdal\apps\ogr2ogr.exe
    Argument :  -f MSSQLSpatial   MSSQL:server=SQL-ABC-DEV;database=MYSIMPLE_Dev;Trusted_Connection=True;\\mypath\files\shares\Data\www.mypage.htm\my_sample_file.shp
    Success value : 1
    For above settings, package runs fine. The spatial table is created in SQL server db. However when hard-coded SQL server name and database name are replaced with global variables , the spatial table is not created in the database. Yet the package runs fine.
    It does not throw any errors. (I am using another variable for full file path. It is not causing any errors though)
    " -f MSSQLSpatial   MSSQL:server="+@[$Project::SQLServerName]+";database="+ @[$Project::DatabaseName] +";Trusted_Connection=True;"+ @[User::Filepath] + "\\my_sample_file.shp"
    Both variables are string type. Can anyone tell me what I am doing wrong here please?
    I am running this in VS 2012.
    Thanks for your help in advance..
    shamen

    There should be a single space just after True:
    before
    " -f MSSQLSpatial   MSSQL:server="+@[$Project::SQLServerName]+";database="+ @[$Project::DatabaseName] +";Trusted_Connection=True;"+ @[User::Filepath] + "\\my_sample_file.shp"
    after keeping the space
    " -f MSSQLSpatial   MSSQL:server="+@[$Project::SQLServerName]+";database="+ @[$Project::DatabaseName] +";Trusted_Connection=True; "+ @[User::Filepath] + "\\my_sample_file.shp"
    Thanks
    shamen

  • Want to upgrade RAC 10.2.0.2 database (2 instances) to 10.2.0.5. DB size is 4 TB. Contains mostly .pdf files, reports. I do not have test/upgrade environment. How much time I can expect it will take?

    Want to upgrade RAC 10.2.0.2 database (2 instances) to 10.2.0.5. DB size is 4 TB. Contains mostly .pdf files, reports. I do not have test/upgrade environment. How much time I can expect it will take?
    How much the upgrade process depends of database size, in this case?
    I have fast boxes  IBM AIX 5.3 , 64 b.

    Appreciate your comments ...
    Yes, sound stupid, regarding test environment, but in reality, is not that much:
    -I do have "preprod" environment, (2 instances RAC) same releases of OS, OCW,RAC ... but DB size is 40 GB!!!  It has all the objects as production, but (again but) it does not have physical standby, as production has. This is not that unusual, knowing that production DB grows very fast, and very large, and business do not want to keep preprod, dev, test databases same HUGE size as production is. Savings ...
    -My DB upgrade depends if application  running on top of it is certified for higher RDBMS release ... looks like they have some problems.
    -Very encouraging sounds comment that DB upgrade does not depend that much of the DB size ...
    - i do not recall from where this info came, but I have heard that R 11.* treats PDF files in different way that R10 did it ... and because of that, process of upgrading big databases which have many items of that type (pdf) can take very long. Any idea about this?
    -Brian, thx ... I'm trying hard to provide DB simmilar size in UPG environment and face all possible pitfalls before I go in production...thx for youe advice. I'm relly interested in how upgrade to 11.* from 10.* traets my pdf-s ... All my TBs comming from pdfs. Everi advice will be wellcome ...

  • My iPhone 4 will not sync my new voice memos from the "Voice Memos" app to my computer. This is frustrating, should not be so hard, can someone please help. I use PC with windows 7 with iPhone version 6.1.3 and iTunes most recent. Thanks.

    My iPhone 4 will not sync my new voice memos from the "Voice Memos" app to my computer. This is frustrating, should not be so hard, can someone please help. I use PC with windows 7 with iPhone version 6.1.3 and iTunes most recent. Thanks.

    In the Music tab of iTunes, do you have 'Include Voice Memos' checked?

  • Can not get external hard drives to connect to my computer 17" Mac book Pro 10.7.5

    can not get external hard drives to connect to my computer I am using a 17" Mac book Pro 10.7.5.
    I have 2 iomegas and 1 LaCie. Changed cables. I can feel the external hard drives running and
    I can hear them running but I can not get them on the computer any more. They did work at one time.
    Can any one PLEASE help?

    Nothing appear on my desktop. 
    I did Repair and Verify the HDDs in Disk Utility>First Aid from the
    Utilites App about a dozen times ans they all said everything was good
    except for the last time there were erors found and I ran the
    Disk Utility from the Start Up Disk and the repairs were made and everything
    was subposed to te good and still Nothing on the desk top.
    Ginger

  • TS3694 I was making the update for my iphone 4s . then he stops. My phone in this time is in the recovery mode and do not take the firmware to open my phone, please can u help me to recover my phone. My current  ios 6.0.1. plese send me some thing that is

    was making the update for my iphone 4s . then he stops. My phone in this time is in the recovery mode and do not take the firmware to open my phone, please can u help me to recover my phone. My current  ios 6.0.1. plese send me some thing that is useful

    Thanks for that 'sberman' - because my iPhone is backed-up to my work computer (only at this stage) I have had to call our IT Department in Adleaide. (4 times this morning). The last guy managed to get the phone into 'DFU Mode' - no more recovery mode screen - (kind of 'asleep' perhaps) from my understanding of same. I am awaiting a call again from IT so they can get my computer to actually recognise my iPhone on the C Drive. This also happened to  one of my colleagues in Newman (WA). She got so frustrated with the whole process that she bought another phone the next time she was in 'civilisation.' She hasn't had any problems since. (Cross fingers).
    Thanks again, Sandra2474.

  • How can I make my imap email not take the emails off the server?

    How can I make my imap email not take the emails off the server when I delete them on my iPad?
    Can anyone help me whith this?
    I tried to use the pop account in gmail settings but that was downloading all my emails sice 2008 ( more than 300 deleted emails tha can only be found in the deleted email box), when I just have 5 or 6 email in the inbox .
    How can I solve this????
    Thank u all...

    I have the same problem. For years I have been able to delete emails from my ipad and have them remain on the server so I can deal with them on the desktop. Now they get deleted from the server when deleted from the ipad, which makes the ipad unless for reading mail.
    You answered to delete the email account on the ipad and set up a new one as a pop. I have made many attempts to do that in the  incomping mail server "Host Name" field but it always errors out even when the host name is equal to what my desk top has. So I can see no way to change away from IMAP. I started with an ipad 1 and now have an ipad 2.
    Rachael

  • Can not fine external hard drive for time machine sence lion was installed

    I can not fine external hard drive for time machine sence lion was installed, it don't reconise it at all.

    I have a Mac Mini (late 2009) and I have an iomega 1TB external hard drive connected to my mini via firewire and usb (usb allows me to use the usb ports on the external 1TB drive to daisy chain other devices).  Since I installed Lion, my Time Machine  and this 1TB drive (and its partitions) is finicky.  Sometimes it is mounted and sometimes it is not.   This issue has only surfaced post Snow Leopard and in the Lion era. I am not the first to say this but the whole reason I went Mac was b/c of Vista.  I am beginning to think that Lion is the new Vista.  Sorry for the latter, just venting... b/c this ain't the first issue with Lion.

  • Can't update to ios7 on ipod touch 4th generation on this ipod. had facetime but now it requires ios7 so i have it no more and used it a lot with family. would have to buy new ipod. apple should not take away the capabilities you have already paid for

    found out i can't update ipod touch 4th generation to ios7 which is now required to use facetime. have used facetime for several years with family now can't use. Apple should not take away the capabilities you already have paid for!!

    No correct, you do not need iOS for FaceTime. You only needed to update to iOS 6.1.6.
    Unable to make or receive FaceTime calls after April 16, 2014
    If you are having problems:
    iOS: Troubleshooting FaceTime                  

  • I have deleted my private folder and do not have enough space to reinstall my operating system. How can i transfer files from my hard drive to an USB drive to free up space when the operating system isn't working. or do i need to erase disk?

    i have deleted my private folder and do not have enough space to reinstall my operating system. How can i transfer files from my hard drive to an USB drive to free up space when the operating system isn't working. or do i need to erase disk through disk utilities without erasing data (but will it delete my programs such as photoshop, office, creative suite?

    Connect the computer to another Mac and put it in FireWire Target Disk mode, or use the Disk Utility to clone the drive or image specific folders with the USB drive as the target. After you've copied off everything you want, you'll likely need to erase the drive and reinstall the applications.
    (69695)

  • I can not take pictures or back up my phone due to error message not enough storage.I have all of my data turned off and still can not back phone up.? I have deleted lot of pics and messages and still get message..

    I can not take pictures or even back my phone up due to error message not enough storage I have went into manage storage and turned all my apps to off and I still get error. I also have deleted a ton of pictures and apps.

    Hi there mistib,
    You may find the information in the article below helpful.
    iOS: "Not enough free space" alert when trying to sync
    http://support.apple.com/kb/ts1503
    -Griff W.

Maybe you are looking for

  • Can't open more than one file at a time

    I am experiencing a strange bug in Dreamweaver CC. When I try to open multiple files in DW, it opens the same file in multiple tabs. For example: I select index.html and login.html from the site root, then open. Instead of ending up with both files o

  • Passing Printer as a parameter in the bursting control file

    One of our requirements is to print our report on different printers based on the user input. To acheive this, I am passing printer name as one of the parameter in our concurrent process. In the bursting java process, I set the properties as Properti

  • Exchange email only, not other info

    I am on my local city council and they have an email address setup for me on their exchange server.  I want to retrieve email from it but not sync my contacts or calendar events.  I want to continue to do a normal sync with my work computer.  Is this

  • Error in wdDoApplicationStateChange

    Hi Experts, I am creating a new DC in my SC and then Adding it to DTR and then creating a component, application and view and just trying to build the DC. I am getting the following errors in the wdDoApplicationStateChange method of the InternalCN_XX

  • Changing Activity Elements  under the WBS in Project Systems

    I have added additional fields to the AFVU structure and need to update the fields. I created a sub-screen using enhancement CNEX0008. This subscreen contains my added fields.  I wanted to use tcode CN22 to perform the updates. When i record a BDC fo