Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
ASASYMBM — Substitute text for symbols z/OS MVS Programming: Assembler Services Reference ABE-HSP SA23-1369-00 |
|||||||||||||||||||||||||||||||
DescriptionNote: ASASYMBM is a linkable system service.
Use the ASASYMBM service to substitute text for system symbols. You can
explicitly call ASASYMBM to substitute text for system symbols in application
or vendor programs. The system calls ASASYMBM automatically for system symbols that are
specified in:
The caller of ASASYMBM provides an input string to be substituted (a pattern), an output buffer, and optionally a table of system symbols and associated values. ASASYMBM substitutes values for the system symbols that it finds in the input string. ASASYMBM places the results of the substitution in the specified output buffer. EnvironmentThe requirements for the caller are:
Programming requirements
For more information about providing input to ASASYMBM in the ASASYMBP mapping macro, see the section on using the symbol substitution service in z/OS MVS Programming: Assembler Services Guide. RestrictionsThe caller cannot have any enabled, unlocked task (EUT) FRRs established. Input register informationBefore linking to ASASYMBM, the caller must ensure that the following
general purpose registers (GPRs) contain the specified information:
Before linking to ASASYMBM, the caller does not have to place any information into any access register (AR). 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 implicationsThis service is not appropriate for use in a performance-sensitive area. SyntaxUse the following form of the LINK macro to invoke the ASASYMBM
service:
>>-label--------------------------------------------------------> >--+-LINK--EP--=--ASASYMBM--,--MF--=--(--E--,--parmarea--)--------------------------------------+->< '-LINKX--EP--=--ASASYMBM--,--MF--=--(--E--,--parmarea--)--+--------------------------------+-' '-,--SF--=--(--E--,--parmlist--)-' Note: As an alternative to using LINK or LINKX, callers in 31-bit
AMODE can also:
ParametersThe parameters are explained as follows:
Return and reason codesWhen the ASASYMBM service returns control to your program, the area pointed to by the SYMBPRETURNCODE@ field of the caller-provided ASASYMBP area contains a return code.
Examples of calls to ASASYMBMFor examples of calls to ASASYMBM, see the section that describes the symbol substitution service in z/OS MVS Programming: Assembler Services Guide. |
Copyright IBM Corporation 1990, 2014
|