Store > 32K in a CLOB variable

Oracle 11.1

CREATE OR REPLACE PROCEDURE foo(p_input IN clob,p_output OUT INTEGER)
IS
BEGIN
    WITH data AS (
        SELECT xmltype(p_input) xml
        FROM dual
    )
    SELECT
        length(extractValue(d.xml,'//value'))
    INTO p_output
    FROM data d;
END;
/

The incoming XML content passed in FOO can be greater than 32K so I just want to make sure that Oracle takes care of everything, but I am not able to set up a simple test case. I Googled, looked up the old sons of RTO and AskTom, but no matter that I do either ORA-01706: user function result value was too big or ORA-06502: PL/SQL: digital or value error: character string buffer too small

OK so extractValue returns a VARCHAR2 so that it cannot handle more than 4000, but so I tried to use extract(d.dml,'//value').getclobval , but would not compile with PL/SQL: ORA-22806: not an object or REF.  , I'm missing a few concepts here.

DECLARE
    l_clob clob;
    l_open clob := '<node><value>';
    l_close clob := '</value></node>';
    l_output INTEGER;
BEGIN
     DBMS_LOB.createtemporary(l_clob,TRUE);
     dbms_lob.writeappend(l_clob,length(l_open),l_open);
        for i in 1..10 loop
          dbms_lob.writeAppend( l_clob, 32000, rpad('*',32000,'*') );
        end loop;
     dbms_lob.writeappend(l_clob,length(l_CLOSE),l_CLOSE);

    foo(l_clob,l_output);
    dbms_output.put_line('Output='||l_output);
END;
/

Or simply l_clob: = l_open | RPAD('*',32000,'*') | l_close

What Miss me? I want to just prove to me that I can successfully in an XML document that is greater than 32K and XMLTYPE methods allow to process the data in a relational format.

Thank you

Quick test...

SQL > create or replace procedure process_xml (xml in xmltype) is
2 cursor cur_xml is
3. Select x.*
xmltable 4 ('/ / employee ')
5 passage xml
RN 6 columns for ordinalite
7 road of varchar2 (10) ename '. / ename'
8 road of varchar2 (10) work '. / job'
9 road number sal '. / sal'
10                     ) x;
11 start
12 x in cur_xml
loop 13
14 dbms_output.put_line ('[' | x.RN |']) '|| x.Ename |' -' || x.Job |' -' || x.SAL);
15 end loop;
16 end;
17.

Created procedure.

SQL > declare
2 xml xmltype.
3. start
4. Select xmlelement ("AllDepartments",
() 5 xmlagg
6 xmlelement ("Department", xmlattributes (x.l as copy, d.deptno as deptno, dname as d.dname),)
() 7 xmlagg
8 xmlelement ("employee", xmlattributes (e.empno as empno, e.mgr as Bishop),)
9 xmlelement ("ename", ename)
10 xmlelement ("employment", work),
11 xmlelement ("sal", sal)
12                             )
13                       )
14                         )
15                   )
16                     )
17 in xml
18 Department d e outer join emp left (e.deptno = d.deptno)
19 cross join (select l dual connect by level level<= 1024)="">
Group of 20 by x.l, d.deptno, d.dname;
21 dbms_output.put_line ('XMLSize: ' |) Length (XML.getClobVal ()));
22 xml is so 1 715 925 about 1.63 Mb in size
23 process_xml (xml);
24 end;
25.
XMLSize: 1715925
[1] CLARK - MANAGER - 2450
[2] MILLER - CLERK - 1300
[3] THE KING - PRESIDENT - 5000
[4] SMITH - CLERK - 800
[5] FORD - ANALYST - 3000
[6] ADAMS - CLERK - 1100
[7] SCOTT - ANALYST - 3000
[8] JONES - MANAGER - 2975
[9] ALLEN - SELLER - 1600


[10] JAMES - CLERK - 950
[11] TURNER - SELLER - 1500
[12] BLAKE - MANAGER - 2850
[13] MARTIN - SELLER - 1250
[14] WARD - SELLER - 1250
[15]  -  -
[16] CLARK - MANAGER - 2450
[17] MILLER - CLERK - 1300
[18] THE KING - PRESIDENT - 5000
[19] SMITH - CLERK - 800
[20] FORD - ANALYST - 3000
[21] ADAMS - CLERK - 1100
[22] SCOTT - ANALYST - 3000
[23] JONES - MANAGER - 2975
[24] ALLEN - SELLER - 1600
[25] JAMES - CLERK - 950
[26] TURNER - SELLER - 1500
[27] BLAKE - MANAGER - 2850
[28] MARTIN - SELLER - 1250
[29] WARD - SELLER - 1250
[30]  -  -
[31] CLARK - MANAGER - 2450
[32] MILLER - CLERK - 1300
[33] KING - PRESIDENT - 5000
[34] SMITH - CLERK - 800
[35] FORD - ANALYST - 3000
[36] ADAMS - CLERK - 1100
[37] SCOTT - ANALYST - 3000
[38] JONES - MANAGER - 2975

[15356] TURNER - SELLER - 1500
[15357] BLAKE - MANAGER - 2850
MARTIN [15358] - SELLER - 1250
WARD [15359] - SELLER - 1250
[15360]-

PL/SQL procedure successfully completed.

Don't know why I have some empty employees in this test, but not to worry, it was just for show...

So, there we have a XML being passed in a procedure that is being processed, and that XML is more than 32 K (in my case it was > 1.6 Mb but could easily be larger).

If you are passing in a CLOB, there is no real difference as you just convert to XMLTYPE as you did already.

Tags: Database

