Article View: comp.lang.asm370
Article #1019Re: Need to locate unique task ID in MVS
From: A. Grant
Date: Fri, 17 Mar 1995 18:53
Date: Fri, 17 Mar 1995 18:53
12 lines
1540 bytes
1540 bytes
Girish B Maraliga (girish@schism.tay1.dec.com) wrote: > 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. Yes but you can detect when the TCB pointer stops being valid, by using a subsystem end-of-task exit. You can delete anything 'owned' by your client tasks (e.g. an entry in a table, or a control block) so that reusing the TCB address appears as a fresh client. Is this enough?
Technical Details
Message-ID:
<ag129.1798.0012E61B@ucs.cam.ac.uk>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!pipex!lyra.csx.cam.ac.uk!seaeagle.csi.cam.ac.uk!ag129References:
<3j5c33$4at@nntpd.lkg.dec.com> <3j7cv6$5tb@dcsun4.us.oracle.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fd4af,87427092a37afd55 X-Google-Attributes: gidfd4af,public X-Google-Thread: f8131,87427092a37afd55 X-Google-Attributes: gidf8131,public X-Google-Thread: fcdcb,87427092a37afd55 X-Google-Attributes: gidfcdcb,public X-Google-ArrivalTime: 1995-03-17 11:02:06 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!pipex!lyra.csx.cam.ac.uk!seaeagle.csi.cam.ac.uk!ag129 From: ag129@ucs.cam.ac.uk (A. Grant) Newsgroups: comp.lang.asm370,bit.listserv.asm370,bit.listserv.ibm-main Subject: Re: Need to locate unique task ID in MVS Date: Fri, 17 Mar 1995 18:53:48 Organization: University of Cambridge Lines: 12 Distribution: inet Message-ID: <ag129.1798.0012E61B@ucs.cam.ac.uk> References: <3j5c33$4at@nntpd.lkg.dec.com> <3j7cv6$5tb@dcsun4.us.oracle.com> NNTP-Posting-Host: seaeagle.csi.cam.ac.uk