>I need to know the dataset names of the files that are allocated (DD stmts) of >a STC. >Can some one point me to the initial CB, I looked at TCB , do I assume this is >the >place to start ?
Start with the PSA at absolute address zero (IHAPSA). Field PSATOLD contains the address of the current TCB (IKJTCB). Field TCBTIO contains the address of the Task Input Output Table (TIOT - mapped by IEFTIOT1). The TIOT is an array containing one or more entries for each DDNAME (field TIOEDDNM). Within the TIOT entry, field TIOEJFCB contains a three byte address of the Job File Control Block (JFCB). The JFCB contains the DSNAME. I will send separately a little ASM subprog that does this and a bit more. John ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

