Changing user profiles in a CL program

180 pts.
Tags:
CL Program
JOBD
QGPL
Since I'm not much of a programmer I was wondering if someone could offer some suggestions on three programs I need to write. My first program will need to delete the JOBD associated with the user profile in QGPL and replace it with a different JOBD. The profiles that will have to be changed will come onto the AS400 from an excel spreadsheet. My second CL is going to add a group profile to all users with either one of two group profiles. The last CL will will put *EXCLUDE authority on libraries of the opposite group. If someone can offer a shell of a program or a link where such CL is shown that would be great. Thank for any help you can offer.

Software/Hardware used:
V6R1M0 iSeries

Answer Wiki

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

use command wrkusrprf

Discuss This Question: 3  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
    If all the data is in one spreadsheet, get that to a file on the AS400. Declasre the file in your CL (DCLF) Use RCVF to read the records from your file. Use CHGUSRPF to adjust the values to waht is in the file. Make sure the program is run by a USRPRF that has the authority required to make the changes.
    41,430 pointsBadges:
    report
  • mrpopcorn
    Meant chgusrprf since its in a prgram then use a variable
    25 pointsBadges:
    report
  • TomLiotta
    Out of curiosity, why don't you have a programmer write the programs? That's what programmers are for. -- 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