> LOCTR is your friend.

I had a look at LOCTR before posting. A possible drawback of LOCTR the macro's 
LOCTR might not be the last one in the CSECT. The static data the macro 
generates might lead other data in later LOCTR sections to be moved out of the 
USING range. I cannot control the macro's LOCTR will the last one in any case.


Sure, it is not a problem to tell the user about this fact in the macro 
descriptin, so he/she can make sure other LOCTRs are started before the first 
invocation of my macro. I was just looking if there is a failsafe way to 
achieve what I want. An own CSECT would have been, but I inderstand the 
drawbacks of unnamed CSECT, mostly imortant in the context of SMP/E. Although I 
do not expect the macro to be used in an SMP/E context, but you never know.


I'll got the LOCTR way, and will add a corresponding comment.


--
Peter Hunkeler



Reply via email to