|
jmoreno@militarycars.com wrote: > > Hello All > >>> I want to restrict the change job command at the RUNPY, TIMESLICE and > DFTWAIT parameters only to all users except those that have *SECADM >Authority. > I do not want to write a new command for the CHGJOB command >and/or a validation > program to the command > Does anybody know how to accomp[lish this quickly (?) I wouls apreciate >answers that > exclude references to the *JOBQ(s) *SBSD(s) and *CLS(s) Thank you much > ....... Come on, you don't want to write code!!! It will be a lot quicker, and simpler. How about just a little but of code? I have a VCP (Validity Checking Program) running on V3R7 (Think it worked on V3R6 also). It logs changes to RUNPTY, JOBQ, and I think Timeslice. It also prevents certain users from changing LOGLVL and LOGCLPGM. It would only require slight modification for your needs. If this is what you need, please let me know, and I'll download the code from the 400 and E-mail it to you. I must give thanks to all on the List who helped in the development of that code. I can't remember who said what, but the tip on using single characters for each parm and then working up to the correct size by examining the fields in debug is one way of developing a VCP. Another great help was the tip that pointed me to the RTVCMDSRC command. By retrieving the source, it is easy to develop the parm list. (THis code came off of News/400 or MC's Web site, and is a godsend, As I recall, it was written in REXX, and is a great way to learn a little about REXX. Bob Larkin Larkin Computer Consulting blarkin@wt.net * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-L' in the body of your message. Questions * * should be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com 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.