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



On 22-Jun-2016 09:03 -0500, dlclark wrote:
On 03-Jun-2016 13:28 -0500, Justin Taylor wrote:
On 03-Jun-2016 08:24 -0500, Justin Taylor wrote:
I'm debugging an RPGLE webservice that uses CGIDEV2. It's
generating a lot of authority failures (AF) against IBM objects
(QSYS/Q* stuff). […]

The AF entries only occur in debug. […]

Would I be correct to presume that you at least have debug
configured for production library/file access?

RDi-> Window-> Preferences-> Run/Debug-> IBM i Debug-> Update production files

-- or --

STRDBG UPDPROD(*YES)


FWiW, that setting [UPDPROD(*YES)] for that debugging attribute would be moot, with respect to the issue of the T-AF entries logged, as the protection afforded by Update Production Files (UPDPROD) setting of *NO, is unrelated to authority. That prophylactic feature is implemented entirely within the /Open/ method(s), as a check of the Library Type (TYPE) for the library in which the file resides, if\after determining from the job's Work Control information that the job is both under debug and that the UPDPROD(*NO) setting is currently in effect for that debug session. For maximal safety, the test of the Library Type value is supposed to be coded within the OS as "If LibType<>'TEST' then…"; i.e. any value other than 'TEST', even a corrupted value, will cause the library to be treated as if the TYPE attribute of that library is 'PROD'.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.