pgm parm(&user)
dcl &user *char 10
chgusrprf &user status(*enabled)

compile as USRPRF(*OWNER) and the owner as QSECOFR.


R. Bruce Hoffman, Jr.
 -- IBM Certified Specialist - iSeries Administrator
 -- IBM Certified Specialist - RPG IV Developer

"Suppose you were an idiot...
  And suppose you were a member of Congress...
  But I repeat myself."
    - Mark Twain

----- Original Message -----
From: "Jon Paris" <>
To: "Midrange-l" <>
Sent: Tuesday, January 29, 2002 3:11 PM
Subject: Re-set User Id.

> I need to set up a system whereby someone who does not have security
> type access can re-set someone's user id.  Not change the password or
> anything - just re-enable it.  Anyone have an example that can achieve
> In particular, this needs to be initiated from a PC program if possible.
> Jon Paris
> Partner400
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
> To post a message email:
> To subscribe, unsubscribe, or change list options,
> visit:
> or email:
> Before posting, please take a moment to review the archives
> at

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2022 by 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.