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

have in 100 records in a file i want to read first 3 records
and skip next 3 records and agan i want to read 3 records and
again i want to skip 3 records...

Answer Posted / santhosh

We can do it through JCL by using sort utility ..Through splitby=3 in outfil statement giving two different outputs..It will store two alternative records into two datasets alternatively

Is This Answer Correct ?    0 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?

1063


What is amode(24)?

1187


What are the cobol coding sheets?

1174


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

2337


Write the code implementing the perform … varying.

1013


What is the local-storage section?

1103


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


How arrays can be defined in COBOL?

1136


What is the difference between comp and comp-3 usage?

1127


In which area will you utilize 88 level items in cobol?

1098


How do you reference the following file formats from cobol programs?

1120


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

1062


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

1179


Write some characteristics of cobol as means of business language.

1079


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2324