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
Define static linking and dynamic linking.
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is inspect in cobol ?
What is the Purpose of Pointer in the string?
Write some characteristics of cobol as means of business language.
Can we change the password using ALTER? anyone tried and changed?
What do you understand by psb and acb?
In which area will you utilize 88 level items in cobol?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What are the different data types in cobol?
how to move the records from file to array table. give with code example
how to refer the data field?
How do u write test cases?
What is cobol?