What does EXIT do ?

Answers were Sorted based on User's Feedback



What does EXIT do ?..

Answer / mahathiaz

Does nothing ! If used, must be the only sentence within a
paragraph

Is This Answer Correct ?    4 Yes 2 No

What does EXIT do ?..

Answer / mdvasanth86

What Mahathiaz said it true.

However, I would like add that it can be combined with other
statements in the Paragraph with the recent version of cobol.

Is This Answer Correct ?    1 Yes 0 No

What does EXIT do ?..

Answer / vampire

It is a scope terminator for Paragraph

ex

00001-main-para

000003-perform disp-para.
stop run.

000003-perform disp-para.
display"kiran".
exit

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More COBOL Interview Questions

I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

4 Answers   Accenture,


What is the Purpose of Pointer in the string?

0 Answers  


What are the steps you go through while creating a COBOL program executable?

3 Answers  


What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?

2 Answers  


what happens if we dont close cursor in db2-cobol pgm?

6 Answers  






What is the maximum size of a 01 level item in COBOL I? in COBOL II?

2 Answers   IBM, RBS,


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

0 Answers  


I hv ten records in ps file and i hv say some 15 records in vsam file .i hv empno and age in ps file n empno,empname,dept n desig in vsam file. i hv 2 read the ps file n check wid matching empno in vsam file and then insert all fields from ps and vsam into db2 table....plz help in writin the procedure division

1 Answers  


In a program, there are 2 sections defined say SECTION-A and SECTION-B. There is a paragraph say CALC-INT in both the sections. If this para has to be called directly for SECTION-A, then PERFORM CALC-INT will not work as it is present in both sections. How the PERFORM statement has to be coded here?

5 Answers  


Define static linking and dynamic linking.

0 Answers  


What is normalisation?

2 Answers   IBM,


How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?

2 Answers  


Categories