|
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 definitionone
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
cobolor 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
makesource 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
jeffersonvaughn@xxxxxxxxxRPGuse of it...
If you don't have a PR at all (why not? don't you call the proc from
also?)
Then you can put extproc(*dclcase) on the dcl-pi.
Charles
On Fri, Mar 16, 2018 at 10:41 AM, Jay Vaughn <
calling
wrote:
Jon - much appreciated...contain
but my nomain rpg source that contains the procedure does not even
the PR definition (just the PI) - are you saying to add it to thesource?
I don't have to specify the PR in the cobol pgm like i would a
jon.paris@xxxxxxxxxxxxxxrpg
pgm...
On Fri, Mar 16, 2018 at 10:21 AM, Jon Paris <
ExtProc('mixedCaseName')
wrote:
Yes.
The RPG procedure needs to be defined with
oradd
alternatively name the procedure internally as mixedCaseName and
relatedtheExtProc(*dclcase)
BUT - that will impact all existing callers of the routine because
withexternal name will be different. I guess you could get round it
jeffersonvaughn@xxxxxxxxx>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 <
pgm IFwrote:
So i am able to call an external rpg procedure from my cobol ILE
casethat procedure is named in uppercase and 10 or less char's.
Anyone know who I can lift that limitation? We like to use long
restricted tomixed procedure names in RPG and don't want to have to be
(RPG400-L)this just for cobol.
Thanks
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
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
(RPG400-L)(RPG400-L)affiliatequestions.
Help support midrange.com by shopping at amazon.com with our
(RPG400-L)link: http://amzn.to/2dEadiD
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
affiliatemailing 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
link: http://amzn.to/2dEadiD--
This is the RPG programming on the IBM i (AS/400 and iSeries)
affiliatemailing 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
link: http://amzn.to/2dEadiD--
This is the RPG programming on the IBM i (AS/400 and iSeries)
affiliatemailing 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
----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 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.