HLASM Mavens,
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.asma400/depuse.htm
discusses dependent USINGs. The syntax is as follows:
>>-+-----------------+-USING-+-base-------------+-,address-----><
+-label-----------+ '-(base-+------+-)-'
'-sequence_symbol-' '-,end-'
where:
address
Is a simply relocatable expression that represents an implicit
address within the range of an active USING instruction. The
range of an active USING is considered to be that which is valid
for generating 12 bit or 20 bit displacements.
This statement about 20-bit displacements appears to be incorrect. Any
attempt to specify an implicit "address" outside the range of a 12-bit
displacement generates msgASMA307E. For example:
. R:4 000000 199 USING BigArea,R4
.000000 EB80 4F40 0156 001F40 200 OIY Byte,Bit
. 201 USING TinyArea,Byte
.** ASMA307E No active USING for operand Byte
.000006 0000 0000 0000 000000 202 OIY TinyFlag,Bit
.** ASMA307E No active USING for operand TinyFlag
.000000 000000 001F48 204 BigArea DSECT ,
.000000 205 DS 8000X'00'
.001F40 206 Byte DS XL1
. 000080 207 Bit EQU X'80'
.001F41 208 DS XL7
.000000 000000 000001 210 TinyArea DSECT ,
.000000 211 TinyFlag DS XL1
. 213 END ,
Is there any way to make this work as documented?
Thanks,
Ed Jaffe
--
Phoenix Software International
Edward E. Jaffe
831 Parkview Drive North
El Segundo, CA 90245
http://www.phoenixsoftware.com/
--------------------------------------------------------------------------------
This e-mail message, including any attachments, appended messages and the
information contained therein, is for the sole use of the intended
recipient(s). If you are not an intended recipient or have otherwise
received this email message in error, any use, dissemination, distribution,
review, storage or copying of this e-mail message and the information
contained therein is strictly prohibited. If you are not a intended
recipient, please contact the sender by reply e-mail and destroy all copies
of this email message and do not otherwise utilize or retain this email
message or any or all of the information contained therein. Although this
email message and any attachments or appended messages are believed to be
free of any virus or other defect that might affect any computer system into
which it is received and opened, it is the responsibility of the recipient
to ensure that it is virus free and no responsibility is accepted by the
sender for any loss or damage arising in any way from its opening or use.