Hello: If you do (for example) a VSMLOC PVT,AREA=((R4),(R0)),TCB=VSMLCTCB by one task (I will call it TCB123) and it completes RC=0, but the TCB returned in the VSMLCTCB field is another task (I will call it TCB456), what is this really telling me? The RC=0 (at the time VSMLOC processing determined it was to be RC=0) says that the "The specified virtual storage area is allocated.", but...
1) Can the TCB123 task really access this storage successfully? (Assume this is just key-8 non-fetch-protected storage, and I want to access read-only) 2) Is there not the possibility that after VSMLOC has determined it will return a RC=0, that the TCB456 task could freemain (release) this storage? I am trying to understand better the RC=0 when the TCB that has obtained the storage (TCB456) is different than the TCB issuing the VSMLOC (TCB123). Thank you. Paul ---------------------------------------------------------------------- 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

