How to read the last 100 records from a COBOL file. The file
contains N number of records.
Answer Posted / guest1
Using FILE-AID, copy lost 100 records only in to a seperate
file and read the records.
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
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 difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
) how do u code after getting data?
What is rmode(24)
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
Mention the guidelines to write a structured cobol program?
Write a cobol program making use of the redefine clause.
What is inspect in cobol ?
How you can characterize tables in cobol?
What are the different open modes available in cobol?
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 can i see junk values in dclgen or in hostvariable of comp ?
Which Search verb is equivalent to PERFORM…VARYING?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?