Thread View: comp.lang.asm370
3 messages
3 total messages
Started by Girish B Maraliga
Thu, 02 Mar 1995 20:58
Need to locate unique task ID in MVS
Author: Girish B Maraliga
Date: Thu, 02 Mar 1995 20:58
Date: Thu, 02 Mar 1995 20:58
36 lines
2531 bytes
2531 bytes
Hello. I have a question which may seem very silly to all you gurus out there - please bear with me. I am writing a application which monitors (periodically checks) various jobs running on a MVS (v4.3) system and pass the info back to a Unix box for display. The tasks to be monitored can be TSO programs, started tasks, APPC started programs, CICS transactions etc. Is there any data (similar to 'pid' in UNIX) available from the system, which uniques identifies a task (some of our jobs are multi-tasking) ? One solution we have thought is a combination of ASID and a pointer to TCB. This is not satisfactory as a task which starts after the previous one, can be assigned the same TCB ptr. Additional requirements of this 'identifier' are - We should be able to check if the task is running given only this 'ID' - It should be 4 byte integer - In the long range, we should be able to stop jobs/tasks using this 'ID' (Due to some difficulties, my application program is not designed to maintain a list/table of task information like ASID etc, but has to receive this ID from a Unix machine and check the status task) So if some kind soul can point me in the right direction, by telling what the Identifier should be and how to get it, I would be very thankful. Thanks in advance. /Girish Maraliga -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Girish B Maraliga | Internet : maraliga@gnpike.enet.dec.com Lead Technical Consultant | ObjectBroker(MVS,AS400), Digital Eqpt Corp. Littleton, MA. | Ph:508.952.4015
Re: Need to locate unique task ID in MVS
Author: John R. Walter
Date: Sat, 04 Mar 1995 04:30
Date: Sat, 04 Mar 1995 04:30
22 lines
1628 bytes
1628 bytes
In article <3j5bhk$48m@nntpd.lkg.dec.com>, girish@schism.tay1.dec.com says... > >Hello. > >I have a question which may seem very silly to all you gurus out there > - please bear with me. > > Thanks in advance. > >/Girish Maraliga > >-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >Girish B Maraliga | Internet : maraliga@gnpike.enet.dec.com >Lead Technical Consultant | ObjectBroker(MVS,AS400), Digital Eqpt Corp. >Littleton, MA. | Ph:508.952.4015 > In the MVS CVT there is a pointer to the dispatcher tables, the first double word contains the address of the active TCB. Hope that helps...
Re: Need to locate unique task ID in MVS
Author: ejacksn
Date: Sat, 04 Mar 1995 22:09
Date: Sat, 04 Mar 1995 22:09
6 lines
1264 bytes
1264 bytes
In <3j8qd9$cp@hudson.lm.com>, jwalter@telerama.lm.com (John R. Walter) writes: >In the MVS CVT there is a pointer to the dispatcher tables, the first double >word contains the address of the active TCB. Hope that helps... I'd really like to see the trail of reasoning by which you thought this could be in any way helpful to this problem? Did you even read his question?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads