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

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

3091


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

1166


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

1063


What is rmode(any) ?

1180


How you can characterize tables in cobol?

1147


How do get the result of your program directly on your pc?

2294


i need a small 3d program using inline and outline.

2164


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

812


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1220


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1053


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

4119


Are you comfortable in cobol or jcl?

988


How to know whether the module is dynamical or statistical?

1079


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

1948


Discuss about changing dataset name in proc.

1172