Search found 1 match

by manitesh_kumar
Tue Sep 11, 2007 1:12 pm
Forum: COBOL
Topic: solve it
Replies: 10
Views: 27477

Re: what if I code like this?

What happens if I code like this? working-storage section. 77 A PIC 9 VALUE IS 1. : PROCEDURE DIVISION. EVALUATE TRUE WHEN A <2 DISPLAY "CASE2" WHEN A = 1 DISPLAY "CASE1" WHEN OTHER DISPLAY "OTHER" END-EVALUATE. which will be displayed? Is it CASE2? once any condition for the Evaluate clause is sat...