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


Please Help Members By Posting Answers For Below Questions

how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1639


Can we redefine the field of x(200) to less than 200?

805


What are various search techniques in cobol? Explain.

637


What is perform what is varying?

693


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

404






Discuss about changing dataset name in proc.

755


Give some examples of command terminators?

747


Write the code implementing the perform … varying.

635


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

671


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2714


How many sections are there in data division in COBOL?

670


What is the LINKAGE SECTION used in COBOL?

881


How you can read the file from bottom?

652


Explain the configuration section of a cobol program with examples of syntax.

646


how do you reference the printer file formats from cobol programs

643