ISERIES navigator

5 pts.
Tags:
iSeries Navigator
How do I create an automated process to take a spool file and convert to PDF and email out?

Software/Hardware used:
AS/400 V5R4 OS400

Answer Wiki

Thanks. We'll let you know when a new response is added.

If you would like to send spool file as an email you can use SNDSPLMAIL command.
You will need to mention the Spool file name & Job Attributes.
<pre> Send Spool Mail (SNDSPLMAIL)

Type choices, press Enter.

Spooled file name . . . . . . . Name
Job name . . . . . . . . . . . . * Name, *
User . . . . . . . . . . . . . Name
Number . . . . . . . . . . . . 000000-999999
Spooled file number . . . . . . *LAST 1-999999, *ONLY, *LAST
Transform to perform . . . . . . *TXT
To (recipient):
*CURRENT

+ for more values </pre>

I think it can be done using CVT2PDF also(I havent tried this).

Pradeep.

Discuss This Question: 7  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • deepu9321
    I think i havent mentioned about automation. You can write your own CL Program for automation, which will retrieve Job Attributes and Spool file name and pass the parameters to SNDSPLMAIL for sending the Spoolfile as email. Pradeep.
    3,695 pointsBadges:
    report
  • JohnsonMumbai
    PDFING is also a tool available which converts spools to pdf. However these needs to be purchased.
    1,160 pointsBadges:
    report
  • wpoulin
    Pradeep, What product is SNDSPLMAIL part of ? I do not see it at V6R1 of IBM i. Thanks, Bill Poulin
    2,480 pointsBadges:
    report
  • HMSSL2K
    That command is part of TAATOOLS.
    3,175 pointsBadges:
    report
  • WoodEngineer
    SNDSPLMAIL is sold by Gumbo Software. We have used it for years. Package is reasonably priced and works well. To the best of my knowledge, it is not part of TAATOOLS.
    6,680 pointsBadges:
    report
  • HMSSL2K
    I have TAATOOL's on my systems and yes it is part of TAATOOL's. If you can get TAATOOL's, it's a better product than Gumbo.
    3,175 pointsBadges:
    report
  • HMSSL2K
    TAA Tool Archive 12/15/11 Position to tool . . . SNDSPL e options, press Enter. 5=Display source 6=Print source 7=Display Tool commands 8=Display heading 9=Copy source member A=Copy all source for Tool Member Type Text SNDSPLMAIL SNDSPLMAIL TXT Send Spooled File E-Mail
    3,175 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following