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

Describe SHAREOPTIONS parameter (SHR) in Define Cluster command.?

1 Answers  


write a program to read from a VSAM file , there will be a 5 records to create name. empno. resignation and address to update in a db2 table and call another program using dynamic call to find the matching fields in program 1 to update in db2 table. anybody pls send de program for dis ? thanks in advance...

0 Answers   CTS,


what is reuse parameter ?

3 Answers   Polaris, Xansa,


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

0 Answers   IBM,


print ids(/)char??what is the full form of ids??

2 Answers   HCL, Hotel Jobs,


What are the advantages of vsam over isam?

0 Answers  


What is the upgrade set?

1 Answers  


What are the steps involved in access method services?

0 Answers  


what are the additional information you should give in the dd statement while defining the next generation of a gdg?

0 Answers   IBM,


How do you calculate record size of an alternate cluster? Give your values for both unique and nonunique.

1 Answers   IBM,


How is record management performed in vsam?

0 Answers  


What is a ca split?

0 Answers  


Categories