Search Results

Search: Posts Made By: rajavu
7,660
Posted By rajavu
Yes.. for sure :) Raj.
Yes.. for sure :)

Raj.
7,660
Posted By rajavu
Thanx Zaxxon , It worked finally as below. ...
Thanx Zaxxon ,

It worked finally as below.


[orcl10gdb@SVRDELLD41 flexiSchema]$ cat test1.ksh
#! /usr/bin/ksh
set -A arr1 "APPS_DEV" "TEST_DEV"
echo "...In Test1...."
arr1[0]="APPS_DEV"...
7,660
Posted By rajavu
Sorry Zaxxon for troubling you too much . I...
Sorry Zaxxon for troubling you too much .

I made one more change . Changed -a to -A on declaring array .
Now its working fine .


[orcl10gdb@SVRDELLD41 flexiSchema]$ cat test1.ksh
#!...
7,660
Posted By rajavu
Even I am stuck with the issue .. btw there...
Even I am stuck with the issue ..

btw there was one # before declaring array2 in test2.ksh .
I removed it ... and issue remain the same .


[orcl10gdb@SVRDELLD41 flexiSchema]$ cat test1.ksh...
7,660
Posted By rajavu
Now I change the permission and I tried to...
Now I change the permission and I tried to execute withou sh /ksh as below .

But results in the same problem


[orcl10gdb@SVRDELLD41 flexiSchema]$ cat test1.ksh
#! /usr/bin/ksh
set -a arr1...
7,660
Posted By rajavu
Now I changed to ksh and tried as follows. ...
Now I changed to ksh and tried as follows.


[orcl10gdb@SVRDELLD41 flexiSchema]$ cat test1.ksh
#! /usr/bin/ksh
set -a arr1
echo "...In Test1...."
arr1[0]="APPS_DEV"
arr1[1]="TEST_DEV"
echo...
7,660
Posted By rajavu
Thanx Zaxxon for the suggestion . But still...
Thanx Zaxxon for the suggestion .

But still It gives the same problem as below


[orcl10gdb@SVRDELLD41 flexiSchema]$ cat test1.sh
#! /usr/bin/ksh
set -a arr1
echo "...In Test1...."...
7,660
Posted By rajavu
Even after removing the 'sh' its not working ....
Even after removing the 'sh' its not working . rather gives the error "test2.sh: command not found"

But it works well if we are passing single Array element as parameter like ${arr1[0]}.( with...
7,660
Posted By rajavu
How to pass array as an arguement ?
Hi experts,

I am here again with another Issue.
I need to pass the array as parameter / argument to another script.

I tried it as follows . ( I got this idea from the link...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 07:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy