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

I had 100 records and i want to execute last three records by
using cobol programming?what will be coding?

Answer Posted / sandip

In cobol apply counter while reading file if counter reach at 97 start writing record to another file.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

For rewrite, why is it mandatory that file needs to be opened?

1065


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1509


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1260


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1224


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

1082


how do you reference the variable block file formats from cobol programs

1185


How do you reference the fixed block file formats from cobol programs

1158


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1063


Write a cobol program making use of the redefine clause.

1123


How to know whether the module is dynamical or statistical?

1082


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

1145


What is the difference between PIC 9.99 and PIC9v99?

1283


Whats the difference between search & search ALL?

6364


What guidelines should be followed to write a structured cobol prgm?

1091


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1605