How to read the last 100 records from a COBOL file. The file
contains N number of records.
Answer Posted / kingmanish
question is ambiguous.
Could you please explain what do u mean by cobol file?
PLease specify what type of file??? Flat file? VSAM ??
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What is Pic 9v99 Indicates in COBOL?
Differentiate between structured cobol programming and object-oriented cobol programming.
What is inspect in cobol ?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What is comp-1 and comp-2?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
how to convert the recors form vsam file to db2 table tru file aid
Which is not true about evaluate statement
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is the local-storage section?
i want a program using by if, evaluate , string, unstring, perform, occurs?
Write down the divisions of cobol program?
How do you get the data to code the BMS macro?
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 ......