I did this in RPGLE with a DSPDIRE and checked for an error. I deleted
the spooled file afterwards.

On Wed, 14 Apr 2004 08:37:59 -0500, rob@xxxxxxxxx said:
> Earlier I had discussed using SQL to update the directory entry files. 
> I've had second thoughts about that and I am going to try to follow the 
> guidelines and update directory entries some official way.
> 
> The process I am looking at is the following:
> For every user that has a user profile, check to see if they have a 
> directory entry.
> If they do have a directory entry,
>   Check to see if they have an email address
>   If they don't have an email address,
>     See if we can match up one using a custom method
>     If we can't compute their email address
>       Print on exception report.
> If they do not have a directory entry
>   See if we can match up an email address using a custom method
>   If we can't compute their email address
>     Print on exception report.
>   Create directory entry.
> End
> 
> The problem I am having is retrieving the directory entry.  I figure that 
> this is the API to use:
> http://publib.boulder.ibm.com/iseries/v5r2/ic2924/info/apis/QOKSCHD.htm
> 
> So I googled for examples and found:
> http://home.earthlink.net/~tliotta/Files/SMTP_Address_Retrieval/SMTP_Address_Retrieval_README.htm
> 
> Looks ok, but does anyone have an RPGLE example?
> 
> 
>  
> 
> Rob Berendt
> -- 
> Group Dekko Services, LLC
> Dept 01.073
> PO Box 2000
> Dock 108
> 6928N 400E
> Kendallville, IN 46755
> http://www.dekko.com
> 
> _______________________________________________
> 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.
> 
-- 
  
  michaelr_41@xxxxxxxxxxxxxx

-- 
http://www.fastmail.fm - A no graphics, no pop-ups email service

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.