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



Good morning, sirs.
Where can i learn binding language ?
Please let me know is some manual / red book exists on that matter and where
i can find them.
Sincerely
Domenico Finucci
Fiditalia , Milano, 02- 4301-2494


-----Messaggio originale-----
Da: Buck Calabro [mailto:Buck.Calabro@commsoft.net]
Inviato: mercoledì 12 settembre 2001 22.19
A: midrange-l@midrange.com
Oggetto: Binder language example


Here's an example of binder language:

STRPGMEXP PGMLVL(*CURRENT) SIGNATURE(' 2.00 01 Jun 01')
  EXPORT SYMBOL(sockOpen)
  EXPORT SYMBOL(sockRead)
  EXPORT SYMBOL(sockWrite)
  EXPORT SYMBOL(sockClose)
  EXPORT SYMBOL(returnh_errno)
  EXPORT SYMBOL(return_errno)
  EXPORT SYMBOL(a2e)
  EXPORT SYMBOL(e2a)
ENDPGMEXP
STRPGMEXP PGMLVL(*PRV) SIGNATURE(' 1.00 11 Sep 00')
  EXPORT SYMBOL(sockOpen)
  EXPORT SYMBOL(sockRead)
  EXPORT SYMBOL(sockWrite)
  EXPORT SYMBOL(sockClose)
  EXPORT SYMBOL(returnh_errno)
  EXPORT SYMBOL(return_errno)
ENDPGMEXP

In September 2000, I wrote the initial version of the service program.  This
worked very well for AS/400 to AS/400, but I discovered that when talking to
Unix, I needed to translate ASCII to EBCDIC and vice-versa.  That's where
the two new exports come in (a2e and e2a).  The existing AS/400 to AS/400
code didn't need to be recompiled or re-bound, and my new AS/400 to Unix
code picked up the new functions when it was compiled.

Buck
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.