Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
WXTRN instruction HLASM Language Reference SC26-4940-06 |
|
The WXTRN statement identifies "weak external" symbols referred
to in a source module but defined in another source module. The WXTRN
instruction differs from the EXTRN instruction (see EXTRN instruction)
as follows:
>>-+-----------------+--WXTRN-----------------------------------> '-sequence_symbol-' .-,-------------------------------. V | >----+-external_symbol-------------+-+------------------------->< | .-,---------------. | | V | | '-PART(---external_symbol-+-)-'
The external symbols identified by a WXTRN instruction have the same properties as the external symbols identified by the EXTRN instruction. However, the type code assigned to these external symbols differs. V-Type Address Constant: If a symbol, specified in a V-type address constant, is also identified by a WXTRN instruction, it is assigned the same ESD type code as the symbol in the WXTRN instruction, and is treated by the linkage editor as a weak external symbol. If an external symbol is identified by both an EXTRN and WXTRN instruction in the same source module, the first declaration takes precedence, and subsequent declarations are flagged with diagnostic messages. |
Copyright IBM Corporation 1990, 2014
|