If i initialize the 01 level variable in array, will it
initialize all the array elements (occurs)?

Answer Posted / chandrababu naidu

we can't use array or table in 01 level item.
(or)
01 name.
02 name2 pic x(5) occurs 10 times.
INITIALIZE NAME.----> means the variable name contains 'spaces'.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which mode is used to operate the sequential file?

928


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

867


what is the difference between COBOL2 AND COBOL390?

2721


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

970


What is an in line perform? When would you use it? Anything else you wish to say about it.

836


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

984


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

906


Define cobol?

1073


What is the utilization of copybook in cobol?

884


What is inspect in cobol ?

1012


How many sections are there in data division in COBOL?

887


Write a program to explain size error.

884


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2119


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1885


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?

1410