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 have a variable account-number declared as comp-3, s9(10)
comp-3 in a file. How do i find a particular account number
say 123456 in that file?

Answer Posted / manoj

there are few ways for that
1. Write a cobol program
if com3field = 123456
display 'record'
2. Open the file in HEX ON mode and read records one by one :)
3. else use sort utility in jcl
OPTION COPY
INCLUDE COND=(1,8,PD,EQ,123456)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2426


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

2009


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.

2143


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

1197


How you can read the file from bottom?

1154


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1167


What are 77 levels used for?

1104


What are the pertinent COBOL

2565


what are decleratives in cobol?

2256


Whats the difference between search & search ALL?

6522


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

1149


example for sub strings ? and refernce modifications whit output pls

2315


How arrays can be defined in COBOL?

1214


What is Pic 9v99 Indicates in COBOL?

1256


What is the problem of ordered sequential files access?

1159