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


Please Help Members By Posting Answers For Below Questions

What is the difference between external and global variables in COBOL?

815


How do you define a variable of comp-1 and comp-2?

707


What is difference between static and dynamic call in cobol?

779


Discuss about changing dataset name in proc.

765


Are you comfortable in cobol or jcl?

643






How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1949


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.

2014


What are all the divisions of a COBOL program?

666


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1616


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

822


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2734


What is amode(24)?

684


What guidelines should be followed to write a structured cobol prgm?

673


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2060


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1931