consider the following two IF statements:
IF X AND NOT Y MOVE A TO B
IF Z=1 OR 9 MOVE A TO B
select one of the following data divusion entries which
gives identical
results for both the above IF statements
a.01 Z PIC 9
88 X VALUE 1.9
88 Y VALUE 0.2 THRU 8
b.01 Z PIC 9
88 X VALUE 0.2 THRU 8
Y VALUE 1.9
c.01 Z PIC 9
88 X VALUE 1.9
88 NOT-Y VALUE 0.2 THRU 1.9
d.none of yhe above
Answer Posted / dimpy19
there should not be any PIC clause defination on 01 level
01 Z PIC 9
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Can we redefine the field of x(200) to less than 200?
What are various search techniques in cobol? Explain.
What is perform what is varying?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
Discuss about changing dataset name in proc.
Give some examples of command terminators?
Write the code implementing the perform … varying.
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
How many sections are there in data division in COBOL?
What is the LINKAGE SECTION used in COBOL?
How you can read the file from bottom?
Explain the configuration section of a cobol program with examples of syntax.
how do you reference the printer file formats from cobol programs