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

Answer Posted / patrick jones

There's a little bit of 'theoretical' problem here. As a
program is 'a set of instructions to do a particular job',
the 'two line program' is not actually a program eventhough
it will be compiled successfully.

So I would go with Ans# 1.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1196


What is the compute verb? How is it used?

840


Write some characteristics of cobol as means of business language.

816


What is the local-storage section?

871


In COBOL programming, what is PERFORM? What is VARYING?

851






Give some examples of command terminators?

926


How arrays can be defined in COBOL?

814


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

885


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2335


What is length is cobol?

847


What is the difference between Call and a Link?

870


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

826


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1943


What is rmode(any) ?

886


Explain the configuration section of a cobol program with examples of syntax.

851