🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.asm370
Article #1036

Need to locate unique task ID in MVS

#1036
From: Girish B Maraliga
Date: Thu, 02 Mar 1995 21:07
37 lines
2582 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
Technical Details
Message-ID: <3j5c33$4at@nntpd.lkg.dec.com>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!swrinde!elroy.jpl.nasa.gov!lll-winken.llnl.gov!decwrl!pa.dec.com!nntpd.lkg.dec.com!schism.tay1.dec.com!girish

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-04 04:34:13 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!swrinde!elroy.jpl.nasa.gov!lll-winken.llnl.gov!decwrl!pa.dec.com!nntpd.lkg.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: Need to locate unique task ID in MVS
Date: 2 Mar 1995 21:07:47 GMT
Organization: Digital Equipment Corporation
Lines: 39
Distribution: inet
Message-ID: <3j5c33$4at@nntpd.lkg.dec.com>
Reply-To: maraliga@gnpike.enet.dec.com
NNTP-Posting-Host: schism.tay1.dec.com
X-Newsreader: TIN [version 1.2 PL2]