On Monday, 8 February 2016 01:06:11 UTC, Bill Woodger  wrote:
> ZONEDATA(MIG) may do part of what you want for V5. I thought I saw something 
> about the possibility of a new compiler option to do a similar thing for 
> packed-decimals. If that were to exist as well, and you used NUMPROC(NOPFD) 
> you'd at the very least be close to NUMPROC(MIG) for V5.
> 

Confirmed as a dream. Realised about three minutes after I got into bed. Stayed 
there, it was Sunday. Actually it wasn't, it was already today.

This is what I was thinking of:

"For bad data in zoned-decimal data items, we have
something coming:
• SSRANGE-like checking for zoned-decimal data items!"

From S16615 - How to Take Advantage of the New COBOL V5 Compiler.pdf

NUMPROC(NOPFD) already deals interestingly with sign-problems for 
packed-decimal, so nothing new needed. Whether the same as with NUMPROC(MIG) I 
haven't checked.

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

Reply via email to