What does the initialize statement do ?

Answers were Sorted based on User's Feedback



What does the initialize statement do ?..

Answer / shashank

in case of numeric variable it makes default value to zero
and in case of alphanumeric or alphabetic it makes default
value to spaces.

Is This Answer Correct ?    6 Yes 1 No

What does the initialize statement do ?..

Answer / viji

Also,
FILLER , and OCCURS DEPENDING ON items are left untouched.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More COBOL Interview Questions

can we declare occurs in 01 level?

2 Answers   Temenos,


can any one help -s806

6 Answers  


What are the differences between COBOL and COBOL II?

1 Answers   CSC,


i want to store 20 digits . h will u do it in cobol ?

4 Answers   TCS,


Have you used comp and comp-3 in your project? And how?

0 Answers   IBM,






if a pic 9(3) value 354,b pic x(2) value '46' then a)a>b 2)a<b 3)error

8 Answers   Cap Gemini,


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

0 Answers  


I want ALL jcl ERROR cods

1 Answers  


i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?

12 Answers  


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records...

2 Answers   ITC Indian Tobacco Company, PNP, TCS,


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

0 Answers  


hi. This is Ram.i have one doubt.why can't we display comp-3 variables directly? let me answer quickly plez........

1 Answers  


Categories