On Jan 22, 2008, at 11:10 PM, Craddock, Chris wrote:
Pat O'Keefe said
But I have a feeling you want something that goes beyond the intended
purpose of POST and WAIT, not just a cleaned up version of the
existing function.
-----------SNIP Good Stuff-From Chris C-----------
A *LONG* time ago (read 1970's) our applications people were truly
doing some very advanced multitasking programming for an application.
The subtasks were actually "programs" that were written by clerks
that were similar to todays SQL only these programs were assembler
and the main program would attach several of these programs and let
them do inquiries(highly simplified explanation). There were
different flavors of the owner (master) program. One was one that
would run the queries against a smaller lets just "SET" of data and
the the BIG master program would run multiple queries at one time.
Each query was an subtask . I am not an expert in it and don't ask
for specifics. When one of their programs started up it would suck
the CPU like it was a vampire sucking blood on every system that IBM
could sell us. These were insatiable CPU hogs. One of the first
things that happened when we got a 168MP in was that their logic
needed to be updated as their checking the ECB's wasn't working all
the time. Our resident IBM SE took one look at the code and suggested
they read up on CS. They did so and they never had an issue in that
area again. The second issue was a little political in that they
wanted control over CICS but management said no. So they went out and
bought a program call INTERCOM(m 2 mms?) Apparently this product was
sold as better than CICS and it was a *TRUE MULTI-TASKER* (apologies
to Alton Brown). Well they had never tested in on an MP. They had a
problem that and ECB was being updated while the compare(CLC) was in
progress. The IBM person took pity on him, and suggested the CS they
fixed the code and then tried to get the vendor to pay them for
fixing the vendors bug. I think they got education credits rather
than money.
When you get into a heavily loaded system with all sorts of
multitasking going on don't forget CS rather than CLC it will save
many a gray hair.
Ed
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html