ORG *,8 doesn't do anything that DS 0D doesn't do, but ORG *,256 has no DS 
equivalent.

The syntax diagram in the HLASM reference shows ORG ,8 to be invalid syntax, so 
there is no way that the message could be legitimate; there should have been a 
message for syntax error.

Of course, it would be nice if there were valid syntax for specifying high 
water mark with alignment.


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


________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Peter Relson <[email protected]>
Sent: Wednesday, September 30, 2020 9:13 AM
To: [email protected]
Subject: ASMA500W using _boundary_ on ORG statement

>ORG  *,8

Curious: Does this do anything that "DS    0D" doesn't do?
Wouldn't "DS    0D" be more typical for "I want the next thing to be on a
doubleword boundary?
It certainly is for those of us who learned assembler long before SECTALGN
(and this form of ORG) even existed.

It might be true that the ASMA500W message is not the write message for
"ORG ,8" but that is assuming that you know what boundary is being
processed for such a case. The "null" first operand might have some effect
on things. Or maybe it really is just a parsing glitch (and is an error).

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