× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Avalos,

GetSmtpAddr at http://www.think400.dk/apier_4.htm does exactly that. I
placed it in a *SRVPGM that contains all the other email-related procs.

JK


----- Original Message -----
From: "Avalos Martin" <mavalos@xxxxxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Subject: RE: How can I retrieve user's email address
Date: Fri, 2 Oct 2009 15:40:36 -0300


DSPDIRE OUTPUT(*OUTFILE) OUTFILE(MYLIB/MYFILE)

Martin Avalos
Area Tecnologia Informatica
Santo Domingo 3220
Capital Federal
Telefono 4-016-0700
Interno 6536


-----Mensaje original-----
De: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] En nombre de
smorrison@xxxxxxxxxxxxxxxxxxx
Enviado el: viernes, 02 de octubre de 2009 15:30
Para: Midrange Systems Technical Discussion
Asunto: How can I retrieve user's email address


I've got CL program that needs to email a report to a user. The user's
email address is stored in the IBM system directory, visible by using
WRKDIRE. How can I retrieve this email address, so I don't need to hard
code the email address? We're not suing SNDDST to send this, we're using
another file transfer application to translate the DB file to Excel and
email the file. That part works well, I just need to retrieve the email
address.

Thanks
Steve

- -
Steven Morrison
Fidelity Express
903-885-1283 ext. 292


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.