Rao_S
asked on
PL/SQL, Array,
i need to pass 10 item number and item description to a proc from informatica and concatenate those values into a string and then pass that string to another proc which will send the string to 'mq'. the second proc which will send the string to 'mq' via pl/sql is already ready... can you help me write a proc which will accept 10 inputs into a proc? do i use a array..?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i beleive informatica can send all data types that pl/sql can use..
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
that is the direction we are thinking of going... informatica can easily create a flat file with item_no and item_desc stringed together and will pass it to my proc...
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
yes.....
item_no is number(10) and item_desc is varchar2(240)...
item_no is number(10) and item_desc is varchar2(240)...
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i forgot informatica will send one more field item_operation of varchar2(1) which will have I (for insert) or U (for update)...
ASKER
the proc which will send to 'mq' will need varchar2...type...
this is how the data might look....
I;9620000004;HR_PICKLE TEMPER_MULT_C_SH|XLS-XCC-7 0-01-34-05 ;I;9600000 073;HR_PIC KLED_NON_T R_COIL_C_S H|XLS-XCC- 70-01-34;
this is how the data might look....
I;9620000004;HR_PICKLE TEMPER_MULT_C_SH|XLS-XCC-7
so, would this article help?
https://www.experts-exchange.com/A_1536.html
https://www.experts-exchange.com/A_1536.html
Can informatica in this clob separate each transaction on an individual row?
I;9620000004;HR_PICKLE TEMPER_MULT_C_SH|XLS-XCC-7 0-01-34-05 ;
I;9600000073;HR_PICKLED_NO N_TR_COIL_ C_SH|XLS-X CC-70-01-3 4;
etc...
I'm having a problem with a logical delimiter. If you can insert a cr, lf or cr/lf, I can work with that.
Also,
What is a likely average size for the CLOB?
I;9620000004;HR_PICKLE TEMPER_MULT_C_SH|XLS-XCC-7
I;9600000073;HR_PICKLED_NO
etc...
I'm having a problem with a logical delimiter. If you can insert a cr, lf or cr/lf, I can work with that.
Also,
What is a likely average size for the CLOB?
ASKER
we found informatica cannot send values to a proc in which i have defined a array... so instead had informatica send a concatenated string as file, the proc will accept the string and process and send the msg to 'mq'...
ASKER