Hi, As I'm playing a bit with an ENQ-function, I wonder how ENQ's work when doing dynamic allocation. Normally - as I understand - an ENQ is always released when the (sub)task terminates (or doing DEQ). E g when doing an ENQ in a rexx it's released at exit. But if You e g do an allocation in the same rexx its ENQ is kept thru the entire TSO session or until You free the dataset. Does this mean that the ENQ in this case is assigned to the main task (TSO) or is there another mechanism in work ?
Regards, Thomas Berg __________________________________________ Thomas Berg Specialist IT-U SWEDBANK ---------------------------------------------------------------------- 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

