Right now I'm at the end of writing a report that is run interactively. The user enters in some criteria on the screen they press F6 and I process a report. When I process the report I don't end the program, I leave the screen up. This way the user could then change some criteria and run it again.
The problem comes in when they hit F6 the second time. The program writes to the same spool file that it has written to the last time the user pressed F6. Any suggestions on forcing a new spool file to be generated each time the user presses F6? I know that I could submit a job each time, but is there another way?
The problem comes in when they hit F6 the second time. The program writes to the same spool file that it has written to the last time the user pressed F6. Any suggestions on forcing a new spool file to be generated each time the user presses F6? I know that I could submit a job each time, but is there another way?
Comment