User Profile mass change

175 pts.
Tags:
User Profile changes by using CL program.
I have a large number of user profiles I will have to change the group profile for. If they are an employee of one company they will have a different probile than an employee of a different company. Does anyone have some simple CL that I can use to accomplish this rather than doing it manually?

Software/Hardware used:
V6R1
ASKED: May 20, 2013  7:11 PM

Answer Wiki

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

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
  • CharlieBrowne
    You will need to create the program because we do not have your criteria for changes. How do you know what company a USRPRF is affiliated with? If you can get that into a DB file, you can do a quick CL program that reads the file and has logic to CHGUSRRPF depending on company.
    39,780 pointsBadges:
    report
  • TomLiotta
    CharlieBrowne is right. We don't know how to determine which employees need what changes. In general, you would probably need a loop in the program. The RCVF command would read a record from some file that links each user profile to a company and possibly a group profile name. Then you'd run a CHGUSRPRF command to make the appropriate change to that user profile. The loop would go back to RCVF the next record. . Or you might use the DSPUSRPRF command to list all users to an outfile, and check each one for some attribute that controls your CHGUSRPRF logic. If you don't already have a file that controls your logic, that might be how it will be done. Or you might use an API to build a list of profiles, and then process the list. Or you might need to connect to multiple files for your control values. . We simply don't know what you actually have that would let us know what any programming can do. . You need to create at least the general programming so we have something to follow. Changing user profiles for group (and possibly needing supplemental groups for any users that already are group members) is not something that we can simply throw together. This has direct and serious security implications that apparently affects multiple companies. Liability is potentially high, and that doesn't cover simple business disruptions that might result. . Tom
    125,585 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