× 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.



Thanks Jim,

yes, that is what I am trying to do..But..... The commands run can be both CL and S36... I do not know of a way to run a S36 command from an HLL or CL.

QCMDEXC is fine for the CL commands.... And QCAPCMD can be used to run S36 commands, but QCAPCMD will not allow commands that are run by LMTCPB(*YES) users at the same time it's running a S36 command.

I'm just looking for a program like QCMDEXC that will run S36 commands for limited users.

So.... my problem is running S36 commands from CL or RPG. I cannot find a way to do this when the user has LMTCPB(*YES).

Dan


________________________________

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



I'm not exactly picturing this, but....
In S36EE users can execute clp's, cmd's (including "call").
If these are limited users, I usually set an Attention pgm,
which calls the clp driven menu, and they can select items from
the menu that I programmed.
Does this fit what you are trying?
Jim Franz

----- Original Message -----
From: "Dan Riehl" <dan.riehl@xxxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Thursday, July 31, 2008 9:26 PM
Subject: Oh No... How do I run commands in S36 environment?


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.



--
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.



--
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 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.