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



Hi Robert,

Using the API should ensure your software is future-proof; if you do want to
use the QAOK* files directly, be prepared for possible changes to the tables
(and therefore level checks) when you move to a new release etc.

Chuck said: "I would not recommend coding directly to them" and I second
that.

Richard

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Robert Rogerson
Sent: 23 February 2011 17:21
To: Midrange Systems Technical Discussion
Subject: Re: Retrieving System Distribution Directory details...

Thanks all,

Searching on the QOKSCHD API lead me to learn that the System Directory
Entries are stored in QUSRSYS/QAOK* files. Specifically the file QAOKL02A
is keyed by user profile. So by Chaining to this file I can get the entry
(TROGERSO).

My question is if this is a safe thing to do? I don't really know anything
about these files.

Thanks,

Robert Rogerson

On Wed, Feb 23, 2011 at 11:41 AM, Richard Thomas <
richard_matthew_thomas@xxxxxxxxxxx> wrote:

Hi Robert,

I haven't checked for certain, but the Search System Directory (QOKSCHD)
API
might do what you're looking for.

Richard

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Robert Rogerson
Sent: 23 February 2011 16:06
To: midrange-l@xxxxxxxxxxxx
Subject: Retrieving System Distribution Directory details...

I've been checking the archives but so far I haven't found the required
information.

Here is the scenario. We have an inhouse distribution utility which can
distribute objects via email, IFS and spool file (to replace multiple
SNDNETSPLFs in a program).
In our utility we have the ability to send to multiple profiles.

My problem is that the SNDNETSPLF command sends to a System Distribution
Directory entry. This may not be equal to the user profile. For example,
my user profile is TROGERSONR and the entry associated with my profile is
TROGERSO.

Is there a way (API?) I can use to get the entry associated with a
profile?
If not has anyone else done something similiar?

Thanks,

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