I had 100 records and i want to execute last three records by
using cobol programming?what will be coding?
Answer Posted / harsha
Read file sequentially and load it in table. keep check on
the number of ocurances(i.e. number of records).
Once the table is fully loaded, you know the total
occurances. Say it is X. Now read the table with occurance
X-3
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
How can you get the ksds file records into your cobol program?
What is the difference between perform … with test after and perform … with test before?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
What is the difference between external and global variables in COBOL?
What are the different types of condition in cobol and write their forms.
What are the access modes of START statement?
In COBOL programming, what is PERFORM? What is VARYING?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
For rewrite, why is it mandatory that file needs to be opened?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is redefines clause in COBOL?
Can we change the password using ALTER? anyone tried and changed?
What is a SSRANGE and NOSSRANGE?
Why did you choose to work with ibm mainframe cobol programming?