01-07-2008
Calling stored proc to run at different regions
I have a requirement to write a shell script that calls stored proc.
The stored proc should run for different regions(Asia, Europe) at the same time.
Please suggest best ways to achieve this.
Thanks in advance.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
sample code as following:
test_sql(){
#test#echo test_sql
str=`$ORACLE_BIN/sqlplus -s $user/$passwd <<EOM
set verify off
set heading off
set feedback off
#--------start pl/sql
{
DECLARE
CURSOR pah_cs IS
select id from table
where letter = 'abcd';... (6 Replies)
Discussion started by: YoYo
6 Replies
2. UNIX for Advanced & Expert Users
Hi All
I would be thankful to you all if you will guide me the steps to call a stored proc. from unix shell script. that stored proc. could be parameterised or parameterless developed in SQL.
Any info. in this topic would help me.....
Thanks in advance.... (1 Reply)
Discussion started by: varungupta
1 Replies
3. Shell Programming and Scripting
Hi,
I need to make SQL Server procedure call (exec <proc name>)from unix shell script. First of all I would like to know if it is possible. I know we can do it from Oracle but not sure about SQL Server.
Version:
SunOS 5.8
SQL 8.0
I have made the below entry in the interface file.
NSXNA267
... (0 Replies)
Discussion started by: sspreethi
0 Replies
4. Shell Programming and Scripting
hi,
I want to know how to call a pl sql function testfunction(param1,..) that returns a value and grab that value in a shell variable.
Thnx in advance
---------- Post updated 03-30-10 at 11:58 AM ---------- Previous update was 03-29-10 at 03:49 PM ----------
thnx a lot jim (0 Replies)
Discussion started by: austinhell3_16
0 Replies
5. Shell Programming and Scripting
Hi Guys,
Even though, i have called db2 sql file earlier, this is my first time to call a oracle sql file.
I need to make a database(oracle) connection and then call the sql file in a loop.
Can you please help me out.
Thanks for your help and time.
Regards,
Magesh (4 Replies)
Discussion started by: mac4rfree
4 Replies
6. Solaris
Hi Solaris Experts,
The pkg utility on one of my non-global zones has stopped working, it's trying to connect to port 1008 at pkg.oracle.com
I was using pkg successfully from this zone, but now it's showing this error: lzone1 $ pkg search xterm
pkg: Some repositories failed to respond... (4 Replies)
Discussion started by: ad101
4 Replies
7. UNIX for Dummies Questions & Answers
HI Experts,
I am pretty new to scripting and i need to create a perl or shell script which should fetch a file from local directory and insert the data into a table using sql loader. This will be later added to chron job to run daily and fetch all files and load them into
the table.
Also i... (1 Reply)
Discussion started by: sam1234
1 Replies
8. UNIX for Dummies Questions & Answers
HI Experts,
I am pretty new to scripting and i need to create a perl or shell script which should fetch a file from local directory and insert the data into a table using sql loader. This will be later added to chron job to run daily and fetch all files and load them into
the table.
Also i... (1 Reply)
Discussion started by: sam1234
1 Replies
9. Shell Programming and Scripting
Hi, I am new to shell scripting and Sybase database i need a help that i try to execute a SYBASE stored procedure from a Unix shell script and wanna write the output of the SP into a Text File.somehow i try to find a solution but whwn i try to run the script i am not getting the output file with... (1 Reply)
Discussion started by: Arun619
1 Replies
10. Shell Programming and Scripting
Hi,
Trying to run the Oracle Proc in parallel, but not working.. below code runs each call of the procedure and its coming out of the loop before its completion and printing the last statement! not waiting for the sqlplus to complete.
for name in `cat abc.txt`
do
(sqlplus -s ... (3 Replies)
Discussion started by: ATWC
3 Replies
LEARN ABOUT CENTOS
tapset::nfsd
tapset::nfsd(3stap) tapset::nfsd(3stap)
NAME
tapset::nfsd - systemtap nfsd tapset
DESCRIPTION
nfsd.dispatch
NFS server receives an operation from client
See probe::nfsd.dispatch(3stap)
for details.
nfsd.proc.lookup
NFS server opening or searching for a file for client
See probe::nfsd.proc.lookup(3stap)
for details.
nfsd.proc.read
NFS server reading file for client
See probe::nfsd.proc.read(3stap)
for details.
nfsd.proc.write
NFS server writing data to file for client
See probe::nfsd.proc.write(3stap)
for details.
nfsd.proc.commit
NFS server performing a commit operation for client
See probe::nfsd.proc.commit(3stap)
for details.
nfsd.proc.create
NFS server creating a file for client
See probe::nfsd.proc.create(3stap)
for details.
nfsd.proc.remove
NFS server removing a file for client
See probe::nfsd.proc.remove(3stap)
for details.
nfsd.proc.rename
NFS Server renaming a file for client
See probe::nfsd.proc.rename(3stap)
for details.
nfsd.open
NFS server opening a file for client
See probe::nfsd.open(3stap)
for details.
nfsd.close
NFS server closing a file for client
See probe::nfsd.close(3stap)
for details.
nfsd.read
NFS server reading data from a file for client
See probe::nfsd.read(3stap)
for details.
nfsd.write
NFS server writing data to a file for client
See probe::nfsd.write(3stap)
for details.
nfsd.commit
NFS server committing all pending writes to stable storage
See probe::nfsd.commit(3stap)
for details.
nfsd.lookup
NFS server opening or searching file for a file for client
See probe::nfsd.lookup(3stap)
for details.
nfsd.create
NFS server creating a file(regular,dir,device,fifo) for client
See probe::nfsd.create(3stap)
for details.
nfsd.createv3
NFS server creating a regular file or set file attributes for client
See probe::nfsd.createv3(3stap)
for details.
nfsd.unlink
NFS server removing a file or a directory for client
See probe::nfsd.unlink(3stap)
for details.
SEE ALSO
probe::nfsd.dispatch(3stap), probe::nfsd.proc.lookup(3stap), probe::nfsd.proc.read(3stap), probe::nfsd.proc.write(3stap),
probe::nfsd.proc.commit(3stap), probe::nfsd.proc.create(3stap), probe::nfsd.proc.remove(3stap), probe::nfsd.proc.rename(3stap),
probe::nfsd.open(3stap), probe::nfsd.close(3stap), probe::nfsd.read(3stap), probe::nfsd.write(3stap), probe::nfsd.commit(3stap),
probe::nfsd.lookup(3stap), probe::nfsd.create(3stap), probe::nfsd.createv3(3stap), probe::nfsd.unlink(3stap),
probe::nfsd.rename(3stap), stap(1), stapprobes(3stap)
IBM
--- tapset::nfsd(3stap)