|
> From: Doc > > I wonder since the opens > occur in the same service program, that there's some sort of restriction > on shared opens. Last time I looked into share, its design implications > were stiff, so I bunked off it. In other words, I'm pretty ignorant. Not that you would ever do such a thing, but don't mix MAIN and NOMAIN type calls together in a program with F-specs. That is, don't try calling the program via *ENTRY PLIST and then later calling individual procedures within that same program via EXTPROC prototypes. I thought this would be a nice way to wean programs from CALLB to CALLP, but it's actually quite ugly. Evidently the "open" bit in the F-spec is handled differently for the MAIN procedure than in subprocedures. As I said, nobody would normally do this, but I thought it was a pretty slick technique to migrate from old code to new code. I could have old programs doing CALLB until I converted all of them, at which point I'd just remove the MAIN procedure. Pretty slick. Until I tried it. Ya hey dere. Joe
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.