Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
VSMREGN — Obtain private area region size z/OS MVS Programming: Authorized Assembler Services Reference SET-WTO SA23-1375-00 |
|||||||||||||||||||||||||||||||||||||||||||||||||
DescriptionThe VSMREGN macro provides the virtual starting address and sizes of the private area user regions associated with a given TCB in the current address space. For more information about the user region, see z/OS MVS Initialization and Tuning Guide. EnvironmentThe requirements for the caller are:
Programming requirementsNone. RestrictionsNone. Input register informationBefore issuing the VSMREGN macro, the caller must ensure that the
following general purpose registers (GPRs) contain the specified information:
Output register informationWhen control returns to the caller, the GPRs contain:
When control returns to the caller, the ARs contain:
Some callers depend on register contents remaining the same before and after issuing a service. If the system changes the contents of registers on which the caller depends, the caller must save them before issuing the service, and restore them after the system returns control. Performance implicationsNone. SyntaxThe VSMREGN macro is written as follows:
ParametersThe parameters are explained as follows:
ABEND codesNone. Return and reason codesWhen control returns from VSMREGN, GPR 15 always contains a return code of zero, indicating successful completion. Example 1Find the virtual address and length of the private area of the
TCB whose address is in PSATOLD. Return the information in the work
area whose address is given in register 2.
Example 2Find the virtual address and length of the private area of the
TCB specified in register 3. Return this information in the work
area whose address is given in register 2.
Example 3Find the virtual address and length of the private area of the
TCB whose address is X. Return this information in the work area
whose address is given in register 2.
Example 4Find the virtual address and length of the private area of the
TCB whose address is given in register 3. Return this information
in the work area whose address is X.
|
Copyright IBM Corporation 1990, 2014
|