set -A RESULTS

Hi,
Could you please tell me the meaning of the command

set -A RESULTS '---echo sybase command to execute a tored porcedure ----------' | isql

I just wants to know what does RESULTS contains after execution of command.

Thanks
Regards
Ashish Malviya:)

"echo $RESULTS" will tell you that. See "man ksh" for details on what set -A does.

Well, in this case, echo $RESULTS will be null. The leading dashes in the first array element is somehow causing this. If you push this to the second array element:

set -A RESULTS 'first slot' '---echo sybase command---'

then you can successfully do:

echo ${RESULTS[0]}
echo ${RESULTS[1]}