what is the minimum number of lines a Cobol program should
have to successfully compile and run
Answer Posted / nimsatprasad
First 2 lines are enough to minimum successfully compile
the cobol program
IDENTIFICATION DIVISION.
PROGRAM-ID. COVANSYS.
PROCEDURE DIVISION.
DISPLAY 'COVANSYS'.
STOP RUN.
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
how do you reference the fixed unblock file formats from cobol programs
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What is Pic 9v99 Indicates in COBOL?
What kind of error is trapped by on size error option?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
Explain how to differentiate call by context by comparing it to other calls?
In COBOL, what is the different between index and subscript?
Write down the divisions of cobol program?
What is rmode(24)
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What is the difference between perform … with test after and perform … with test before?
What is the LINKAGE SECTION used in COBOL?
What are the various section in data division and briefly explain them.
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.
Describe the cobol database components?