Ah crap. You are correct. As was Tom. I agree way better than before. I really dislike hidden errors.
Thanks for straightening me out folks. On Tue, Jul 25, 2017 at 5:26 PM, Bernd Oppolzer <[email protected]> wrote: > Am 25.07.2017 um 22:31 schrieb Cameron Conacher: > >> Hello Tom, >> >> Clearly I phrased things incorrectly. >> I meant exactly that old compiler versions raised the warning message to >> the effect that the VALUE IS clause was being ignored, if the VALUE IS >> clause was present in the LINKAGE Section. >> >> However, this is now treated as a hard compiler error in COBOL 6.1 >> > > No, a correct VALUE clause in the LINKAGE section is not an error > with the new compiler. It is legal and good code, no warning. > > Only BAD VALUE clauses (for example: character values for numeric data) > are now errors, which were not detected in prior releases, because > the whole VALUE clause was treated as a comment (in the LINKAGE section). > > This is BETTER than before (hidden errors now are detected). > IMO, there is no need to complain. > > ---------------------------------------------------------------------- > 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
