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



I’m with Charles on this. Particularly with the raining hell with the vendor bit.

What worries me most is that if the vendor has such a poor understanding of ILE that they think this is a) Necessary and b) a good idea - then I’d be seriously worried about the reliability of the rest of their code.


On Jan 27, 2016, at 12:25 AM, Charles Wilt <charles.wilt@xxxxxxxxx> wrote:

In one sense, it's a bad idea.

If the vendor was smart, they'd be qualifying command calls with QSYS or
better yet one of the the special values *NLVLIBL or *SYSTEM...

Your technique is one IBM doesn't recommend anymore for security reasons.
Sure, it's handy being able to substitute your command for IBMs. But it's
also the very definition of a computer "Trojan horse".

The more secure way is to use the retrieve command exit point
(QIBM_QCA_RTV_COMMAND) or the change command exit point
(QIBM_QCA_CHG_COMMAND).

OTOH, if the vendor was smart, they wouldn't be using RCLACTGRP *ELIGIBLE.

Personally, I'd be raising holy #$!! with the vendor.

Charles

On Tue, Jan 26, 2016 at 8:12 PM, <paultherrien@xxxxxxxxxxxxxxxxxx> wrote:

+1

I don't know if this is a good idea or not, but it seems like a decent
solution. I like it.

Paul

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Hiebert, Chris
Sent: Tuesday, January 26, 2016 6:03 PM
To: 'midrange-l@xxxxxxxxxxxx'
Subject: Re: Activation Group and RCLACTGRP

Thanks for everyone's suggestions.

I ended up just writing a new RCLACTGRP command this morning.
Here is the source:
http://code.midrange.com/d2db1bea07.html

We've placed it in a library that is above QSYS in our system library list.

The program passes RCLACTGRP commands to QSYS/QWVCCDLA (The CPP for
RCLACTGRP).
When the activation group is specified, the new program passes the input
straight into QSYS/QWVCCDLA.

When *ELIGIBLE is passed, I use the Qwvolagp API to get the job's
activation
groups.
Then I process the list returned and ignore a list of named activation
groups.

We couldn't just ignore the RCLACTGRP ELIGIBLE call because the vendor's
product was relying on it to do some cleanup.
This way their call still works for their own activation groups, but our
small list of specific activation groups are safe.

Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author
and do not necessarily represent those of the company.

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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

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

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Jon Paris

www.partner400.com
www.SystemiDeveloper.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.