Creating Target Directory Paths

My questions are mixed in below, marked with "Q:"
Task 7A-1-6 in the PTools 8.48 Installation Guide talks about directory path structures that are required by the Oracle DBMS install wizard, but need to be manually created by me.
I installed database 10g. My SID is "HCM". There is an initHCM.ora file in my database folder. The contents were:
SPFILE='C:\oracle\product\10.2.0\db_1/dbs/spfileHCM.ora'
and I added the following, per install guide instructions:
DB_NAME = HCM
DB_FILES = 1021
CONTROL_FILES = (/filesystem1/cntrl1HCM,/filesystem2/cntrl2HCM)
OPEN_CURSORS = 255
db_block_size = 8192
remote_login_passwordfile=NONE
Q: I substituted HCM for <SID> in the CONTROL_FILES variable, but are things like filesystem1 and filesystem2 meant to be literals, or is it intended that I substitute something for these? Also, there are some forward slashes in the SPFILE variable - is that ok for Windows?
The guide mentions these CREATEDB.SQL references...
startup nomount pfile=%ORACLE_HOME%\database\init<SID>.ora
DATAFILE '<drive>:\oradata\<SID>\system01.dbf' SIZE 400M
LOGFILE '<drive>:\oradata\<SID>\log01.dbf' SIZE 70M,
'<drive>:\oradata\<SID>\log02.dbf' SIZE 70M;
*...So I assume that I need to create c:\oradata\HCM*
The guide then says:
The init<SID>.ora parameter file that is referenced in the CREATEDB.SQL script makes the following
directory path structure references:
Note. Portions of the init<SID>.ora parameter file have been omitted for clarity. These paths are hardcoded
by the user creating the init<SID>.ora parameter file. The Data Configuration Wizard will not make any
substitutions for mount point, target directory path, or <SID> in the init<SID>.ora file.
+
Control file references:
+
control_files = ("c:\apps\db\oracle9i\oradata\ORC1\control01.ctl", "c:\apps\db⇒
\oracle9i\oradata\ORC1\control02.ctl", "c:\apps\db\oracle9i\oradata\ORC1⇒
\control03.ctl")
background_dump_dest = c:\apps\db\Oracle9i\admin\ORC1\bdump
core_dump_dest = c:\apps\db\Oracle9i\admin\ORC1\cdump
user_dump_dest = c:\apps\db\Oracle9i\admin\ORC1\udump
Q:  Does this mean I need to create c:\apps\db\Oracle10g\admin\ORC1 plus subfolders bdump, cdump and udump?  I particularly wonder if those exact names are correct, especially since the examples are for the 9i version.
Q:  The guide says (above) that it's the init<SID>.ora parameter file which makes the above control file references... but as I showed above, that file only contained the one line, before I added the parms I mentioned.  Is the install guide saying that I should add the control file references above to my initHCM.ora file?

With regard to the CONTROL_FILES variable...
I'm not sure how forward slashes are meant to be interpreted in the Windows world. Are you saying that I should substititute an entire valid Widows path, like this?
CONTROL_FILES = (c:\myfilesys1\cntrl1HCM.txt,c:\myfilesys2\cntrl2HCM.txt)
...after having first created folders c:\myfilesys1 and c:\myfilesys2, and that the database creation script will generate files cntrl1HCM.txt (I added the extension) and cntrl2HCM.txt?
Can you post a sample Windows init<SID>.ora file?
Edited by: M_Borok on Oct 7, 2008 7:46 AM
(continued)
...on re-reading, it seems to me that section Task 7A-1-5: Creating an INIT<SID>.ORA File shows the general format:
CONTROL_FILES = (/filesystem1/cntrl1<SID>,/filesystem2/cntrl2<SID>)
...but section Task 7A-1-6: Creating Target Directory Paths shows an example of substituted code for this line:
control_files = ("c:\apps\db\oracle9i\oradata\ORC1control01.ctl", "c:\apps\db\oracle9i\oradata\ORC1control02.ctl", "c:\apps\db\oracle9i\oradata\ORC1\control03.ctl")
Is that true? i.e. does this mean that I can create any path and file name I want, and the database create script will read it here and use it?
If so, does this mean that I have to substitute actual paths ANYWHERE I see a forward slash?
Also... I'm thinking that ORC1 in the sample code is their example of the SID, and for me it might be HCM instead.
I note that their example shows three control files instead of the two shown in the first template. Does it matter.
Q: Are these control files files that will be written by the create script, or are they a reference to files I should have created and populated?
Edited by: M_Borok on Oct 7, 2008 7:51 AM
Edited by: M_Borok on Oct 7, 2008 8:02 AM

Similar Messages

  • Sender Channel - File Archiving - No Create Target Directory option

    Hello,
    We are getting an error because our Sender channel is always trying to create the target directory when saving a file in our archive location. 
    Using a Receiver Channel the option "Create Target Directory" exists, so I can disable that option.  Is there a way to disable that option on a Sender Channel when archiving?
    Thanks,
    Matt

    Reviewing the settings available from Help.sap.com says:
    "Configure Sender File Adapter"
    Under Processing Mode, specify what is to happen to files that have been processed successfully.
    u25CB       Archive
    u25A0       To add a time stamp to the file name, select Add Time Stamp.
    The time stamp has the format yyyMMdd-hhMMss-SSS. The time stamp ensures that the archived files are not overwritten and it enables you to sort them according to the time that they were received.
    u25A0       Enter the name of the Archive Directory.
    I do not see anything in here that helps clear up this issue.
    Also, I have given a target directory.  The problem is it still tries to create that directory. 
    Thanks,
    Matt

  • Create target directory ?

    How to create target directory in a receiver File adapter ? Is this option in the file systm access parameters or processing parameters of the file adapter ? i didnt see a box that says create target directory in either. Please help me with this issue

    > This option Create target directory, will it be there if I select the File adapter as sender. Or this option is there only if you select the File adapter as receiver ?
    >
    > Can you please clarify this doubt as well.
    It is quite logical. For Sender adapter there will be no need to create the dir coz dir already exist and you will pick the file from that dir with the help of Sender Adapter.
    But in case of Receiver Adapter you need to know wether the dir exists or not and thats why we tick the check box to make sure if dir does not exists then it will be created (If you have permissions to create the new dir). But again if dir already exists then no need to tick the box "Create Target Directory", the file will be automatically created at target dir.

  • Target directory path

    Hi all,
       I am trying to change the target directory, in the receiver communication channel to an external server and I am not getting any output file. But I can create the output file to the same XI server.
    Have any one come across issue like this?
    This is what I tried:
    //Externalservername/sharename/foldername. (did not work)
    //XIserver/Sharename/foldername. ( works ).
    Regards,
    N.S

    Hi,
    1. Try using the IP addreess instead of the servername
    2. Make sure the servername entry is made in the host file
    3. Make sure that the Server can be accesed from XI and XI has read , wrtie permisssion on the folder.
    Regards,
    Bhavesh

  • Dynamically deciding the target directory without ESR objects

    Hi Experts,
    I have come across File to File scenario(NFS) where I have to serve 2 purpose in one scenario using single receiver communication channel as the client have more than 40 plants.
    1.     I need to copy the file from source directory to target directory without creating the mapping objects.
    2.     based on source file name the target directory path will be the 'target directory + First 4 character of source file name i.e.(Plant name)'.
    I am able to achieve the First requirement, can any one tell me how to achieve Second requirement.
    Thanks in advance.
    Ragards,
    Gopi

    Hi Inaki Villa/ Anupam Ghosh,
    Thanks for your previous reply. I was busy with some other WS related task.
    I have gone through the thread which uses java code to dynamically set the Target Directory.
    'Dynamic file name for pass-through scenario - Process Integration - SCN Wiki'.
    But the mentioned JAR files are not available on our clients PI System (PI 7.0) I tried by importing the required JAR files from other system but it was giving some error. So I decided to go with ABAP Mapping and I am quite successful in setting the target directory. I am able to view the Target Directory and Target File name in 'DynamicConfiguration' in SXMB_MONI.
    But it is not over writing the 'Target Directory' path mentioned in Receiver Communication Channel.
    Could you please help me in this? Do I need to set anything else?
    Regards,
    Gopi

  • XI3.0 File Adapter - Changing target directory at runtime

    Hi all,
    I have a XI3.0 running and I'm using the file adapter of SAP Basis 7.00. I'm trying to change the target directory at runtime, as I already did with the file name. The file name could be changed using the DynamicConfiguration, but this does not work for the directory. In help.sap I found the hint to use the variable substitution of the communication channel. I did not get it running, but it also does not solve my problem since I don't want to get the value for the target directory from the message header, but from a SAP IS-U system.
    Can anybody help me to solve this problem?

    Hi,
    while using variable substitution, did u set the indicator for create Directory:
    <i>If the adapter is to create the target directory, if it doesn't already exist then set the indicator Create Target Directory.
    If the indicator is not set and the target directory doesn't already exist the adapter returns an error.</i>
    Regards
    Vijaya

  • Change Directory Path using Dynamic Configuration

    Hi,
    We have a requirement where the directory path for placing the files is different across our different environments. Ex: Development Environment has a different path than the Quality Enviornmnet. Also the full path is depending on fileds within the message.
    I want to use Dynamic Configuration to create the Directory path. But in order to capture the full requirement I need to know wheich environment I am within the User Defined Function.
    Can someone provide me the java class and function that I can use in my UDF to read the environment I am in.
    ( Essentially I want to read Sy-SYSID in ABAP...using Java. )
    Regards,
    Arunava

    Hi Arunva,
    >>Essentially I want to read Sy-SYSID in ABAP...using Java.
    It might not be possible to read system id in java, but you can read the sender or receiver service(SENDER_SERVICE or RECEIVER_SERVICE) and based on it can decide the diretory in DynamicConfiguration.
    If you have a sender or receiver SAP sysem then better to read its name because this business systm ill haeunique name aross different environment. Check this thread too
    User-defined function: RFC call
    Regards
    Suraj

  • Wanted to create a directory- but insufficient privilage

    My SQL Query:
    create or replace directory <dir_name> as '<PATH of my file in my local machine>'
    I could not successfully execute the above statement in oracle application express as i said "insufficient privilage"/
    I wanted to create a directory path so that i can access my file in my local machine.
    Please help me in this regard.
    Message was edited by:
    user627214

    "Create directory" is only for directories where the database is installed. It's essentially a server-side concept. So, if your database is installed on a machine called myDBserver, you can only create directories on the file system that myDBserver has access to. You also need to be logged-in as system to do this, then grant read and/or write to the schemas that need access to the directory.
    Tyler

  • Cannot create temp directory: The system cannot find the path specified

    Hello
    I am getting Cannot create temp directory when deploying to Oracle AS , can any one help ?
    ---- Deployment started. ---- Apr 23, 2007 8:20:29 AM
    Target platform is Oracle Application Server 10g 10.1.3 (WEBQA01).
    Wrote WAR file to C:\ide\jdeveloper\jdev\mywork\Upload\Upload\deploy\fileupload.war
    Wrote EAR file to C:\ide\jdeveloper\jdev\mywork\Upload\Upload\deploy\fileupload.ear
    Operation failed with error:
    Cannot create temp directory: The system cannot find the path specified
    Deployment failed
    Elapsed time for deployment: 8 seconds
    #### Deployment incomplete. #### Apr 23, 2007 8:20:37 AM

    In Windows, setting the Environmental Variable sometimes DOES NOT WORK.
    The -Djava.io.tmpdir=C:\temp setting must be made in the server properties of the oc4j in order for it to work.
    Jae

  • Creating a directory on a remote machine using a UNC path

    Hi all,
    Is it possible to create a directory on a remote machine using a UNC path such as \\Server\Share\Directory?
    If so, how would i go about this? (Sorry for the newbie question, that's exactly what I am!)
    Thanks,
    Rob

    The tables on your pages are images. Not very convenient if the visitor wants to copy the information and use it.
    Read this how to use tables :
    http://www.wyodor.net/blog/archives/2010/01/entry_297.html
    http://www.wyodor.net/blog/archives/2010/01/entry_298.html
    Samples :
    http://www.wyodor.net/mfi/Maaskant/Seabreeze.html
    http://www.wyodor.net/mfi/Maaskant/Experiment.html
    http://www.wyodor.net/mfi/roodhout/Prices.html
    And here's a non-iWeb page with a sortable table :
    http://www.wyodor.net/htmlegg/TallCard/TallAjax.html?pg=tablesorter
    Or use a database on the server with MySQL and make tables with PHP :
    http://www.google.com/search?q=create+html+table+with+data+from+mysql+database
    Here's a very simple way to do it :
    http://home.wyodor.net/w3school

  • File not getting created in Target Directory..........

    Hi All,
               We are trying a IDOC-File scenario & trying to create a XML file on the receiver side........All the mappings have been checked & everything is working fine.It shows success in SXMB_MONI. But the file is not getting created at the target directory..... Checked the component Monitoring and message  monitoring as well, which is also successful...
    What could be the reason of such behaviour, and is there a way to track the where the target file is getting placed?
    Please Help
    Regards,
    Jayashri

    >
    Jayashri Rade wrote:
    > Hi All,
    >            We are trying a IDOC-File scenario & trying to create a XML file on the receiver side........All the mappings have been checked & everything is working fine.It shows success in SXMB_MONI. But the file is not getting created at the target directory..... Checked the component Monitoring and message  monitoring as well, which is also successful...
    i
    Did you check the receiver communication channel in communication channel monitoring?
    Are there any errors?

  • Maximum length of  the Path that can be given while creating a directory

    Hi
    I would like to know the maximum length of a path that can be given in solaris?
    e.g i have to create a directory like this
    mkdir /a/b/c..../z ]---> what can be the max length ?
    in the same way while reading a path also.
    i heard something like getconf PATH_MAX .But i dont know what is this used for.
    the value i got when i executed the above command is 1024 ]-->what is this value?
    Thanks in advance
    Raghu Amilineni

    raghu_java wrote:
    Hi
    I would like to know the maximum length of a path that can be given in solaris?What do you mean by "given"? The maximum that you can pass to the OS directly in many cases is PATH_MAX. But you can have files exist that are described by much longer absolute paths.
    e.g i have to create a directory like this
    mkdir /a/b/c..../z ]---> what can be the max length ?Very long in some sense. But mkdir will probably fail if handed a string longer than PATH_MAX.
    in the same way while reading a path also.
    i heard something like getconf PATH_MAX .But i dont know what is this used for.
    the value i got when i executed the above command is 1024 ]-->what is this value?That is the guaranteed limit for the length of a path that system calls will deal with. But it is possible the absolute path of a file may be larger.
    Darren

  • How to give network path while creating oracle directory.

    I have created
    CREATE OR REPLACE DIRECTORY TESTDIR AS '\\168.176.33.117\TESTDIR';
    but through this path i m not able to create text file.
    create or replace procedure WriteTest is
    f utl_file.file_type;
    s varchar2(200) := 'this is some info';
    begin
    f := utl_file.fopen('TEST2DIR','sample2.txt','W');
    utl_file.put_line(f,s);
    utl_file.fclose(f);
    end WriteTest;
    Help how to give network path while creating oracle directory.
    --when i give local machine path then it will create at local machine where oracle is installed. but not able to create at other machine.
    Zakir

    Well for starters your directory object is called TESTDIR and in your fopen statement you are referring to TEST2DIR.
    On top of that I'm not sure oracle is happy to refer to network locations. I think you have to map it to a regular drive mapping (shared directory) type path. Can't say I've every tried to do it though.

  • Specifying Directory path while creating Oracle Directory

    Hi All,
    I would like to know the restriction applies on directory path while creating oracle directories.
    shold directory exist on local server? What about remote locations?
    Please share your thoughts.
    _BR                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    B R wrote:
    Hi All,
    I would like to know the restriction applies on directory path while creating oracle directories.
    shold directory exist on local server? What about remote locations?It should, but it doesn't have to whilst you create the oracle directory object. It is only when oracle comes to use that directory object that it will need to exist otherwise you'll get an error. Oracle doesn't check the path upon creation of the directory object itself.
    The directory object should point to a path that is visible from the database server such that, if you were logged directly onto the server itself, you could access that directory from there (and preferably without UNC paths, as Oracle has been known to have issues with those in some versions). Typically the directory will be on the server itself, but if it must be on a remote location it will need to be mapped as if it is a local directory. You can't expect Oracle to hack across the security of a network and break into another machine to access it's directories without explicit permission having alreayd been granted at the operating system level.

  • How to create success factors csv directory path in sap ?

    Dear Gurus,
    I want to make a directory path for success factors csv exporting in sap. what should i do ? where can i start ? where can i make this directory path like "SFactors" , "E:\SFactors" ?
    Best Regards

    Hi Kemal,
    Is it working right now ? What should i do for RFC user ? Customer talks about rfc user and authorization to folder ? How can i associate with RFC dialog user ? Should i create rfc user ?
    Yes you can now view the contents of the folder SFactors using your ID.
    I can't comment much on the RFC users as I have no clue on your integration scenario. You may refer an example of integration using PI in the link below
    SAP HCM and SuccessFactors BizX Integration Using SAP PI
    If your scenario is as below
    Create a CSV file from SAP and Successfactors can do FTP to the SAP server and pull the file.
    Sol: You need to create a ftpuser on successfactors . Write a script in SAP server to connect to successfactor server using ftpuser. Copy the files from SAP server to Successfactor using ftp commands. No RFC user required here.
    Hope this helps.
    Regards,
    Deepak Kori

Maybe you are looking for