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.
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.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
Discuss This Question: 3  Replies