|
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:I agree with Adam. I think the difference is that with files, there is
Lim,> managing the signatures.
[Specifying SIGNATURE on STRPGMEXP] tells the system that you are
This is almost the equivalent of setting LVLCHK(*NO) on your files.That's a bit of a stretch in my opinion. It's true that specifying a
It gets rid of the error message, but also disables the error checking!
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.
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 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.