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

Partial Spool being emailed

Former Member
0 Likes
987

I have a program that is creating a background job. In the JOB_CLOSE call I'm passing a recipient_obj parameter so that the spool of the job is emailed.

After the job completes, I go to SP01 to view the spool & I see that it's 148 pages long.

However, when I receive the email, the spool attachment only contains the first 16 of the 148 pages.

Is there a spool size limitation for the email attachment & if so, can this be set somewhere?

Thanks,

Tony

I have a program that is creating a background job. In the JOB_CLOSE call I'm passing a recipient_obj parameter so that the spool of the job is emailed.

After the job completes, I go to SP01 to view the spool & I see that it's 148 pages long.

However, when I receive the email, the spool attachment only contains the first 16 of the 148 pages.

Is there a spool size limitation for the email attachment & if so, can this be set somewhere?

Thanks,

Tony

6 REPLIES 6
Read only

Former Member
0 Likes
880

Hi,

if you goto SP01 can you display the Spoolentry?

And how many Pages do you see than? All or is there

a limitation?

Regards, Dieter

Read only

0 Likes
880

Dieter,

When I go into SP01, it defaults to only the first 10 pages. However, I can alter this by changing the Settings & increasing the pages range.

fyi I've tried changing/saving the Settings to see if more of the spool would be shown in the attachment of the email with no success.

Tony

Read only

Former Member
0 Likes
880

Hi,

i have tried it in ouer system with an output

of 102 Pages, it works correct.

Can you show how do you send the Spool.

Is there any Limitation in email-Size by your networkadmistrators?

Regards, Dieter

Read only

0 Likes
880

Dieter,

The way I'm emailing the spool is by creating a recipient_obj and then adding it to the recipient_obj parameter in the JOB_CLOSE function call.

By passing this parameter, the function knows to email the spool to the recipient. I'm not calling any special "send email" function.

Tony

Read only

0 Likes
880

Dieter,

I recreated the issue manually:

1. I ran SM36 to create a background job to run immediately.

2. I entered an email address for the spool recipient.

3. I then ran the defined job.

4. I get the email with the spool attached, but once again I only get 16 of 148 pages. I look in SP01 and the spool is definitely 148 pages.

Read only

Former Member
0 Likes
880

Hi,

sorry but i doen't have more ideas.

Perhaps some Profile-Parameter of your system?

Regards, Dieter