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



Booth,

you can't compile to a service program. You create a module, then a
service program from that module.

Binder language is used to create the service program from the module. It
specifies the procedures to make available, the signature, etc. Of course,
you don't need binder language, but you should use it so you have more
versioning control with the signature(s) exported by the service program.

I know I sent you a link to my ILE 101 course on fieldexit.com. They are
very simple examples that should explain things.


Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #7 <https://www.bvstools.com/mailtool.html>: The ability
to completely bypass the IBM SMTP system all together using MAILTOOL Plus
or other Addons.

On Fri, Nov 1, 2019 at 8:02 PM Booth Martin <booth@xxxxxxxxxxxx> wrote:

I am misunderstanding something... This has to be simpler than I am
making it.

I have 3 related activities which I have written as activity1,
activity2, and activity3 as pr/pi elements in an RPGLE source member
named PGM01. I have successfully compiled PGM01 as a *SRVPGM, then
compiled it again as a *MODULE. I have then used them with the IWS
Wizard and all 3 activities work correctly. I am impressed, I like it,
and decide I want to write a 5250 RPG program that uses the 3 activities
of PGM01. And there it screeches to a halt.

The service program explanations I find talk about binder source, /copy,
and other H-spec and D-spec instructions that, frankly, I can't figure
out. Is there a clear, hello world example that clearly covers the gap
between *SRVPGM & *MODULE and the c-specs of the consuming program?


--
Booth Martin
www.martinvt.com
(870)576-9371
(802)461-5349

Rudin's Law: In a crisis that forces a choice to be made between
alternative courses of action, most people will choose the worse one
possible.
--
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@xxxxxxxxxxxx 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-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.