Re: Couple of questions about job id

2024-09-01 Thread Ed Jaffe
On 8/8/2024 7:14 AM, Lennie Bradshaw wrote: Ed, Is the OUCBOMVS flag an indicator that the address space is "dubbed"? Being dubbed is different than being actual OMVS work. Any job type can become dubbed if it calls the right BPXn services. We recognize dubbing by looking for a non-zero

Re: Couple of questions about job id

2024-08-14 Thread Lindy Mayfield
5a2ba9c925b-dmarc-requ...@listserv.ua.edu> Sent: Tuesday, August 13, 2024 2:43 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Couple of questions about job id That field is the closest I've seen. Here's are the values I've found. STC for normal started tasks, including SUB=MSTR,

Re: Couple of questions about job id

2024-08-13 Thread Seymour J Metz
Mayfield <05a2ba9c925b-dmarc-requ...@listserv.ua.edu> Sent: Tuesday, August 13, 2024 2:43 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Couple of questions about job id That field is the closest I've seen. Here's are the values I've found. STC for normal started tasks, inc

Re: Couple of questions about job id

2024-08-13 Thread Lindy Mayfield
UA.EDU Subject: Re: Couple of questions about job id EXTERNAL For a given ASID, look at OUCB +B0. JES2, STC or TSO should appear. That is field OUCBSUBN which is not a programming interface. Its commentary leads me to think that there are additional possible values. Peter Rels

Re: Couple of questions about job id

2024-08-13 Thread Lindy Mayfield
Discussion List on behalf of Lennie Bradshaw Sent: Thursday, August 8, 2024 5:14 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Couple of questions about job id EXTERNAL Ed, Is the OUCBOMVS flag an indicator that the address space is "dubbed"? Lennie -Original Message- Fro

Re: Couple of questions about job id

2024-08-13 Thread Barry Merrill
ELSE IF SUBSYS='OMVS' THEN TYPETASK='OMVS'; ELSE DO; IF PRODUCT='' THEN PRODUCT='';; IF SUBTYPE=. THEN SUBTYPE=.; IF PRODUCT='PERFMON ' AND SUBTYPE=3 THEN DO; TYPETASK='STC'; SUBSY

Re: Couple of questions about job id

2024-08-13 Thread Peter Relson
For a given ASID, look at OUCB +B0. JES2, STC or TSO should appear. That is field OUCBSUBN which is not a programming interface. Its commentary leads me to think that there are additional possible values. Peter Relson z/OS Core Technology Design --

Re: Couple of questions about job id

2024-08-12 Thread Dave Barry
For a given ASID, look at OUCB +B0. JES2, STC or TSO should appear. -Original Message- From: IBM Mainframe Discussion List On Behalf Of Seymour J Metz Sent: Thursday, August 8, 2024 9:20 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXTERNAL] Re: Couple of questions about job id CAUTION

Re: Couple of questions about job id

2024-08-08 Thread Rob Scott
I always thought it was STCBOTCB being non-zero. Rob Scott Rocket Software From: IBM Mainframe Discussion List On Behalf Of Lennie Bradshaw Sent: Thursday, August 8, 2024 3:14 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Couple of questions about job id EXTERNAL EMAIL Ed, Is the OUCBOMVS

Re: Couple of questions about job id

2024-08-08 Thread Lennie Bradshaw
Ed, Is the OUCBOMVS flag an indicator that the address space is "dubbed"? Lennie -Original Message- From: IBM Mainframe Discussion List On Behalf Of Ed Jaffe Sent: 08 August 2024 13:52 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Couple of questions about job id On 8/7/202

Re: Couple of questions about job id

2024-08-08 Thread Seymour J Metz
לֹ֥א יְשַׁקֵּ֖ר From: IBM Mainframe Discussion List on behalf of Robert Garrett <06c5ea04058c-dmarc-requ...@listserv.ua.edu> Sent: Thursday, August 8, 2024 9:50 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Couple of questions about job id What is referred to as "Artificial

