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 to use the same COBOL program in Batch and CICS on lines? explain with an example
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
) How do u handle errors in BMS macro
i want a program using by if, evaluate , string, unstring, perform, occurs?
Write down the divisions of cobol program?
What is report-item in COBOL?
what is difference between cobol and cobol/400
What are the pertinent COBOL
What do you understand by psb and acb?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Can we redefine the field of x(200) to less than 200?
How you can read the file from bottom?
What is the usage of comp fields in cobol?