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

in a indexed file what is procedure for read the records
from 12 to 18. please give the code example

Answer Posted / santhosh vayathuri

use fallowing code

file-control
organization is indexed.
access mode is dynamic
record key is eno


procedure division

move 12 to eno


perform readpara until fnd = yes

stop run.

readpara.
read file1
if eno = 18
move 'yes' to fnd
end-if.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is search and searchall?what is the diffrence between them?give an best example?

6688


how do you reference the ksds vsam file formats from cobol programs

1133


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

3110


Explain how you can characterize tables in cobol?

1016


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2540


What type of SDLC u followed? Why?

1968


) How do u handle errors in BMS macro?

1914


Why would you use find and get rather than to obtain?

1134


Name the divisions, which are available in a cobol program?

1184


Discuss about changing dataset name in proc.

1179


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2022


What are different data types in cobol?

1235


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2402


What is the difference between PIC 9.99 and 9v99 in COBOL?

1254


What is comp-1 and comp-2?

1192