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 / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

what do you mean by a upgrade set in vsam?

644


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

2284


What is recovery parameters in define cluster command?

576


What are the advantages of vsam over isam?

696


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

588






how can you load a vsam data set with records ?

662


What is control area?

654


difference between vsam and database tables

647


How is record management performed in vsam?

598


What is the use of KSDS,LDS,ESDS,RRDS??what is VRRDS?? How are all these useful in realtime scenario??Plz helpme out...Its a recent question in IGATE..

8135


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

580


What is a ci split?

558


What is a lds (linear data set)?

564


what do you mean by the repro command?

577


what how do you initialize a vsam file before any operation? A vsam with alternate index?

566