Thanks for the suggestion. Since I'd gotten no replies, I went to another forum. The answer was to make an adjustment to my OVRPRTF. Instead of OVRPRTF FILE(INVPRT) TOFILE(&DVDTO), it needed to be OVRPRTF FILE(INVPRT) SPLFNAME(&DVDTO)
I am trying to call an RPGLE program from a CL four times. The RPG program has one output file defined and, based on the parameters passed, determines from the input file which records to write. It works fine, but I need it to write to four different spool file names (OTHPRT, OTHKSPRT, FMFMPRT...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.