You might want to read the following article. It is a good article on
procedure exports in general, and touches on the advantage of using hard
coded signatures. If you use a hard coded signature and always add
procedures to the end, it keeps things much simpler. Most service programs
can get by with a single signature if this technique is used. It has
become my preferred way of creating service programs.
http://is.gd/46P0F
Matt Lavinder
|------------>
| From: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Bryce Martin <BMartin@xxxxxxxxxxxx> |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx> |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|10/09/2009 09:49 AM |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Re: Service programs and QSRVSRC |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
I think that in order to use the binder source you will need to recompile
the service program without the Export All. I'm pretty sure that you'll
need to recompile all programs bound to the service program. I've never
been through this exact situation, but I think this would be the case. I
would probably recompile just to be safe... even though it could be quite
a pain.
Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777
Michael_Schutte@xxxxxxxxxxxx
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
10/09/2009 09:35 AM
Please respond to
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
To
rpg400-l@xxxxxxxxxxxx
cc
Subject
Service programs and QSRVSRC
I've created this service program awhile ago without using the QSRVSRC, I
just told the compiler to export all. Well now, I'm adding new procedures
to the program and I was just wondering if I could now use the binding
source providing the new "current" interface and the previous and not have
to recompile the existing programs using the srvpgm? Or am I screwed
since
I didn't use the binding source on the first compile? FYI, I am going to
be
using binding sources for now on as now I see the benefit.
--
Michael Schutte
Admin Professional
Try Bob Evans GRILLING SAUSAGE! This summerâs hottest destination is your
own backyard with Bob Evans Brats and Italian Sausage! For tasty recipes
using Bob Evans grilling sausage, visit
http://www.BobEvans.com/Recipes
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/rpg400-l..
--- This message (including any attachments) is intended only for the use
of the individual or entity to which it is addressed and may contain
information that is non-public, proprietary, privileged, confidential, and
exempt from disclosure under applicable law. If you are not the intended
recipient, you are hereby notified that any use, dissemination,
distribution, or copying of this communication is strictly prohibited. If
you have received this communication in error, please notify us and destroy
this message immediately. ---
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/rpg400-l..
As an Amazon Associate we earn from qualifying purchases.