As noted in my prior post, I think it is a shame that the IBM-JES2
folks make it so difficult to serialize a thread of jobs. It seems to
me that this is such an obvious thing to want to do, but when JES2 is
started with CNVTNUM=>2 (and there are strong reasons for must shops
to want to do this), such serialization becomes problematic.
The thing is, a JES2 supported solution, it seems to me, would be
both ideal and easy to implement. Here's my idea:
(1) support a //card option or a /*card option by which a user could
provide an arbitrary serialization name. Example: /*JOBPARM
THREADNAME=xyz. Use this name on each job in the thread.
(2) Run the threaded jobs into a reader in the same order that you
want the jobs to run. (Allow subsequent SUBMITs to add to a thread,
if desired.)
(3) The first converter to pick up one of the threaded jobs will
always pick up the first one.
(4) When that converter sees the thread name, it takes ownership of
that thread such that all other converters will refuse to process
jobs having that same name.
Then, of course, the jobs would be queued for execution in the same
order by which they were read, and if only one initiator ware
assigned the thread's execution class, then they would, in fact,
execute in that same order.
There are, of course, several ancillary details:
* Thread names will have to have some reasonable expiration interval.
* $D/$T command will need to allow operators to display and
manipulate threads to allow them to display and fix problems.
* Some mechanism (ownerid perhaps?) need to be created to prevent
unrelated threads having the same name from colliding.
It's been several decades since I used to be a JES2 programmer, but
from what I remember, it doesn't seem to me that this should be too
hard. I'd guess that implementing such a scheme would take maybe only
a week or few of my time.
Dave Cole REPLY TO: [EMAIL PROTECTED]
Cole Software WEB PAGE: http://www.colesoft.com
736 Fox Hollow Road VOICE: 540-456-8536
Afton, VA 22920 FAX: 540-456-6658
----------------------------------------------------------------------
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