On 20-Oct-2011 12:29 , Jerry C. Adams wrote:
I just ran a test in which I am trying to replace a ubiquitous OCL
procedure with an equivalent IBM i command. Because the OCL is in
just about every other OCL procedure, I gave the command the same
name (say, TEST). But if I key TEST on the command line, it
retrieves and runs the 36EE OCL. I couldn't find anything in the
CHGS36 command that would allow me to change the precedence whereby
the system would look for an IBM i command *before* it reverted to
OCL procedures/commands. Is there any way to change the precedence?


Library qualify the command invocation so the command interpreter recognizes that the request is not OCL, but instead a CL command request. The "library' qualifier can be *LIBL, explicitly specified, instead of implied. Thus, change references to TEST which should use the CL command instead to be: *LIBL/TEST

Regards, Chuck

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.