Hope, I am not sure you could "easily" do the jobpty problem, the way you could do the usrprf. The reason is, there is only one parameter to usrprf, the user profile name. To change a job there are two options, * which means the current job -or- the Job Name / Number / Profile combination. Obviously, you would be dealing with the second option and it would be unrealistic for users to know this information. Anyway, here's how the usrprf problem was probably accomplished (maybe it will spark an idea on your end): Create a command named CHGUSRPRF in a library that is higher in the system library list than QSYS. It needs only one parameter, User Profile. It calls a CL program that takes this parameter and feeds it to the CL command CHGUSRPRF thusly,
?CHGUSRPRF ?*&usrprf ??PASSWORD(*SAME) ??PWDEXP(*SAME)Bill Hope wrote: Thanks for the input, John. Here's my problem in better detail: I need to somehow give specific users the ability to enter a 2 to change a job in a Job Queue, and have it only display Job name, User, Number, and Job Priority - and prompt the JOBPTY field to give them the ability to change the Job Priority. I've seen this done in the past, but I don't recall how it was done. A Programmer created a command, for example, CHGUSRPRF, and he only displayed the USRPRF,PASSWORD and PWDEXP fields. This enabled help desk personnel to reset passwords, but not the ability to change any other fields. Thanks
Comment