z/OS TSO/E Programming Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Copying Data to and from Alternate Address Spaces

z/OS TSO/E Programming Guide
SA32-0981-00

You can use the ARFROM and ALETFROM keywords on the COPY subcommand to copy data from alternate address/data spaces to other locations. Similarly, you can use the ARTO and ALETTO keywords to copy data to storage in alternate address/data spaces. The ARTO and ARFROM keywords allow you to specify the number of the access register to be used to reference data in an alternate address/data space. Use the ALETTO and ALETFROM keywords to specify from one to eight hexadecimal characters that indicate which address/data space is to be referenced.

The following examples show the use of the COPY subcommand to copy data to and from alternate address/data spaces.
Subcommand
Function
COPY 13R? 1000. ARTO(5) LENGTH(72)
Copies 72 bytes starting at the location pointed to by register 13 to location 1000 in the address/data space indicated by access register 5.
COPY 1R? A080. ARFROM(1) ALETTO(40C3A)
Copies 4 bytes of storage at the location pointed to by register 1 in the address/data space indicated by access register 1 to location A080 in the address/data space indicated by the ALET value 40C3A.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014