Is Directory Creation necessary for BFILE ?

I created a table with one column as bfile
while inserting the value in that column using directory
it works fine
but when i use direct path instaed of directory it gives value error.
for example: INSERT INTO ABC_BFILE_TEST (B)
VALUES ( BFILENAME('/export/home/devmgr','karan.txt'));
this inserts the row but with value error iam not able to open this document.
for example: INSERT INTO ABC_BFILE_TEST (B)
VALUES ( BFILENAME('DIRECTORY1','karan.txt'));
NOW IN THIS CASE directory1 is directory which i created in database
and represents the same path '/export/home/devmgr' and it works fine
Actually i have to pass the path and file name on runtime
so i dont want to create directory.
Could anybody help me on this.
Your reply is highly appreciable. :)

But, as Michael says, I wouldn't recommend using UTL_FILE_DIR parameter.
It has a big security flaw in that whatever paths you set in it are available for read/write to ALL database users. Not generally a good idea to let every database user have access to all the specified folders on the file system.
And if you really do think that's the best way to do what you need, you should never (I repeat... NEVER!) set the utl_file_dir parameter to "*" as this will give every database user access to the whole filesystem of the database server, which could be disasterous.

Similar Messages

  • Home directory creation for local user accounts using powershell

    Through Computer Management when I create a user, a home directory is created for the same user in the folder C:\Users.I am creating a user through powershell in a remote machine.I am using the following script to create user 
    $comp = [ADSI]'WinNT://localhost,computer';
    $user = $comp.Create('User', 'account7');
    $user.SetPassword('Welcome1');
    $user.SetInfo();
    The account is getting created. But no home directory is created for this user. How to create a home directory for a user using powershell? Also the user created through GUI is a member of the group 'Users' by default. How to add the user created to the
    'Users'  Group.

    Hi Cmm user,
    Thanks for your posting.
    To set the attribute of homedirectory for a user in powershell, please also try the cmdlet set-aduser:
    import-module activedirectory
    $HomeDrive=’Z:’
    $UserRoot=’\\CONTOSO-FPS\Users$\’
    $HomeDirectory=$UserRoot+$AccountName
    SET-ADUSER $AccountName –HomeDrive $HomeDrive –HomeDirectory $HomeDirectory
    I hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Report Directory Creation

    Can you please change the report object to incorporate directory creation?  I'd like to file reports by date/time and dynamic directory creation is needed to do this in Lookout.
    Another way to print screens to pdf (preferred) or html with date/time directories or filenames would be welcome.  Since the report graphic objects are not nameable (by date/time for example), new directory is needed for each report to properly file/separate them.
    Related to this is the ability to make a date object (expression, or other) dynamic included in a filename with the correct numeric format.  No luck so far.
    Ideas/experience welcome!

    Okay, I've got it.  You will need to disable images for this post page to see as typed (without smiley faces...that are NOT supposed to be in my text below)
    Key was to use expressions with embedded text functions such as:
     "cmd /c mkdir \\Domain\Share\lookout\reports\all_rad\"&left(text(if(Sw_All_Rad_Tnd_Live,now(Tmr_5sec),Pt_All_Ht_Start.value),"yyyy-mm-dd hh:mm"),10)&"\"&mid(text(if(Sw_All_Rad_Tnd_Live,now(Tmr_5sec),Pt_All_Ht_Start.value),"yyyy-mm-dd hh:mm"),12,2)
    The above is the value of an expression object that is connected to the run object's "Command line" property which writes the directory yyyy-mm-dd\hh based on a conditional pot value.
    The report's " Output directory" property uses another expression object that is similar, just without the dos command:
    "\\Domain\Share\lookout\reports\all_rad\"&left(text(if(Sw_All_Rad_Tnd_Live,now(Tmr_5sec),Pt_All_Ht_Start.value),"yyyy-mm-dd hh:mm"),10)&"\"&mid(text(if(Sw_All_Rad_Tnd_Live,now(Tmr_5sec),Pt_All_Ht_Start.value),"yyyy-mm-dd hh:mm"),12,2)
    Lookout is power, even if it is clumsy sometimes.
    A separate issue with reports is that the panels I am trying to print are full screen (normally maximized, normal panels).  Unfortunately, when the Panel.graphic is connected to the report.display parameter, it uses the screen property size and does not use the "maximized" equivalent size.
    The issue is that you cannot make a "non" maximized normal panel as big as it is when displayed maximized, so it is impossible to print the entire panel as it is displayed in Lookout.
    It would be great if this could be "fixed" some how.  Ryan....comment?
    Ed
    Message Edited by erblock on 04-28-2009 12:53 AM

  • What is necessary for FIM to connect to an AD in another forest?

    Hello
    I have FIM 2010 R2 installed on fim1.fim1.local working happily provisioning users into fim1.local domain.
    Now due to merger we have a second forest    additional.local  
    What is necessary for the existing FIM install to manage users on the additional.local forest as I cannot connect without error?
    I can access the additional.local DC from the FIM Server and read the directory. Port 389 is open. I have a domain account on additional.local.
    When I try to make an AD MA. I get the error message:
    "Failed to search on DN cn=Aggregate,cn=Schema,cn=Configuration,dc=additional,dc=local"
    and error code is 0x34.
    I tried these values:
    Forest:   addDC.additional.local
    User Name: Administrator
    Password: ***
    Domain: additional
    Where am I going wrong?

    Yes I can connect to the external forrest when the DCs have ports 389 88 53 and 464 listening.
    However, just one oddity in this FIM. When I push the "Containers" button to select the containers. I must first  configure and Add the preferred domain controller  (as given on previous dialog form) before I get the list of OUs.
    After configuring I can switch it off and all is Ok.
    just a comment,just wondering why.
    *HH

  • Directory creation

    These are the steps i followed what's wrong in this
    Physically created an folder in Oracle server 10g called xmlfiles in location C:\
    then connected as system
    CREATE DIRECTORY xmlfiles AS 'C:\xmlfiles';
    GRANT READ,WRITE ON DIRECTORY xmlfiles TO TEST;
    connect to test user
    SELECT directory_name,directory_path FROM all_directories;
    DIRECTORY_NAME DIRECTORY_PATH
    XMLFILES     C:\xmlfiles
    SELECT DBMS_LOB.getLength( BFileName('XMLDIR','BAPLIE_95B.xml')) AS length FROM dual;
    gives me
    ERROR at line 1:
    ORA-22285: non-existent directory or file for GETLENGTH operation
    ORA-06512: at "SYS.DBMS_LOB", line 566
    Physically created an folder in Oracle server 10g called xmlfiles in location C:\
    then connected as system
    CREATE DIRECTORY xmlfiles AS 'C:\xmlfiles';
    GRANT READ,WRITE ON DIRECTORY xmlfiles TO TEST;
    connect to test user
    SELECT directory_name,directory_path FROM all_directories;
    DIRECTORY_NAME DIRECTORY_PATH
    XMLFILES     C:\xmlfiles
    SELECT DBMS_LOB.getLength( BFileName('XMLDIR','BAPLIE_95B.xml')) AS length FROM dual;
    gives me
    ERROR at line 1:
    ORA-22285: non-existent directory or file for GETLENGTH operation
    ORA-06512: at "SYS.DBMS_LOB", line 566

    yingkuan wrote:
    SELECT DBMS_LOB.getLength( BFileName('xmlfiles','BAPLIE_95B.xml')) AS lengtchange 'xmlfiles' to upper case.in addition to yingkuan's advice you'll find the view ALL_DIRECTORIES handy for finding out what things are called and where they point to. It's also worth remembering that identifiers are always uppercase unless you or your development tool are stupid enough to double quote them at creation.
    Niall Litchfield
    http://www.orawin.info

  • Dimension tool plugin necessary for Illustrator ?

    Hello,
    unfortunatley my company bought CS4, but a few employees also sometimes need  to add dimensions to drawings similar like in CAD software for engineer drawings possible.
    But it looks like that it is NOT working with Illustrator CS4. (although written in Wikipedia, that illustrator closes gap between CAD and pixel basing software.)
    Is there any possibility to install plugin for Illustrator or is Illustrator having such tool ?
    Thanks for helping !
    Jan

    I have an AI Javascript that I built for my own convenience, which creates simple linear dimension callouts, as described here.
    It is dependendent upon two Graphic Styles and one Paragraph Style which can be added to your documents (or templates) by copying / pasting from the .ai file that is included in the download .zip. However...
    It is little unbelievable that Adobe, eliminated dimension tool from Illustrator. Why ?
    Illustrator never had dimension tools.
    although written in Wikipedia, that illustrator closes gap between CAD and pixel basing software
    Whomever wrote that should be horse-whipped. (Or worse, forced to do techish commercial drawing with Illustrator in a roomful of others who are using either Canvas or CorelDraw.) That is probably the worst mis-characterization of what Illustrator is that I have ever heard.
    Did my company buy the wrong software ?
    Probably. If dimension tools and a few other very common features necessary for techish illustration are a frequent need, absolutely. Illustrator not only lacks ordinary dimension tools, it also lacks:
    Reliable snaps.
    User-defined drawing scales.
    Connector lines.
    Callout objects.
    Live shape primitives (rectangles, polygons, ellipses, arcs) with geometric parameters (corner radii, etc.) that can be adjusted after creation.
    Proper corner rounding / chamfering commands.
    Any feature assist for mechanically corrrect perspective construction.
    Is there any other software from adope, which is able to work on .jpg picture and using dimensioning, too ?
    JPEG is just a lossy compression format for raster images. I don't know what it, in particular, would have to do with what you have described so far (using a mainstream drawing program to make attractive commercial illustration based on line work exported from CAD software).
    But unlike most of its direct competitors these days, Illustrator does not provide any features (other than the ability to apply Photoshop filters) for actually editing raster images. It can import a raster image (JPEG or other) and manipulate it as an object (rotate it, scale it, mask it, etc.). But there are no pixel-editing features.
    You have not very well described what your company's needs are. But just given your mention of dimension tools as being important and your need for something to "bridge" between working product drawings and commercial product illustration, I dare say you would be far better off with Canvas, Corel Draw, or Corel Designer.
    Unlike its competitors, Illustrator has always treated anything the least bit "techish" as if it's something to fear. It's competitors embrace it as what it is: a huge segment of the overall mainstream commercial illustration world. And it isn't just this seeming "technical" vs. "paper doily" aversion. Much of it is simply the fact that Illustrator has never kept up with its competitors in straighforward, no-nonsense path drawing features. Illustrator has always sat too fat-and-lazy on its Adobe label for market share.
    People (including myself) do technical/commercial illustration in Illustrator all the time. Most commerical product illustration is of that nature. But in doing so, they constantly employ tedious, cumbersome, and time-wasteful workarounds for the pathetically weak feature set of Illustrator--or they buy add-ons which cost half what they paid for Illustrator all over again. (I've never understood that mindset. No matter how well-done the plug-in, it's never as cleanly-integrated with the overall program as built-in features; and you have to put up with everything that goes along with mission-critical dependency upon add-ons from small third-party providers.)
    JET

  • Portmap translation creation failed for udp src inside dst inside

    Hi!
    I have a problem with allowing traffic to UC500 subnets on ASA 5505 inside interface.
    My asa is a main router with addres 192.168.1.1
    UC500 voip box is connected to ASA's inside interface through UC500 WAN port with UC500 with 192.168.1.2 address.
    Firewall and NAT on UC500 is disable
    UC500 sip traffic works fine. voipbox creates its subnets for data and voip - 192.168.10.0 and 10.1.1.0. another important address is 10.1.10.1 which is UC500 CUE.
    My problem is that from within ASA local network (192.168.1.0) i cannot reach UC500 subnets, neither can I reach ASA's local network from the UC subnets.
    the log says
    3
    Sep 07 2013
    00:21:49
    DC
    53
    PBXCUE
    32901
    portmap translation creation failed for udp src inside:DC/53 dst inside:PBXCUE/32901
    I tried exempting uc500 subnets on ASA but that didn;t work.
    Funny thing is that I CAN reach the UC500 subnets when connecting with VPN to ASA...
    Please help! I am not familiar with CLI.
    I configured static route to 10.1.10.0 and since then I was able to ping 10.1.10.1 thorugh ASA;s VPN.
    I would be grateful for ideas.
    Lukasz
    global (inside) 1 interface
    global (outside) 101 interface
    nat (inside) 0 access-list inside_nat0_outbound
    nat (inside) 101 0.0.0.0 0.0.0.0
    static (inside,outside) tcp interface https IIS https netmask 255.255.255.255  dns tcp 200 200 udp 200
    static (inside,outside) tcp interface www IIS www netmask 255.255.255.255  dns tcp 200 200 udp 200
    static (inside,outside) tcp interface smtp IIS smtp netmask 255.255.255.255  dns
    static (inside,outside) tcp interface pop3 IIS pop3 netmask 255.255.255.255  dns
    static (inside,outside) udp interface domain RenBetPBX domain netmask 255.255.255.255  dns
    static (inside,outside) udp interface 5061 RenBetPBX 5061 netmask 255.255.255.255  dns
    static (inside,outside) udp interface sip RenBetPBX sip netmask 255.255.255.255  dns
    static (inside,outside) tcp interface 13000 SQL 13000 netmask 255.255.255.255  dns
    access-group inside_access_in in interface inside
    access-group outside_access_in in interface outside
    route outside 0.0.0.0 0.0.0.0 x.x.x.x
    route inside PBXCUE-network 255.255.255.0 RenBetPBX 1
    timeout xlate 3:00:00
    timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
    timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
    timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
    timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
    timeout tcp-proxy-reassembly 0:01:00
    dynamic-access-policy-record DfltAccessPolicy

    Hello Julio!
    Thank you for your advice.
    I have managed to solve my main problem by reconfiguring my switches vlans - enabling trunk port configs for required ports and allowing them access to both vlans.
    Now I can see everything from all of my inside networks.
    I continue my ASA adventures - I have managed to configure L2TP client access for my windows users, RADIUS authentication for domain users and yesterday night I have managed to configure site to site VPN with my RV120W router.
    I am only an enthusiast but my recent successes have given me apetite for more...
    I keep reading forums and trying to solve most of my problems myself but I have faced another one now and thought that maybe you could give me another tip on where to look for the issue:
    I still have one problem with my L2TP VPN config - I have configured split tunnel on the group policy to tunnel only 192.168.1.0 network requests.
    access-list DefaultRAGroup_splitTunnelAcl standard permit 192.168.1.0 255.255.255.0
    My network at home is 192.168.2.0 but it still tunnels everything (when I check my ip after connecting to VPN my home laptop still identifies with ASA gateway(!) address .
    access-list outside_access_in extended permit icmp any interface outside object-group DM_INLINE_ICMP_1
    access-list outside_access_in extended permit tcp any interface outside object-group DM_INLINE_TCP_1
    access-list outside_access_in extended permit tcp any interface outside eq smtp
    access-list outside_access_in extended permit tcp any interface outside eq 8080
    access-list outside_access_in extended permit tcp any interface outside eq 23456
    access-list outside_access_in extended permit object-group DM_INLINE_SERVICE_1 object-group DM_INLINE_NETWORK_1 any
    access-list outside_access_in extended permit tcp any interface outside eq 13000
    access-list outside_access_in extended permit tcp any interface outside range 8001 8016
    access-list outside_access_in extended permit tcp x.x.x.x 255.255.255.0 interface outside eq ssh
    access-list inside_nat0_outbound extended permit ip any 192.168.1.240 255.255.255.240
    access-list inside_nat0_outbound extended permit ip any PBXVOIP-network 255.255.255.0
    access-list inside_nat0_outbound extended permit ip any PBXCUE-network 255.255.255.0
    access-list inside_nat0_outbound extended permit ip 192.168.1.0 255.255.255.0 igolomska-network 255.255.255.0
    access-list inside_access_in extended permit udp object-group DM_INLINE_NETWORK_2 any object-group DM_INLINE_UDP_1
    access-list inside_access_in extended permit ip host IIS any
    access-list inside_access_in extended permit ip any any
    access-list inside_access_in extended permit ip host RBSTORE_NAS any
    access-list inside_access_in extended deny udp any any object-group DM_INLINE_UDP_2
    access-list inside_access_in extended permit tcp any any eq 5432
    access-list inside_access_in extended permit tcp any host PBXCUE eq www
    access-list inside_access_in extended permit tcp host PBXCUE any eq www
    access-list inside_access_in extended permit tcp host RBCAMSTORE_NAS host EXCH-MBX eq smtp
    access-list inside_access_in extended permit tcp host RBSTORE_NAS host EXCH-MBX eq smtp
    access-list inside_access_in extended permit tcp host RENBETUPS host EXCH-MBX eq smtp
    access-list inside_access_in extended permit tcp host RenBetPBX host EXCH-MBX eq smtp
    access-list DefaultRAGroup_splitTunnelAcl standard permit 192.168.1.0 255.255.255.0
    access-list outside_1_cryptomap extended permit ip 192.168.1.0 255.255.255.0 igolomska-network 255.255.255.0
    route print shows:
    and 192.168.1.240 is my VPN IP - its metric has higher priority than the local gateway.
    How do I change it?
    Active Routes:
    Network Destination        Netmask          Gateway       Interface  Metric
              0.0.0.0          0.0.0.0      192.168.2.1    192.168.2.126   4250
              0.0.0.0          0.0.0.0         On-link     192.168.1.240     21
          80.51.24.22  255.255.255.255      192.168.2.1    192.168.2.126   4251
            127.0.0.0        255.0.0.0         On-link         127.0.0.1   4531
            127.0.0.1  255.255.255.255         On-link         127.0.0.1   4531
      127.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
          169.254.0.0      255.255.0.0         On-link     192.168.2.126   4506
      169.254.104.126  255.255.255.255         On-link     192.168.2.126   4506
      169.254.255.255  255.255.255.255         On-link     192.168.2.126   4506
        192.168.1.240  255.255.255.255         On-link     192.168.1.240    276
          192.168.2.0    255.255.255.0         On-link     192.168.2.126   4506
        192.168.2.126  255.255.255.255         On-link     192.168.2.126   4506
        192.168.2.255  255.255.255.255         On-link     192.168.2.126   4506
            224.0.0.0        240.0.0.0         On-link         127.0.0.1   4531
            224.0.0.0        240.0.0.0         On-link     192.168.2.126   4506
            224.0.0.0        240.0.0.0         On-link     192.168.1.240     21
      255.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
      255.255.255.255  255.255.255.255         On-link     192.168.2.126   4506
      255.255.255.255  255.255.255.255         On-link     192.168.1.240    276
    ===========================================================================
    I am starting to feel like I am using a bit too much of your friendliness ...
    Best Regards and have a great day!
    Lukasz

  • VPN problem behind ASA5505 -regular translation creation failed for protocol 50

    Dear All,
    I have to connect behind my ASA5505 with an VPN klient to an other site.
    First time i got this failure.
    "Deny protocol 50 src inside:192.168.50.X dst  outside:x.x.x.x by access-group "acl_in" [0x0, 0x0]"
    Than I opened our inside (src 192.168.50.0) network  the UDP 500,4500 TCP 500,4500,10000 and ESP (dest x.x.x.x remote firewall ip).
    access-list acl_in extended permit esp host 192.168.50.0  host x.x.x.x eq isakmp
    access-list acl_in extended permit udp host 192.168.50.0  host x.x.x.x eq 500
    access-list acl_in extended permit eudp host 192.168.50.0  host x.x.x.x eq 4500
    etc.
    After that i could connect for the remote firewall with vpn client but i couldn't reach any PC1s on there side and ping gives back no anwser.
    Deny protocol 50 was solved but i got an other problem:
    "regular translation creation failed for protocol 50 src  inside:192.168.50.X dst outside:x.x.x.x"
    I found somewhere thet lines can help:
    crypto isakmp nat-traversal
    inspect ipsec-pass-thru
    But this wasn't usefull.
    I tried a many thing but i'm stuck.
    Could somebody help me what can i do to solve this problem?
    Thanks for all anwsers!

    The solution was the following for one IP!
    object network x.x.x.x                      (inside IP)
       host x.x.x.x                                  (inside IP)
       nat (inside,outside) static y.y.y.y     (remote IP)

  • Repository Creation Utility for windows 7 64 bit

    Hi All,
    I did not find Repository Creation Utility for windows 7 64 bit.
    Any idea how I can get around this or where I can find RCU for windows 7 64 bit.
    Thanks, in advance!

    Hi DK,
    There is not a particular 64bit installation. I think it works like this: if you are using a 64bit JDK the apps server is also running 64 bit.
    You can find the generic jar here: http://www.oracle.com/technetwork/middleware/ias/downloads/wls-main-097127.html and take the generic one (http://download.oracle.com/otn/nt/middleware/11g/wls1033_generic.jar)
    You install this by a command like this (you have to look up the documentation): java -XXm.... .... wls1033_generic.jar
    Then a installer pops up.
    So these were my steps:
    - installed RCU
    - installed 64 bits JDK (jdk-6u21-windows-x64.exe)
    - installed Weblogic (wls1033_generic.jar)
    - installed OBI as "software only"
    - configured OBIi (config.bat you can find in <obi11g home>\Oracle_BI1\bin)
    All together it does not take much longer then the 32bit install. Only some extra steps to do.
    Hope this works for you too.
    Regards

  • Is model view(BD64) necessary for EDI

    is model view created using BD64 necessary for a EDI transactions? I have created a logical system, a RFC destination and a EDI File Port.
    After all this i am trying to push a material master data using BD10 to the file port. When i do that the system gives me a message saying that master idoc created but it does not create a communication idoc. Only if i have a Model view set up in BD64 it creates a communication idoc. So my question is do we need a model view for EDI configuration?
    ~Suresh

    Hi,
    BD64 is required for master data distribution..
    If you are having a interface that sends IDOCs to the customer or receive IDOCs from the vendor..You don't require BD64 setup..
    Thanks,
    Naren

  • HT3231 What cables are necessary for the fastest transfer of data from MacBook Pro to MacBook Air

    What cables are necessary for the fastest transfer of data from MacBook Pro to MacBook Air

    As I posted "it is an Unknown", at least to me, what type FW port is on the OPs older Mac.
    LowLuster
    HT3231 Re: What cables are necessary for the fastest transfer of data from MacBook Pro to MacBook Air 
    Dec 26, 2013 8:04 PM (in response to OGELTHORPE)
    But the newest Mac notebooks do not have a firewire port.
    So he may need a TB to FW adapter, $29, a FW 400 or 800 cable, $??, and then a FW 400 to 800 cable/port adapter (If the old Mac only has a FW 400 port), $??.
    It is unknown if the old Mac has a FW 400 or 800 port.

  • Creation date for schedule line

    Hi All,
    I have a scheduling agreement. MRP is generating the schedule lines properly. I want to know any table or any other way by which I can check the creation date for those MRP generated schedule lines.
    Regards,
    MHP.

    Dear Manish,
    As per my understanding from your question, you can use 'MD04-Stock/Requirement List' transaction for checking all the dates for planned order generated from MRP run.
    Regards,
    Hiren Ramani

  • I am running windows XP professional X64 Edition and it is necessary for me to instll Adobe reader 9

    I am running windows XP profession X64 edition and it is necessary for me to install and use Adobe reader 9.  Please advise procedure(s)

    If you're NEVER going to EVER open a PDF, then no, it wouldn't be necessary. But you're going to be in an extremely rare set of circumstances if that's going to be the case.
    Otherwise, you'll need it, and Reader 11 works with XP Pro.

  • ORA-22285 - non-existent directory or file for FILEOPEN operation

    Hello
    I want to insert the xmldata from a xmlfile to the a table, with this scirpt:
    #!/bin/sh
    set -x
    for i in `find . -name "dspevent*.xml"| awk -F"/" '{print $NF}'`
    do
    echo $i
    fname_old=$i
    fname_neu=`ls $i | awk '{print "OK_"$0}'`
    cat $i | sed 's/aps://g' >$fname_neu
    echo $fname_neu
    rm $i
    #insert_xml $fname_neu
    INSERT_XML=`sqlplus -s username/passwort@database <<EOF
    INSERT INTO event_xml (name,
    dtsysl,
    hrsysl,
    dtcptl,
    nusesi,
    dsp_step,
    dsp_state,
    bat_class,
    bat_program,
    bat_seqi,
    bat_state)
    SELECT *
    FROM XMLTABLE (
    'Operations/Event'
    PASSING xmltype (BFILENAME ('EVENT_DIR', '$fname_neu'),
    NLS_CHARSET_ID ('CHAR_CS'))
    COLUMNS name VARCHAR (40) PATH 'name',
    dtsysl DATE PATH 'dtsysl',
    hrsysl NUMBER PATH 'hrsysl',
    dtcptl DATE PATH 'dtcptl',
    nusesi NUMBER PATH 'nusesi',
    dsp_step VARCHAR (40) PATH 'DSP/step',
    dsp_state VARCHAR (40) PATH 'DSP/state',
    bat_class VARCHAR (40) PATH 'BAT/class',
    bat_program VARCHAR (40) PATH 'BAT/program',
    bat_seqi NUMBER PATH 'BAT/seqi',
    bat_state VARCHAR (40) PATH 'BAT/state');
    EOF
    `
    done
    But the problem is, that I have always this error message:
    ORA-22285 -> non-existent directory or file for FILEOPEN operation
    I'd create a direcotrie and over utl_file.fopen I can write a file to this directorie, but this works over the path, not over the directory name. the utl_file_dir parameter was also set to the correct path. Whats wrong or how can I debug this problem?
    thanks.
    roger

    - the name of the directory is correct.
    - how can I check, that the user can use the directory?
    - in this logfile you can see that, the file name will replace correctly:
    ./dspevent.sh
    + awk -F/ {print $NF}
    + find . -name dspevent*.xml
    + echo dspevent_db_20110503030448_10641.xml
    dspevent_db_20110503030448_10641.xml
    fname_old=dspevent_db_20110503030448_10641.xml
    + awk {print "OK_"$0}
    + ls dspevent_db_20110503030448_10641.xml
    fname_neu=OK_dspevent_db_20110503030448_10641.xml
    + sed s/aps://g
    + cat dspevent_db_20110503030448_10641.xml
    + echo OK_dspevent_db_20110503030448_10641.xml
    OK_dspevent_db_20110503030448_10641.xml
    + rm dspevent_db_20110503030448_10641.xml
    + sqlplus -s username/passwort@db
    INSERT INTO event_xml (name,
    dtsysl,
    hrsysl,
    dtcptl,
    nusesi,
    dsp_step,
    dsp_state,
    bat_class,
    bat_program,
    bat_seqi,
    bat_state)
    SELECT *
    FROM XMLTABLE (
    'Operations/Event'
    PASSING xmltype (BFILENAME ('EVENT_DIR', 'OK_dspevent_db_20110503030448_10641.xml'),
    NLS_CHARSET_ID ('CHAR_CS'))
    COLUMNS name VARCHAR (40) PATH 'name',
    dtsysl DATE PATH 'dtsysl',
    hrsysl NUMBER PATH 'hrsysl',
    dtcptl DATE PATH 'dtcptl',
    nusesi NUMBER PATH 'nusesi',
    dsp_step VARCHAR (40) PATH 'DSP/step',
    dsp_state VARCHAR (40) PATH 'DSP/state',
    bat_class VARCHAR (40) PATH 'BAT/class',
    bat_program VARCHAR (40) PATH 'BAT/program',
    bat_seqi NUMBER PATH 'BAT/seqi',
    bat_state VARCHAR (40) PATH 'BAT/state');
    INSERT_XML= PASSING xmltype (BFILENAME ('EVENT_DIR', 'OK_dspevent_db_20110503030448_10641.xml'),
    ERROR at line 15:
    ORA-22285: non-existent directory or file for FILEOPEN operation
    ORA-06512: at "SYS.XMLTYPE", line 296
    ORA-06512: at line 1
    + echo dspevent_db_20110502190712_10641.xml
    dspevent_db_20110502190712_10641.xml

  • What is an easy web-page creation program for use with MacBook Pro?

    Can anyone suggest an easy web-page creation program for use with MacBook Pro?  I have used FrontPage with my PC, but am changing to a MacBook Pro.

    It largely depends on your skill level. Do you want to write web page code, or do you want to just design something and have it turn into a web page automatically?
    If you are more of a designer, try these:
    RapidWeaver
    Freeway Pro
    Muse
    If you want to write web page code, try these:
    Coda
    BBEdit
    Dreamweaver
    If you really don't want to write the code and want the best experience for your viewers, and you want to spend the least amount of time on it, my recommendation is:
    No program at all.
    Instead, sign up with a web site company like:
    WordPress.com (hosted by them) or WordPress.org (hosted on your server)
    Squarespace
    Wix
    The reason is that these companies have fully operational, nicely designed web site templates that you just fill in with your words and pictures, and they are ready to go. They also give you these benefits:
    Already designed to the latest web standards
    Already designed to resist hackers
    Already designed to work on all browsers
    Already designed to automatically adjust the page for readability on desktop, laptop, tablet, and smartphone screen sizes
    Already designed for accessibility
    Already designed for Search Engine Optimization so that your page will be found on Google
    Already designed with social media links built in if you want
    It is not like the old days where you build a site in Front Page and you assume it will only be seen on a desktop computer. If you build it yourself with a web page program, do you have the knowledge to make a site that works on all of the different web browsers and mobile devices, and is friendly to search engines and social media? If you don't have those skills, working with a website company can be a lot better, faster, and more reliable than trying to hammer all of that out yourself using code in some app.

Maybe you are looking for

  • Every time I click a link, it opens in a new tab instead of the existing one.

    Whenever I left click on any link, Firefox opens the link in a new tab. Previously it would only open a link in a new tab if I either middle clicked, or right clicked and specifically selected 'Open Link in New Tab.'

  • Technical interview questions on this objects

    Hi every one  i am putting some objects in my resume can any one tell me the all possible questions on these objects. my id is [email protected] Reports:      Developed a Report to display the values of Total Finished Goods filtered by Plant.      

  • Subcontracting Scenario

    Hi Friends, I am sending metal sheet in kgs to a vendor. He will cut into pieces and send back in number of pieces. I have to get back scrap sheets left with him and account it and will be scrapped later. I have BOM for Cut pieces with sheet as child

  • Select query to find material# corresponding to particular value

    Hello, I have an internal table which has a field called 'series' which is basically the the last five digits of mara-prdha. With the 'series' number in hand, i need to find the corresponding materials. Thus, need to write a select query to for all s

  • Combination/Matrix Generation Automation?

    Hi everyone: The current problem in front of me is that I have a set of string elements, say N of them, while the task is to automatically generate ALL combinations with length ranging from 1 to (N-1). If, for example, given 'a, b, c, d', the followi