If anyone can help out in the following would be really great...
The LMDLIST is checked for all the datasets listed by it, after the last dataset, it is throwing the RC of 8, so the next all code is not excuting properly.
The code is
MIFLAG = " "
STROPT = " "
STROPT = INSERT(DSNAME,STROPT,1)
STROPT = INSERT(ZDLCDATE,STROPT,50)
"LMDLIST LISTID(&ID) OPTION(LIST),
here the RC is 8 so when the function WRITELINE is called next time, its not excuted properly.
Can anybody help out in tracing, if last dataset then anything. I mean to quit or go back kind of options if available?