I'm trying to run a program and get the output value in DCL.
In Linux platform script like below
result=$(./tool -e $parameter1 $parameter2 )
echo "result:" $result
I try to do the same script in HP openVMS platform but fail.
Could anyone provide a sample or give me some tips?
Thanks a lot.
Reference: How to assign the output of a program to a variable in a DCL com script on VMS?