Unsurprised ChatGPT hallucinated. I once tried asking it to write me blog posts 
– and it hallucinated like mad. “I’ll some of what it’s having.” 😊

For balance, I tried the same thing on what I’m supposed to be enthusiastic 
about and it hallucinated just as badly.

I suspect we’ll get to the point where writers don’t care about what they write 
and readers don’t care about what they’ve read… ☹ 😊

More seriously, some customers have 5-digit jobids; Some have 7. Cater for both 
if product code. (I try to.)

Cheers, Martin

From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of 
Steve Horein <000005b0b4f1358b-dmarc-requ...@listserv.ua.edu>
Date: Wednesday, 7 August 2024 at 20:35
To: IBM-MAIN@LISTSERV.UA.EDU <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, Dec 8, 2023 at 8:12 AM Rob Scott <rsc...@rocketsoftware.com> 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.
>
> CHKTRID is a good place to start if you are trying to work this out from
> control blocks yourself, but there are a few nuances to consider (assuming
> you have the ASCB address for the ASID) :
>
> (o) If ASCBJBNI is non-zero, you need to get the CSCB from CHCSCBP (based
> CHNAME on ASCBJBNI)
> (o) If ASCBJBNI is zero, use ASCBCSCB
> (o) If CHJOBID, then you might have a JOB, but it will be STC if ASCBJBNI=0
> (o) CHTSID = TSU
> (o) Otherwise you have an STC, but then you need to identity ASCH, OMVS
> and INITs from jobnames
>
> If you then want to accurately populate fields like “STEPNAME” and
> “PROCSTEP”  you need to be careful as they can come from different places
> depending on the logic above.
>
> It is a bit messy TBH.
>
> Also bear in mind that ASID(0001) is called “SYSLOG” 😊
>
> Rob Scott
> Rocket Software
>
>

On Wed, Aug 7, 2024 at 11:09 AM Lindy Mayfield <
000005a2ba9c925b-dmarc-requ...@listserv.ua.edu> 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 different.   Out of curiosity, where is that naming defined?  I
> didn't find it in the usual places.
>
> Since the naming convention can change, is there another way to find out
> the job type, STC, JOB, TSU, etc, in a control block somewhere?  My program
> is already going through all the ASCB and related control blocks, so that
> would be the best place to look for that info.
>
> Thanks for your help. 🙂
>
> Kind regards,
> Lindy
>
>
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Unless otherwise stated above:

IBM United Kingdom Limited
Registered in England and Wales with number 741598
Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to