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



ahhh thx Charles - nice to know there is an option

On Fri, Mar 16, 2018 at 3:17 PM, Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:

true..

Which is why I specifically mentioned dcl-pr or dcl-pi :)

If you want to stick with fixed form d-specs, you'll have to use
extproc('mixedCaseName')

Charles

On Fri, Mar 16, 2018 at 12:58 PM, Jay Vaughn <jeffersonvaughn@xxxxxxxxx>
wrote:

and looks like extproc(*dclcase) is only valid in a free form definition

On Fri, Mar 16, 2018 at 1:39 PM, Jay Vaughn <jeffersonvaughn@xxxxxxxxx>
wrote:

ok, think we are getting there...

let me tell you the whole truth now :)

there is no *srvpgm (just said that to avoid the debate of creating
one
or not)

I have a cobol *pgm and a rpgle *pgm that both bind to and call a share
procedure from a *module (where the procedure lives)
These are the ONLY 2 *pgms that will ever share this procedure (famous
last words)...

the rpgle source has the PR defined for the procedure in it... the
cobol
source obviously does not...

so are you saying I can just add the extproc(*dclcase) to the PI in the
*module source?

On Fri, Mar 16, 2018 at 1:11 PM, Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:

Do you /COPY a source containing the PR?

you can put the extproc(*dclcase) on the PR...the rpg compiler will
make
use of it...

If you don't have a PR at all (why not? don't you call the proc from
RPG
also?)

Then you can put extproc(*dclcase) on the dcl-pi.

Charles

On Fri, Mar 16, 2018 at 10:41 AM, Jay Vaughn <
jeffersonvaughn@xxxxxxxxx

wrote:

Jon - much appreciated...

but my nomain rpg source that contains the procedure does not even
contain
the PR definition (just the PI) - are you saying to add it to the
source?

I don't have to specify the PR in the cobol pgm like i would a
calling
rpg
pgm...

On Fri, Mar 16, 2018 at 10:21 AM, Jon Paris <
jon.paris@xxxxxxxxxxxxxx

wrote:

Yes.

The RPG procedure needs to be defined with
ExtProc('mixedCaseName')
or
alternatively name the procedure internally as mixedCaseName and
add
ExtProc(*dclcase)

BUT - that will impact all existing callers of the routine because
the
external name will be different. I guess you could get round it
with
a
mixed-case named stub that calls the upper case version.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Mar 16, 2018, at 7:51 AM, Jay Vaughn <
jeffersonvaughn@xxxxxxxxx>
wrote:

So i am able to call an external rpg procedure from my cobol ILE
pgm IF
that procedure is named in uppercase and 10 or less char's.

Anyone know who I can lift that limitation? We like to use long
case
mixed procedure names in RPG and don't want to have to be
restricted to
this just for cobol.

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

Please contact support@xxxxxxxxxxxx for any subscription
related
questions.

Help support midrange.com by shopping at amazon.com with our
affiliate
link: http://amzn.to/2dEadiD

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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our
affiliate
link: http://amzn.to/2dEadiD

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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our
affiliate
link: http://amzn.to/2dEadiD

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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our
affiliate
link: http://amzn.to/2dEadiD



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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD

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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD


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.