Você está na página 1de 2

[http://www.rittmanmead.

com/2011/04/oracle-bi-ee-11g-migrating-security-identity
-stores-part-1/]
[http://www.rittmanmead.com/2011/04/oracle-bi-ee-11g-migrating-security-policy-s
tore-part-2/]
[http://www.rittmanmead.com/2011/04/oracle-bi-ee-11g-migrating-security-credenti
al-store-part-3/]
http://docs.oracle.com/cd/E14571_01/core.1111/e10043/csfadmin.htm#JISEC2951
http://docs.oracle.com/cd/E29542_01/core.1111/e10043/addlsecfea.htm
http://www.oracle.com/technetwork/developer-tools/jdev/index-089066.html
http://sparky.rice.edu/~hartigan/awk.html
http://en.wikibooks.org/wiki/An_Awk_Primer/Awk_Command-Line_Examples
http://www.cyberciti.biz/faq/bash-scripting-using-awk/
http://roundoverlinux.blogspot.in/2013/03/10-useful-tricks-to-use-sed-command-fo
r.html#chitika_close_button
http://www.youtube.com/watch?v=989xbrwGgYo
http://www.streamica.com/#v/lgkIAVLP_-I
https://www.youtube.com/channel/UC1YfJIGA1vKB3cAcLbXZGEg
This worked great!!!
And after i saw your reply i thought of doing the same without using an external
file.
All i have to add is newline to the sql statement being passed to sqlplus.
To accmplish that i had modified my routine which was not working earlier
[quote] cmd = "sqlplus -s username/password@DBNAME <<EOF
Select * from dual;
select 'This command executes multiple queries and throws output in screen' from
dual;
EOF
"[\quote]
TO
[quote] cmd = "sqlplus -s username/password@DBNAME <<EOF":char(10):"select * fro
m dual;":char(10):"EOF":char(10) [\quote]
This started working to the expected level.
Thanks a lot for your help.
Here i had figured the Routine code to connect to Oracle Database and execute th
e query, hurrraaayyy!!!!!javascript:emoticon('Surprised')
But i am planning to use the second method suggested by Craig in my job as it lo
oks simple and works smoothly. And also the oracle errors will be handled by the
internal job itself. More importantly i can have all the stages in a single job
itself.
Ofcourse, if we go with the database connect routine we will be having a single
job but the routine will be the second object which needs to be present.
I am in course of completing the Database connect Routine code, once it is compl
eted, i will be posting the code here.
Thanks a lot for your help Craig and Nikhil. Very Happy Very Happy

Você também pode gostar