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

I would first look for the library list of the running programs - normally each application has a specific library list setup, and the service programs are "checked" in the order of the library list.

But at runtime the program should find the same service program as at compile time.

Kind regards,
Daniel

Am 25.05.2022 um 15:13 schrieb jerry ven <jerryven95@xxxxxxxxx>:

If this query shows different library names with the same program name for
two of these symbols then do I need to test each of these different
programs by giving their names with respect to their different library
names where they are located each time to ensure my program gets compiled
properly and a program object is created successfully . I mean hit and try
method until the program gets created and this error is removed?
Because I found two of these symbols I got the unique program names
for each of these two missing symbols definitions but these programs were
located with the same program name but were present in different libraries.


Thanks

On Wed, 25 May 2022 at 17:59, Daniel Gross <daniel@xxxxxxxx> wrote:

Hi,

you could just try to find the symbol using the PROGRAM_
EXPORT_IMPORT_INFO view like this:

select *
from program_export_import_info
where upper(symbol_name) = upper(‘…’);

AFAIK normally all RPG symbols are upper case - but since you can control
that, you should look for all variants.

After you found the service program that exports that symbol, you will
have to find the binding directory in which that service program is, or
create a new one.

Last you can add

ctl-opt bnddir(‘….’);

to your program source. Or add the service program at you CRTPGM command
if you do that manually.

HTH
Daniel

Von meinem iPhone gesendet

Am 25.05.2022 um 13:59 schrieb jerry ven <jerryven95@xxxxxxxxx>:

When I executed the WRKJOB command then found two messages saying
'Definition not found for symbol' .
and recovery advised as 'Try the Create Program (CRTPGM) again,supplying
an
object that contains a definition for symbol'.

but when I was doing wrkobj for these symbols for all libraries, I could
not find these symbols anywhere.so how to find definitions for these
symbols which might be defined in some objects to which I am not sure of
what these objects name could be ?


Thanks.

On Tue, 24 May 2022 at 22:10, Reeve <rfritchman@xxxxxxxxx> wrote:

If you're using service programs and/or a binding directory, and if the
compile parameters aren't correct, or if the bound object doesn't exist,
the RPG code will compile clean but the object won't be created. Look
in
your job log, not at the compile, to find the issue(s).

On Tue, May 24, 2022 at 8:07 AM jerry ven <jerryven95@xxxxxxxxx>
wrote:

Hi,

How can we ensure resolution for this compilation error ' RNF7031-The
name
or indicator is not referenced' is meeting below resolution criteria?

'The field, subfield, TAG, data structure, PLIST, KLIST, subroutine,
indicator, or prototype is defined in the program, but not referenced.


Due to this 0 level error, the program is not getting compiled whereas
I
have all the files added in my library and my library is on top of the
library list as well.


Thanks
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com


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