sample code for read a 2nd record from last in flatfile how
can do?
Answer Posted / santhosh vayathuri
for this we need to do fallowing steps
1) read all the records and store into an array and count
value store into an var
2) from that array subtract count var by 1 we will get last
2nd record
ex :: array(count-1) == last 2nd rec
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
What is the utilization of copybook in cobol?
What are the different open modes available in cobol?
Explain how you can characterize tables in cobol?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
What is the difference between binary search and sequential search?
What is amode(31)
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
what happens if parmparameter passes zero bytes to the program
Which division and paragraphs are mandatory for a COBOL program?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Write a program that uses move corresponding.
If you are current on the owner of a set, what is the difference between obtain next and obtain first?