10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to know how can i call oracle function from shell script code . My oracle function have around 5 input parameters and one return value.
for name in *.csv;
echo "connecting to DB and start processing '$name' file at "
echo "csv file name=$x"
sqlplus -s scoot/tiger <!... (2 Replies)
Discussion started by: Balraj
2. Shell Programming and Scripting
I have a script which will be executed using the below command,
bin/nutch crawl urls -dir /data/test/
bin/nutch - Script file
crawl, urls, /data/test/ - Parameters
-dir - Option
The above script should executed from a shell script named test.sh. I have the below code to execute... (2 Replies)
Discussion started by: vel4ever
3. UNIX for Advanced & Expert Users
I have a code like this.
int count = 0;
printf("\n Interation number is: %d \n ",count);
rv = system(" test.sh > log.txt " );
if (-1 == rv)
printf("Could not generate static log: error... (12 Replies)
Discussion started by: binnyjeshan
i'm trying to implement the times() function and i'm programming in C.
I'm using the "struct tms" structure which consists of the fields:
The tms_utime structure member is the CPU time charged for the execution of user instructions of the calling process.
The tms_stime structure... (1 Reply)
Discussion started by: g_p
5. Shell Programming and Scripting
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.
Magesh (4 Replies)
Discussion started by: mac4rfree
6. Shell Programming and Scripting
I would like to call function in my script couple of times. But each time with different parameters position.
In line 57 I don't know how to call it without typing $1 and $ parameters ?
4 function First
7 # $1 - name
8 ... (2 Replies)
Discussion started by: presul
7. Shell Programming and Scripting
I have a requirement in my script..
When i'am executing a script, it'll ask a passwd of some service account.. I need to pass it to the script through a zipped file when it asks for it.
The script can be executed by more people many number times. So for securty purpose, it... (1 Reply)
Discussion started by: raghu.iv85
8. Infrastructure Monitoring
I have a problem with package and name space.
#print... (4 Replies)
Discussion started by: Zaxon
9. UNIX for Dummies Questions & Answers
i read man pages but still confuse about
wait3() and wait4() stystem call
what is exact diff b/w wait3() and wait4() system call
and what is diff b/w waitpid() and wait3() and wait4()
Amit (1 Reply)
Discussion started by: amitpansuria
10. UNIX for Dummies Questions & Answers
Hello...I hava quite a problem, couldn't find a solution anywhere :(. I have a C program, and from that C program I have to call a shell script. This is not difficult, I can do it using the "system" command from C. But the ugly part is how can I send as parameters some variables? For example...i... (1 Reply)
Discussion started by: dustman