OK. Here's the problem I had with this app.
First of all, it's a Visual Age RPG (VARPG) application that enables my production manger to do reprints on three different types of statements. This app calls one of three different RPG ILE programs on the As/400, depending on what type of statement is selected. These ILE programs create a SPLF of the statement, then copy that SPLF back into a PF so I can do further manipulation on the file (put into tray sequence, add Xerox and insterter commands, etc).
What was happening is I was getting a SYSOPR message saying the SPLF could not be found. In researching the problem I found that when using VARPG to call the ILE programs, the SPLF's (for some oddball reason) have a different qualified job name than the programs that created them. When the ILE programs are sent to batch, the SPLF's are under the same job as the ILE program creating them. That's why I have to have the VARPG program call a CLP program that does a SBMJOB on one of the three ILE programs. Otherwise, I can't get to my SPLF output.
Hope this makes sense.
RedMage1967
IBM Certifed - RPG IV Progammer