Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example of using TESTART z/OS MVS Programming: Extended Addressability Guide SA23-1394-00 |
|
In the following example, the stacking PC routine validates the caller's ALET to reduce the probability of taking a program check referencing storage. Only ALETs of 0 or ALETs on the DU-AL are valid for a space-switch PC routine. Because the primary and secondary address spaces have changed at the space-switch, an ALET of 1 or an ALET on the PASN-AL are not valid. The following code checks for ALETs of 0 and 1. It then changes
the ALET of 0 to 1 to reflect the change in primary and secondary
address space at the space switch.
|
Copyright IBM Corporation 1990, 2014
|