× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



What I have done in similar situations is to use a CL program with a display screen.
Here is a CL program with a display file. As you will notice, it is by way of Simon Colter.
http://www.martinvt.com/Code_Samples/Clock/clock.html

Here is another CL Program that is a window and uses push buttons and is mouse-clickable.
http://www.martinvt.com/Code_Samples/Pushbutton/pushbutton.html


These are pretty old but you can see how it works. Perhaps it will work for you.


Dan Riehl wrote:
Hi All,


I have always been thankfully ignorant of the S36 Env. But now I need to
know something.... Beans!


I am trying to write a simple subfile pgm where each list item is a CL
command, an S36 command or a STRS36PRC command.

A *S36 env user will run a CL command(ALWLMTCPB(*YES) to get to the
subfile pgm.... And select a list item and the command will be executed.
It's just a menu type program, where the user selects an item, and the
associated command is executed.


In this case each user is LMTCPB(*YES).


I was planning on running the CL commands and S36 commands with
QCAPCMD... It seems that if I select option 3 of QCAPCMD, it will run
both CL and S36 commands, But... and here's the rub... it applies the
LMTCBP restriction, so the limited commands will not run.

The commands are things like GO QUERY, or WRKQRY, or FLIB MYLIB, or MENU
SYSTEM...


The only method I can get to work is to create a real SDA menu.... Which
I have not discounted entirely, but is not my first choice.


I'd like to just call a command execution pgm like QCMDEXC or
QCAPCMD....

Anyone have any ideas..? I know it's off the beaten path.....


Thank you in Advance,


Dan



Dan Riehl | Audit and Security Specialist

The PowerTech Group, Inc.

Cell: (314) 680-8764
Dan.Riehl@xxxxxxxxxxxxx


Join us Sept 23-25 in Chicago for a comprehensive 3-day training course
on System i Security concepts and PowerTech products. CLICK HERE
<http://www.powertech.com/powertech/workshop_register.asp> to learn
more.


____________________________________________________________

This email message and any attachments are intended only for the use of
the intended recipients and may contain information that is privileged
and confidential. If you are not the intended recipient, any
dissemination, distribution, or copying is strictly prohibited. If you
received this email message in error, please immediately notify the
sender by replying to this email message, or by telephone, and delete
the message from your email system.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.