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
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What is the LINKAGE SECTION used in COBOL?
In which area will you utilize 88 level items in cobol?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Have you used comp and comp-3 in your project? And how?
Explain how you can characterize tables in cobol?
Which division and paragraphs are mandatory for a COBOL program?
What is the difference between PIC 9.99 and PIC9v99?
How to know whether the module is dynamical or statistical?
What is static and dynamic call in cobol?
What are the rules of the move verb?
What is amode(24)?
What are literals?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
When is inspect verb is used in cobol?