gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[open-cobol-list] 2002/85 syntax question


From: Roger While
Subject: [open-cobol-list] 2002/85 syntax question
Date: Mon Mar 7 06:00:44 2005

Bill, can you clarify this :

CALL "XYZ"
  ON EXCEPTION
      ADD something TO somethingelse
  NOT ON EXCEPTION
       do something else
END-CALL.

Problem here is that the "NOT ON" is a possible
conditional (SIZE ERROR) for the "ADD".
This turns up in the NIST tests (specifically IC222A).

The syntax in itself is clear but I am unsure about
the interpretation in 2002. After reading 14.4, I am
still unclear about statement termination. In other words,
in the syntax above should we necessarily have an "END-ADD" ?

Incidentally, OC borks on this.

Roger





reply via email to

[Prev in Thread] Current Thread [Next in Thread]