I thought what the hek and asked chatgpt. Mind blown. Slightly. ///
I asked: I want to find out what type of job a particular z/OS address space is, so in which z/OS control block can I find out if it is a batch job, a started task, a TSO user, or any other? ChatGPT In z/OS, you can determine the type of a particular address space (whether it is a batch job, a started task, a TSO user, etc.) by examining the Address Space Control Block (ASCB). Here’s how you can identify the type of address space: 1. ASCB Control Block: The ASCB contains information about the address space, including its type. 2. ASCBTYP Field: Within the ASCB, the field ASCBTYP identifies the type of the address space. The values of ASCBTYP indicate whether the address space is a batch job, a started task, a TSO user, etc. The possible values of ASCBTYP are: * 0x01: TSO User * 0x02: Started Task * 0x03: Batch Job * Other values are reserved for various other types of address spaces. You can use tools like IPCS (Interactive Problem Control System) or a similar system programming interface to browse the ASCB and check the ASCBTYP field for the address space in question. Here is a brief example using IPCS: text Copy code IPCS> VERBX ASCB Then, locate the ASCBTYP field in the output to determine the type of the address space. Would you like more detailed instructions on how to use IPCS or another method to check this information? === And it only gets worse: Me: In which SYS1.PARMLIB member do I modify and how in order to define the how Job ID's are named? ChatGPT To define how Job IDs are named in z/OS, you need to modify the IEASYMxx member in the SYS1.PARMLIB dataset. Specifically, you will configure the JOBDEF parameter. Here’s how you can modify IEASYMxx to define the Job ID naming convention: === Then it goes on do give detail information how to do it. ________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Lindy Mayfield <000005a2ba9c925b-dmarc-requ...@listserv.ua.edu> Sent: Wednesday, August 7, 2024 7:09 PM To: IBM-MAIN@LISTSERV.UA.EDU <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 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