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 are the pertinent COBOL
How many sections are there in data division in COBOL?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
How do u write test cases?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
How to remove 2 duplicate records and copy only one using job control language?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is the usage of comp fields in cobol?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
how do you reference the esds vsam file formats from cobol programs
Write down the divisions of cobol program?
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)?
Discuss about changing dataset name in proc.
What is rmode(any) ?