Pass a varaible to a rexx program
Posted: Thu May 24, 2012 3:58 pm
Dear all,
I'm trying to pass a varaible to a rexx program through a rexx program. I tried in this way but i'm not able to get that variable.
where result is another rexx code that is present in the same PDS as the previous one and that looks this way.
. Here as said, i'm not able to get the date1 variable. Please guide me.
Regards,
Viswa
I'm trying to pass a varaible to a rexx program through a rexx program. I tried in this way but i'm not able to get that variable.
/* rexx*/
pull date
date1 = substr(date,1,2)
call result 'date1'
pull date
date1 = substr(date,1,2)
call result 'date1'
/* rexx */
say date1
say date1
Regards,
Viswa