WRKNAMSMTP updating from CL

0 pts.
Tags:
CLP
Microsoft Exchange
RPG
RPGLE
I am sure that this question has been asked many times before but have never seen any answers. Since there is no UPDNAMSMTP command how can I update the System alias table programatically from CL or RPG ?
ASKED: May 12, 2006  6:01 AM
UPDATED: December 7, 2009  2:18 AM

Answer Wiki

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

Since WRKNAMSMTP probably should be disabled, the question doesn’t make sense. The CVTNAMSMTP command should have been run years ago making WRKNAMSMTP inoperative.

The question would come from a misunderstanding of how addressing is handled in OS releases during the past decade or so. I would recommend basic research into what WRKNAMSMTP and CVTNAMSMTP do first, then questions should present themselves about the resulting structures.

Tom

==============================================================

I don’t know what addresses you are keeping in the system alias table, but we use this code to update the local users:

CHGDIRE USRID(USER S1066666) USRDFNFLD((SMTPAUSRID SMTP USEREMAILNAME) (SMTPDMN SMTP ‘COMPANY.COM’))

I don’t remember how the usrdfnfld are linked to the SMTP names, but it works. We may have gotten the information from here:

http://search400.techtarget.com/tip/1,289483,sid3_gci818531,00.html

or here:

http://search400.techtarget.com/originalContent/0,289142,sid3_gci968106,00.html

Discuss This Question: 2  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
  • Pollywantsacracker
    I don't know what addresses you are keeping in the system alias table, but we use this code to update the local users: CHGDIRE USRID(USER S1066666) USRDFNFLD((SMTPAUSRID SMTP USEREMAILNAME) (SMTPDMN SMTP 'COMPANY.COM')) I don't remember how the usrdfnfld are linked to the SMTP names, but it works. We may have gotten the information from here: http://search400.techtarget.com/tip/1,289483,sid3_gci818531,00.html or here: http://search400.techtarget.com/originalContent/0,289142,sid3_gci968106,00.html
    0 pointsBadges:
    report
  • Barrell
    Thank you, this fits the bill perfectly.
    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