How to retrive the 9th records out of ten records using the
cobol program ?
Answer Posted / shan
If you are sure that ur file will always have 10 records,
then move high-values to record format and read prior twice.
| Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
What is redefines clause in COBOL?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is the problem of ordered sequential files access?
What is the difference between perform … with test after and perform … with test before?
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 ......
What are the pertinent COBOL
How do you define a variable of comp-1 and comp-2?
how do you define single dimensional array and multidimensional array in your cobol?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What do you understand by psb and acb?
How you can read the file from bottom?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Write a program that uses move corresponding.
What is the difference between structured cobol programming and object alternativelyiented cobol?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic