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 know about TSO Colin On Wed, 7 Aug 2024 at 17:09, 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