I just stumbled onto something today. Apparently an UPDSRVPGM does not
update the file record format level ID within the service program object on
any files used.
I changed the format of a file (added a field) and recompiled all programs
using it. For the service program using this file I recompiled the module,
then did UPDSRVPGM. The service program record format ID does not match
the file record format ID.
So I looked around at other service programs and found, in many cases, the
record format ID does not match the file record format ID. But I'm not
getting level checks . . .
I took a couple of service programs whose record format ID did not match
and recreated the service program via CRTSRVPGM and now the record format
level ID matches the file format ID.
If I do a DSPPGMREF of a service program to an outfile, any file used is
listed twice. Presumably one of them is for the service program itself at
creation time, and the other is for the module as last updated via
UPDSRVPGM, which explains why no level checks.
Does this make sense? Just seems eerie to me.
VP Information Systems
P.O. Box 13369
Ft. Wayne, IN 46868-3369
The opinions expressed are my own and not necessarily the opinion of my
company. Unless I say so.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact