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 file(PS), we dont know how many records are there.
requirement is divide half n half the records n insert into
2 another files(PS).

Answer Posted / shaan

Use Sort program to count the no of records and then sent
half of them to a PS file using sort fields=copy with
skiprec and stopaft command.

Is This Answer Correct ?    18 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the syntax of ams modal commands?

1264


What is the purpose of relative record data set used in vsam?

1097


Differentiate between control interval (ci) and control area (ca)?

1008


what is the use of the file status clause in the select statement in vsam?

1116


What is the main purpose of having user catalog in vsam?

1063


explain how many ways you can load data in a vsam cluster?

1046


what is meant by dirty read in vsam?

1345


What is recovery parameters in define cluster command?

1057


What is the purpose of control intervals in vsam?

1010


What is the function of entry sequenced data set?

1084


Differentiate between ci split and ca split?

1011


In a KSDS file, key is missing for one record. How to insert the key for that particular record from back up file. Is there any sorting needed for the back up file before the key insertion?

1469


Why is it required to have a keyed directed retrieval?

1025


How to get the last record in vsam file in cluster?

1018


if you wish to use the rewrite command how must the vsam file be opened?

1154