Yes, I'd not suggest compiling two separate programs as a single source, except
for the idea that they (the Manglerment) seem to want it done in one "program".
I'd kind of hope it doesn't fit into their procedures either - even though it
is as "logically equivalent" to the ENTRY idea as it is the separate programs
idea.
A twisted, prone to misunderstanding, way with ENTRY to make one program out of
two vs two programs in one source vs two separate programs in two separate
sources. The two-programs-in-one-source I'd see (in this case) as a another
stepping-stone to the abandonment of the idea to be complicated.
I'd prefer it to be horribly simple. One program to do one thing. A second
program to do the other thing.
PROGRAM-ID...
...
ENTRY
vs
PROGRAM-ID...
PROGRAM-ID...
vs
PROGRAM-ID...
PROGRAM-ID...
Other than the additional "boilerplate" the difference in having the two
programs (however it is done) is just no ENTRY statement.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN