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 to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1912


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?

1217


How are the next sentence and continue different from each other?

748


What is a scope terminator give example?

642


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

628






what are decleratives in cobol?

1816


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5041


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

684


What type of SDLC u followed? Why?

1507


how to refer the data field?

1789


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

843


What is rmode(24)

669


What are the pertinent COBOL

2029


What is Pic 9v99 Indicates in COBOL?

705


what is the use of outrecord?

1759