Well, it seems to me that the lack of any message on the AL2 is a bug.
Correct me if I'm wrong, but I think Y-cons are signed, so it will warn
for anything over 32k-1. AL2 is unsigned, but I don't think it's
defined as a modulo function.
sas
On 3/25/2016 18:43, John P. Hartmann wrote:
Use a Y type constant.
00000000 1170 1 dc al2(70000)
00000002 142C 2 dc y(70700)
** ASMA072E Data item too large
3 end
On 03/25/2016 11:00 PM, Ngan, Robert wrote:
I had a program that was generating a (non-relocatable) value larger
than 65535 within an AL2 constant, and it's being silently truncated.
A (brief) look at the manuals did not reveal any options for flagging
this type of error. Did I miss something, or is there no way to flag
this condition?
Robert Ngan
CeleritiFinTech
CSC - This is a PRIVATE message - If you are not the intended
recipient, please delete without copying and kindly advise us by
e-mail of the mistake in delivery. NOTE: Regardless of content, this
e-mail shall not operate to bind the Company to any order or other
contract unless pursuant to explicit written agreement or government
initiative expressly permitting the use of e-mail for such purpose.