At 4:00 PM -0400 8/2/00, [log in to unmask] wrote:
>Is it possible to share variables between a shell script and a CI command
>file called from the shell script using callci? If so how? I have spent
>the past couple of hours looking for the answer to this.
Try something like this...
:deletevar ci_@, shell_@
:sh
######################################################################
MPE/iX Shell and Utilities (A.50.02)
COPYRIGHT (c) Hewlett-Packard Company 1992, All Rights Reserved.
######################################################################
/BARRY/PUB $ shell_var="some text"
/BARRY/PUB $ echo $shell_var
some text
/BARRY/PUB $ callci setvar ci_var \"$shell_var\"
/BARRY/PUB $ callci showvar ci_var
CI_VAR = some text
/BARRY/PUB $ exit
:showvar ci_@
CI_VAR = some text
:
Barry Lake [log in to unmask]
Allegro Consultants, Inc. www.allegro.com
(408)252-2330