i declare a Table as OCCURS 2000 TIMES.If the input file
has more than 2000 records will the COBOL program fail?

Answer Posted / giri

No. Program will not fail

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are all the divisions of a COBOL program?

659


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8139


What is the difference between structured cobol programming and object alternativelyiented cobol?

746


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?

2091


what happens if parmparameter passes zero bytes to the program

1650






What is the default value(s) for an initialize? What keyword will allow for an override of the default?

649


What is the difference between next sentence and continue in cobol programing language?

699


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...)

1915


What rules are to be followed while using the corresponding options?

627


What are the cobol coding sheets?

655


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

662


what is the use of outrecord?

1765


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.

1998


What are declaratives and what are their uses in cobol?

701


What kind of error is trapped by on size error option?

733