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)'