by atodpquery » Fri May 01, 2009 4:07 pm
j = 0
drop sample.
str = 'aa bb cc dd ee'
do j = 1 to words(str)
sample.j = word(str,j)
end
rc = abc(sample. resaon_cd)
......
ABC procedure
argument sample. reason-cd
do j = 1 to sample.0
say sample.j
end
and I got the value from sample.j is sample.j instead of the value I store in the calling rexx program.