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

) how do u code after getting data?

2074


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

1143


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2482


What is length is cobol?

1059


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

1179


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

1081


What is comp-1 and comp-2?

1186


How arrays can be defined in COBOL?

1136


example for sub strings ? and refernce modifications whit output pls

2266


How can you get the ksds file records into your cobol program?

1026


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2328


Explain the configuration section of a cobol program with examples of syntax.

1123


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1383


What type of SDLC u followed? Why?

1957


Explain about different table spaces.

1047