Article View: comp.lang.asm370
Article #1024Re: Need to locate unique task ID in MVS
From: Alexander Vrenios
Date: Fri, 24 Mar 1995 17:09
Date: Fri, 24 Mar 1995 17:09
15 lines
1903 bytes
1903 bytes
Garish B Maraliga (girish@schism.tay1.dec.com) wrote: >>> Is there any data (similar to 'pid' in UNIX) available from the system, Okay, one more try: There used to be a unique number for every job in the system - the Hasp number. This became the JES2 job number. Is this still available? You might have to use some sort of cross-memory services in order to get this sort of thing. I would look into issuing a JES command and getting the results sent back to my task, e.g., OS/MVT had "d n" for a display-job-names listing, Hasp had $dn to do the same thing, so I assume JES2 might also still have such a command -and- that it might be executable from a batch environment. (There was a way to execute operator commands by modifying the WTO macro-generated code. This guy sounds like a Unix sysadmin so I assume he can get into supervisor state.) Looks to me like you want a listing of MVS jobs that looks like the result of a Unix ps command. Hope this helps you.
Technical Details
Message-ID:
<D5yFns.JpB@ennews.eas.asu.edu>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!dearn!blekul11!idefix.CS.kuleuven.ac.be!Belgium.EU.net!EU.net! howland.reston.ans.net!gatech!ncar!asuvax!ennews!enuxsa.eas.asu.edu!vreniosShow 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-24 09:09:28 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! howland.reston.ans.net!gatech!ncar!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: <D5yFns.JpB@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: Fri, 24 Mar 1995 17:09:28 GMT Lines: 17