What does the initialize statement do ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different data types in cobol?

1044


IF I mention stop run in CICS what happens?

2091


How many sections are there in data division in COBOL?

887


) How do u handle errors in BMS macro?

1621


What is a report item?

905


What are the different rules of SORT operation?

900


What is the difference between Call and a Link?

889


What are the rules of the move verb?

945


what is the difference between COBOL2 AND COBOL390?

2721


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


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

984


What is inspect in cobol ?

1009


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

959


How do u write test cases?

1821


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

842