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
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What is the difference between goback, stop run and exit program in cobol?
What are the pertinent COBOL commands?
How are the next sentence and continue different from each other?
how can i see junk values in dclgen or in hostvariable of comp ?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
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
How do u write test cases?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What are the different rules to perform a Search?
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 to print 10 to 1 if the input have only 10 digit number?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What is the Purpose of Pointer in the string?