If i initialize the 01 level variable in array, will it
initialize all the array elements (occurs)?
Answer Posted / snehatechm
All ryt.Answer is no.array elements will not be initialised
automatically.
you can initialise the table with INITIALIZE verb.
INITIALIZE XXX-YYY
this will initialize your alphanumeric with space and
numeric with '0'.
apart from this by moving also u can initialise.
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
How do define dynamic array in cobol.
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Can a Search can be done on a table with or without Index?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What rules are to be followed while using the corresponding options?
What is the Purpose of Pointer in the string?
Which mode is used to operate the sequential file?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
In which area will you utilize 88 level items in 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 can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?