study the following code
01 A1
05 B PIC 99
05 C PIC X(4)
01 A2
05 B PIC 99V99
05 C PIC A(4)
pick out the valid statement from the following
a.A1 and A2 can not have sub-ordinates
b.A1 and A2 can have the same sub-ordinates but must have
same PIC clause
c.there is nothing wrong
d.A1 and A2 can have same sub-ordinates provided they are
not at 01 level
Answer Posted / dimpy19
c.there is nothing wrong
WORKING-STORAGE SECTION.
01 A1.
05 B PIC 99.
05 C PIC X(4).
01 A2.
05 B PIC 99V99.
05 C PIC A(4).
PROCEDURE DIVISION.
DISPLAY 'HELLO'.
STOP RUN.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What guidelines should be followed to write a structured cobol prgm?
What is link edit in cobol?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is the local-storage section?
How are the next sentence and continue different from each other?
What are the different types of condition in cobol and write their forms.
What is the difference between Global and External Variables?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What is the difference between PIC 9.99 and PIC9v99?
In COBOL, what is the different between index and subscript?
how do you define single dimensional array and multidimensional array in your cobol?
What is the difference between PIC 9.99 and 9v99 in COBOL?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
) what is the difference between AID and HANDLE AID?