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 / 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 |
Post New Answer View All Answers
What are the different data types in cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
example for sub strings ? and refernce modifications whit output pls
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
how do you reference the ksds vsam file formats from cobol programs
A table has two indexes defined. Which one will be used by the SEARCH?
How do get the result of your program directly on your pc?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How do u write test cases?
What is the difference between goback, stop run and exit program in cobol?
What are literals?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What is the use of intialize verb?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?