I need to update common storage from my IEFU85 SMF exit. I am currently using a compare and swap loop to serialize on this update but I think there is a problem with this approach and looking at using SETLOCK. My question is...
IEFU85 is in cross memory mode. I need the CMS lock. To get the CMS lock you must have the CML or LOCAL lock first. Since IEFU85 is in cross memory mode must I get the CML lock or can I get the LOCAL lock? Part 2: If I must get the CML lock which address space should I place in R11? Note: I never used locking before so if I have stated anything incorrectly, please correct me. I also have not delted with cross memory before. Part 3: To issue the SETLOCK command, do I have to worry about AR mode before issuing in an SMF exit? Thanks ---------------------------------------------------------------------- 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

