× 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 believe there is a manner in which the "common data management open" search algorithm can be activated for searching the member for a REXX procedure. The default search algorithm stops with the first file found by the given name in the library search list, giving up if the named member is not found in the first file found with the given name.

APAR SE23380 suggests that "the STRREXPRC (Start REXX Procedure) command code has been changed to look for QIBM_REX_FIND_SRCMBR environment variable, which might contain one of the following values:
*BYMBRNAME - REXX would find the source member by looking for the source file that contains a source member by the name specified for the SRCMBR parameter.
*BYFILENAME - REXX would find the source file specified and, if the file is found, look for the source member in that source file. This same behavior is followed if the environment variable exists and contains any other value, or if the environment variable does not exist."

APAR SE26577 I believe made a correction to the above, to function also for a source file name that is other than QREXSRC.

Regards, Chuck

lgoodbar@xxxxxxxxxxxxxx wrote:
<<SNIP>>

I have a command called DOREX in library PRODLIB, which points to *LIBL/QREXSRC, DOREX. As long as PRODLIB is at the top of my library list, all is well.

In my development environment, I have LOYD then PRODLIB in my library
list. LOYD has an empty QREXSRC source file. LOYD also has a program
WHERESREX. If I run LOYD/WHERESREX, which tries to call *LIBL/DOREX,
I get an error CPF7CF2, "REXX procedure DOREX not found."

The problem occurs because:

Library PRODLIB, command DOREX points to *LIBL/QREXSRC.

Library LOYD, higher in the library list, also has a QREXSRC file,
but without the DOREX member.

Other than hard coding the REXX procedure library in the command, is there a way to work around this? I seem to recall my change
management system (Aldon) has some difficulty with specifying compile
options (&LIB not allowed for parameter REXSRCFILE and such). I'll
bug them about this also.


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.