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 contains the type of job. The AI was an unintended side track. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN