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



Then either you have an upper/lower case program name in there or you
installed PTF's that screwed things up for you.
I was thinking of procedures, apparently you don't have that same
restriction with program prototypes.

-Bob Cozzi
www.RPGxTools.com
If everything is under control, you are going too slow.
- Mario Andretti


-----Original Message-----
From: rpg400-l-bounces+cozzi=rpgiv.com@xxxxxxxxxxxx
[mailto:rpg400-l-bounces+cozzi=rpgiv.com@xxxxxxxxxxxx] On Behalf Of Hauser,
Birgitta
Sent: Thursday, August 04, 2005 9:19 AM
To: 'rpg400-l@xxxxxxxxxxxx'
Subject: RE: Problems with Prototyping and Calling RPGIII Programs

>>Your "MyPgm" variable cannot be a variable on the ExtPgm keyword.
>>It can be a named constant or a literal.

Why???

The following extract is from RPGIV Reference:
EXTPGM(NAME):
The EXTPGM keyword indicates the external name of the program whose
prototype is being defined. 
The name can be a character constant or a character variable. 
When EXTPGM is specified, then a dynamic call will be done. 

It works for all RPGIV programs that have the same parameter list.
It also worked in the original program version for the RPGIII programs.
This morning we recompiled all affected programs on our test maschine, 
but the RPGIII programs even after recompiling failed with MCH3601 

Birgitta


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.