🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.asm370
Article #1033

Re: Need to locate unique task ID in MVS

#1033
From: Kirk Bradley - Mainframe and Int...
Date: Fri, 03 Mar 1995 15:35
48 lines
3014 bytes
There is a TOKEN that represents a task but I don't think it's
4 bytes.  Check your pubs for TOKEN services.

Girish B Maraliga (girish@schism.tay1.dec.com) wrote:

: 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



--
Kirk Bradley
Oracle Corporation
Mainframe and Integration Technologies Group
Technical Details
Message-ID: <3j7cv6$5tb@dcsun4.us.oracle.com>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!swrinde!sgiblab!gatekeeper.us.oracle.com!dcsun4.us.oracle.com!upsizeme.us.oracle.com!kbradley
References: <3j5c33$4at@nntpd.lkg.dec.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd4af,87427092a37afd55,start
X-Google-Attributes: gidfd4af,public
X-Google-Thread: f8131,87427092a37afd55,start
X-Google-Attributes: gidf8131,public
X-Google-Thread: fcdcb,87427092a37afd55,start
X-Google-Attributes: gidfcdcb,public
X-Google-ArrivalTime: 1995-03-03 11:27:04 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!swrinde!sgiblab!gatekeeper.us.oracle.com!dcsun4.us.oracle.com!upsizeme.us.oracle.com!kbradley
From: kbradley@130.35.1.6 (Kirk Bradley - Mainframe and Integration Technologies)
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: 3 Mar 1995 15:35:02 GMT
Organization: Oracle Corporation. Redwood Shores, CA
Lines: 49
Distribution: inet
Message-ID: <3j7cv6$5tb@dcsun4.us.oracle.com>
References: <3j5c33$4at@nntpd.lkg.dec.com>
NNTP-Posting-Host: upsizeme.us.oracle.com
X-Newsreader: TIN [version 1.2 PL0]