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



That's good.

Then I suspect the problem is with these statements:

dcl-pr SubprogramC;
  // Parameters if any
end-pr;

The problem you have there is that your prototype is referring to a non-existent program, SubprogramC. Try this for each of your sub programs:

dcl-pr SubprogramC extpgm('SUBPROGC');
  // Parameters if any
end-pr;

SubprogramC is the internal name of the program, SUBPROGC is the external name of that program.

On 6/21/2023 11:03 AM, tim ken wrote:
Hi,

Thanks for these suggestions.

Except 'DRIVERPRG' all three were compiled successfully seperately i just
psted their codes for better understanding 'DRIVERPRG' RPGLE program and
please find some job log from last few messages in this link-

https://code.midrange.com/7493d28f1c.html




Thanks



On Wed, 21 Jun 2023 at 22:42, Peter Dow<petercdow@xxxxxxxxx> wrote:

Hi Tim,

It looks like you have the source for 4 programs in one source member.
Each program (DRIVERPRG, SUBPROGA, etc) should be in a separate source
member and compiled separately.

--
*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
petercdow@xxxxxxxxx
pdow@xxxxxxxxxxxxxx /

On 6/21/2023 9:16 AM, tim ken wrote:
Hi,

When trying to compile 'DRIVERPRG' in this link (
https://code.midrange.com/a7933aa04e.html) then it's not getting
compiled.
Due to size limitation of the link I can't paste the whole joblog but I
just pasted some of it's joblog so any idea why is it not getting
compiled?


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
athttps://archive.midrange.com/rpg400-l.

Please contactsupport@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



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.