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

Answer Posted / rakesh

I know we cant use occurs in 01 level. My question was, if
we initialize 01 level variable, in ur example, xxx-yyy,
will all the elements be initialized as well (xx-yyy-array,
xx-yyy-mem1 and xx-yyy-mem2)?

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between structured cobol programming and object alternativelyiented cobol programming?

711


What is the default value(s) for an initialize and what keyword allows for an override of the default?

697


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

825


What is the difference between comp and comp-3?

704


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1962






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

714


how do you reference the variable block file formats from cobol programs

688


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2734


how to move the records from file to array table. give with code example

2223


IF I mention stop run in CICS what happens?

1898


Can we change the password using ALTER? anyone tried and changed?

1552


What are different data types in cobol?

695


Discuss about changing dataset name in proc.

765


Can we redefine the field of x(200) to less than 200?

822


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1616