Application Development and Automation 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: 
Read only

Job without spool

Former Member
0 Likes
1,785

Hi Experts,

I need some help plz :

I use a job for a program, this program submits another program.

In sm37, the job doses not give spools : I don't know why ? perhaps there is a problem with the submit?

Thanks for your help

regards,

Mehdi

1 ACCEPTED SOLUTION
Read only

ThomasZloch
Active Contributor
0 Likes
1,077

The spool output is that of the calling program. If your program just does a submit and does not generate own output, you don't have a spool list.

A workaround would be to use the EXPORTING LIST TO MEMORY addition of the SUBMIT statement, then call functions LIST_FROM_MEMORY and WRITE_LIST to display the output of the called program in the calling program.

Thomas

The spool output is that of the calling program. If your program just does a submit and does not generate own output, you don't have a spool list.

A workaround would be to use the EXPORTING LIST TO MEMORY addition of the SUBMIT statement, then call functions LIST_FROM_MEMORY and WRITE_LIST to display the output of the called program in the calling program.

Thomas

2 REPLIES 2
Read only

ThomasZloch
Active Contributor
0 Likes
1,078

The spool output is that of the calling program. If your program just does a submit and does not generate own output, you don't have a spool list.

A workaround would be to use the EXPORTING LIST TO MEMORY addition of the SUBMIT statement, then call functions LIST_FROM_MEMORY and WRITE_LIST to display the output of the called program in the calling program.

Thomas

Read only

Former Member
0 Likes
1,077

Hi,

I hope there is a problem happended while you are submit another program. Try to avoid submit and try to schedule it an backround job in SM37 Transaction. If you have scheduled it it will be generated the spool number. Let me know if you have required any more

Regards

Thiru