What does EXIT do ?
Answers were Sorted based on User's Feedback
Answer / mahathiaz
Does nothing ! If used, must be the only sentence within a
paragraph
Is This Answer Correct ? | 4 Yes | 2 No |
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 |
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 |
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 ......
What is the Purpose of Pointer in the string?
What are the steps you go through while creating a COBOL program executable?
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
what happens if we dont close cursor in db2-cobol pgm?
What is the maximum size of a 01 level item in COBOL I? in COBOL II?
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?
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
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?
Define static linking and dynamic linking.
What is normalisation?
How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?