Setting the utl_file_dir parameter in 10g

I want to set the 'utl_file_dir' parameter. From the internet I found that I can do it from OEM (the web-based one) by choose 'All initialisation Parameters...SPFile Tab...' (Refer to http://otn.oracle.com/obe/obe10gdb/bidw/blast/blast.htm#t0c).
However will this be temporary until the instance restarts? Also, will the change take effect after the restart of instance?

There is another way you can specifiy the utl_file_dir in 10g without bouncing...
Specify the UTL_FILE_DIR in 10g :-
Two way you can specify the UTL_FILE_DIR:-
     a) Using Spfile (Database Bouncing is require)
     b) Using DIRECTORY (Database Bouncing is not required)
a) Using Spfile (Database Bouncing is require)
     i) Login as sys user:-     
     SQL> conn sys@oratest as sysdba
     Enter password:
     Connected.
     SQL>
     SQL> show parameters utl
     NAME TYPE VALUE
     utl_file_dir string
     SQL>
     SQL>
     SQL>
     SQL> alter system set utl_file_dir='/u01/preproc/output', '/u01/app/oracle/admin/ARGOS/output' scope=SPFILE;
     System altered.
     SQL> show parameters utl
     NAME TYPE VALUE
     utl_file_dir string
     SQL>
     SQL> SHUTDOWN IMMEDIATE
     ORACLE instance shut down.
     SQL>
     SQL> STARTUP
     ORACLE instance started.
     Total System Global Area 160504432 bytes
     Fixed Size 453232 bytes
     Variable Size 134217728 bytes
     Database Buffers 25165824 bytes
     Redo Buffers 667648 bytes
     Database mounted.
     Database opened.
     SQL>
     SQL> show parameters utl
     NAME TYPE VALUE
     utl_file_dir string '/u01/preproc/output', '/u01/app/oracle/admin/ARGOS/output'
     SQL>
b) Using DIRECTORY (Database Bouncing is not required)
     SQL> connect system/xxxx@oratest
     SQL> SELECT d.owner, t.privilege, d.directory_name
     FROM user_tab_privs t, all_directories d
     WHERE t.table_name(+)=d.directory_name
     ORDER BY 1,3,2
     OWNER PRIVILEGE DIRECTORY_NAME
     SYS ADMIN_DIR
     SYS READ DATA_FILE_DIR
     SYS WRITE DATA_FILE_DIR
     SYS READ DATA_PUMP_DIR
     SYS WRITE DATA_PUMP_DIR
     SYS READ LOG_FILE_DIR
     SYS WRITE LOG_FILE_DIR
     SYS MEDIA_DIR
     SYS READ MY_DIR
     SYS WRITE MY_DIR
     SYS READ MY_DIR_LOG
     SYS WRITE MY_DIR_LOG
     SYS SUBDIR
     SYS WORK_DIR
     SYS XMLDIR
     Here, OWNER sys has read,write permission to above DIRECTORY_NAME.
     i. Create a directory for UTL_FILE_DIR FOR PL/SQL package outputs.
     $ mkdir -p /u01/preproc/output
     $ chown -R oracle:oinstall /u01/preproc/output
     $ chmod -R 755 /u01/preproc/output
     SQL> connect system/xxxx@oratest
     SQL> CREATE OR REPLACE DIRECTORY UTL_FILE_DIR as '/u01/preproc/output';
     Directory created.
     GRANT 'read,write' ACCESS to the Specific User.
     SQL> GRANT read,write ON DIRECTORY UTL_FILE_DIR to PREPROC;
     Grant succeeded.
     SQL> GRANT read,write ON DIRECTORY UTL_FILE_DIR to JOB_TICKET_SCHEMA;
     Grant succeeded.
     SQL> GRANT read,write ON DIRECTORY UTL_FILE_DIR to DISE;
     Grant succeeded.
     SQL> GRANT read,write ON DIRECTORY UTL_FILE_DIR to PLAYPEN
     Grant succeeded.
     REVOKE 'read,write' ACCESS from the Specific User.
     SQL> REVOKE read,write ON DIRECTORY UTL_FILE_DIR from PLAYPEN;
     Revoke succeeded.

Similar Messages

  • How to set the tables parameter to a BAPI using adaptive RFC model

    Hi,
    I have a BAPI ZBAPI that has a tables parameter ZPernr of type ZTable with two elements pernr and name.
    I used adaptive RFC model and created model classes for the BAPI.
    My question how do i set list of pernr and name to the tables parameter in the webdynpro for java.
    I have the following methods available
    ZBAPI input = new ZBAPI();
    1.ZTable table = new ZTable();
    table.setPernr(pernr);
    table.setname(name);
    input.addZPernr(table);
    how do i set the table parameter for multiple pernr and name
    2.
    add all the pernr and name to list and set that list to input in the following way
    input.setZPernr(list) and list of typecom.sap.aii.proxy.framework.core. AbstractList
    out of two methods mentioned which one is correct.
    Please let me know the solution
    Thanks
    Bala Duvvuri

    Hi Bala,
                In your code:
    List pernrList = new ArrayList();
    pernrList  should be declared as the  type of class HROBJECT   ( The structure name in the model  e.g. the node PERFWARN type is Zhrecmfm_002_Perfrat_Warning_Input )
    Try this:
    HROBJECT  pernrList = new HROBJECT();
    pernrList.setPernr(pernr);
    input.setPernr_List(pernrList);
    // call BAPI execute method
    If you want to pass list of pernrs, you can pass in alternate way
    IPrivate<viewname>.I<nodeame>Node prNode = wdContext.node<node>();
    IPrivate<viewname>.I<nodeame>Element prEle;
    for (int i = 0; i < table.size(); i++) {
    HROBJECT  pernrList = new HROBJECT();
    pernrList.setPernr(pernr); // Set the pernr from current record
    prEle = prNode.create<nodeame>Element(pernrList);
    prNode.addElement(prEle);     
    // call BAPI execute method
    Once I execute the BAPI how do i iterate thru second table parameter PERNR_PERFRAT to get pernr and performance rating text
    Say your node name is  PERNR_PERFRAT
    for (int i = 0; i < wdContext.nodePERNR_PERFRAT().size(); i++) {
    wdContext.nodePERNR_PERFRAT().getPERNR_PERFRATElementAt(i).getPernr();
    wdContext.nodePERNR_PERFRAT().getPERNR_PERFRATElementAt(i).getPerfrat();
    Regards,
    Siva

  • How can I change the FM ENQUEUE_EPPRELE to set the _wait parameter?

    I am trying to change the FM ENQUEUE_EPPRELE so that I can set the _wait parameter to 'X'. 
    I am receiving an error message that I cannot change a generated function?
    What is the procedure for changing the ENQUEUE and DEQUEUE function modules?

    I was able to modify the calling FM and set the _WAIT parameter.

  • How to set the resource_limit parameter to each user

    how to set the resource_limit initialization parameter to each user.
    it says like this;
    You must modify the RESOURCE_LIMIT initialization parameter. After you assign profiles to users, the Oracle database
    enforces the limits only when the RESOURCE_LIMIT parameter is set to TRUE. Therefore, you modify the RESOURCE_LIMIT initialization parameter to enforce the resource limits defined within each user's profile.
    alter system set resource_limit=true;
    if doing like this is it ok. ????
    Assume im logged as user "SYS". so if i use this command, will it alter the resource_limit parameter for this user SYS only OR for the entire database..... (for all other user)

    The RESOURCE_LIMIT parameter only enables resource limits that are defined in profiles.
    The DEFAULT profile, by default, is UNLIMITED for all resources.
    You should create a custom profile and set the limits you need. The next step would be to assign that profile to the users whom you want to limit. Other users in other profiles (or in the DEFAULT profile) would not have any limits enforced.
    See the documentation on CREATE PROFILE.
    See http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_6010.htm#i2065930

  • How to set the replenishment parameter

    Hi,
    I need to set the replenishment data for reordering point.
    RP type = VB,  Reorder = 100, Safety = 10
    During MRP run, it should take care of my current SOH and requirements.
    Thanks

    If you want to consider requirements, then use V1, not VB.
    In addition maintain the lot size key, either fixed quantity (FX) or replenish to Max stock (HB).

  • Why "System.setIn()" can set the final parameter "System.in"?

    When i worte a class to test the System class,I have read the System class source.
    I found that the parameter System.in is defined as a final parameter.
    But strangely, why the System.setIn() can change the System.in?
    This is the fragment of the source
    public static void setIn(InputStream in) {
         setIn0(in);
    private static native void setIn0(InputStream in);the setIn() method calls a private method called setIn0(), but the setIn0() does noting. I found a "native" definition? I think this is the key reason
    Pleas tell me what the "native" means and the how the setIn() & setIn0() method work?

    You really can't set final variables after they've been set in Java code, but Sun gets away with it by using native (that is non-java) code. It's a (necessary?) evil and should not be taken as a guide to good code. Just imagine a big "Big Bad Voodoo" sign above the native method.

  • Setting the message parameter in java class

    Hi!
    I have a resource bundle with a message that includes a parameter.
    my.message.key=Part1 {0} Part2
    I am able to fill this parameter when using this message in jspx page like:
    <h:outputFormat value="#{res['my.message.key']}"
      rendered="#{userInfo.authenticated}"
      escape="false">
    <f:param value="SomeValue"/>But when I try to get this message in a backing bean I just can't find a way to set this parameter value.
    I'm using JSFUtils.getStringFromBundle for all my messages without parameters but can't find a way for messages with parameters. Can someone please tell me how do I set my parameter value (I know this can't be this difficult)?
    Thanks!
    BB

    java.text.MessageFormat.format("Part1 {0} Part2", new Object[] { "SomeValue" }) will produce "Part1 SomeValue Part2".

  • How do set the system parameter for user defaults?

    When we are creating new users they are getting the European default for date format and decimal format.  I have found is there is a structure BAPIDEFAUL that contains these values.  However, I have not found the configuration for changing these values.  Does anyone have the answer to this problem?

    Ronald,
    with USERS_GEN, users are created with BBP_USER_CREATECP.
    This function uses DEFAULTS to pass parameters.
    But those parameters are not available in interface or file upload
    USERS_GEN will take default values in system parameters:
    Set date format and decimal format like in system parameters
      data: defaults   type bapidefaul.
      clear defaults.
      CALL 'C_SAPGPARAM'
           ID 'NAME' FIELD 'zcsa/moddatfm'
           ID 'VALUE' FIELD DEFAULTS-DATFM.
      CALL 'C_SAPGPARAM'
           ID 'NAME' FIELD 'zcsa/moddcpfm'
           ID 'VALUE' FIELD DEFAULTS-DCPFM.
    So, this is the only way to "customize" it: define system parameters zcsa/moddatfm & zcsa/moddcpfm in RZ10.
    Rgds
    Christophe

  • How set the oracle 10g path in xp environment variables

    am new to java.
    am practicing the jdbc, but while running the program it compied, but it does not execute the program.
    it says
    package oracle.jdbc.driver does not exist
    DriverManager.getregister(new oracle.jdbc.driver.OracleDriver());
    then how to set the path of oracle 10g in xp environment variables.
    plz send any body the answer.
    its urgent.

    tster wrote:
    sunnyyld wrote:
    then how to set the path of oracle 10g in xp environment variables.right click on my computer -> properties -> advanced -> environment variables.
    Not that it would work, as the kid doesn't seem to understand what exactly it's doing wrong.
    Had it worked through some basic tutorials it would have understood so I'm not going to tell it, just tell it to work through some basic tutorials.

  • Help: Setting the multipart/related start parameter

    I am wanting to set the "start" parameter on my ContentType header for
    a multipart related message. Something like below.
    DATA
    ContentType: multipart/related; boundary=_XXX; start="<somecid@domain>"
    I can set the content type to "multipart/related" by calling
    MimeMultipart.setSubType(), but I cannot figure out how to set the
    "start" parameter.
    Anyone know.
    Thanks,
    Chris

    Does the SMTP server accept the mail for delivery of does it reject it?
    If it doesn't reject it, is the issue with the format of the mime message, or possibly with whatever mail reader you are using.
    It the SMTP server does reject the message I suppose the next question is what exactly is the "SMTP" server you are using?
    IMHO you should not need to add anything to the mime multipart headers if using any RFC compliant SMTP server or reader. No-where in RFCs 2045,2046,2049,2822 etc can I find anything that relates to this "start" parameter.
    If the SMTP server is a "proper" SMTP server it should not give two hoots about the mime multipart/mime body parts of the message as it "should" only be interested in the headers required to deliver the email. The mime multi/body part headers are generally not used to deliver. They are used by a Mime compliant mail reader to format and display the message.
    We use Javamail to send regular "Newsletters" via a numbers of SMTP mail serviers running on IBM AS/400s, Sendmail on Unix, Lotus Notes servers and and others and have no problems.
    If you want to send me your code to run on our systems to see if it really is your SMTP server or your message format that is giving trouble I can probably help. I can't open up a server for you as we have rather strict policies on who can do what with our servers. You can of course use our normal SMTP server to send a test email to me!!
    Rgds,
    SH

  • Not able to set the SMTP timeout session on BIPublisherAPI

    Any of the below parameters are not taking into effect:
    deliveryRequest.addProperty(DeliveryPropertyDefinitions.ASYNC_CHECK_INTERVAL,
    "1");
    deliveryRequest.addProperty(DeliveryPropertyDefinitions.ASYNC_TIMEOUT,
    "1");
         deliveryRequest.addProperty(CommonPropertyDefinitions.TIMEOUT,
    "1");
    Is there any workaround to set the time out on the smtp session using BI publisher java api?

    Sorry, what I said was rubbish, because the LSMW and the session run in different external sessions.
    I have searched forum for these terms: "company BUK parameter BDC background"
    These threads Is it possible to set default company code in SM35? and Release BDC in SM35 in background, How to set defaul company code? seem promising, but I'm not sure they really solve.
    In case these threads don't help you, I think you can create your own Z transaction which sets the BUK parameter id and then does a LEAVE TO TRANSACTION 'ABAON'. Then create again the recording on the Z transaction.
    If you are using ECC6, then you may also enhance the standard to reset BUK parameter id at the very beginning of ABAON, in case it's run in batch input (sy-binpt = 'X'). Be careful as sometimes SAP does batch input on some transactions, so that could make the standard fail.
    Last thing, you can contact SAP support, though it might probably be considered as consulting.

  • How to pass the multiplevalue parameter into SSRS by data driven subscription

    Hi All,
    I create a table and show it in the SSRS by table
    EmID Name
    AA1, A
    BB1, C
    CC1, E
    And set one parameter EmID for the user to filter the record and that Parameter Accept multiple values and the type is text.
    And I create a another table for the data-driven subscription to send the report to user by email.
    EmailTitle EmID  EmailComment
    TestEmail  AA1,BB1,CC1    TestComment
    And I set the subscription and set the EmID parameter is from EmID column, then test the subscription, it failed...
    However, when I only put AA1 into the table, then the subscription works well
    EmailTitle EmID  EmailComment
    TestEmail  AA1    TestComment
    So How I can config the above table to support subscription?
    Thanks.

    Hi Bimaster,
    When specify a column for the parameter value in a data-driven subscription, it will be regarded as a single value. So when specify the value "AA1,BB1,CC1" as the parameter value, the subscription will fail.
    The work around for this issue clear the "Allow multiple values" for the report parameter, and then change the filter
    From
    Expression:[ParameterName]
    Operator   :In
    Value         :[@ParameterName]
    To
    Expression:[ParameterName]
    Operator   :In
    Value         :Split(Parameters!ParameterName.Value,",")
    In this case, we can specify a value like "AA1,BB1,CC1" from database to the data-driven subscription. I have tested it on my local host environment, it works fine.
    Regards
    Charlie Liao
    TechNet Community Support

  • Not able to set the value in marketing context node for BP_HEAD

    Hi,
    I am trying to set the value in marketing node of BP_HEAD from bp_addr component. i am calling the set_property method but it is not changing the value, when i debugg the code, it actually changing the value in bol structure but it is not calling the get/set method of bp head.
    i am working on BP corporate person  creation i.e. in bp_head component and account details view. I added the marketing attributes in UI configuration and also the address attributes.
    this is what i coded in get method of country in standardaddress context node of BP_ADDR
    lv_entity ?= current.
        IF lv_entity IS BOUND.
          lv_parent = lv_entity->get_parent( ).
          IF lv_parent IS BOUND.
            lv_entity_mkt = lv_parent->get_related_entity( iv_relation_name = 'BuilMarketingRel' ).
            IF lv_entity_mkt IS BOUND.
              CALL METHOD lv_entity_mkt->set_property
                EXPORTING
                  iv_attr_name = 'ATTRIBUTE'
                  iv_value     = attribute1.
    Can anyone please guide me on how to set the value cross component and can we call the get/set method of that attribute which is not in same component?
    Regards,
    Kamesh Bathla

    Sorry, what I said was rubbish, because the LSMW and the session run in different external sessions.
    I have searched forum for these terms: "company BUK parameter BDC background"
    These threads Is it possible to set default company code in SM35? and Release BDC in SM35 in background, How to set defaul company code? seem promising, but I'm not sure they really solve.
    In case these threads don't help you, I think you can create your own Z transaction which sets the BUK parameter id and then does a LEAVE TO TRANSACTION 'ABAON'. Then create again the recording on the Z transaction.
    If you are using ECC6, then you may also enhance the standard to reset BUK parameter id at the very beginning of ABAON, in case it's run in batch input (sy-binpt = 'X'). Be careful as sometimes SAP does batch input on some transactions, so that could make the standard fail.
    Last thing, you can contact SAP support, though it might probably be considered as consulting.

  • How can I set the blocking timeout on a workstation client?

    Hello.
    I want to shorten the time it takes for an invocation of tpcall() to fail with TPETIME.
    I've glimpsed how to do this when working within a transaction, but that is not my case, and I couldn't find how to set the blocking timeout. Can anyone help me with this? I'm working with Tuxedo 9.1.
    Thanks in advance.

    Cacho,
    Tuxedo 9.1 includes the tpsblktime() API as described at
    http://e-docs.bea.com/tuxedo/tux91/rf3c/rf3c67.htm#2180280 . This API
    allows a programmer to set the blocking time for either the next potential
    blocking API called by the program or for all subsequent potential blocking
    APIs called by the program.
    The Tuxedo administrator can set the global default blocking time by setting
    the BLOCKTIME parameter in the *RESOURCES section of the UBBCONFIG file and
    executing tmloadcf.
    Ed
    <Cacho Nakamura> wrote in message news:[email protected]..
    Hello.
    I want to shorten the time it takes for an invocation of tpcall() to fail
    with TPETIME.
    I've glimpsed how to do this when working within a transaction, but that is
    not my case, and I couldn't find how to set the blocking timeout. Can anyone
    help me with this? I'm working with Tuxedo 9.1.
    Thanks in advance.

  • How to set the init-param debug_mode to "true"

    Hi All,
    I wrote a custome application that will get invoked when I click the link in the SES search result page.
    I could invoke the application. However, getting the following exception when I click one button in my application:
    500 Internal Server Error
    OracleJSP: An error occurred. Consult your application/system administrator for support. Programmers should consider setting the init-param debug_mode to "true" to see the complete exception message.
    How can see the exceptions I am getting. I mean how can I set the init-param debug_mode to "true".
    Thanks
    Krrish

    Normally application.log is where I look for problems. However this time there's nothing in the application.log file.
    I 'm trying a little experiment with how I build my .ear file. Usually I keep all the dependent jars of my webapp under WEB-INF/lib and then include the .war inside a .ear for command line deployment to Oracle application server (not OC4J standalone). Now I 'm trying place all my dependent library .jar files in the top directory of the .ear and then have a CLASSPATH entry in the .war's META-INF/MANIFEST.MF file to reference those jar files. This way multiple .war files inside my .ear then can reference a common set of jars without having to duplicate then under WEB-INF/lib of each war. Maven2 supports this type of packaging. In some forums this is called "skinny war" packaging.
    With this "skinny war" packaging, my .ear file deploys without errors using admin_client.jar (command line deployment) to the Oracle app server. However when I access the JSF page in one of my apps from the browser, I see this OracleJSP error asking me to set the debug parameter. NOTHING in the application.log file.
    On the application server host I don't have write permissions to all the application server directories (so I can set this debug param in soe global file) . I prefer being able to set this debug flag via my application's deployment plan file or web.xml.
    I have a workaround by making all the .wars inside my .ear "fat" i.e. they will have their own copies of the jars instead of sharing. I guess I can try to setup a OAS shared library and accomplish this too but with the "skinny" war approach the .ear is self contained.

Maybe you are looking for

  • Corrupted files on External HD - crashing iPhoto6

    Hi I've been using a Maxtor One Touch II external FW HD for my iPhoto library. It had been working fine until I tried to download photos yesterday onto it. I tried to rebuild the library, but it kept hanging. The only way to shut down was to hold dow

  • How to retrieve Hidden ABAP program code

    Hi All, If a ABAP Source code is hidden by some special charaters or some other report. is there any way to retrieve the same. thanks Alexander

  • C++ Parser Error Messages

    Further to the various postings on getting the Oracle C++ and C XML parser to return a valid error message string and not: ErrCode: 204 ErrMsg: <17,22> LPX-00204: Message 204 not found; No message. It appears that the C and C++ parsers needs to have

  • Bridge and AP, using a 1200 series bridge.

    Hi Folks, I would like to bridge from an AP1131 to an AP1262 using the 5.8 ghz radios then allow access via the 2.4 ghz radio on the 1260.  I will use a directional antenna for the 1260 bridge to optimize performance.  The 5ghz radio will only be use

  • Regarding decimal rouding off

    Hi all,             I have a requirement as given below . Can anyone suggest me what should be done to get this solution. "Quantity is a decimal number u2013 The integration team is expecting integer , so lets round it off to the nearest integer if t