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



>>is there a way to make RPG programs
>>ignore signature violations in service programs?

>It is also possible to define your own signature.
>
>       STRPGMEXP  PGMLVL(*CURRENT) SIGNATURE('MY_SIG')
>       EXPORT     SYMBOL(toUppercase)
>       EXPORT     SYMBOL(toLowercase)
>       EXPORT     SYMBOL(centre)
>       ENDPGMEXP
>
>This is a little dangerous because the system
>will assume I know what I am doing but it does
>allow me to be a little more flexible in building a
>service program in increments.

I use my own signatures this way:
STRPGMEXP PGMLVL(*CURRENT) SIGNATURE(' 2.00 01 Jun 01')
  EXPORT SYMBOL(sockOpen)
  EXPORT SYMBOL(sockRead)
...
ENDPGMEXP
STRPGMEXP PGMLVL(*PRV) SIGNATURE(' 1.00 11 Sep 00')
  EXPORT SYMBOL(sockOpen)
  EXPORT SYMBOL(sockRead)

I realise that it's not related to avoiding signature violations, but this
looked like a good place to put a useful example of user defined signatures.

  --buck


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.