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

Answers were Sorted based on User's Feedback



In a file(PS), we dont know how many records are there. requirement is divide half n half the recor..

Answer / 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

In a file(PS), we dont know how many records are there. requirement is divide half n half the recor..

Answer / vijju

may be u can use SPLIT options in sort card

Is This Answer Correct ?    7 Yes 1 No

In a file(PS), we dont know how many records are there. requirement is divide half n half the recor..

Answer / abhijit

OUTFIL FNAMES(OUT1,OUT2) SPLIT

Is This Answer Correct ?    4 Yes 0 No

In a file(PS), we dont know how many records are there. requirement is divide half n half the recor..

Answer / kumar

sort fields=copy
outfil files=(01,02),spilt

Is This Answer Correct ?    3 Yes 0 No

In a file(PS), we dont know how many records are there. requirement is divide half n half the recor..

Answer / ram

any one write the code

Is This Answer Correct ?    0 Yes 0 No

In a file(PS), we dont know how many records are there. requirement is divide half n half the recor..

Answer / kk

Write a cobol program with an Index and read the input file
and write to two files based on alternative records.

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More VSAM Interview Questions

How is the sorting of vsam files carried?

0 Answers  


what is freespace

2 Answers   EDS,


how many ways can we open i vsam file ? like print ch ids (/) is thre any other way to open the vsam file please can any one answer ?

2 Answers  


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

0 Answers   IBM,


What is Control Interval, Control Area ?

1 Answers   L&T,


How do you define an ALTINDX ? How do you use ALTINDXs in batch, CICS pgm?s ?

2 Answers   IBM,


Explain the index set?

0 Answers  


FREESPACE can be specified for which type of cluster? a.LDS b.RRDS c.ESDS d.KSDS

2 Answers  


What is a vsam dataset?

0 Answers  


is it slower if you access a record through alternative index as compared to primary index?

1 Answers   IBM,


is it required that primary key values have to be unique? Do alternate key values have to be unique?

0 Answers   IBM,


how many buffers are allocated to vsam ksds and esds?

0 Answers   IBM,


Categories