Thread View: comp.lang.asm370
2 messages
2 total messages
Started by Alexander Vrenios
Fri, 24 Mar 1995 17:09
Re: Need to locate unique task ID in MVS
Author: 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.
Re: Need to locate unique task ID in MVS
Author: Mark Hanisco
Date: Sun, 26 Mar 1995 20:24
Date: Sun, 26 Mar 1995 20:24
10 lines
1499 bytes
1499 bytes
I don't have any mannuals in front of me at the moment, but I'm pretty sure you can get the JES2 job number without CMS. Of course, this won't work in a JES3 environment. If I remember correctly, you can pick up the JES2 job number from the JCT. Now, there are 2 JCTs, an MVS one and a JES2 one, so be sure to pick up the JES2 one. I don't remember the addressing flow, but it's no more than 3 pointers off of the TCB. Mark
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads