what is the minimum number of lines a Cobol program should
have to successfully compile and run

Answer Posted / harish

hi i will accept both #1 and #2

#1 we will get compilation successful but in runtime
without procedure we may get some prob i am not sure

#2 answer is absolutely right buddy.....

pls correct me if anything wrong

HARISH POOMGAME SHIVAPPA(hassan,karnataka)
NIIT TECHNOLOGY
KOLKATA

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which Search verb is equivalent to PERFORM…VARYING?

677


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

559


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

635


Write the code to count the sum of n natural numbers.

697


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3711






I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1224


What are the different open modes available in cobol?

713


What are all the divisions of a COBOL program?

660


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

737


What is amode(24)?

679


How do you differentiate between cobol and cobol-ii?

647


What type of SDLC u followed? Why?

1515


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

886


Give some examples of command terminators?

749


how to refer the data field?

1798