Article View: comp.lang.asm370
Article #1020Re: Need to locate unique task ID in MVS
From: Alexander Vrenios
Date: Mon, 20 Mar 1995 15:18
Date: Mon, 20 Mar 1995 15:18
25 lines
2223 bytes
2223 bytes
Hi, Well, this might not be current information, but as I recall the TCB pointed to the TIOT, which has the 8-byte job name (or TSO login id). A combination of the ASID, TCBADDR, and JOBNAME ought to be unique - no? Also, your MVS-daemon program (system task, in IBM parlance, ought to be able to determine which TCBs are subtasks of which, per the pointers within them. Good luck! In article <ag129.1798.0012E61B@ucs.cam.ac.uk>, A. Grant <ag129@ucs.cam.ac.uk> wrote: >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:
<D5qvuB.JtK@ennews.eas.asu.edu>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!dearn!blekul11!idefix.CS.kuleuven.ac.be!Belgium.EU.net!EU.net! news.sprintlink.net!cs.utexas.edu!asuvax!ennews!enuxsa.eas.asu.edu!vreniosReferences:
<3j5c33$4at@nntpd.lkg.dec.com> <3j7cv6$5tb@dcsun4.us.oracle.com> <ag129.1798.0012E61B@ucs.cam.ac.uk>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-20 23:38:26 PST Newsgroups: comp.lang.asm370,bit.listserv.asm370,bit.listserv.ibm-main Path: arc1-ca.pugleaf.net!nntp.gmd.de!dearn!blekul11!idefix.CS.kuleuven.ac.be!Belgium.EU.net!EU.net! news.sprintlink.net!cs.utexas.edu!asuvax!ennews!enuxsa.eas.asu.edu!vrenios From: vrenios@enuxsa.eas.asu.edu (Alexander Vrenios) Subject: Re: Need to locate unique task ID in MVS Distribution: inet Message-ID: <D5qvuB.JtK@ennews.eas.asu.edu> Nntp-Posting-Host: enuxsa.eas.asu.edu Sender: news@ennews.eas.asu.edu (USENET News System) Organization: Arizona State University, Tempe, AZ Date: Mon, 20 Mar 1995 15:18:10 GMT References: <3j5c33$4at@nntpd.lkg.dec.com> <3j7cv6$5tb@dcsun4.us.oracle.com> <ag129.1798.0012E61B@ucs.cam.ac.uk> Lines: 27