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
In COBOL programming, what is PERFORM? What is VARYING?
How many sections are there in data division in COBOL?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
Can we change the password using ALTER? anyone tried and changed?
Name the sections present in data division.
Write a cobol program making use of the redefine clause.
What are the various section in data division and briefly explain them.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
how do you reference the esds vsam file formats from cobol programs
What is the LINKAGE SECTION used in COBOL?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
what is the use of outrecord?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What is redefines clause in COBOL?
Whats the difference between search & search ALL?