|
In order to complete the circle with resolution and more detail on the issue I needed to resolve.
Some of the options from the Operational Assistant Menu accessed via the attention key (ESC on my keyboard map) and the System Request menu (access via shift-esc on my keyboard map) needed to be removed from all user profiles with a user class of *USER.
The Operational Assistant Menu was easy just wrote a new menu (ASSIST) that checks user class to decide what options to display.
System Request was a bit more work as it does not use a *MENU but a *PNLGRP.
Here is what I have come up with:
I recreated the QGMNSYSR PNLGRP (SYSREQ PNLGRP) as the PRESYSREQ PNLGRP.
I created the exit program PRESYSREQ that displays the PRESYSREQ PNLGRP.
Added the exit program PRESYSREQ to the exit point QIBM_QWT_SYSREQPGMS, exit point format SREQ0100 with the exit program data set to 1.
Set The Profile Exit Program for all of the non-group profile profiles on the system.
End result all user of a user class of *USER see a subset of the options, all other users see the full list of options.
Thanks,
Monty
date: Mon, 31 Jan 2022 03:06:33 +0000
from: "Monty G. James" <monty.james@xxxxxxxxxxxxxx>
subject: SYSREQ Panel Group Replacement
SYSREQ displays the PNLGRP QGMNSYSR.
I have a need to hide some of the options from a class of users.
I have written a replacement for QGMNSYS but do not know the variable(s) and their attributes the SYSREQ passes to the PNLGRP.
I do know the first var it passes is the dialog variable DSPOPT1 but do not know what the attributes of the variable are.
Before you say it, yes I know I can remove *public from the underlying commands but that does not fit the need.
I need to remove those options from the display for the class of users.
Does anyone know where I can find the variables and their attributes passed to the PNLGRP?
Thanks,
Monty
________________________________
This email message, including any attachment(s) is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is strictly prohibited. If you are not the intended recipient, please immediately contact the sender by email.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.