Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
The new address space as cross memory user z/OS MVS Programming: Extended Addressability Guide SA23-1394-00 |
|
Parameters on the ASCRE macro enable the creating program to establish the second type of cross memory environment — one in which cross memory linkages enable the new address space to use the PC services provided by the creating program's address space. The environment is in place as soon as ASCRE processing is complete. The cross memory environment that ASCRE can set up is described
in Figure 1. Programs in the new address space (PGM1
and PGM2) can call PC routines (PCRTN1 and PCRTN2) in the creating
program's address space. (ASCRE cannot set up the environment where
programs in the creating program's address space can call PC routines
in the new address space.)
Figure 1. An example
of cross memory environment set by the ASCRE macro
There are three cross memory parameters on ASCRE. TKLIST and LXLIST can be used to connect an entry table (or tables) of the creating program's address space to the linkage table of the new address space. AXLIST can be used to set the values in the authority table of the new address space so that programs in the creating program's address space have PT and SSAR authority to the new address space. The effect of the cross memory parameters is the same as if the new address space issued the ATSET and ETCON macros, macros that require a program to be in supervisor state or key 0 - 7. The three cross memory parameters require that you provide the
addresses of three lists. The lists are:
The output of the AXRES and LXRES macros provides the input to
the AXLIST and LXLIST parameters. You must build the list that is
input to the TKLIST parameter. The following description of the parameters
includes the format of the list you provide the TKLIST parameter.
If the creating address space is to be a service provider for the
new address space, the creating program (or another program in the
same address space) must have issued the following cross memory macros
before it issues the ASCRE macro:
On the ASCRE macro, the creating program can:
Figure 2 shows the same cross memory environment
that Figure 1 showed. The creating address space would
give the following input to ASCRE:
The AXLIST parameter sets the authority table in the new address
space so that PC routines in the creating address space can have address
space authorization to the new address space. TKLIST and LXLIST connect
the entry table in the creating address space to the new address space's
linkage table.
Figure 2. The cross memory
linkages set by the ASCRE macro
The AXLIST parameter is not always needed to set up the cross memory linkages. If the address space to which the creating program needs access has only one AX value and that value is 1, the system does not need to initialize entries in the new address space's authority table. (An AX of 1 is a fully-authorized AX value that permits the address space to issue PT and SSAR instructions to any active address space.) If all AX values are 1, you can omit the AXLIST parameter. |
Copyright IBM Corporation 1990, 2014
|