Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example of Adding an Access List Entry for a Data Space z/OS MVS Programming: Extended Addressability Guide SA23-1394-00 |
|
The following code uses DSPSERV to create a data space named TEMP.
The system returns the STOKEN of the data space in DSPCSTKN and the
origin of the data space in DSPCORG. The ALESERV ADD macro adds an
entry to a DU-AL and returns the ALET in DSPCALET. The program then
establishes addressability to the data space by loading the ALET into
AR 2 and the origin of the data space into GPR 2.
Using the DSECT that the program established, the program can easily manipulate data in the data space. A more complete example of manipulating data within this data space appears in Example of creating, using, and deleting a data space. |
Copyright IBM Corporation 1990, 2014
|