why result is not returning to main module?
Posted: Mon Jan 23, 2017 3:11 pm
Hi all,
Kindly help me to get the solution for the following code,
modul --> name of a rexx pgm called from the main module
while executing result from the modul is retured as zero.i don't know why the pgm is not processing the nextfile..please help me to fix it.
inside the modul pgm nextfile is displayed as,
Kindly help me to get the solution for the following code,
nextfile = xyz.abc.def(mem1)
nextfile ="'"nextfile"'"
"alloc dd(file1) da("nextfile") shr reuse"
"newstack"
call modul nextfile
nextfile ="'"nextfile"'"
"alloc dd(file1) da("nextfile") shr reuse"
"newstack"
call modul nextfile
modul --> name of a rexx pgm called from the main module
while executing result from the modul is retured as zero.i don't know why the pgm is not processing the nextfile..please help me to fix it.
inside the modul pgm nextfile is displayed as,
nextfile = 'xyz.abc.def(mem1)'