Similar Questions

  • Write a CLOB variable in a file in the log file

    Hi, I am currently building a dynamic sql statement in a plsql procedure that stores the instruction in a CLOB variable (the statement is very long), which has been declared as:

    vc_sql_statement CLOB.
    Now, I want to write this statement to a file using the UTL FILE function.

    Because the variable is greater than 32K, can anyone please suggest another way of how I can file this statement in a log file.

    I use version oracle 11g.

    Thank you very much.

    Three ways to do it.

    http://www.morganslibrary.org/howcani.html

    Look at #4 on the page linked above.

  • Failed to store XMLType as a clob.

    I'm having a hard time to store an xml document in a clob column.

    I'm supposed to generate xml messages, using pl/sql and store them in a clob column where an EJB will search for new messages. Once it finds a new message (recording), it will load and validate the document.

    The problem is when I try to set the attributes "xmlns: xsi" and "xsi: noNamespaceSchemaLocation ' of my root element. Even if the stored procedure compiles without error, when I run it, I always get the following:

    SQL > exec xml_cor (14,001);

    begin xml_cor (14,001); end;

    ORA-31000: O recurso "http://caravelas/schemas/msgCor.xsd" nao e um documento sequence XDB
    ORA-06512: em 'APCOL. XML_COR', line 29
    ORA-06512: line of em 2

    SQL >

    The problem seems to be that the schema is not recorded on XDB. But I'm not going to write, because I do not want to store the XMLType as an XMLType or want to validate inside the Oracle, I just want to use the SQL/XML functions (XMLELEMENT, XMLATTRIBUTES, etc.) to generate well-formed XML documents, nothing else.

    I tried to register my schematics using DBMS_XMLSCHEMA.registerSchema, but Oracle maintains then complain that my scheme is not a 'XDB schema document.
    Is there a way to disable schema validation when generating the XML document using SQL/XML functions?
    If this is not the case, how can I activate my schema in a "schema XDB document"?

    Any other solution is welcome!

    Below is my stored procedure code:

    create or replace procedure is XML_COR (p_cod_cor in tank, destino in number)
    xmlCor xmlType.
    xmlMsgCor xmlType.
    Resultado xmlType.
    Url1 varchar2 (50);
    Url2 varchar2 (50);
    Start
    Url1: = "http://www.w3.org/2001/XMLSchema-instance";
    Url2: = "http://caravelas/schemas/msgCor.xsd";
    --
    (SELECT XMLELEMENT
    "msgCor,"
    XMLATTRIBUTES)
    Url1 as "xmlns: xsi"
    Url2 as "xsi: noNamespaceSchemaLocation.
    ),
    XMLConcat)
    XMLELEMENT ("cor",
    NULL,
    XMLForest)
    c.codcor as "codCor."
    c.descricao as 'description '.
    )
    )
    )
    ) in result
    OF cad_cor c WHERE c.codcor = p_cod_cor;
    --
    insert into
    mensagens_caravelas (ID, data_criacao, Tipo, destino, corpo, Status)
    values (se_mensagens.nextval, 'MsgCor', sysdate, destino, resultado.getClobVal (),' it);
    end XML_COR;

    Thanks in advance!

    It seems that you are facing the same question as this thread

    XSD as a constant error (ORA-31000)

    to hardcode the URL in the SELECT statement may resolve the problem you run into (assuming 10.2.x.x)

    Published by: A_Non on October 30, 2008 10:43
    (clarified version)

  • How to store that value in the variable date?

    Hi Sir,

    I have a request that is


    Select to_char (date ' 1900 - 01 - 01 + 1439 /(24*60), ' DD/MM/YYYY HH24:MI:ss') twice;



    When I run this query, I get this value: 01/01/1900 23:59
    and this value, I'm inserting in a variable that has the date data type.
    Here I put like this:



    v_nshiftmax: = to_char (date ' 1900 - 01 - 01 + 1439 /(24*60), "DD/MM/YYYY HH24:MI:SS");

    While storing get error: not one month valid

    How to store this variable?

    Thank you

    If you are holdiing to variable date why you switch to to_char?

    Just use to_date('1900-01-01','yyyy-mm-dd') + /(24*60) 1439

  • Double click and get and store the value in the variable.

    Hello

    It is my intention when I double click on a particular record on a table, I want to enter or store the specific record value in a variable and call this variable in the print/preview PLSQL code button.

    Below, I show the screenshot that contains a preview in the form of table and print button. After filling in the data. user double click the code officer LC354 and click Print Preview/mode button, it should display the report for only the
    Code of the agent of LC354(it's what I want). But normally when I click Preview before printing it affects wil see the report of the code of the agent of LC354 and LC325(which I don't).

    http://ImageShack.us/photo/my-images/811/printpb.PNG/

    My problem is how to capture the value ((*LC354*)) particular registration after double click the code(*LC354*) agent?

    I tried to store the agent code in the variable AG_CNT in mouse double click trigger with after the plsql code. but it dosent work.
    declare
    AG_CNT varchar2(10);
    begin
    *AG_CNT* :=GET_ITEM_PROPERTY('RFQ_AGENT_DETAILS.AGENT_CODE',CURRENT_RECORD);
    end;
    After that pass this AG_CNT value in *: AG_CODE *. the code below is in the Print/Preview button.
         cursor c1 is select nvl(count(ENQUIRY_NO),0) from scott.EXP_QUOTE_STATUS 
         where ltrim(rtrim(upper(job_status))) like 'APPROVED%' and ENQUIRY_NO = :REQ_FOR_QUOT.ENQUIRY_NO
    AND AGENT_CODE=*:AG_CODE* ;
    How to do this?

    SKUD.

    Hello

    When you click a folder, the focus moves to that record. To get the values of each element, just use the standard:

    :value := block.item ;
    

    François

  • CLOB variable: concatenate or append?

    I just wrote a FUNCTION to return the XML web service. As the text can exceed 32,767 characters, I thought a CLOB was the way forward:
     FUNCTION Get_XML(I_URL VARCHAR2)
     RETURN XMLTYPE
     AS
    
      Page          CLOB;
      Response     UTL_HTTP.HTML_PIECES;
    
     BEGIN 
    
      Response := UTL_HTTP.REQUEST_PIECES(I_URL);
    
      -- UTL_HTTP.REQUEST_PIECES returns 2000 byte chunks.
      FOR Chunk IN 1..Response.Count
      LOOP
       Page := Page || Response(Chunk);
      END LOOP;
    
      RETURN XMLTYPE(Page);
    
     END Get_XML;
    My question is, is the best way to concatenate pieces. Is
    Page := Page || Piece(Counter);
    good, or should I use DBMS_LOB. APPEND or similar?

    The post below shows WriteAppend to be faster than append Re: LONG data type

    I have almost never used WriteAppend but always used append.

  • store internal variables in the nodes mathscript/scilab

    Is it possible to store the values of local variables in mathscript node? Maybe have an initialization section where variables are implemented and then later updated. And then something to reset the closure of the vi? Im guessing not, im guessing that we must do the same as labview, pass new releases at the entrances, but it is much more natural in a text based language to do it this way (for me anyway).

    Gordal salvation,

    You can use the backup and loading of orders to store variables for your scripts in a file.  Note that these commands will a warning glyph occur which reduces performance, so what I propose is the following:

  • Write a CLOB on a file

    Hello

    I need to create a package that should generate output in an XML file.

    Between the different file tag, there is a ImageData, which must contain a Base64 attachment. The attachment is stored in a CLOB, and thanks to the ENCODEBLOB function (below is the code for example), it converts the Base64 attachment and store it in a CLOB.

    The CLOB consists of text lines of 64 characters.

    I need to write them in the XML file into 32676 character lines. In the example below, the file prints as lines of 64 characters.

    This is my plan:

    CREATE OR REPLACE PACKAGE BODY MYPACKAGE

    IS

    (PROCEDURE) ADD

    o_x_err in out varchar2

    )

    IS id_file utl_file.file_type;

    v_allegato BLOB;

    v_directory varchar2 (200): = "TEST_EXT";

    v_file_name varchar2 (200);

    v_clob CLOB.

    compensate for number: = 1;

    number amount: = 32767;

    number Len: = dbms_lob.getlength (v_clob);

    lc_buffer varchar2 (32767).

    / * CODE... * /.

    Id_File: = Utl_File.Fopen (v_Directory, v_File_Name, 'w', 32767);

    / * CODE... * /.

    UTL_FILE. Put_line (ID_FILE, '< reg: ImageData >');

    ----------------------------------------------------------------------------

    ENCODEBLOB (v_allegato, v_clob);  -FUNCTION CODE IS UNDER THIS CODE

    offset: = 1;

    amount: = 32767;

    Len: = dbms_lob.getlength (v_allegato);

    Start

    If (dbms_lob.isopen (v_allegato)! = 1) then

    DBMS_LOB. Open (v_allegato, 0);

    end if;

    amount: = 2000;

    While (offset, len)

    loop

    DBMS_LOB. Read (v_allegato, amount, offset, lc_buffer);

    UTL_FILE.put_line (id_file, codification (lc_buffer), false);

    offset: = offset + amount;

    end loop;

    If (dbms_lob.isopen (v_allegato) = 1) then

    DBMS_LOB. Close (v_allegato);

    end if;

    exception

    while others then

    dbms_output.put_line (' error: ' |) SQLERRM);

    end;

    / * CODE... * /.

    UTL_FILE. FCLOSE (id_file);

    / * CONTINUE * /.

    WRITING OF THE END;

    procedure EncodeBlob (blobSource in clobBase64 in a clob, blob) is

    constant number of step: = 3 * 1024;

    Start

    I'm in 0.trunc ((DBMS_LOB. GetLength (blobSource) - 1) / step) loop

    clobBase64: = clobBase64 |

    UTL_RAW.cast_to_varchar2)

    () UTL_ENCODE.base64_encode

    DBMS_LOB. SubStr (blobSource, step, i * step + 1)

    )

    );

    end loop;

    end encodeblob;

    END MYPACKAGE;

    /

    It is a part of the content of the BLOB:

    %PDF-1.3

    3 0 obj

    < <

    / Type /XObject

    / / Image subtype

    / Filter /DCTDecode

    /Width 1606

    /Height 2277

    Wake up 274917

    / BitsPerComponent 8

    / Space colorimetric /DeviceRGB

    > >

    data flow

    Ÿoÿa JFIF È È ÿþ LEAD Technologies Inc. V1.01 Ÿu «...»

    And this part of the content of CLOB after ENCODEBLOB:

    JVBERi0xLjMNCjMgMCBvYmoNCjw8DQogIC9UeXBlIC9YT2JqZWN0DQogIC9TdWJ0

    eXBlIC9JbWFnZQ0KICAvRmlsdGVyIC9EQ1REZWNvZGUNCiAgL1dpZHRoIDE2MDYN

    CiAgL0hlaWdodCAyMjc3DQogIC9MZW5ndGggMjc0OTE3DQogIC9CaXRzUGVyQ29t

    cG9uZW50IDgNCiAgL0NvbG9yU3BhY2UgL0RldmljZVJHQg0KPj4NCnN0cmVhbQ0K

    /9J/4AAQSkZJRgABAAEAyADIAAD / / gAfTEVBRCBUZWNobm9sb2dpZXMgSW5jLiBW

    MS4wMQD/2wCEAAYGBgkGCQ8JCQ8PCgoKDxAODg4OEBAQEBAQEBAQEBAQEBAQEBAQ

    EBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBABBgkJDAkMDgkJDhAODA4QEBAQEBAQ

    EBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEP/EAaIA

    AAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKCwEAAwEBAQEBAQEBAQAAAAAAAAEC

    AwQFBgcICQoLEAACAQMDAgQDBQUEBAAAAX0BAgMABBEFEiExQQYTUWEHInEUMoGR...

    Finally, it is a part of the output file:

    ... < reg: ImageData >

    JVBERi0xLjMNCjMgMCBvYmoNCjw8DQogIC9UeXBlIC9YT2JqZWN0DQogIC9TdWJ0

    eXBlIC9JbWFnZQ0KICAvRmlsdGVyIC9EQ1REZWNvZGUNCiAgL1dpZHRoIDE2MDYN

    CiAgL0hlaWdodCAyMjc3DQogIC9MZW5ndGggMjc0OTE3DQogIC9CaXRzUGVyQ29t

    ............... < / reg: ImageData >...

    Can someone help me?

    DBMS_XSLPROCESSOR.clob2file () wrote the clob in a separate file, I need that must be part of a more complex file.

    It seems that you generate the XML code by pieces by issuing fragment one by one, using UTL_FILE.

    I have to say that this is not a good approach: code useless complex, maintenance more difficult, more likely to generate content that is not valid.

    I suggest that you build the entire XML document first, in an XMLType variable, using preferably SQL/XML (guaranteeing a well-trained content).

    Then use DBMS_XSLPROCESSOR at the end, so that you don't need to worry about stuff UTL_FILE this annoying.

    If it is possible to have longer lines of 32 K bytes is preferable.

    Yes of course.

    Use the REPLACE() function to remove the product in all LF base64 CLOB.

  • How to use UTL_FILE to print a JPG image in a CLOB

    I'm using Oracle 11.g.  I have an Oracle Apex application that generates automated emails. In the Apex, the user inserts a JPG image in a rich text field. This image is stored in a CLOB field. When it's time to send emails, Apex calls a stored procedure that reads the JPG image and stores it in a local variable called l_image_clob. The procedure of sending the embedded image with the rest of the body by e-mail to a list of users. (Note: this an embedded image and it is not an attachment). It all works very well.

    Now, I try to save the JPG image content stored in the l_image_clob variable in a JPG file on the server. The server is located on a Windows 7 platform.  The following code generates a file named correctly and the size of the file is correct, but it is not readable by the system. I get the error "is not a valid bitmap file" when I try to open it with Microsoft Paint. The image in the clob data looks something like: / 9j/4AAQSkZJRgABAgEAZABkAAD/4RXaRXhpZgAATU0AKg (a bunch more data) SSSSUpJJJJSkkkklKSSSSU / / Z

    How do I use utl_file to save the JPG image bank in the l_image_clob variable to a valid JPG file?

    -- Here's the code which creates the file that is "not a valid bitmap file"
      -- Create a file based on the content of l_image_clob
      l_image_filename := 'image_' || p_event_pkey || '_' || i ||
      '.' || l_image_ext;
      l_file_handle := utl_file.fopen(l_dirname , l_image_filename, 'wb');
      -- wb is write byte. This returns file handle
      <<inner_loop>>
      for i in 1 .. ceil( length( l_image_clob ) / chnksz )
      loop
      utl_file.put_raw( l_file_handle,
      utl_raw.cast_to_raw( substr( l_image_clob, (i-1) * chnksz + 1, chnksz )));
      utl_file.fflush(l_file_handle);
      end loop inner_loop;
      utl_file.fclose(l_file_handle);

    procedure clobbase642file (p_clob clob, p_dir varchar2, varchar2 p_filename)

    is

    t_buffer varchar2 (32767).

    number of t_pos: = 1;

    number of t_size: = nls_charset_decl_len (32764, nls_charset_id ("char_cs"));

    number of t_len;

    t_fh utl_file.file_type;

    Start

    t_fh: = utl_file.fopen (p_dir, p_filename, "wb", 32767);

    t_len: = length (p_clob);

    loop

    When the t_pos output > t_len;

    t_buffer: = replace (replace (substr (p_clob, t_pos, t_size), Chr (10)), Chr (13));

    t_pos: = t_pos + t_size;

    all in t_pos <= t_len="" and="" mod(="" length(="" t_buffer="" ),="" 4="" )="">0

    loop

    t_buffer: = t_buffer | Replace (replace (substr (p_clob, t_pos, 1), Chr (10)), Chr (13));

    t_pos: = t_pos + 1;

    end loop;

    UTL_FILE.put_raw (t_fh, utl_encode.base64_decode (utl_raw.cast_to_raw (t_buffer)));

    end loop;

    UTL_FILE.fclose (t_fh);

    end;

  • CLob update fails with PLS-00172: string literal too long

    I have a clob column that needs updating with a message about message_id

    Description of the table

    SQL > desc cl_message1
    Name Null? Type
    ----------------------------------------- -------- ----------------------------
    MSG_ID(2) NOT NULL NUMBER (10)
    DATA NOT NULL CLOB

    UPDATE statement:
    CLOB variable data1;
    Start
    : data1: ='TESTHDR ^ add ^ 200812310374 ^ 15:53:22.0 2012-08-19 ^.
    TESTHDR ^ add ^ 200812310374 ^ 5652 ^ C0000029 ^ 15:46:49.0 2012-08-19 ^.
    TESTDWN ^ ADD ^ 200812310374 ^ 5652 ^ G ^ 03 ^ 00000999990000722444 ^.
    .....
    ... ----------------------------------------------------------------------------------------- 2376 lines of text-------------------------
    TESTDWN ^ ADD ^ 200812310374 ^ 5674 ^ G ^ 10 ^ 00000999990000743289 ^.
    TESTEND ^ 5674 ^';
    UPDATE cl_message1
    SET DATA =: data1
    WHERE
    msg_id(2) = '989';
    END;
    /

    When I run this statement it fails with


    SQL > @test_clob_insert.sql
    : data1: ='WAVEHDR ^ add ^ 200812310374 ^ 15:53:22.0 2012-08-19 ^.
    *
    ERROR on line 2:
    ORA-06550: line 2, column 10:
    PLS-00172: string literal too long

    According to my understanding of a bind variable can store a maximum of clob. Not sure why it is throwing this error. Help, please

    Concerning

    This column is stored in_row.


    SQL > r
    1 * select table_name, column_name, owner, in_row from dba_lobs where table_name = 'CL_MESSAGE1 '.

    OWNER, TABLE_NAME COLUMN_NAME IN2
    ------------------------------ ------------------------------ ---------------------------------------- ---
    VEERA CL_MESSAGE1 DATA YES

    Published by: 953621 on August 19, 2012 22:34

    Published by: 953621 on August 19, 2012 23:44

    953621 wrote:
    According to my understanding of a bind variable can store a maximum of clob. Not sure why it is throwing this error. Help, please

    Yes, if the binding variable is declared as a clob, so it can store the maximum size of the CLOB, but this isn't your problem.
    Your problem is that you set the clob data using a string literal that is a single quoted string. There is a limit to the size of the string literals, so you will have to accumulate the clob in adding a whole lot string literals instead.

  • How to insert data in the clob or xmltype column

    When I am inserting to clob or xml type column I get error error on line 2:
    ORA-01704: string literal too long


    INSERT INTO po_clob_tab
    values (100,' < TXLife >)
    < UserAuthRequest >
    UserId < UserLoginName > < / UserLoginName >
    < / UserAuthRequest >
    < TXLifeRequest >
    < TransRefGUID > 0099962A-BFF3-4761-4058-F683398D79F7 < / TransRefGUID >
    < TransType tc = "186" > OLI_TRANS_CHGPAR < / TransType >
    < TransExeDate > 2008 - 05 - 29 < / TransExeDate >
    < TransExeTime > 12:01:01 < / TransExeTime >
    < InquiryLevel tc = "3" > OLI_INQUIRY_OBJRELOBJ < / InquiryLevel >
    < InquiryView >
    < InquiryViewCode > CU186A < / InquiryViewCode >
    < / InquiryView >
    < ChangeSubType >
    < ChangeTC tc = "32" > update / add information about the customer object < / ChangeTC >
    <!-TranContentCode tc = 1 (Add)
    TC = 2 (Update)
    TC = 3 (remove)
    ->
    < TranContentCode tc = "1" > add < / TranContentCode >
    < / ChangeSubType >
    < OLifE >
    < SourceInfo >
    Profile Client < SourceInfoName > < / SourceInfoName >
    < / SourceInfo >
    < id of activity = "Act1" PartyID = "Party1" >
    < ActivityStatus tc = "2" > current < / ActivityStatus >
    < > 123456 UserCode < / UserCode >
    < opened > 2010 - 08 - 17 < / open >
    < ActivityCode > CP10001 < / ActivityCode >
    < setting >
    < description > LastScreenName < / Description >
    Create a CP < AttachmentData > < / AttachmentData >
    < AttachmentType tc = "2" > OLI_ATTACH_COMMENT < / AttachmentType >
    < AttachmentLocation tc = "1" > OLI_INLINE < / AttachmentLocation >
    < / fixing >
    < OLifEExtension VendorCode = ExtensionCode "05" = 'Activity' >
    < ActivityExtension >
    < SubActivityCode > CP20001 < / SubActivityCode >
    < / ActivityExtension >
    < / OLifEExtension >
    < / activity >
    < group id = "Grouping1" >
    < household >
    < EstIncome > 90000 < / EstIncome >
    < / household >
    < / group >
    < holding id = "Holding1" >
    Political < HoldingTypeCode tc = "2" > < / HoldingTypeCode >
    < purpose tc = "35" > Accumulation < / purpose >
    <>policy
    < tc ProductType = "1009800001" > AXA generic network Variable life product < / ProductType >
    Plus9 < ProductCode > < / ProductCode >
    < PlanName > accumulator Plus 9.0 < / PlanName >
    < pension >
    < QualPlanType tc = "45" > Qualified < / QualPlanType >
    < / pension >
    < ApplicationInfo >
    < ApplicationJurisdiction tc = "35" > New Jersey < / ApplicationJurisdiction >
    < OLifEExtension VendorCode = ExtensionCode "05" = "ApplicationInfo" >
    < ApplicationInfoExtension >
    < FinancialPlanIInd tc '0' = > false < / FinancialPlanIInd >
    < AgentVerifiesOwnersID tc = "1" > True < / AgentVerifiesOwnersID >
    < / ApplicationInfoExtension >
    < / OLifEExtension >
    < / ApplicationInfo >
    < FinancialActivity >
    < FinActivityType tc = "7" > payment < / FinActivityType >
    < FinActivityPct > 10 < / FinActivityPct >
    < payment >
    < SourceOfFundsTC = "18" tc > Don < / SourceOfFundsTC >
    < OLifEExtension VendorCode = ExtensionCode "05" = 'Payment' >
    < PaymentExtension >
    < FundingDisclosureDetails >
    < FundingDisclosureTC tc = "1009800001" > Cash < / FundingDisclosureTC >
    < / FundingDisclosureDetails >
    < / PaymentExtension >
    < / OLifEExtension >
    < / payment >
    < / FinancialActivity >
    < FinancialActivity >
    < FinActivityType tc = "7" > payment < / FinActivityType >
    < FinActivityPct > 10 < / FinActivityPct >
    < payment >
    < SourceOfFundsTC tc = "8" > personal loan < / SourceOfFundsTC >
    < OLifEExtension VendorCode = ExtensionCode "05" = 'Payment' >
    < PaymentExtension >
    < FundingDisclosureDetails >
    < FundingDisclosureTC tc = "1009800002" > loan < / FundingDisclosureTC >
    < / FundingDisclosureDetails >
    < / PaymentExtension >
    < / OLifEExtension >
    < / payment >
    < / FinancialActivity >
    < FinancialActivity >
    < FinActivityType tc = "7" > payment < / FinActivityType >
    < FinActivityPct > 10 < / FinActivityPct >
    < payment >
    < SourceOfFundsTC tc = "10" > back < / SourceOfFundsTC >
    < OLifEExtension VendorCode = ExtensionCode "05" = 'Payment' >
    < PaymentExtension >
    < FundingDisclosureDetails >
    < FundingDisclosureTC tc = "1009800003" > political related < / FundingDisclosureTC >
    < / FundingDisclosureDetails >
    < / PaymentExtension >
    < / OLifEExtension >
    < / payment >
    < / FinancialActivity >
    < FinancialActivity >
    < FinActivityType tc = "7" > payment < / FinActivityType >
    < FinActivityPct > 10 < / FinActivityPct >
    < payment >
    < OLifEExtension VendorCode = ExtensionCode "05" = 'Payment' >
    < PaymentExtension >
    < FundingDisclosureDetails >
    < FundingDisclosureTC tc = "1009800005" > CD, Stocks, 401(k) mutual funds shares, obligations, existing retirement Plan assets sale < / FundingDisclosureTC >
    < / FundingDisclosureDetails >
    < / PaymentExtension >
    < / OLifEExtension >
    < / payment >
    < / FinancialActivity >
    < FinancialActivity >
    < FinActivityType tc = "7" > payment < / FinActivityType >
    < FinActivityPct > 10 < / FinActivityPct >
    < payment >
    < OLifEExtension VendorCode = ExtensionCode "05" = 'Payment' >
    < PaymentExtension >
    < FundingDisclosureDetails >
    < FundingDisclosureTC tc = "1009800004" > sale of shares of mutual funds qualified or unqualified < / FundingDisclosureTC >
    < / FundingDisclosureDetails >
    < / PaymentExtension >
    < / OLifEExtension >
    < / payment >
    < / FinancialActivity >
    < FinancialActivity >
    < FinActivityType tc = "7" > payment < / FinActivityType >
    < FinActivityPct > 20 < / FinActivityPct >
    < payment >
    < OLifEExtension VendorCode = ExtensionCode "05" = 'Payment' >
    < PaymentExtension >
    < FundingDisclosureDetails >
    < FundingDisclosureTC tc = "1009800006" > active Advisory investment sales < / FundingDisclosureTC >
    < / FundingDisclosureDetails >
    < / PaymentExtension >
    < / OLifEExtension >
    < / payment >
    < / FinancialActivity >
    < FinancialActivity >
    < FinActivityType tc = "7" > payment < / FinActivityType >
    < FinActivityPct > 20 < / FinActivityPct >
    < payment >
    Car < SourceOfFundsTC tc = "1009800008" > < / SourceOfFundsTC >
    < OLifEExtension VendorCode = ExtensionCode "05" = 'Payment' >
    < PaymentExtension >
    < FundingDisclosureDetails >
    < FundingDisclosureTC tc '2147483647' = > other < / FundingDisclosureTC >
    < / FundingDisclosureDetails >
    < / PaymentExtension >
    < / OLifEExtension >
    < / payment >
    < / FinancialActivity >
    < / policy >
    < / support >
    < use id = "Party1" >
    < PartyTypeCode tc = "1" > person < / PartyTypeCode >
    < EstNetWorth > 250000 < / EstNetWorth >
    < LiquidNetWorthAmt > 120000 < / LiquidNetWorthAmt >
    < EstTotAssetsAmt > 400000 < / EstTotAssetsAmt >
    < person >
    John < FirstName > < / name >
    DOE < name > < / LastName >
    Married < MarStat tc = "1" > < / MarStat >
    < sex tc = "1" > male < / Type >
    < date of birth > 1965 - 05 - 07 < / date of birth >
    < EducationType tc = "3" > associate degree < / EducationType >
    < citizenship tc = "1" > US < / citizenship >
    < NetIncomeAmt > 70000 < / NetIncomeAmt >
    < DriversLicenseNum > D123456789 < / DriversLicenseNum >
    < DriversLicenseState tc = "35" > New Jersey < / DriversLicenseState >
    < ImmigrationStatus tc = "8" > citizen < / ImmigrationStatus >
    < DriversLicenseExpDate > 2012 - 05 - 25 < / DriversLicenseExpDate >
    < OLifEExtension VendorCode = ExtensionCode "05" = "No" >
    < PersonExtension >
    < NoDriversLicenseInd tc '0' = > false < / NoDriversLicenseInd >
    < / PersonExtension >
    < / OLifEExtension >
    < / person >
    < address >
    Lane Finn 125 < Line1 > < / Line1 >
    < City > North Brunswick < / City >
    < AddressStateTC tc = "35" > New Jersey < / AddressStateTC >
    < > 08902 zip < / Zip >
    < / address >
    < Phone >
    < PhoneTypeCode tc = "1" > home < / PhoneTypeCode >
    < DialNumber > 732456789 < / DialNumber >
    < / Phone >
    < Phone >
    < PhoneTypeCode tc = "2" > work < / PhoneTypeCode >
    < DialNumber > 732987654 < / DialNumber >
    < / Phone >
    < setting >
    < description > comments < / Description >
    < AttachmentData > it is collected for the customer comments < / AttachmentData >
    < AttachmentType tc = "2" > OLI_ATTACH_COMMENT < / AttachmentType >
    < AttachmentLocation tc = "1" > OLI_INLINE < / AttachmentLocation >
    < / fixing >
    < setting >
    < AttachmentSysKey > 1 < / AttachmentSysKey >
    important considerations remarks additional < description > < / Description >
    < AttachmentData > it is collected for the customer comments < / AttachmentData >
    < AttachmentType tc = "2" > OLI_ATTACH_COMMENT < / AttachmentType >
    < AttachmentLocation tc = "1" > OLI_INLINE < / AttachmentLocation >
    < / fixing >
    < setting >
    < AttachmentSysKey > 2 < / AttachmentSysKey >
    important considerations remarks additional < description > < / Description >
    < AttachmentData > it is collected for the customer comments < / AttachmentData >
    < AttachmentType tc = "2" > OLI_ATTACH_COMMENT < / AttachmentType >
    < AttachmentLocation tc = "1" > OLI_INLINE < / AttachmentLocation >
    < / fixing >
    < customer >
    < NumRelations > 1 < / NumRelations >
    < EstTaxBracket > 10 < / EstTaxBracket >
    < BrokerDealerInd tc = "1" > True < / BrokerDealerInd >
    < EstIncomeAmt > 90000 < / EstIncomeAmt >
    < PrimaryInvObjective tc = "8" > income and growth < / PrimaryInvObjective >
    < InvHorizonRangeMin > 5 < / InvHorizonRangeMin >
    < OLifEExtension VendorCode = "05" ExtensionCode = "Customer" >
    < ClientExtension >
    Moderate < RiskToleranceCode tc = "3" > < / RiskToleranceCode >
    < FINRAAffiliationName > John Doe < / FINRAAffiliationName >
    < degree >
    < RankCategory tc = "1009800001" > financial goal < / RankCategory >
    < TotalRankCode > 5 < / TotalRankCode >
    < RankCode PurposeID = "1009800016" > 6 < / RankCode >
    < RankCode PurposeID = "35" > 6 < / RankCode >
    < RankCode PurposeID = "2" > 6 < / RankCode >
    < RankCode PurposeID = "1009800013" > 6 < / RankCode >
    < RankCode PurposeID = "1009800014" > 6 < / RankCode >
    < RankCode PurposeID = "5" > 6 < / RankCode >
    < RankCode PurposeID = "1009800015" > 6 < / RankCode >
    < / standings >
    < / ClientExtension >
    < / OLifEExtension >
    < / customer >
    < EMailAddress >
    < EMailType tc = "1" > Business < / EMailType >
    < AddrLine > [email protected] < / AddrLine >
    < / EMailAddress >
    < risk >
    < HHFamilyInsurance >
    < HHFamilyInsuranceSysKey > 1 < / HHFamilyInsuranceSysKey >
    < DeclinedInd tc '0' = > false < / DeclinedInd >
    < LineOfBusiness tc = "1" > life < / LineOfBusiness >
    < / HHFamilyInsurance >
    < HHFamilyInsurance >
    < HHFamilyInsuranceSysKey > 2 < / HHFamilyInsuranceSysKey >
    < DeclinedInd tc '0' = > false < / DeclinedInd >
    < LineOfBusiness tc = "1" > life < / LineOfBusiness >
    < / HHFamilyInsurance >
    < HHFamilyInsurance >
    < HHFamilyInsuranceSysKey > 1 < / HHFamilyInsuranceSysKey >
    < DeclinedInd tc '0' = > false < / DeclinedInd >
    < LineOfBusiness tc = "3" > disability insurance < / LineOfBusiness >
    < / HHFamilyInsurance >
    < HHFamilyInsurance >
    < HHFamilyInsuranceSysKey > 1 < / HHFamilyInsuranceSysKey >
    < DeclinedInd tc '0' = > false < / DeclinedInd >
    < LineOfBusiness tc = "5" > insurance LTC < / LineOfBusiness >
    < / HHFamilyInsurance >
    < FinancialExperience >
    < InvestmentType tc = "7" > CD < / InvestmentType >
    < YearsOfInvestmentExperience > 1 < / YearsOfInvestmentExperience >
    < OLifEExtension VendorCode = "05" ExtensionCode = "FinancialExperience" >
    < FinancialExperienceExtension >
    < > 30000 AssetValue < / AssetValue >
    < / FinancialExperienceExtension >
    < / OLifEExtension >
    < / FinancialExperience >
    < FinancialExperience >
    < InvestmentType tc = "3" > inventory < / InvestmentType >
    < YearsOfInvestmentExperience > 1 < / YearsOfInvestmentExperience >
    < OLifEExtension VendorCode = "05" ExtensionCode = "FinancialExperience" >
    < FinancialExperienceExtension >
    < AssetValue > 5000 < / AssetValue >
    < / FinancialExperienceExtension >
    < / OLifEExtension >
    < / FinancialExperience >
    < FinancialExperience >
    < InvestmentType tc = "2" > link < / InvestmentType >
    < YearsOfInvestmentExperience > 6 < / YearsOfInvestmentExperience >
    < OLifEExtension VendorCode = "05" ExtensionCode = "FinancialExperience" >
    < FinancialExperienceExtension >
    < > 50000 AssetValue < / AssetValue >
    < / FinancialExperienceExtension >
    < / OLifEExtension >
    < / FinancialExperience >
    < FinancialExperience >
    < InvestmentType tc = "15" > variable annuities < / InvestmentType >
    < YearsOfInvestmentExperience > 4 < / YearsOfInvestmentExperience >
    < OLifEExtension VendorCode = "05" ExtensionCode = "FinancialExperience" >
    < FinancialExperienceExtension >
    < > 50000 AssetValue < / AssetValue >
    < / FinancialExperienceExtension >
    < / OLifEExtension >
    < / FinancialExperience >
    < FinancialExperience >
    < InvestmentType tc = "6" > mutual funds < / InvestmentType >
    < YearsOfInvestmentExperience > 0 < / YearsOfInvestmentExperience >
    < OLifEExtension VendorCode = "05" ExtensionCode = "FinancialExperience" >
    < FinancialExperienceExtension >
    < AssetValue > 0 < / AssetValue >
    < / FinancialExperienceExtension >
    < / OLifEExtension >
    < / FinancialExperience >
    < FinancialExperience >
    < InvestmentType tc = "1009800001" > Cash < / InvestmentType >
    < YearsOfInvestmentExperience > 20 < / YearsOfInvestmentExperience >
    < OLifEExtension VendorCode = "05" ExtensionCode = "FinancialExperience" >
    < FinancialExperienceExtension >
    < AssetValue > 100000 < / AssetValue >
    < / FinancialExperienceExtension >
    < / OLifEExtension >
    < / FinancialExperience >
    < FinancialExperience >
    < InvestmentType tc '2147483647' = > other < / InvestmentType >
    < YearsOfInvestmentExperience > 0 < / YearsOfInvestmentExperience >
    < OLifEExtension VendorCode = "05" ExtensionCode = "FinancialExperience" >
    < FinancialExperienceExtension >
    < AssetValue > 0 < / AssetValue >
    < / FinancialExperienceExtension >
    < / OLifEExtension >
    < / FinancialExperience >
    < / risk >
    < EmployerPartyID job = "Plaignante4" >
    Employees < OccupClass tc = "1009800001" > < / OccupClass >
    Solution Architect < occupation > < / Occupation >
    AXA < EmployerName > < / EmployerName >
    < YearsAtEmployment > 15 < / YearsAtEmployment >
    < / job >
    < GovtIDInfo >
    < GovtID > 123456789 < / GovtID >
    < GovtIDTC tc = "17" > Passport < / GovtIDTC >
    < GovtIDExpDate > 2015 - 08 - 24 < / GovtIDExpDate >
    < Nation tc = "1" > US < / Nation >
    < competence tc = "35" > New Jersey < / competence >
    < / GovtIDInfo >
    < / party >
    < use id = 'Party2' >
    < PartyTypeCode tc = "1" > person < / PartyTypeCode >
    < PartySysKey > ProfileID456 < / PartySysKey >
    < person >
    Jacqueline < FirstName > < / name >
    DOE < name > < / LastName >
    Married < MarStat tc = "1" > < / MarStat >
    < sex tc = "2" > female < / Type >
    < date of birth > 1975 - 05 - 07 < / date of birth >
    < EducationType tc = "3" > associate degree < / EducationType >
    < citizenship tc = "1" > US < / citizenship >
    < DriversLicenseNum > D987654321 < / DriversLicenseNum >
    < DriversLicenseState tc = "35" > New Jersey < / DriversLicenseState >
    < ImmigrationStatus tc = "8" > citizen < / ImmigrationStatus >
    < DriversLicenseExpDate > 2012 - 05 - 25 < / DriversLicenseExpDate >
    < OLifEExtension VendorCode = ExtensionCode "05" = "No" >
    < PersonExtension >
    < NoDriversLicenseInd tc '0' = > false < / NoDriversLicenseInd >
    < / PersonExtension >
    < / OLifEExtension >
    < / person >
    < address >
    Lane Finn 125 < Line1 > < / Line1 >
    < City > North Brunswick < / City >
    < AddressStateTC tc = "35" > New Jersey < / AddressStateTC >
    < > 08902 zip < / Zip >
    < / address >
    < Phone >
    < PhoneTypeCode tc = "1" > home < / PhoneTypeCode >
    < DialNumber > 732456789 < / DialNumber >
    < / Phone >
    < risk >
    < HHFamilyInsurance >
    < HHFamilyInsuranceSysKey > 1 < / HHFamilyInsuranceSysKey >
    < DeclinedInd tc '0' = > false < / DeclinedInd >
    < LineOfBusiness tc = "1" > life < / LineOfBusiness >
    < / HHFamilyInsurance >
    < / risk >
    < job >
    < OccupClass tc = "4" > unemployed < / OccupClass >
    < / job >
    < GovtIDInfo >
    < GovtID > 987654321 < / GovtID >
    < GovtIDTC tc = "17" > Passport < / GovtIDTC >
    < GovtIDExpDate > 2015 - 08 - 24 < / GovtIDExpDate >
    < Nation tc = "1" > US < / Nation >
    < competence tc = "35" > New Jersey < / competence >
    < / GovtIDInfo >
    < / party >
    < use id = "3" >
    < PartyTypeCode tc = "1" > person < / PartyTypeCode >
    < person >
    Joe < FirstName > < / name >
    DOE < name > < / LastName >
    <>15 years < / Age >
    < / person >
    < / party >
    < use id = "Plaignante4" >
    < person / >
    < address >
    < Line1 > 425 Washington Blvd. < / Line1 >
    Jersey < City > < / City >
    < AddressStateTC tc = "35" > New Jersey < / AddressStateTC >
    < > 07302 zip < / Zip >
    < / address >
    < / party >
    < Relationship OriginatingObjectID = "Grouping1" id = "Relation1" RelatedObjectID = "Party1" >
    < OriginatingObjectType tc = "16" > grouping < / OriginatingObjectType >
    < RelatedObjectType tc = "6" > Party < / RelatedObjectType >
    < RelationRoleCode tc = "30" > Member < / RelationRoleCode >
    < / relationship >
    < Relationship OriginatingObjectID = "Grouping1" id = "Relation2' RelatedObjectID = 'Party2' >
    < OriginatingObjectType tc = "16" > grouping < / OriginatingObjectType >
    < RelatedObjectType tc = "6" > Party < / RelatedObjectType >
    < RelationRoleCode tc = "30" > Member < / RelationRoleCode >
    < / relationship >
    < Relationship OriginatingObjectID = "Party1' id = 'Relation3' RelatedObjectID ="3">
    < OriginatingObjectType tc = "6" > Party < / OriginatingObjectType >
    < RelatedObjectType tc = "6" > Party < / RelatedObjectType >
    < RelationRoleCode tc = "40" > dependent < / RelationRoleCode >
    < / relationship >
    < Relationship OriginatingObjectID = "Holding1" id = "Relation4" RelatedObjectID = "Party1" >
    < OriginatingObjectType tc = "4" > Holding < / OriginatingObjectType >
    < RelatedObjectType tc = "6" > Party < / RelatedObjectType >
    < RelationRoleCode tc = "8" > owner < / RelationRoleCode >
    < / relationship >
    < Relationship OriginatingObjectID = "Holding1" id = "Relationship5" RelatedObjectID = 'Party2' >
    < OriginatingObjectType tc = "4" > Holding < / OriginatingObjectType >
    < RelatedObjectType tc = "6" > Party < / RelatedObjectType >
    < RelationRoleCode tc '184' = > co-owner < / RelationRoleCode >
    < / relationship >
    < Relationship OriginatingObjectID = "Form1" id = "Relation6" RelatedObjectID = "Party1" >
    < OriginatingObjectType tc = "101" > FormInstance < / OriginatingObjectType >
    < RelatedObjectType tc = "6" > Party < / RelatedObjectType >
    < RelationRoleCode tc = "107" > form for < / RelationRoleCode >
    < / relationship >
    < FormInstance id = "Form1" >
    < FormResponse >
    No. < ResponseText > < / ResponseText >
    < QuestionType tc = "1009800001" > the customer/owner with an interest in the account is either: (A) a military, Government or political officer in a country outside the United States or (B) closely associated with or an immediate family member of such official? < / QuestionType >
    < / FormResponse >
    < FormResponse >
    Yes < ResponseText > < / ResponseText >
    < QuestionType tc = "1009800005" > I am familiar with the products sold and determined the appropriate qualities. For deferred variable buys only: I have reasonable grounds to believe that the recommendations for this customer to purchase/Exchange an annuity is suitable on the basis of the existence was revealed by the customer about its investments, insurance products and financial situation and needs. < / QuestionType >
    < / FormResponse >
    < / FormInstance >
    < / OLifE >
    < / TXLifeRequest >
    (< / TXLife > ');
    /

    You must assign the XML (large data) to a variable before attempting to use it in an insert statement. An example is

    DECLARE
      l_xml   CLOB;
    BEGIN
      l_xml := '
    
    UserId
    ...
    ';
    
      INSERT INTO po_clob_tab
      values(100, l_xml);
    END;
    

    Store XML in a CLOB cannot provide the best performance for you, depending on how you plan to use these data. See Oracle XML DB: Choosing the best storage Option of your case (PDF) to http://www.oracle.com/technetwork/database/features/xmldb/index.html use XMLType. This info is especially applicable to 11g versions as well.

  • Problem with the CLOB data type.

    Greetings,

    I am facing a problem with the CLOB data type. I know that the CLOB data type is 4 GB (I use Oracle 9i). But in the Pl Sql procedure, I can only store 34305 size for a CLOB variable character data.

    This is the test script that I am trying to run.

    DECLARE
    -Local variables here*.
    I have INTEGER;
    C_1 CLOB.
    BEGIN
    FOR Rec IN (SELECT
    *
    ACCORDING TO THE TABLE)
    LOOP
    C_1: = c_1 | Rec.Clo_1;
    END LOOP;
    EXCEPTION
    WHILE OTHERS THEN
    Dbms_Output.put_line (SQLERRM);
    END;


    Here variable C_1 range value 34305 good character regardless of type CLOB. Now the above script fails if query my buckle - huge number of return values. It is throwing the exception "error during transfer of files ORA-06502: PL/SQL: digital error or value."

    He would be grateful if someone can help me on this.

    Thank you.

    You are probably better off using DBMS_LOB.append, instead of the concatenation of varchar2 (|).

    And... take off your when-other Manager exceptions, please...

  • Global variable problem using as reference file

    Hi all

    This code is trivial, but illustrates the problem that I have.  I want to open a file with vi a, dynamically open vi B, pass the reference file in vi B, vi B to close, and then close the fiel with A vi.  VI B is designed for SAMPLES continuously and add it to the file.  Unfortunately I can't implement this solution because it seems that global variables do not work for the file references (!).  Thank you!

    You have a race condition in this image.  The global variable refnum to could be read the file write before the opened file has been fortunate to write a valid file for the other reference copy refnum of global variable.  You should have a thread open to write it directly.  If you want to store it in the global variable as well, then branching off there this direct wiring.

  • Where can I find the Hyperion Planning User Variable details

    Hello

    Currently I use the EPMA Version 11.1.2.3.500 and 11.1.2.3.501.11 planning. I want to know the name of the table, which store the values of user variables. I need to pick the members of dimension of user variables. Please let me know if you have any ideas on this, also let me know the location; where I need browse server. Thanks in advance.

    Soumya

    The paintings are:

    HSP_USER_VARIABLE

    HSP_USER_VARIABLE_VALUE

    The USER_ID and MEMBER_ID can be attached with OBJECT_ID in HSP_OBJECT to return the name in OBJECT_NAME

    See you soon

    John

  • ADF call a java for taskflow services to store in ApplicationScope

    I have ADF 12 c version of the 12.1.3.0 application where I need to call a Java service that returns a string. I need to store this string in the variable ApplicationScope my ADF application. This must occur when the application is to be initialized so that I can store this value in ApplicationScope which will be used throughout the application.

    What is the best approach to implement this?

    Cedric,

    Here is the code snippet:

    {} public void contextInitialized (ServletContextEvent servletContextEvent)

    ServletContext ctx = servletContextEvent.getServletContext ();

    calling external service and by setting the value of the variable 'appVariable '.

    ...

    ...

    ctx.setAttribute ("appVar", appVariable);

    }

    Your reviews of ADF: you can access the variable of

           

    K

Maybe you are looking for