Well, I did write (with a typo) "The suggested LAY could be IILF to support 
length of 2 MiB or longer." Since the two have the same length, IILF would seem 
to be the obvious way to go for ARCHLVL=7, unless repeated values are expected, 
making the use of L and literal more reasonable.

I'm explicitly not suggesting LY and a literal, since the LY by itself is as 
long as an IILF.

-- 
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר



________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Peter Relson <[email protected]>
Sent: Sunday, October 20, 2024 10:33 PM
To: [email protected]
Subject: Re: z/OS macros with ARCHLVL=7

Caution: This email did not originate from George Mason’s mail system. Do not 
click links or open attachments unless you recognize the sender and know the 
content is safe.


Shmuel had suggested
LAY   0,&LENGTH
That would not work in general; it does not support a big enough operand.
LLILF would work, so we'll just consider LAY to have been a typo. He of course 
knows what he's talking about.

It is true that old macros did not generally use literals. That is not 
surprising when your addressability was to code. Your literal might not land in 
the same addressability range as your code (you might not have addressability 
to the entire module through base regs). Once you don't need code 
addressability but can be expected to have static data addressability, literals 
become reasonable. Unconditionally introducing literals could be incompatible. 
Specification of SYSSTATE with ARCHLVL > 0 effectively identifies that you are 
OK with literals.

Peter Relson
z/OS Core Technology Design


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to