|
Sorry, no example, but there's a member in QSYSINC/QRPGLESRC for QOKSCHD. http://as400bks.rochester.ibm.com/iseries/v5r1/ic2924/index.htm?info/apis/QO KSCHD.htm Eric DeLong Sally Beauty Company MIS-Project Manager (BSG) 940-898-7863 or ext. 1863 -----Original Message----- From: rob@xxxxxxxxx [mailto:rob@xxxxxxxxx] Sent: Wednesday, April 14, 2004 8:38 AM To: Midrange Systems Technical Discussion Subject: Retrieving a directory entry 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.
As an Amazon Associate we earn from qualifying purchases.
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.