Re: Couple of questions about job id

2024-08-08 Thread Robert Garrett
been transpiring on internet forums and mailing lists (like this one) for a long time. -Original Message- From: IBM Mainframe Discussion List On Behalf Of Lindy Mayfield Sent: Wednesday, August 7, 2024 11:36 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Couple of questions about job id Ch

Re: Couple of questions about job id

2024-08-08 Thread Seymour J Metz
lf of Peter Relson Sent: Thursday, August 8, 2024 8:54 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Couple of questions about job id Colin P wrote char *pJBNI; char *pJBNS; pJBNI = (char*)*(long*)(plASCB+ASCBJBNI);// for jobs pJBNS = (char*)*(long*)(plASCB+ASCBJBNS); // for started tasks #d

Re: Couple of questions about job id

2024-08-08 Thread Ed Jaffe
On 8/8/2024 5:54 AM, Peter Relson wrote: You might instead consider ASSBJBNS / ASSBJBNI which are not pointers, rather are the 8-byte values themselves Just learned something! Been using the ASCB pointers to CSCB "forever." Totally missed knowing this character info was copied to ASSB... -

Re: Couple of questions about job id

2024-08-08 Thread Peter Relson
Colin P wrote char *pJBNI; char *pJBNS; pJBNI = (char*)*(long*)(plASCB+ASCBJBNI);// for jobs pJBNS = (char*)*(long*)(plASCB+ASCBJBNS); // for started tasks #define ASCBJBNI 172L #define ASCBJBNS 176L One or the other will be zero The last line is not true as written. For example, within

Re: Couple of questions about job id

2024-08-08 Thread Ed Jaffe
On 8/7/2024 12:35 PM, Steve Horein wrote: I had similar interests not long ago, and got some direction with CHKTRID from Binyamin Dissen and Rob Scott: That is what we use in our code. However, the actual field name is CHTRKID, not CHKTRID. Unfortunately, the CSCB doesn't help identify z/OS

Re: Couple of questions about job id

2024-08-08 Thread Thomas Berg
Fake it til you make it. :D Den ons 7 aug. 2024 18:50roscoe5 < 056b62686b81-dmarc-requ...@listserv.ua.edu> skrev: > Yep. I’ve been impressed by how helpful and dead wrong ChatGPT can be. It > has told me to issue commands that don’t exist, etc. When challenged, > especially if I ask it for th

Re: Couple of questions about job id

2024-08-08 Thread Rob Scott
: Couple of questions about job id EXTERNAL EMAIL On Wed, Aug 7, 2024 at 3:17 PM Tony Harminc wrote: > The job ID is in JSABJBID (ASCBASSB -> ASSBJSAB). But I think the OP's > question was about the *format *of the job ID, and whether there's > anything other than parsing

Re: Couple of questions about job id

2024-08-07 Thread Steve Horein
On Wed, Aug 7, 2024 at 3:17 PM Tony Harminc wrote: > The job ID is in JSABJBID (ASCBASSB -> ASSBJSAB). But I think the OP's > question was about the *format *of the job ID, and whether there's anything > other than parsing the beginning of it to see what kind of address space is > running. JES2 (

Re: Couple of questions about job id

2024-08-07 Thread Dale R. Smith
On Wed, 7 Aug 2024 16:09:21 +, Lindy Mayfield wrote: >For the job id on my system, the name starts STC* for started task, TSU* for >TSO user, JOB* for batch (and sometimes initiatiors), and there seems to be an >'other' category. But I noticed on another system that the jobid names are

Re: Couple of questions about job id

2024-08-07 Thread Tony Harminc
On Wed, 7 Aug 2024 at 14:38, Colin Paice < 059d4daca697-dmarc-requ...@listserv.ua.edu> wrote: > I have a C program which runs control blocks looking at CPU Usage > > char *pJBNI; > char *pJBNS; > pJBNI = (char*)*(long*)(plASCB+ASCBJBNI);// for jobs > pJBNS = (char*)*(long*)(plASCB+ASCBJBN

Re: Couple of questions about job id

2024-08-07 Thread Martin Packer
<05b0b4f1358b-dmarc-requ...@listserv.ua.edu> Date: Wednesday, 7 August 2024 at 20:35 To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXTERNAL] Re: Couple of questions about job id I had similar interests not long ago, and got some direction with CHKTRID from Binyamin Dissen and Rob Scott: On Fri,

