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

Answer Posted / sivakumar sekharannair

IDENTIFICATION DIVISION.
PROGRAM-ID. TEST1.
are the minumum number of lines a cobol program should have
to successfully compile and run.

Without program id the compiler gave the following error
IGYDS1003-E A "PROGRAM-ID" paragraph was not found.
Total Informational Warning Error Sever
1 1

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

673


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2094


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

995


Describe the cobol database components?

679


Can we redefine the field of x(200) to less than 200?

814






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

2107


What is the difference between goback, stop run and exit program in cobol?

921


how to move the records from file to array table. give with code example

2218


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

670


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

931


Difference between cobol and cobol-ii?

704


Explain how to differentiate call by context by comparing it to other calls?

684


What is amode(31)

719


How do u write test cases?

1633


Are you comfortable in cobol or jcl?

642