Article View: comp.lang.asm370
Article #1021Re: Need to locate unique task ID in MVS
From: Girish B Maraliga
Date: Tue, 21 Mar 1995 23:46
Date: Tue, 21 Mar 1995 23:46
41 lines
2808 bytes
2808 bytes
Alexander Vrenios (vrenios@enuxsa.eas.asu.edu) wrote:
| A combination of the ASID, TCBADDR, and JOBNAME ought to be unique - no?
Unfortunately no. The TCBADDR will be reused by the next task by the same
user. Ergo, ASID+TCBADDR+JOBNAME is not unique for a task. :(
| A. Grant <ag129@ucs.cam.ac.uk> wrote:
| >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?
As it happens,
1. I cannot modify any of the applications currently running.
2. I cannot maintain a table of all tasks running and update them.
Also, how do I get a list of all active TCBs in the system ?
I tried the following method.
PSA -> CVT -> ASCB queue -> ASXB -> FTCB (First TCB) and LTCB (last)
|
ASCB -> ASXB -> FTCB, LTCB
The problem is, though I get all the ASCBs in the system, I always endup
in the same ASXB ( the one in the current address space). Am I missing
something ?
what should I do to get a list of all active TCBs in the system ?
Thanks in advance for all the help.
/Girish
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Girish B Maraliga maraliga@gnpike.enet.dec.com
Lead Technical Consultant, ObjectBroker (MVS,AS400), Digital Equipment Corp.
Littleton, MA, 508.952.4015
Technical Details
Message-ID:
<3knogu$bbi@mrnews.mro.dec.com>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!dearn!blekul11!idefix.CS.kuleuven.ac.be!Belgium.EU.net!EU.net! Germany.EU.net!howland.reston.ans.net!news.sprintlink.net!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!lll-winken.llnl.gov!decwrl!pa.dec.com!mrnews.mro.dec.com!schism.tay1.dec.com!girishReferences:
<3j5c33$4at@nntpd.lkg.dec.com> <3j7cv6$5tb@dcsun4.us.oracle.com> <ag129.1798.0012E61B@ucs.cam.ac.uk> <D5qvuB.JtK@ennews.eas.asu.edu>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-21 19:48:56 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!dearn!blekul11!idefix.CS.kuleuven.ac.be!Belgium.EU.net!EU.net! Germany.EU.net!howland.reston.ans.net!news.sprintlink.net!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!lll-winken.llnl.gov!decwrl!pa.dec.com!mrnews.mro.dec.com!schism.tay1.dec.com!girish From: girish@schism.tay1.dec.com (Girish B Maraliga) Newsgroups: comp.lang.asm370,bit.listserv.asm370,bit.listserv.ibm-main Subject: Re: Need to locate unique task ID in MVS Followup-To: comp.lang.asm370,bit.listserv.asm370,bit.listserv.ibm-main Date: 21 Mar 1995 23:46:38 GMT Organization: Digital Equipment Corporation Lines: 41 Distribution: inet Message-ID: <3knogu$bbi@mrnews.mro.dec.com> References: <3j5c33$4at@nntpd.lkg.dec.com> <3j7cv6$5tb@dcsun4.us.oracle.com> <ag129.1798.0012E61B@ucs.cam.ac.uk> <D5qvuB.JtK@ennews.eas.asu.edu> Reply-To: maraliga@gnpike.enet.dec.com NNTP-Posting-Host: schism.tay1.dec.com X-Newsreader: TIN [version 1.2 PL2]