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 / ram.g
there is nothing wrong....
| Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
how do you define single dimensional array and multidimensional array in your cobol?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
How do you reference the following file formats from cobol programs?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
How do you get the data to code the BMS macro?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is the difference between PIC 9.99 and PIC9v99?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What is the difference between perform … with test after and perform … with test before?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
How many bytes S(8) comp field occupy and its maximum value?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What are the pertinent COBOL
What is the difference between structured cobol programming and object alternativelyiented cobol programming?