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
Answers were Sorted based on User's Feedback
Answer / satya prakash
a. A1 and A2 can not have subordinates because the size of
the group item A1 is differ from A2.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / asmara
B is the right answer because if the level and sub-
ordinates must be same as well as the same PIC clause must
be there. where B PIC clause is differ.
If i am wrong let me inform to my mail..
Regards,
Asmara
| Is This Answer Correct ? | 0 Yes | 5 No |
what are the paramater we cannot use in procedure?how many instream we can write in single jcl?can we call instream to catalog and ctalog to instream?
What is level 66 used for ?
SIGN TRAILING SEPARATE field occupy ?
Read filea And file b write the same records in both files? Records in a but not in b record in b but not in a
01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?
How much salary you are expecting? If they ask in an interview, what we have to tell?
6 Answers Tech Mahindra, Wipro,
With in these three which one is the default one Call Reference, Call By Value, Call By Content.-Which one is default?
What is R-mode and A-mode?
What is the difference between PIC 9.99 and 9v99 in COBOL?
0 Answers SwanSoft Technologies,
how do you reference the variable block file formats from cobol programs
In COBOL programming, what is PERFORM? What is VARYING?
What is the use of intialize verb?