How to send email through RPG IV or CL?

510 pts.
Tags:
AS/400 email
AS/400 Spool Files
CL programs
RPG IV
Spool files
[strong]I need to send my spool file thru  email [/strong]

Software/Hardware used:
AS400

Answer Wiki

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

Here is a link to a similiar question ask on this website.

http://itknowledgeexchange.techtarget.com/itanswers/is-it-possible-to-get-a-pdf-from-as400-spool-file/

Also here is a link to freeware that includes commads to do just what you want.

http://www.help400.de/Eng/Freeware.htm

Discuss This Question: 5  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
  • 22917
    I have done certain things.I hv listed out those things. 1.Adddire-I have added me in distribution list-user id - “Govindas “ and address – “BWIR” 2.In iseries navigator-I hv created new folder in Root directory-“Govindasas” and in QDLS – “GOVINDAS” 3.Crtpf-I hv copied one spool file to a flatfile named-“FLATF” 4.CPYSPLF-copied my spool file “QPSUPRTF” to my “flatf” 5.CPYTOIMPF-I hv shown the screen –value which I entered … From file: File . . . . . . . . . . . . . > FLATF Name Library . . . . . . . . . . > GOVINDASAS Name, *LIBL, *CURLIB Member . . . . . . . . . . . . *FIRST Name, *FIRST To data base file: File . . . . . . . . . . . . . Name Library . . . . . . . . . . *LIBL Name, *LIBL, *CURLIB Member . . . . . . . . . . . . *FIRST Name, *FIRST To stream file . . . . . . . . . > qdls/GOVINDAS/splf1    this is the folder which I created in iseries navigator Replace or add records . . . . . *ADD *ADD, *REPLACE Stream file code page . . . . . > *PCASCII 1-32767, *STMF, *PCASCII... Record delimiter . . . . . . . . > *CRLF Character value, *EOR... Record format of import file . . *DLM *DLM, *FIXED String delimiter . . . . . . . . '"' Character value, *NONE Field delimiter . . . . . . . . ',' Character value More... 6.i am getting the flatf(Spool file) in IFS-new folder which I created. Is ther still anything I missed out… 7.snddst used,its not working Next wt I hv to do…
    510 pointsBadges:
    report
  • CharlieBrowne
    Are you getting an error message with the SNDDST? What is your joblog showing?
    41,380 pointsBadges:
    report
  • TomLiotta
    Has your system been configured for e-mail? Is the SNA to SMTP bridge configured? Is the SMTP server running? One minor note: 5.CPYTOIMPF You probably should be using CPYTOSTMF instead of CPYTOIMPF. The CPYTOIMPF command is intended for database exports, but you are only copying a 'flat' file. Tom
    125,585 pointsBadges:
    report
  • WoodEngineer
    Both Gumbo Software and BVS Tools offer reasonably priced software for the IBM i that does exactly what you need. We have used both tools for many years with good results. In fact, most of our nightly reports are delivered as PDF attachments to e-mail generated with these products directly on the IBM i. (I have not affiliation with either company. Just a satisfied user).
    6,520 pointsBadges:
    report
  • 22917
    [...] 3. CharlieBrowne, TomLiotta, and WoodEngineer shared some insider tips on sending email through RPG IV or CL. [...]
    0 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