On Sun, 20 Nov 2016 22:16:38 GMT "[email protected]" <[email protected]> wrote:
:>Im looking for some guidelines when validating any address passed to a PC Service Routine. :>Should the Validation be done in The PC Service Routine *or* in the callers :>interface routine provided by the Service Address Space. Both, but primarily the PC as the PC can be issued directly. . :>What would be the recommended method to validate all Address Passed to :>the PC Service Routine ? Always access the storage in user/caller key (unless you hold the local lock of the target address space the entire time, at which point the storage will not change keys). :>What Instructions ? what Macros - Callable Services ? Standard instructions. If you wish to provide a return code indicating invalid address (instead of a percolated abend), user an ARR to set the return code. -- Binyamin Dissen <[email protected]> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
