I had 100 records and i want to execute last three records by
using cobol programming?what will be coding?
Answer Posted / farid
In jcl we can do as follows.........
1st skip the 97 recordes and write rest 3 into another file
using sort utilities(with the help of jcl).now cobol program
can use the 2nd file which has only last 3 records
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Discuss about changing dataset name in proc.
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What do you understand by psb and acb?
Write down the divisions of cobol program?
How do define dynamic array in cobol.
How do we get current date from system with century in COBOL?
Name the divisions, which are available in a cobol program?
What rules are followed by the search verb.
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
A table has two indexes defined. Which one will be used by the SEARCH?
In which area will you utilize 88 level items in cobol?
Describe the cobol database components?
how do you define single dimensional array and multidimensional array in your cobol?
What is rmode(24)
explain sorting techniques in cobol program?