10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am converting shell script to Perl. In shell I have a code
case $1 in
-P* | -p* )
export MM=`echo $2 | cut -c5-6`
export DD=`echo $2 | cut -c7-8`
export YY=`echo $2 | cut -c3-4`
export... (4 Replies)
Discussion started by: digioleg54
2. 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
3. Shell Programming and Scripting
I am getting Segmentation fault at below function call in my script:
sqlplus -s / <<end | grep KEEP | sed 's/KEEP//;s///g'
select 'KEEP' ,table_name from all_synonyms where upper(synonym_name)= '$1';
echo " SQL OUTPUT IS :: $x"
I am getting output of... (1 Reply)
Discussion started by: IB_88
4. Shell Programming and Scripting
I need immediate help in creating shell script to call archivebkup.ksh script when archive file system capacity reaches threshold value or 60%
Need to identify the unique file system that reaches threshold value.
... (4 Replies)
Discussion started by: sasikanthdba
5. Red Hat
Hey i have a package in oracle to validate file mask. can i call it in through
shell script . if yes , how
Thanks (1 Reply)
Discussion started by: ramsavi
6. Shell Programming and Scripting
i am trying to do this
bash> cat abc.sh
so it is giving me write simply i created a func and it worked
now i modified it like this way
bash> cat abc.sh (2 Replies)
Discussion started by: aishsimplesweet
7. Red Hat
please help me in this script
shell script :1
echo "this is first file"
d=13 (2 Replies)
Discussion started by: ponmuthu
8. Shell Programming and Scripting
Here is the following code :
# gcc -c test firstprog.c
the above command will generate a executable file called "test " in which ever directory it is run.
Assuming It will also return a value.
2. In the below SCRIPT . test is a file generated by compiling a c program... (3 Replies)
Discussion started by: Vabiosis
9. Shell Programming and Scripting
I'm new with Shell Scripting, and I have to do a shell script to call a procedure, which have 2 input parameters, the directory(from server) and the txt file (which have informations to update/insert in DB).
I have to create a shell script to execute that procedure for each txt... (5 Replies)
Discussion started by: renatoal
10. Shell Programming and Scripting
i have a function written in one shell script and i want to call that function in another shell script and use the value returned by that script.
can any one suggest me how can i do that?
Rajesh.P (4 Replies)
Discussion started by: rajesh.P