Helps the custom of the defined functions.

Hi all

I need some input from you guys.
We have a bunch a text files (all are in the same format, so I have the privilege of using the single rules file for all the files of th.) submitted by professional users.
Admin needs to load that data to the Essbase which is straigtforward if these files are located in a few. But they come in hundreds which is unnecessary work to load.
So I decided to create a CDF that will merge all the files in the selected folder and create a unique big text file. Now I have ready Java with me class to merge files and don't know about the next steps. Could you get it someone please let me know the next steps in detail to make this work function. I've mentioned a lot of sites and am able to understand how it works and still little confusion there.
We use the Hyperion 9 x.

Thanks in advance,
HYPUser

If the udf file does not exist you can create it and place your pot inside.

You can update the udf.policy to add something like

Grant codeBase "file:${essbase.java.home}/... / java/udf/yourjarname.jar"{}"
permission java.security.AllPermission;
};

If in your class, you are simply wanting to run the Main method then there is no need registration and you will just use
RUNJAVA your_package_class_name

See you soon

John
http://John-Goodwin.blogspot.com/

Tags: Business Intelligence

Similar Questions

  • Help the ActionScript functions

    Hey, can someone please help me find a solution in this code that I have. I use this code to make a rhythm game gameplay mechanics, but there seems to be a problem with the code that I colored in red.

    var timer1:Timer = new Timer (1000,1);

    Timer1.addEventListener (TimerEvent.TIMER, addRed);

    var score: int;

    stage.addEventListener (KeyboardEvent.KEY_DOWN, hitRed);

    function addRed(e:TimerEvent) {}

    var activeRed:red = new red();

    activeRed.x = 75;

    activeRed.y = - 100;

    activeRed.vy = 7.5;

    addChild (activeRed);

    activeRed.addEventListener (Event.ENTER_FRAME, animRed);

    }

    function hitRed(activeRed:KeyboardEvent) {}

    If (activeRed.keyCode == Keyboard.S) {}

    activeRed.target.removeEventListener (Event.ENTER_FRAME, animRed);

    activeRed.target.parent.removeChild (activeRed);

    score += 1

    }

    }

    function animRed(e:Event) {}

    var borderBottom = 800 + (e.target.height / 2);

    e.Target.y += e.target.vy;

    if(e.Target.y > borderBottom) {}

    e.target.removeEventListener (Event.ENTER_FRAME, animRed);

    e.target.parent.removeChild (e.target);

    }

    }

    Since you declare the variable activeRed inside a function, its scope is limited inside this function. Try declare it outside the function.

  • Helps the REST FUNCTION

    Hi all

    I am preparing the review of the basic course 1 SQL.
    I'm confused about function REST.
    I use Sybex (11g) for my studies.

    Now the REST is set as follows:
    REST (x, y): the function returns the rest if it divides X.

    Now the following queries have been used.

    Select the stay (13.5), stay (12.5), Remainder (12.5,5) twice;
    This gave-2, 2 and 2.5 respectively.
    My confusion is how remains (12.5) will return - 2 instead of 3.
    I ran the query using sql and still have-2, please someone must help very urgent
    as I don't understand why it must be so.


    Thank you



    Harrison

    Hello

    If you look in the documentation Oracle the function else is

    rest (m, n)

    The rest is calculated as:

    m (n * X) where X is the closest whole number of m / n

    http://www.techonthenet.com/Oracle/functions/remainder.php
    Thank you

  • Help the PLSQL functions

    I have this SELECT below I have to run it in a LOOP for each activity_id (record) that I get from the join.
    In addition, this SELECTION should be run in multiple places in a procedure for details and for whom record-> I run the assign_course or the assign_test as below.

    Can someone please help me to write a function that would have this select.inputs are strtplanid, strPersonid, p_objective_id
    FOR activity_id( IN
                   (SELECT objact.activity_id, objact.activity_type,objact.IS_REQUIRED
                      FROM test_training_plan tp,
                           test_tp_objective tp_obj,
                           test_train_obj_activity objact
                     WHERE tp.tplan_id = tp_obj.tplan_id
                       AND tp.tplan_id = strtplanid
                       AND tp_obj.t_objective_id = p_objective_id
                       AND tp_obj.t_objective_id = objact.t_objective_id
                       AND objact.activity_id NOT IN (
                              SELECT tplplr.activity_id
                                FROM test_learning_record lr,
                                     test_learning_record lr1,
                                     test_tp_learning_activity tplplr
                               WHERE lr.lr_catalog_history_id = tplplr.activity_id
                                 AND lr.learning_record_id =
                                                          tplplr.activity_lp_lr_id
                                 AND tplplr.tp_lp_lr_id = lr1.learning_record_id
                                 AND lr1.lr_catalog_history_id =
                                                   strtplanid
                                 AND lr.lr_person_id = strPersonid
                                 AND lr1.lr_person_id = strPersonid
                                 AND lr.status IN
                                               ('PASSED', 'WAIVED', 'TESTED_OUT'))
                       AND objact.activity_id NOT IN (
                              SELECT event_id
                                FROM test_train_obj_activity toa,
                                     test_event_sessions sessions,
                                     test_learning_record lr1,
                                     test_tp_learning_activity tplearnact,
                                     test_learning_record tplr
                               WHERE toa.activity_id = sessions.event_id
                                 AND sessions.event_session_id =
                                                         lr1.lr_catalog_history_id
                                 AND lr1.learning_record_id =
                                                      tplearnact.activity_lp_lr_id
                                 AND tplearnact.tp_lp_lr_id =
                                                           tplr.learning_record_id
                                 AND tplr.lr_catalog_history_id =
                                                   strtplanid
                                 --AND toa.is_required = 1
                                 AND toa.t_objective_id = obj.t_objective_id
                                 AND tplr.lr_person_id = strPersonid
                                 AND lr1.lr_person_id = strPersonid
                                 AND lr1.status IN
                                               ('PASSED', 'WAIVED', 'TESTED_OUT')))
                
                LOOP
               
                   IF (activity.activity_type = 'Course')
                   THEN
                      
                       SP_ASSIGN_COURSETP(strPersonid,activity.activity_id,strPersonid,activity.activity_type,
                      activity.IS_REQUIRED,strtplanid,v_straccreditingorg); 
                                                      
                    ELSif (activity.activity_type ='Test')
                    THEN
                      SP_ASSIGN_TESTTP(strPersonid,activity.activity_id,strPersonid,activity.activity_type,
                      activity.IS_REQUIRED,strtplanid,v_straccreditingorg); 
                    
                    END IF;

    Hello

    Read this: http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/tuning.htm#sthref2376
    And: http://www.oracle.com/pls/db102/search?remark=quick_search&word=REF+CURSOR+VARIABLE&tab_id=&format=ranked

  • Helps the analytic function

    Here is an example of the table data:
    ID    NAME             Start                  
    1     SARA             01-JAN-2006     
    2     SARA             03-FEB-2006     
    3     LAMBDA             21-MAR-2006     
    4     SARA             13-APR-2006     
    5     LAMBDA             01-JAN-2007     
    6     LAMBDA             01-SEP-2007     
    I would get this:
    Name        Start               Stop
    SARA        01-JAN-2006    20-MAR-2006
    LAMBDA      21-MAR-2006     12-APR-2006
    SARA        13-APR-2006     31-DEC-2006
    LAMBDA      01-JAN-2007      <null>
    I tried using partition and run the function but partition name combines all the lines of Sara and Lambda lines into a single group/partition that is not I am trying to get.
    Is there an analytic function or other means to achieve to combine date ranges only when the same person appeared conescutively?
    Thank you.

    This can be easily achieved using tabibitosan:

    First of all, you need to identify 'groups', that each name in the list belongs

    with sample_data as (select 1 id, 'SARA' name, to_date('01/01/2006', 'dd/mm/yyyy') start_date from dual union all
                         select 2 id, 'SARA' name, to_date('03/02/2006', 'dd/mm/yyyy') start_date from dual union all
                         select 3 id, 'LAMBDA' name, to_date('21/03/2006', 'dd/mm/yyyy') start_date from dual union all
                         select 4 id, 'SARA' name, to_date('13/04/2006', 'dd/mm/yyyy') start_date from dual union all
                         select 5 id, 'LAMBDA' name, to_date('01/01/2007', 'dd/mm/yyyy') start_date from dual union all
                         select 6 id, 'LAMBDA' name, to_date('01/09/2007', 'dd/mm/yyyy') start_date from dual)
    select id,
           name,
           start_date,
           lead(start_date, 1, to_date('31/12/9999', 'dd/mm/yyyy')) over (order by start_date) next_start_date,
           row_number() over (order by start_date)
             - row_number() over (partition by name order by start_date) grp
    from   sample_data;
    
            ID NAME   START_DATE NEXT_START_DATE        GRP
    ---------- ------ ---------- --------------- ----------
             1 SARA   01/01/2006 03/02/2006               0
             2 SARA   03/02/2006 21/03/2006               0
             3 LAMBDA 21/03/2006 13/04/2006               2
             4 SARA   13/04/2006 01/01/2007               1
             5 LAMBDA 01/01/2007 01/09/2007               3
             6 LAMBDA 01/09/2007 31/12/9999               3
    

    You can see the group number is generated by comparing the rownumber overall of all lines (in order) with the rownumber of the rowset by name (in the same order) - when there is a gap because another name appears between the two, the group number changes.

    Once you have identified the number of group for each set of rows, it is easy to find the min / max values in this group:

    
    with sample_data as (select 1 id, 'SARA' name, to_date('01/01/2006', 'dd/mm/yyyy') start_date from dual union all
                         select 2 id, 'SARA' name, to_date('03/02/2006', 'dd/mm/yyyy') start_date from dual union all
                         select 3 id, 'LAMBDA' name, to_date('21/03/2006', 'dd/mm/yyyy') start_date from dual union all
                         select 4 id, 'SARA' name, to_date('13/04/2006', 'dd/mm/yyyy') start_date from dual union all
                         select 5 id, 'LAMBDA' name, to_date('01/01/2007', 'dd/mm/yyyy') start_date from dual union all
                         select 6 id, 'LAMBDA' name, to_date('01/09/2007', 'dd/mm/yyyy') start_date from dual),
         tabibitosan as (select id,
                                name,
                                start_date,
                                lead(start_date, 1, to_date('31/12/9999', 'dd/mm/yyyy')) over (order by start_date) next_start_date,
                                row_number() over (order by start_date)
                                  - row_number() over (partition by name order by start_date) grp
                         from   sample_data)
    select name,
           min(start_date) start_date,
           max(next_start_date) stop_date
    from   tabibitosan
    group by name, grp
    order by start_date;
    
    NAME   START_DATE STOP_DATE
    ------ ---------- ----------
    SARA   01/01/2006 21/03/2006
    LAMBDA 21/03/2006 13/04/2006
    SARA   13/04/2006 01/01/2007
    LAMBDA 01/01/2007 31/12/9999
    

    If you want the date to appear as null max, you will need to use a cast or decode to change it - I'll leave that as an exercise for you to do! I'll also let you to find how to get the day before for the stop_date.

  • Help the analytical functions

    I have a requirement to get the records of previous values, I used the LEAD feature. The final result should return only rows that have multiple records... If its only one record then that is not part of the result.
    --Table Creation
    CREATE TABLE EHR(  ID      NUMBER,  NAMEID  VARCHAR2(100),  SAL     NUMBER,  DT      DATE);
    
    -- Inserting the data
    Insert into ehr  (ID, NAMEID, SAL, DT)
     Values  (1, 'A', 100, TO_DATE('10/08/2012 12:35:10', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into ehr    (ID, NAMEID, SAL, DT)
     Values    (1, 'A', 200, TO_DATE('10/09/2012 12:35:16', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into ehr    (ID, NAMEID, SAL, DT)
     Values    (1, 'A', 300, TO_DATE('10/10/2012 12:35:21', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into ehr    (ID, NAMEID, SAL, DT)
     Values    (2, 'B', 100, TO_DATE('10/08/2012 12:35:10', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into ehr    (ID, NAMEID, SAL, DT)
     Values    (2, 'B', 200, TO_DATE('10/09/2012 12:35:16', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into ehr    (ID, NAMEID, SAL, DT)
     Values    (2, 'B', 300, TO_DATE('10/10/2012 12:35:21', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into ehr    (ID, NAMEID, SAL, DT)
     Values    (3, 'C', 100, TO_DATE('10/17/2012 09:14:35', 'MM/DD/YYYY HH24:MI:SS'));
    COMMIT;
    
    -- Query
    
    select id,nameid,  sal, dt, LEAD(sal,1,0) over ( partition by id order by id )as sal_prev,
    LEAD(dt) over ( partition by id order by id ) as dt_prev
    from ehr
    Order by id , DT desc
    
    -- Result
    ID     NAMEID     SAL     DT                      SAL_PREV     DT_PREV
    1     A     300     10/10/2012 12:35:21 PM     200     10/9/2012 12:35:16 PM
    1     A     200     10/9/2012 12:35:16 PM     100     10/8/2012 12:35:10 PM
    1     A     100     10/8/2012 12:35:10 PM     0     
    2     B     300     10/10/2012 12:35:21 PM     200     10/9/2012 12:35:16 PM
    2     B     200     10/9/2012 12:35:16 PM     100     10/8/2012 12:35:10 PM
    2     B     100     10/8/2012 12:35:10 PM     0     
    3     C     100     10/17/2012 9:14:35 AM     0     
    I don't want the ID 3 because it contains only one record of the result above... rest should come. Any ideas?

    I think you want to delete the order of numbering and change the select * for columns that you need, if not, it seems, why not test on the sample table you provided?

    Edited by: bencol on 17 October 2012 15:05

    Edited by: bencol on 17 October 2012 15:08

  • User Defined functions in the Mapper

    I have user-defined functions that work in BPEL but I can't make them work in the Mapper. They appear when expected for jDeveloper but throw "function not found" errors

    Can someone look at my config files and see if the error comes out? Thank you bunches!

    BPEL file:

    " < soa-xpath-functions xmlns =" http://xmlns.Oracle.com/SOA/config/XPath "" "

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    version = "11.1.1.

    resourceBundle = "oracle.tip.tools.ide.common.resource.IDEMessageBundle"

    >

    < name of the function = "f17:editCaseNumber" >

    com.F17.CustomFunction.editCaseNumber < className > < / className >

    < return type = "tree" / >

    < params >

    < param name = "stringToFormat" type = "string" / >

    < param name = "order" type = "string" / >

    < / params >

    number of valid cases and formats < desc > < / desc >

    < detail >

    <! [CDATA [this is a custom function.] If you use it, you must include the

    Following namespace declaration in your BPEL file.

    < br / > < br / >

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    < br / > < br / >

    USE: f17:editCaseNumber(string,string) < br / >

    Channel 1 is the data < br / >

    Channel 2 is the command. Valid commands are: < br / >

    1 = number of control check and come back as nnnnnnnnnn < br / >

    2 = number of control check and come back as nnn-nnnnnnn < br / >

    3 = Append check digit and return under nnnnnnnnnn < br / >

    4 = Append check digit and return under nnn-nnnnnnn

    < br / > < br / >

    Returns XML document fragment: < br / >

    Import of f17userDefinedFusnctions.xsd space variable prototype. < br / >

    See documentation for more details.]] >

    < / details >

    < / feature >

    < name of the function = "f17:compressFile" >

    com.F17.CustomFunction.compressFile < className > < / className >

    < return type = "tree" / >

    < params >

    < param name = "stringToFormat" type = "string" / >

    < / params >

    < desc > compress long strings by DB storage < / desc >

    < detail >

    <! [CDATA [this is a custom function.] If you use it, you must include the

    Following namespace declaration in your BPEL file.

    < br / > < br / >

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    < br / > < br / >

    USE: f17:compresFile (string)

    < br / > < br / >

    Returns XML document fragment: < br / >

    See documentation for more details.]] >

    < / details >

    < / feature >

    < name of the function = "f17:sortList" >

    com.F17.CustomFunction.sortList < className > < / className >

    < return type = "tree" / >

    < params >

    < param name = "listIn" type = "string" / >

    < / params >

    lists of kinds of < desc > < / desc >

    < detail >

    <! [CDATA [this is a custom function.] If you use it, you must include the

    Following namespace declaration in your BPEL file.

    < br / > < br / >

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    < br / > < br / >

    USE: f17:sortList (String) < br / >

    Build the string as: & lt; list & gt; & lt; point & gt; [data] & lt; / point & gt;... & lt; / list & gt; < br / >

    Returns XML document fragment: < br / >

    Import of f17userDefinedFusnctions.xsd space variable prototype. < br / >

    See documentation for more details.]] >

    < / details >

    < / feature >

    < name of the function = "f17:replaceString" >

    com.F17.CustomFunction.replaceString < className > < / className >

    < return type = "string" / >

    < params >

    < param name = "StringToFix" type = "string" / >

    < param name = "RegX" type = "string" / >

    < param name = "replaceString" type = "string" / >

    < param name = "mode" type = "string" / >

    < / params >

    Sets < desc > replaceFirst and replaceAll functions java < / desc >

    < detail >

    <! [CDATA [this is a custom function.] If you use it, you must include the

    Following namespace declaration in your BPEL file.

    < br / > < br / >

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    < br / > < br / >

    USE: f17:replaceString(String,String,String,String) < br / >

    Chain change, regular expression, mode [optional] replace the string - 1 = all, 2 = first by default all the < br / >

    See documentation for more details.]] >

    < / details >

    < / feature >

    < / soa-xpath-functions >

    file Mapper:

    < soa-xpath-functions

    " xmlns =" http://xmlns.Oracle.com/SOA/config/XPath "" "

    ' xmlns:repl = ' http://www.Oracle.com/xsl/transform/Java/COM.F17.CustomFunction.replaceString "" "

    ' xmlns:comp = ' http://www.Oracle.com/xsl/transform/Java/COM.F17.CustomFunction.compressFile "" "

    version = "11.1.1.

    resourceBundle = "oracle.tip.tools.ide.common.resource.IDEMessageBundle"

    >

    < name of the function = ' model: compressFile ">

    com.F17.CustomFunction.compressFile < className > < / className >

    < return type = "tree" / >

    < params >

    < param name = "stringToFormat" type = "string" / >

    < / params >

    < desc > compress long strings by DB storage < / desc >

    < detail >

    <! [CDATA [this is a custom function.] If you use it, you must include the

    Following namespace declaration in your BPEL file.

    < br / > < br / >

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    < br / > < br / >

    USE: f17:compresFile (string)

    < br / > < br / >

    Returns XML document fragment: < br / >

    See documentation for more details.]] >

    < / details >

    < / feature >

    < name of the function = "repl:replaceString" >

    com.F17.CustomFunction.replaceString < className > < / className >

    < return type = "string" / >

    < params >

    < param name = "StringToFix" type = "string" / >

    < param name = "RegX" type = "string" / >

    < param name = "replaceString" type = "string" / >

    < param name = "mode" type = "string" / >

    < / params >

    Sets < desc > replaceFirst and replaceAll functions java < / desc >

    < detail >

    <! [CDATA [this is a custom function.] If you use it, you must include the

    Following namespace declaration in your BPEL file.

    < br / > < br / >

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    < br / > < br / >

    USE: f17:replaceString(String,String,String,String) < br / >

    Chain change, regular expression, mode [optional] replace the string - 1 = all, 2 = first by default all the < br / >

    See documentation for more details.]] >

    < / details >

    < / feature >

    < / soa-xpath-functions >

    None of the answers was * exactly * correct, but they gave me enough information to solve the problem.

    To implement what I have to code the functions a bit differently.

    • BPEL functions are all the IXpathFunction extension classes.
    • Mapper functions are not.
    • BPEL functions are each separate classes.
    • A single class with a method for each desired function mapper functions.
    • BPEL classes outcrop in the config file ext-bpel-xpath-functions-config. XML
    • The Mapper class is exposed in the config file ext-Mapper-xpath-functions - config.xml

    A BPEL class looks like:

    public class editCaseNumber implements IXPathFunction {
        public Object call(IXPathContext context, List args) throws XPathFunctionException {
           return docOut;
        }
    }
    

    A class to map looks like:

    public class mapperFunctions {
        public static String replaceString(String sIn,String sMat,String sRep,String mode){
            return finalString;
        }
        public static XMLDocumentFragment compressFile(String indoc){
            return docOut;
        }
    }
    

    (I deleted the code of these to avoid confusion.)


    My ext-Mapper-xpath-functions file - config.xml looks like:

    soa-xpath-functions
            xmlns="http://xmlns.oracle.com/soa/config/xpath"
            xmlns:map="http://www.oracle.com/XSL/Transform/java/com.f17.customfunction.mapperFunctions"
            version="11.1.1"
            resourceBundle="oracle.tip.tools.ide.common.resource.IDEMessageBundle"
            >
      
      com.f17.customfunction.mapperFunctions.compressFile
      
      
      
      
      Compresses large strings for DB storage
      
                    
    USE: map:compresFile(string)

    Returns XML document fragment containing HEX binary string:
    <compressedFile$gt;[outPut]</compressedFile> See documentation for details.]]>
    com.f17.customfunction.mapperFunctions.replaceString Exposes replaceFirst and replaceAll java functions
    USE: map:replaceString(String,String,String,String)
    String to edit,
    regular expression,
    replacement string mode
    1 = all
    2 = first occurance
    See documentation for details.]]>


  • Help please, LCC does offer the same functionality as Adobe Stratus? How?

    I found in the FAQ:


    LCCS provides the same functionality as Adobe Stratus?
    Yes.  LCCS offers the same technology as Stratus today for P2P audio and video streaming.  LCCS also offers a developer, framework and hosted service designed for real-time collaboration as well as the ability and the ability to connect RTMP connections with customers RTMFP.


    The question is how can connect my existing application in Stratus with you CAC?


    I don't want to use LCCS framework, I won't use the RTMFP Protocol as Stratus phone sample video, but in a commercial product, it is possible to supply?

    So, if possible, where I point my connectUrl key and developer of stratus in a supply service?

    Thank you very much.

    Hey elattanzio, I went through the same thing how you feel when I first tried begin with low-COST airlines.   I wanted to create a connection to peer 2 peer between two applications flash with no server involved.   I also moved the example of Stratus to the LCC.

    The short answer is THAT LCCS always uses rooms to connect people.   You can make a direct connection in hand pair using rtmfp in your application.   In this case first of all your users connect to a room on the servers of the LCC, and then they will help you coordinate the rtmfp peer connection as you used with Stratus.   So you end up with all your data flowing between two clients, but both clients are connect to the room in supply.  Your customers must stay connected to companies low-cost for the duration of the video call.    Now if your clients cannot establish a connection to the cause of NAT, firewall or other issues they're going back to rtmp and all traffic will now forward through the servers of the CCA.   You can specify that you do not want your customer to fold well.

    One other important thing to understand is the pricing model.   There is an associated cost just be connected to the servers of CAC.   We found it to be nominal if, but just enough to discourage you to stay connected all the time.   This led me to develop our own system based on jabber, precense to see who was online and to initiate calls, etc..   Secondly the cost to say the audio and video traffic is routed through servers to SUPPLY was too high for our business model so we chose to not allow fall to rtmp.  I think that the cost was reasonable based on the costs of bandwidth, etc., our model just could not bear.

    So here you'll it's my understanding of things that I agonized about how to get good video chat working in our application.   Yes to peer is not 100% free, but the cost isn't too bad and you get the benefits of Adobe running a cluster of servers for you.   So for us the value was there.   Good luck with the project.

    -Eric

  • With the iPad Pro 9.3.1 running, I do find a way to set the sleep function. I sleep in about two minutes. Help

    With the iPad Pro 9.3.1 running, I do find a way to set the sleep function. I sleep in about two minutes. Help

    (It sleeps)

  • User-defined function removes the expression hooks

    Trying to convert this column in a user function expression, however when I apply the function to the user hooks literally disappear.

    1 REGEXP_REPLACE (SRC_IO_PHONES_A.PHONE, ' ({: digit:{3})\.(:digit:{3})\.(:digit:{4})' 1 (\1)-\2-\3'),)

    2 REGEXP_REPLACE (SRC_IO_PHONES_A.PHONE, ' ([[: digit:]] {3})------.) () [[: digit:]] {3}). ([[: digit:]] {4})' 1 (\1)-\2-\3')


    These lines come from the same mapping. One implements the user-defined function and the second line is with I plug the code into the target Expression field.


    Any thoughts on why this is?


    Thank you

    So I thought to it thanks to a post of @oraclebase.  Another friend of mine has indicated that user in ODI functions develops a sort of pseudo-code and it is not really passing commands to the database.  Anyway, my research turned to substitute for the construction of all [: digit:].  This resulted in me find the above post where \d = [0-9].  By replacing all the scoring by \d hooks, the function worked.

  • Since I use photoshop CC I've not found an easy way to scan by using the discreen function? help please

    Since I use photoshop CC I have not found a way to use the discreen function when you scan... help!

    discreen function?

  • Disassemble the help of data store, modify the existing function

    I would like to change the below function to pass a single host settings and a data store single instead of doing all THE hosts connected to the lun.  I would like to be able to specify the news.

    Function Remove Datastore { }

    [CmdletBinding()]

    Param

    (

    [Parameter (ValueFromPipeline

    = $true )]

    $Datastore

    )

    Process of

    {

    if (-not $Datastore) {

    Write-Host "No data not defined as an input store"

    Output

    }

    Foreach ($ds in $Datastore) {

    $hostviewDSDiskName = $ds. ExtensionData.Info.vmfs.extent [0]. DISKNAME

    if ($ds. ExtensionData.Host) { }

    $attachedHosts = $ds. ExtensionData.Host

    Foreach ()$VMHost en $attachedHosts) {

    $hostview = Get-View $VMHost. Key

    $StorageSys = Get-View $HostView. ConfigManager.StorageSystem

    Write-Host 'Disassembly $($DS.) VMFS Datastore. The name) host $($hostview ). «' «Name)...»»»

    $StorageSys . UnmountVmfsVolume ($DS.) ExtensionData.Info.vmfs.uuid);

    }

    }

    }

    }

    I tried to change it to this, but don't think I have it correct.  I would run like this preference:

    $esx = get-vmhost hostname

    Disassemble-Datastore - VMHost $esx - data datastorename store

    Function

    Remove Datastore {

    [CmdletBinding()]

    param (

    [

    [ VMware.VimAutomation.ViCore.Impl.V1.Inventory.VMHostImpl ]$VMHost

    [

    string ]$Datastore

    )

    Process of {

    if (-not $Datastore) {

    Write-Host "No data not defined as an input store"

    Output

    }

    $hostview = Get-View $VMHost. Key

    $StorageSys = Get-View $HostView. ConfigManager.StorageSystem

    #Write - Host "disassembly $($DS.) VMFS Datastore The name) host $($hostview.) (Name)... »

    $StorageSys . UnmountVmfsVolume ($Datastore.) ExtensionData.Info.vmfs.uuid);

    }

    }

    Try it like this

    function Unmount-Datastore {
      [CmdletBinding()]
      param(
        [VMware.VimAutomation.ViCore.Impl.V1.Inventory.VMHostImpl]$VMHost,    [string]$Datastore  )
    
      process {
        if (-not $Datastore) {
          Write-Host "No Datastore defined as input"      exit    }
    
        $ds = Get-Datastore -Name $Datastore    $hostview = Get-View $VMHost    $StorageSys = Get-View $HostView.ConfigManager.StorageSystem    #Write-Host "Unmounting VMFS Datastore $($DS.Name) from host $($hostview.Name)..."
        $StorageSys.UnmountVmfsVolume($ds.ExtensionData.Info.vmfs.uuid)  }
    }
    

    Given that the data store is defined as [string] I suppose you pass the datastorename.

    So you'll need to get the data in $ds store object

  • any user defined function in the rule set by the user

    Hello

    I wonder if I can use a function defined by the user in a rule set by the user in oracle sem... I've seen examples of user defined function the used in sparql query filter clause in this guide to dev... However, I don't know if I can define a function in oracle database SEM. and use it in the body rule or the head. For example, I want to define a function of the length that allow to calculate the difference between two dates.  So, I want to set a rule as follows: event1: d1 and event1 has_start_date: has_end_date d2 and duration (24, d1, d2) then event1:date_satisfiable 'yes '. Oracle supports this type of rule? Thank you very much.

    Hong

    Salvation Hong,

    User-defined in 12 c inference can be a good choice for your condition. Please see the following document.

    Defined by the user and querying inference

    Thank you

    Zhe Wu

  • Helps the function of class of SMTP with authentication

    My server no longer supports the php mail() feature.  I need to use the SMTP class with the authentication function in my php code, and they suggested this to replace it: on-with-authentication-in-php-code http://www.yrhostsupport.com/index.php?/Knowledgebase/Article/View/101/2/smtp-class-functi

    So, I tried, but cannot make it work. This is my test form:

    < are method = "post" action = "forms/sendmail - test2.php" onsubmit = "return checkEmail (this);" >

    < script type = "text/javascript" language = "JavaScript" >

    < /script >

    < fieldset > < legend > news < / legend >

    < Label > name < / label >

    < input type = "text".

    name = "name" size = "30" maxlength = "40" / > < br / >

    < label > < span class = 'redText' > * </span > Email < / label >

    < input name = "email" type = "text" size = "30" maxlength = "40" / >

    < br / >

    < label > < span class = 'redText' > * </span > Message < / label >

    < textarea cols = "40" rows = "5" name = "message" type = "text" / > < / textarea > < br / >

    < / fieldset >

    < input type = "reset" value = "Reset" / >

    < input type = value = "submit" / >

    < / fieldset >

    < / make >

    It's sendmail - test2.php where going to the form. It will not be sent unless I have comment on the first 10 lines.

    <? PHP

    include ('Mail.php');

    //$to = " [email protected] "; "

    $name = $_REQUEST ['name'];

    $email = $_REQUEST ['email'];

    $message = $_REQUEST ['name'];

    $headers = "from: $email";

    $subject = "price quote";

    $fields = array();

    $fields {'name'} = 'Name ';

    $fields {'email'} = 'Email ';

    $fields {'message'} = 'Message ';

    $recipients = ' [email protected] '; //CHANGE

    $headers ['from'] = ' [email protected] '; //CHANGE

    ["to"] = $headers ' [email protected] '; //CHANGE

    $headers ['subject'] = 'Test Message';

    $body = "test message";

    Set the SMTP settings

    $params ['host'] = "levy.dnsbox25.com";

    $params ['port'] = '25';

    $params ["auth"] = "PLAIN";

    $params ["username"] = ' [email protected] '; //CHANGE

    $params ["password"] = "xxxxxx"; CHANGE

    / Next option allows the SMTP debug and will print the SMTP Protocol

    conversation on the page, it will help only with authentication problems. */

    $params ['debug'] = 'true ';

    Create the mail object using the Mail::factory method

    $mail_object = & Mail::factory ('smtp', $params);

    Print the parameters you use for the page

    {foreach ($params as $p)

    echo "$p < br / > ';

    }

    Send the message

    $mail_object-> send ($recipients, $headers, $body);

    ? >

    It used to work well when I used

    $send = mail ($ $subject, $body, $headers);

    $send2 = mail ($from, $subject2, $autoreply, $headers2);

    But they said I can't use it anymore. I'm good with HTML and CSS, but I don't know much about php. Thanks for any help integrating one of in this new code!

    It is to be expected. When you assign a value to a variable that was already assigned, you replace the previous value. You must add. Try this

    $body = "name:". "." $name. "\r\n". "e-mail:". "."  $email. "\r\n". $message

  • I'm new to LR and did install you on a Mac desktop computer and laptop.  On the laptop, the basic function under develop simply disappeared.  I'm lost.  Help.

    Question: I'm new to LR and did install you on a Mac desktop computer and laptop.  On the laptop, the basic function under develop simply disappeared.  I'm lost.  Help.

    This is a common problem. The basic Panel is simply hidden.

    Billboards / of masking is actually a function of Lightroom, but it is intuitive--not many people know that there are - for the most newcomers are thrown when a Panel is somehow hidden.

    Right-click anywhere in the area of the Panel on the right hand side and a context menu will appear.

    Click on the basic option to re - appear the basic Panel.

Maybe you are looking for

  • Drivers HP pavilion 14-n211sx

    -J' I downgrade my windows 8 for windows 7 32 bit and now the drivers are not available in the support center. Please help me

  • How is - what raise you a number to an exponent

    I see in the mathematical functions as a stimulus by a power of 2 x.  There must be a better way to do x ^ y to have to write a script. Help, please. Thank you.

  • Update the driver Via Rhine II Fast Ethernet Adapter

    Help, please! I can update my Via Rhine II Fast Ethernet Adapter driver with the 3.84.0.1 64 bit version of Windows XP same dough I'm running a 32-bit Windows XP? I could not find a version to 32 bit Win XP. My current driver version is 3.32.0.417, a

  • HP pavilion g7 passes all diagnostics of hd, but does not load win 7

    Hi all I have a laptop HP Pavilion G7 1150US who does not win 7. I tried everything from formatting the hard drive with a clean installation of factory recovery disks and ran all the tests of hard drive Diagnostics and they have passed with flying co

  • Pavilion 11 n034TU: lost USB drive connection key

    My phone loses connection to my USB STICK after a period of time (1 to 2 hours) and does recognize not all al. I can't restore the connection nor can I "eject safely device" even if I see the USB icon in the icons in the taskbar. The only way I ch. o