Page 1 of 1

passing values of variables from one step to another step.

Posted: Fri Aug 29, 2008 11:35 am
by anandmsteds
Hi All,
Is there any possibility of passing the values of variables from one step to another step.

I will explain my case:

in Step01, i am executing one program and in that program there is one varible which will hold a value.
Now in the next step (say Step02), i am calling some other program, but i want to use the value of the above variable in this program.

Please let me know if you need any other information..

Thanks
Anand
=-=-=-=-=-=
MaInFrAmEs R O C K Z ....

Posted: Fri Aug 29, 2008 12:29 pm
by Krishna
Only way..i know is use dataset to pass the data.
If you want to send any sepcific/limited info to second step ( Ex. YES or NO ).
We can do that using IF condition..

In first step you can move some specific value into RETURN-CODE.
based on return code of first step... you need to execute step passing value YES to the program using PARM (OR) step passing value NO to the program using PARM.

Posted: Fri Aug 29, 2008 4:24 pm
by anandmsteds
I will go with dataset thing..

Thanks for your support Krishna...



Thanks
Anand
=-=-=-=-=-=
MaInFrAmEs R O C K Z ....