How do u initialize an array?

Answer Posted / snehatechm

array can be initiazed by INITIALIZE verb or by moving the
values to the elements of a table.
if u initialise an array with INITIALIZE verb your
alphanumeric fields will be stored with space and numeric
fields with '0'.

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write some characteristics of cobol as means of business language.

848


What is the difference between PIC 9.99 and 9v99 in COBOL?

979


what are decleratives in cobol?

2002


What is a scope terminator give example?

835


Whats the difference between search & search ALL?

5885


What is the compute verb? How is it used?

852


How do define dynamic array in cobol.

859


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

1064


Which is not true about evaluate statement

2099


What are the pertinent COBOL commands?

2830


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

853


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.

1350


How do you reference the fixed block file formats from cobol programs

914


What are the different types of condition in cobol and write their forms.

874


What is the difference between next sentence and continue in cobol programing language?

951