i declare a Table as OCCURS 2000 TIMES.If the input file
has more than 2000 records will the COBOL program fail?
Answer Posted / kingmanish
Its in our hands whether we want the program to abend in
case of data overflow or not.
If we specify SSRANGE = Y the program will abend when the
number to records go beyond 2000.
Otherwise for NO SSRANGE the program will not abend.
Though that data will be lost as we cannot reference it.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
How arrays can be defined in COBOL?
Can you please let me know the centre name of INS certification in Kolkata.
How do you differentiate between cobol and cobol-ii?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
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...)
What are 77 levels used for?
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.
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
what is difference between cobol and cobol/400
For rewrite, why is it mandatory that file needs to be opened?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Can we redefine the field of x(200) to less than 200?