I am trying to pass a variable from one script to another and then back to the caller. I have used the EXPORT MY_VARIABLE=0 for example.
Then called a script, lets say Test2.ksh and changed the MY_VARIABLE to 1 inside Test2.ksh and when I get back to Test1.ksh and echo $MY_VARIABLE it displays 0 (the original value).
Is there a way to do what I am trying to do?
Thank you in advance.
Thank you for all your help
Tom
Then called a script, lets say Test2.ksh and changed the MY_VARIABLE to 1 inside Test2.ksh and when I get back to Test1.ksh and echo $MY_VARIABLE it displays 0 (the original value).
Is there a way to do what I am trying to do?
Thank you in advance.
Thank you for all your help
Tom