Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

spool not generating in background job executing standard program

pashasapcha
Participant
0 Kudos
297

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 ?

pashasapcha_0-1706685694869.png

pashasapcha_0-1706685944979.png

 

 

1 REPLY 1

Sandra_Rossi
Active Contributor
277

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.