Thank you Booth,

I am just trying to find a way to run a S36 command from CL or RPG when the user has LMTCPB(*YES).

QCMDEXC only runs CL commands.

QCAPCMD can run S36 commands, but not for limited users.

I am so unfamilar with the S36 environment, I cannot figure out a way to do this...

Thanks again,

Dan


________________________________

From: midrange-l-bounces@xxxxxxxxxxxx on behalf of Booth Martin
Sent: Thu 7/31/2008 9:21 PM
To: Midrange Systems Technical Discussion
Subject: Re: Oh No... How do I run commands in S36 environment?



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.





--
---------------------------------
Booth Martin
http://www.Martinvt.com <http://www.martinvt.com/>
---------------------------------

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.