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



jstevens@xxxxxxxxxxxxxx wrote:
D QSyCUsrA PR ExtPgm('QSYCUSRA')
D 1A Authority Indicator
D 10A CONST Profile Name
D 20A CONST Qualified Object Nam
e
D 10A CONST Object Type
D * Authority
D 4B 0 Number of Authorites
D 4B 0 Call Level
D * Error Code

QSyCUsrA(AuthYN:'USERID':'LIBRARY/FILENAME':'*FILE':
Authority:AuthNbr:CallLevel:ErrorCode);

The Qualified name isn't 'library/filename' ... it's a 20byte structure
split into two 10 byte fields. The first 10 bytes is the object name,
the 2nd 10 bytes is the library.

I often use a structure to represent a qualified name ...

Dobject ds qualified
D name 10
D lib 10

Then do something like this ...

object.name = 'FILENAME';
object.lib = 'LIBRARY';

QSyCUsrA(AuthYN:'USERID':object:'*FILE':
Authority:AuthNbr:CallLevel:ErrorCode);


david


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.