why all those stems, why not just
that' exactly what I was suggesting
and for the TS
to see by Yourself why "EXECIO * DISKW ..." is bad
use
/* rexx */
trace "o"
signal on novalue name novalue
do i = 1 to 100
stem.i = "line"i
end
stem.10 = ""
Address TSO
"ALLOC FI(F1) DS('<any PS dataset>') SHR REUS"
"EXECIO * DISKW F1 (STEM STEM. FINIS"
exit
novalue:
say "*********************************"
say "** **"
say "** novalue trapped at line" || right(sigl,4) || " **"
say "** **"
say "*********************************"
exit
and run three times
1) without statement 7
2) with statement 7
3) with statement 7 using 100 instead of the "*"