× 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: Binder Language problems
  • From: Gary L Peskin <garyp@xxxxxxxxxxxx>
  • Date: Thu, 30 Jul 1998 11:39:22 -0700
  • Organization: The Firstech Corporation

Nelson --

RTVBNDSRC is a tool to assist you in creating binder source for use by
the CRTSRVPGM command.  The binder language tells the CRTSRVPGM "binder"
the order in which exported symbols are to be seen by the service
program's callers.

You should be able to use the output of the command directly, with the
following changes.  RTVBNDSRC always seems to create a PGMLVL(*CURRENT)
parameter on the STRPGMEXP command.  Just be sure that, except for the
most recent set of binder language, PGMLVL is set to *PRV.  As long as
you leave the LVLCHK parameter at its default of *YES, you should be
able to have multiple sets of exports, with different signatures,
peacefully coexisting within your service program.  Calling programs
compiled with older signatures should still find the correct set of
exports.

You say that "To get clean compiles ...".  What happens if you just
change all of the STRPGMEXP commands, except the current one, to specify
PGMLVL(*PRV).  Why doesn't this result in a clean compile?

Gary

Nelson Smith wrote:
> 
> When I execute the RTVBNDSRC command on an ILE module to add new exports
> to previously existing binder source, the command always puts the new
> source at the end of the source member and it alphabetizes the exports.
> 
> I cannot get my service programs to compile properly unless the new
> source is at the beginning of the binder source member and if I leave
> the exports alphabetized, previously compiled calling programs will get
> signature errors.  To get clean compiles, I have to manually move the
> new source to the top of the source member and rearrange all the exports
> to look like the previous version plus the new ones at the end.
> 
> Am I doing something wrong in the way I call RTVBNDSRC or is it just a
> poorly written command?  For the life of me, I cannot figure out why IBM
> would create a command that generates source code that is incompatible
> with the way it's own compiler works.
> --
> Nelson Smith
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| 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.