wht is the diff b/w if and evaluate stmts ?
Answers were Sorted based on User's Feedback
Answer / ankit
evaluate is used to reduce the complexity of IF ELSE
statements .both of two are condition handling statements
| Is This Answer Correct ? | 19 Yes | 0 No |
Answer / chandrababu naidu
Both if and evaluate perform same thing. but by perform
multiple if conditions choose evaluate is best thing.
evaluate reduces multiple if's and decrease burden.
| Is This Answer Correct ? | 0 Yes | 0 No |
if a pic 9(3) value 354,b pic x(2) value '46' then a)a>b 2)a<b 3)error
How you can read the file from bottom?
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(9) VALUE SPACES. 01 WS-VARN REDEFINES WS-VARX PIC 9(9).
What is the size of s9(19)comp3? explain
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.
we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?
what is label record is standard or omitted in file description of data division?
diffrence between z(2) and z9(2)
File status must be checked both while opening and reading the file or only while reading the file?
i have n records in one file and in this file there is some fields and i want to count that how many sharma in my file so plz give the coding that how we read sharma ?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?