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



Buck,

If you would have the ability to directly set the level ID on a file, would you? In the vast majority of cases, of course not! Because the system knows to generate a new level ID / signature *automatically* when a significant attribute changes.

Why wouldn't you want similar protection for binder signatures? I think that signatures fall short as it is (no sig change if the attribute changes, etc.), why would you want to short change it even more?

-mark


At 2/13/08 03:54 PM, you wrote:
Adam Glauser wrote:
> M. Lazarus wrote:
>> Lim,
>>
>> [Specifying SIGNATURE on STRPGMEXP] tells the system that you are
> > managing the signatures.
>> This is almost the equivalent of setting LVLCHK(*NO) on your files.
>> It gets rid of the error message, but also disables the error checking!
>
> That's a bit of a stretch in my opinion. It's true that specifying a
> signature can cause problems. However, I think it's quite a bit simpler
> to recreate or update a service program safely while overriding the
> safety measures than it is to add a field to a file with LVLCHK(*NO)
> without causing problems.

I agree with Adam. I think the difference is that with files, there is
no *PRV support, whereas with binder language, we can successfully use a
newly compiled service program with an old calling program.

I have a strong tendency to make my signatures look like strpgmexp
pgmlvl(*current) signature('01.02 20071019'). When I do a DSPPGM I can
immediately see what version of a service program it's bound to.

The caveat, of course, is that one must add new exports AFTER existing
exports or the calling program will call the wrong procedure without a
signature violation.
--buck


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.