What R 2 of the common forms of the EVALUATE STATEMENT ?
Answer / scott
You can evaluate TRUE or FALSE conditions or you can
interigate the value of a field
1)
EVALUATE TRUE
WHEN A = 1
PERFORM SOMETHING
WHEN A = 2
PERFORM SOMETHING ELSE
END-EVALUATE
2)
EVALUATE A
WHEN 1
PERFORM SOMETHING
WHEN 2
PERFORM SOMETHING ELSE
END-EVALUATE
| Is This Answer Correct ? | 15 Yes | 2 No |
what are the control characters used in reports
subscript and index r not coded in u r application program what will happen?
What is the difference between NEXT SENTENCE and CONTINUE?
wht r the advantages of 77 level number ?
How do you get the data to code the BMS macro?
consider the following piece of code 01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable
hi dudes.....can any one help me..... what is SET TO TRUE all about,anyway?
i have variable record in the 5th, i want to sort from 5th filed ? how ?
What is Alternate Index ? How is it different from regular index ?
plz any one tell clearly the justify right clause?
There is a production file which has millions of records in it.The program that uses it ends up with an SOC7 abend.It is sure that the abend is due to some invalid data in the file.Is there any way to debugg the SOC7 abend with out giving displays? I need the record which is cause for the abend.
what is the difference b/w level no.01 & level no.77?