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: 

I have a spool issue.

0 Kudos

Hi all,

I have a spool issue. I have a programa A that generates a spool order and another program B that call the program A twice.  The problem is that when I run the program B in background I only can see the last spool order with SM37. I need the two spool order only in one after the execution of the program B in background.

Are there any tecnic to get the spool order after a SUBMIT… and return?

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

In SM37 don't click on "Spool" icon but on "All spool lists". Programmatically don't look at table TBTCO but at table TBTC_SPOOLID (In background use GET_JOB_RUNTIME_INFO to get current job id)

Regards,

Raymond

3 REPLIES 3

Former Member
0 Kudos

Hi Pablo,

            Just a thought to go with your query, If the Program A is Called twice why can't you schedule a background job programatically  twice for the Program A  and get the spool from there instead of Submit.

Cheers,

Krishnakumar B.

raymond_giuseppi
Active Contributor
0 Kudos

In SM37 don't click on "Spool" icon but on "All spool lists". Programmatically don't look at table TBTCO but at table TBTC_SPOOLID (In background use GET_JOB_RUNTIME_INFO to get current job id)

Regards,

Raymond

0 Kudos

Thanks a lot for your answer, this is a great solution for me.