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
What is the use of intialize verb?
Which is not true about evaluate statement
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What are the different open modes available in cobol?
State the various causes of s0c1, s0c5 and s0c7.
In COBOL programming, what is PERFORM? What is VARYING?
What is report-item in COBOL?
What is redefines clause in COBOL?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
A table has two indexes defined. Which one will be used by the SEARCH?
how do you reference the ksds vsam file formats from cobol programs
What is a scope terminator give example?
How arrays can be defined in COBOL?
Write a program to enter and display the names of students in a class using the occurs clause.