what is the minimum number of lines a Cobol program should
have to successfully compile and run
Answer Posted / khamuruddin mohammed
Indentification Division
program-id
That's it..pgm will compile with the above 2 lines
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What are the different open modes available in cobol?
What kind of error is trapped by on size error option?
How do you differentiate between cobol and cobol-ii?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is static and dynamic call in cobol?
What are all the divisions of a COBOL program?
What are the different data types in cobol?
what happens if parmparameter passes zero bytes to the program
What is the difference between Call and a Link?
How you can characterize tables in cobol?
Write a program to explain size error.
What is rmode(any) ?
How arrays can be defined in COBOL?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
how do you reference the rrds file formats from cobol programs