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...

How to read the last 100 records from a COBOL file. The file
contains N number of records.

Answer Posted / m.rajasekaran

Hi Mobi and Remya,

logic is correct

But in PARA2 u have coded that COMPUTE C = C + 1, How it
will work?

You should have moved B to C after calculating the value
of B in PARA1.Then only this code will work.

Let me know if any mistake in my answer.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is length is cobol?

1101


In COBOL programming, what is PERFORM? What is VARYING?

1152


What are the different data types in cobol?

1448


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1235


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

1145


Which division and paragraphs are mandatory for a COBOL program?

1278


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

1165


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1358


Name the sections present in data division.

1248


Difference between cobol and cobol-ii?

1280


What is inspect in cobol ?

1304


Write the code to count the sum of n natural numbers.

1210


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17881


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

2303


Discuss about changing dataset name in proc.

1236