Did you assemble and bind (link) with TEST?

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Assembler List <[email protected]> on behalf 
of Janko Kalinic <[email protected]>
Sent: Monday, March 11, 2019 10:47 AM
To: [email protected]
Subject: TSO TEST EQUATE

I can not access symbols in a DSECT after I establish addressability to the
DSECT as documented below.

Regards,
John  K

<snip from TSO/E Programming Guide>

Symbols within DSECTs are available only if the DSECT name has been defined
with the EQUATE subcommand.  For example, if NAME is a symbol in a DSECT
named DATATBL, then to access the data associated with NAME, you would first
have to determine the address to be used as a base address for the DSECT.
(This is the address in the register on the assembler USING instruction.)
If the address is in register 7, you can enter:  equate datatbl 7r%  This
establishes addressability to the DSECT, allowing the symbol NAME and all
other symbols in the DSECT to be accessed using the symbol.

</snip>

Reply via email to