2024 Jan 31 1:16 PM
I have run background job with standard program RMCY9020 and I can see that the background job got finished. But spool is not generated. When I selected the job name and selected the spool it is saying No list exist.
My very first question is does every background job creates spool by default ?
If yes why is not showing. I have made the immediate option untick in su01. It did not worked.
Is there any code to get executed to display spool ?
2024 Jan 31 1:50 PM - edited 2024 Jan 31 1:57 PM
Here, you have opened a "Discussion", it's not a "Question" (it would be a question if you post it in the Technology board). Questions permit both Comments and Solutions which appear differently, and probably other things I'm not aware yet.
A background job may or may not generate a spool (called "spool request").
Here is the shortest program code to generate a spool request if you run it in a background job:
REPORT.
WRITE 'Hello world'.
Here is the shortest program code to NOT generate a spool request if you run it in a background job:
REPORT.