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


  • Subject: Re: Service Programs
  • From: Rudolf Wiesmayr <Rudolf.Wiesmayr@xxxxxxxxxxx>
  • Date: Mon, 26 May 1997 09:17:42 -0700
  • Organization: Magistrat Linz

John Dorn wrote:
> 
> Are you using binder source?  We use binder source to set the service
> program's signature and also to list the exported functions.  For
> example,
> 
> STRPGMEXP PGMLVL(*CURRENT) LVLCHK(*YES) SIGNATURE('srvpgm name')
>    EXPORT SYMBOL("Func1")
>    EXPORT SYMBOL("Func2")
> ENDPGMEXP
> 
> New functions to be exported by the service program are always added
> to the end of the export list.  Using this method, other PGMs and

They HAVE to be added at the end! If you stuff them somewhere in the
middle, the *PRV mechanism doesn't work.

> SRVPGMs only need to be re-bound to the changed service program if
> the order of the exported functions change (adding additional functions
> is no problem).  If you are not using binder source (i.e.,
> EXPORT(*SRCFILE)) when building your service program then I would
> assume you must re-bind all dependent PGMs and SRVPGMs if you change
> your service program.

I have been using the *CURRENT / *PRV stuff in binder language for 
a long time on several evolving *SRVPGMs in our C library.
Some of them are large and constantly growing (i.e. new functions
are added every couple of weeks, but none deleted and no critical
interface changes in the existing functions). One of the most frequenly
used *SRVPGMs has currently 16 different signatures and we had no more
recompiles in applications since almost a year (On May 30 1996 there
was a interface change in one of the functions).

Regards,
-----------------------------------------------------------------
Dipl.-Ing. Rudolf Wiesmayr   Tel:     +43 - 0732 / 7070 - 1720
Magistrat Linz, ADV/AE       Fax:     +43 - 0732 / 7070 - 1555
Gruberstrasse 40-42          mailto://Rudolf.Wiesmayr@mag.linz.at
A-4041 Linz                  IBMMAIL: at3vs7vs@ibmmail.com
------ http://www.linz.at <<<--- Digital City Linz, Austria -----
- City of Linz: awarded by 'Speyerer Qualitaetswettbewerb 1996' -
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the Midrange System Mailing List!  To submit a new message,   *
* send your mail to "MIDRANGE-L@midrange.com".  To unsubscribe from     *
* this list send email to MAJORDOMO@midrange.com and specify            *
* 'unsubscribe MIDRANGE-L' in the body of your message.  Questions      *
* should be directed to the list owner / operator: david@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.