Re: Couple of questions about job id

2024-08-07 Thread Steve Horein
I had similar interests not long ago, and got some direction with CHKTRID from Binyamin Dissen and Rob Scott: On Fri, Dec 8, 2023 at 8:12 AM Rob Scott wrote: > > > If the OP is willing to call an interface instead, the use ERBSMFI and get > SMF79-1 records and look at the values in R791TAS. > >

Re: Couple of questions about job id

2024-08-07 Thread Colin Paice
I have a C program which runs control blocks looking at CPU Usage char *pJBNI; char *pJBNS; pJBNI = (char*)*(long*)(plASCB+ASCBJBNI);// for jobs pJBNS = (char*)*(long*)(plASCB+ASCBJBNS); // for started tasks #define ASCBJBNI 172L #define ASCBJBNS 176L One or the other will be zero I dont

Re: Couple of questions about job id

2024-08-07 Thread Seymour J Metz
Discussion List on behalf of Lindy Mayfield <05a2ba9c925b-dmarc-requ...@listserv.ua.edu> Sent: Wednesday, August 7, 2024 12:09 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Couple of questions about job id For the job id on my system, the name starts STC* for started task, TSU* for TSO user, JO

Re: Couple of questions about job id

2024-08-07 Thread Michael Babcock
It’s the Range= on the JOBDEF statement. See the JES2 INIT and Tuning Ref. for more info. On Wed, Aug 7, 2024 at 11:50 AM Michael Babcock wrote: > If I remember correctly, the name’s first few characters are different > based on the max job numbers set in JES2. Using large job numbers means >

Re: Couple of questions about job id

2024-08-07 Thread Michael Babcock
If I remember correctly, the name’s first few characters are different based on the max job numbers set in JES2. Using large job numbers means there is less room for the first few non numeric characters. On Wed, Aug 7, 2024 at 11:09 AM Lindy Mayfield < 05a2ba9c925b-dmarc-requ...@listserv.ua.e

Re: Couple of questions about job id

2024-08-07 Thread roscoe5
Yep. I’ve been impressed by how helpful and dead wrong ChatGPT can be. It has told me to issue commands that don’t exist, etc. When challenged, especially if I ask it for the IBM manual for reference, it often backs up, apologies, and gives a revised answer. But sometimes it is very helpful. Se

Re: Couple of questions about job id

2024-08-07 Thread Lindy Mayfield
ChatGpt was by the way wrong. There is no ASCBTYP field in the ASCB with a hex value that says STC, TSU, JOB, etc. A little googling shows from where it got that confusion. This is still impressive the answer AI gave. At least to me. / By the way, still looking for what control block co

Re: Couple of questions about job id

2024-08-07 Thread Lindy Mayfield
:09 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Couple of questions about job id EXTERNAL For the job id on my system, the name starts STC* for started task, TSU* for TSO user, JOB* for batch (and sometimes initiatiors), and there seems to be an 'other' category. But I noticed on anoth

Couple of questions about job id

2024-08-07 Thread Lindy Mayfield
For the job id on my system, the name starts STC* for started task, TSU* for TSO user, JOB* for batch (and sometimes initiatiors), and there seems to be an 'other' category. But I noticed on another system that the jobid names are different. Out of curiosity, where is that naming defined? I