Logmining without utl_file_dir parameter.

Dear All,
I want to know if it is possible to mining a data without utl_file_dir in oracle. I am using oracle 11g RAC. Because in production system it is not possible to down to set utl_file_dir parameter.

It isn't.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select name, value, isdeprecated
  2  from gv$parameter
  3  where name = 'utl_file_dir';
NAME                           VALUE                          ISDEP
utl_file_dir                                                  FALSE
SQL> That said it is definitely not best practice to use it.
Creating a DIRECTORY object is far more secure and far more maintainable.

Similar Messages

  • UTL_FILE_DIR parameter in Oracle 10g

    Hi all,
    I've a question regarding UTL_FILE_DIR parameter being deprecated in 10g.
    My question, if anyone is doing File I/O based on UTL_FILE_DIR on 10g without problems?
    I did a small test on Windows which was successful, but I would still want to make sure there aren't any potential risks related to using this parameter on 10g.
    I would appreciate valuable feedback from you all.
    The reason for using this parameter instead of directory objects is to avoid changes in our huge code base during migration.
    Thanks in advance,
    ~Raj

    It isn't.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select name, value, isdeprecated
      2  from gv$parameter
      3  where name = 'utl_file_dir';
    NAME                           VALUE                          ISDEP
    utl_file_dir                                                  FALSE
    SQL> That said it is definitely not best practice to use it.
    Creating a DIRECTORY object is far more secure and far more maintainable.

  • 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.

  • How to add byte[] array based Image to the SQL Server without using parameter

    how to add byte[] array based Image to the SQL Server without using parameter.I have a column in table with the type image in sql and i want to add image array to the sql image column like below:
    I want to add image (RESIM) to the procedur like shown above but sql accepts byte[] RESIMI like System.Drowing. I whant that  sql accepts byte [] array like sql  image type
    not using cmd.ParametersAdd() method
    here is Isle() method content

    SQL Server binary constants use a hexadecimal format:
    https://msdn.microsoft.com/en-us/library/ms179899.aspx
    You'll have to build that string from a byte array yourself:
    byte[] bytes = ...
    StringBuilder builder = new StringBuilder("0x", 2 + bytes.Length * 2);
    foreach (var b in bytes)
    builder.Append(b.ToString("X2"));
    string binhex = builder.ToString();
    That said, what you're trying to do - not using parameters - is the wrong thing to do. Not only it is insecure due to the risk of SQL injection but in the case of binary data is also inefficient since these hex strings are larger than the original byte[]
    data.

  • Personal Oracle 9i utl_file_dir parameter

    Need some help please.
    I have a problem with utl_file_dir parameter not being set.
    utl_file_dir = * in my init.ora file.
    Using SQLPlus , I can see the v$parameter for utl_file_dir is null;
    I have just gone to 9i Personal v2 from 8i where everything worked ok.(standalone pc)
    None of my existing procedures using utl_file will work now. I get
    "Invalid directory path" because utl_file_dir is not set up.
    My init.ora file is "c:\oracle91\admin\bills\pfile\init.ora.032003152232
    which is also confusing.
    Thanks for any help you can give.

    Thanks for the reply, however,
    I renamed my c:\oracle91\database\spfile<oracle-instance>.ora file and rebooted.
    I got these messages when I tried a SQLPlus connection.
    "Oracle not available" and "Shared memory realm does not exist".
    Any other suggestions or method to set this parameter?
    Thanks.

  • How to use srw.run_report without userid parameter in 10g

    I have the following function which works fine when I supply the userid parameter.
    Is it possible to run srw.run_report without the userid? If not is there another way to run a batch report to create a file?
    create or replace
    FUNCTION SUNRESDS(vopersorjudicial varchar2)
    RETURN VARCHAR2 as
    myPlist SRW_PARAMLIST;
    myIdent SRW.Job_Ident;
    BEGIN
    myPlist := SRW_PARAMLIST(SRW_PARAMETER('',''));
    srw.add_parameter(myPlist,'GATEWAY','http://xxx.xx.xxx.xx/reports/rwservlet');
    srw.add_parameter(myPlist,'SERVER','rep_172_FRHome1');
    srw.add_parameter(myPlist,'REPORT','d:\oracle\FRHome_1\forms\sunresds.jsp');
    srw.add_parameter(myPlist,'USERID','username/password@databasename');
    srw.add_parameter(myPlist,'DESTYPE','file');
    srw.add_parameter(myPlist,'DESFORMAT','PDF');
    srw.add_parameter(myPlist,'popersorjudicial',vopersorjudicial);
    srw.add_parameter(myPlist,'DESNAME','d:\Reports\unresolved_discrepancies.pdf');
    myIdent := srw.run_report(myPlist);
    return 'Y';
    EXCEPTION
    when others then
    return ('sunresds ' || sqlerrm);
    END;

    Did you solve your problem? How did you do?

  • ADF Task Flow Binding - Refresh ifNeeded being invoked even WITHOUT any Parameter change

    Using JDeveloper 11.1.1.6.0
    Issue: Task Flow Binding property "refresh = ifNeeded" seems to be triggered even without the mutation of the input parameter.
    As per definition, "ifNeeded: refresh the ADF Region if the value of a task flow binding parameter changes." (Reference: 17.5 Refreshing an ADF Region)
    Now for the setup which reproduces the issue.
    I'll focus at the fragment bounded task flow level and will skip the jspx side.
    taskflow: main-flow.xml
    contains a single fragment mainFgmt.jsff
    has a managed bean defined SampleBean.java as pageFlow scope.
    taskflow: sub-flow.xml
    contains a single fragment subFgmt.jsff
    has an inputParameter SampleBean.java (because it is an input parameter, by default it will be at pageFlow scope)
    !important - has a nested taskflow (task flow call as defined in the component pallete) called inner-flow (see below)
    the nested taskflow is the default activity
    the nested taskflow has an outcome pointing to subFgmt where outcome = "return"
    taskflow: inner-flow.xml
    contains a single fragment called stop.jsff
    has a return activity without outcome = "return"
    stop.jsff has a navigation pointing to the outcome.
    Finally mainFgmt.jsff has a task flow binding (pageDef)
    with id = "sub-flow.xml"
    refresh = "ifNeeded"
    parameter SampleBean being submitted as sub-flow's input parameter. (id=sampleBean, value=#{pageFlowScope.mainSampleBean})
    Assume that code compiles.
    In this scenario where the only tricky condition is the inner nesting (defined by !important), when the inner nesting decides to invoke its outcome to visit sub-flow's fragment, mainFgmt is restarting its taskflow which makes sub-flow start over again.
    Another way of saying it is, if sub-flow starts a nested activity and that nested activity exits out to utilize sub-flow's view. The high level definition which is mainFgmt's refresh ifNeeded is restarting sub-flow.
    In the above example if you notice, the bean (SampleBean) is not really being utilized except that it is completing the purpose of refresh=ifNeeded. This scenario is only to simplify the setup - in practical use this bean will be mutated to be utilized as a refresh mechanism.
    Now interestingly, if I change the pattern a bit then the issue will not happen:
    Don't use the nested taskflow (inner-flow) as the default activity, let a fragment of sub-flow hold the initial view.
    Navigate to the nested flow.
    Exit nested flow.
    Everything works.
    Now in this scenario, it seems like the sub-flow needs to have a view established first for it to be properly be used.
    So my questions are as follows:
    Can I consider the behavior of the refresh=ifNeeded as a bug in this usecase?
    Would it be better to utilize a different way of refreshing (maybe combination of refresh condition) to get around the issue?
    Is the use of the task flow as defined logical or does it cross any boundary or best practice that might be causing this behavior?

    Hi,
    actually you lost me in your description due to complexity. I lived under assumption that sub-flow already is a region on a view in main flow, but then you sad that
    "!important - has a nested taskflow (task flow call as defined in the component pallete) called inner-flow (see below)"
    which then confused me as to I have no idea if inner flow now is the second level nesting or first level nesting (should be second level nesting). If sub-flow is a region then having "has an inputParameter SampleBean.java (because it is an input parameter, by default it will be at pageFlow scope)"  is an unnecessary broad scope because the region wont live longer than view scope.
    Anyway, it seems that a region refresh is triggered by the lifecycle involved, which can be by design or a bug. I suggest you file a Service Request with support and provide a test case as purely from the description, its hard to parse and understand what is going on.
    Frank

  • RFC function module without RETURN parameter thows error in XI. Please help

    Hi Experts,
       I have a File to RFC scenario in XI. The RFC function module that I am using at the receiving end does not have "RETURN" parameter. So when I test my scenario I get "RETURN" parameter not found error on SXMB_MONI.
    So is it mandatory that RFC function module must have RETURN parameter when used in XI?
    Is there any work around to avoid the error without changing the RFC function module?
    Please help!
    Thanks
    Gopal

    In my senario the QOS is best effort because it is a Sync.
    But the function module is sync in nature as it is returning a parameter called SO_Docs and Ret_Msg. The Ret_Msg contains the error info but it not of BAPIRET2 type.
    So is there any way to avoid this error when my QOS is best effort?
    Please help!
    Gopal

  • How to read a Oracle Forms PARAMLIST without knowing parameter names

    Hi All,
    Is there a way to read a Oracle Forms Paramlist on Oracle Forms (I mean read all parameters on it) without knowing any names of the parameters?
    I´d like to create a command line at run time and put on this command line all the parameters and its values, but I will never know the quantity of parameters and its names and values.
    Example of the command line I want to create:
    rwrun.sh batch=yes destype=file desname=/tmp/cmx_objetos.pdf desformat=pdf userid=***/***@*** module=/d01/oracle/VIS/apps/apps_st/appl/ecomex/fmx/cmx_objetos.rep parameter1=value1, parameter2=value2 ... paramaterN=valueN
    Thanks.

    As Francois said it is not clear if you are talking about Forms or Reports here. If Reports: check Get parameter name and type at runtime thread.
    But if you have no idea of the number or names of the parameters? How do you know which values to assign at all?
    Edited by: InoL on Jan 7, 2010 12:34 PM

  • How to get month value from custom calendar without passing parameter from SSRS in MDX query

    Could you please throw some light to achieve below requirement?  
    I need to filter the data between two periods dynamically . The date calendar here works differently(ex:-Date 26-Aug-2014 will fall in period 7 which is last date and 27-Aug-2014 will fall in period 8 and it is first date of period 8),so I cannot go
    with system date period/Month. Date Hierarchy is like YEAR,QUARTER,PERIOD ,WEEK and DAY.
    I cannot use SSRS for passing parameter. Requirement is to extract last 2 period of data dynamically in Power Pivot with MDX.
    Thanks Chandan

    Hi Chandan,
    You might try something like this
    Tail(null:
    Extract(
    StrToMember("[FYDay].[DATE].&[ + cStr(Format(Now(),"yyyy-MM-ddT00:00:00")) + "]")
    *[FYDay].[DateHierarchy].[Day]
    ,[FYDay].[DateHierarchy]).parent.parent
    ,2)
    What it is doing is multiplying Day by the current date, which returns a set of one date with cardinality of (Date,Day).  The Extract is pulling out just the datehierarchy Day.  the the Tail() is getting it and the previous day.
    Hope that helps,
    Richard

  • Printing material-documents without flag (parameter NDR)

    Hello everybody,
    I've got a question regarding printouts of material-documents. Normally the printout is done via condition-technique. Now my customer asks for a printout even if the flag for the printing is NOT set (Parameter NDR) in the document-header.
    Does anybody know how to solve this request? Is there a user-exit where I can check the requested requirements?
    Thanks for an answer,
    Thomas

    Hello Thomas,
    The "print flag" (GOHEAD-XNAPR) is for selecting the print version (field WEVER). In standard all output are dependend on the print version (WE01 on version 1, WE02 on version 2, etc).
    If you set NDR = blank and GOHEAD-XNAPR not flag, I think the solution is to create a access table and add to the access sequence that is linked to the output type, WA03 for example. Then these customized condition tables must not check the "print version" (WEVER). As a result the output are independend from setting the print flag and thereby  selecting a print version.
    You need to test this solution but I think it can work.
    BR,
    Rodrigo

  • FUNCTION 'CALL_FB08' without export parameter reversal doc nr

    In FUNCTION 'CALL_FB08' (SE37) there is no export parameter for the created reversal document. Any idea for another FM that would provide the created reversal document?

    Hello ,
    what kind of export parameters do you need , do you want to capture created reversal document ? , sorry i'm not clear abt your requirement.
      if you want to know the created reversal document , then check system params ( sy-msgv1,sy-msgv2...etc ) to know the  posted reversal document.
    regards
    Prabhu

  • Calling varargs method without varargs parameter.

    Hello
    I really appreciate your help on clarifying the following problem.
    1) I have method signature as
    public User validateUser(User usr, boolean isLogin,Object...args)
    2) When I call this method as
    obj.validateUser(usrObject,true);
    In windows environment, the method implementation specified in 1) is called and no issues.
    But, when the same code is deployed on linux, I get the following error
    java.lang.NoSuchMethodError: com.mysubpackage.dao.myobject.*validateUser(Lcom/startf orce/system/User;Z)Lcom/startforce/system/User;*
    Please let me know, if there is any known incompatibility issue out there between windows and linux.
    Thanks
    Muthu

    Hi Jverd
    You are right! I think I worked too much and got lost somewhere, to prove me wrong I wrote the following test class and ran on both linux and windows and produced the same result (as it should). -:) Thanks all of you for responding.
    public class VarArgsTest {
          * @param args
         public static void main(String[] args) {
               VarArgsTest test = new VarArgsTest();
               System.out.println("\nCalling varArgs with two parameter as test.printVarArgs(\"I am Param1 Value\", \"I am Param2 value\")");
               test.printVarArgs("I am Param1 Value", "I am Param2 value");
               System.out.println("Calling varArgs with three parameter as test.printVarArgs(\"I am Param1 Value\", \"I am Param2 value\", \"I am Param3 value\")");
               test.printVarArgs("I am Param1 Value", "I am Param2 value","I am Param2 value");
         public void printVarArgs(String param1, String param2, Object...objects) {
              System.out.println("\nparam1 = "+param1+"\nparam2 = "+param2);
              System.out.println();
              System.out.println(" param3 [Object...objects] length = "+objects.length);
              System.out.println();
              if(objects.length > 0)
                   System.out.println("Param 3 is not empty and its first value is  = "+objects[0]);
              else
                   System.out.println("Param 3 is  empty and nothing to display, it is an empty array ");
    Output
    Calling varArgs with two parameter as test.printVarArgs("I am Param1 Value", "I am Param2 value")
    param1 = I am Param1 Value
    param2 = I am Param2 value
    param3 [Object...objects] length = 0
    Param 3 is empty and nothing to display, it is an empty array
    Calling varArgs with three parameter as test.printVarArgs("I am Param1 Value", "I am Param2 value", "I am Param3 value")
    param1 = I am Param1 Value
    param2 = I am Param2 value
    param3 [Object...objects] length = 1
    Param 3 is not empty and its first value is = I am Param2 value
    Edited by: Startup_Muthu on Mar 12, 2008 11:41 AM
    Edited by: Startup_Muthu on Mar 12, 2008 11:43 AM

  • Badi without export parameter for messages

    Hi Guru's
    I am using a HR related badi for one validation. As per my requirement, In BADI "HRECM00_CONSISTENCY" i need to perform validations.
    If some mismatch in the condition, then i will pass error message and warning messages.
    But in BADI there is no export parameter to give the error message to Portal.
    This messages should be displayed in HR MSS tab in compensation tool managed. I have one parameter in Import with  "TYPE REF"(message handler). I am not sure whether that field will help or not.
    Please clarify this.
    If it is not could you please suggest any alternate way to populate the message to portal.
    Thanks & Regards,
    Ganesh R K

    Hello Ganesh,
    try to call this FM to Added Messages.
    call function 'HR_ECM_ADD_MESSAGE'
          exporting
            message_handler = message_handler
            msgty           = 'E'
            msgid           = 'messageid'
            msgno           = 'Message No'
            msgv1           = 'Prabhu' .
    regards
    Prabhu

  • Without Showing Parameter Form !!!!!!!

    To who may concern,,,,
    I have designed an oracle form and a button to print the oracle report. Is there possible to avoid showing the parameter form and the button directly print the report.
    A piece of source code is appreciated.
    Thank's in advance
    Best regards

    pass a parameter to report
    PARAMFORM=NO
    this will stop the parameter form from showing.
    To have the report directly printed use
    DESFORMAT=PRINTER.
    Check the online help for information about how to pass parameters from forms to reports.

Maybe you are looking for

  • Create a new Apple ID for my grandson without losing his itunes purchases and contacts

    My grandson has been using my Apple ID since first getting an iPod a few years ago. We want to set up a new separate account for him but don't want to lose his iTunes purchases, contacts and photos. How can we accomplish this?

  • CR XIr2 and CR 2008 in BOE XI 3.1

    I am looking for a document detailing how to install CR XIr2 and CR 2008 on same client. I need both of these apps to be able to post to BOE XI 3.1 is this possible? How will I be able to tell once a report is published if it is a r2 or a 2008 versio

  • Using Sata1 drives

    I have a couple of Maxtor Sata 1 drives (150Mbps, 7200 rpm) that I would like to insert into a Mac Pro. Will this be OK to do, or can you only use 3Mbps Sata 2 drives in a Mac Pro? Thanks for any advice.

  • Hi I have a apple ipod touch 4g battery question

    Hi i got it maybe 7 months ago and today i charged it fully in the morning and maybe 1 to 3 hours later it said the battery was 20%. I Don't know why it did this do you?

  • IPhone Storage Fluctuating While Plugged In

    Hi I have recently updated my iPhone 5s to iOS 8.1.3 and have noticed that when my phone is plugged in (to the wall or to a laptop) my remaining storage starts to fall to zero. You can see it fall by about 50mb at a time if you go in and out of the u