|
I have an rpg program that will retrieve it. I can't remember exactly where I found it, but it works. Let me know and I'll send it offline. Michael Smith iSeries.mySeries. -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Ryan Sent: Thursday, January 04, 2007 2:22 PM To: Midrange Systems Technical Discussion Subject: Re: SMTP Name from Directory Entry Does that provide the SMTP name? I've been trying that and it hasn't seemed to work for me. On 1/4/07, Wayne McAlpine <wayne.mcalpine@xxxxxxxxxxxxxxxxx> wrote:
If you can tolerate having it not entirely up-to-date, display the output of the DSPDIRE command to an outfile and retrieve the information you need by reading the file. I run the following job nightly: DSPDIRE OUTPUT(*OUTFILE) OUTFILE(QGPL/SYSDIR) DETAIL(*FULL) OUTFILFMT(*TYPE2) Michael Ryan wrote:Anyone know how to programmatically retrieve the SMTP name that's associated with a system distribution directory entry? I saw the API
to search the directory, but I would think there's a CL command or an API that wouldgivea result back on a direct hit. Thanks...-- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.