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
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Write the code implementing the perform … varying.
How do you reference the fixed block file formats from cobol programs
how do you reference the variable block file formats from cobol programs
What is the problem of ordered sequential files access?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
In COBOL, what is the different between index and subscript?
how do you reference the esds vsam file formats from cobol programs
How do you define a variable of comp-1 and comp-2?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
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?
how do you reference the printer file formats from cobol programs
What is an in line perform? When would you use it? Anything else you wish to say about it.
What are 77 levels used for?