Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Define static linking and dynamic linking.

1110


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.

2081


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1954


What is inspect in cobol ?

1241


What is the Purpose of Pointer in the string?

1026


Write some characteristics of cobol as means of business language.

1079


Can we change the password using ALTER? anyone tried and changed?

1951


What do you understand by psb and acb?

1056


In which area will you utilize 88 level items in cobol?

1098


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2415


What are the different data types in cobol?

1329


how to move the records from file to array table. give with code example

2631


how to refer the data field?

2209


How do u write test cases?

2012


What is cobol?

1194