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 are the different parameters that are used in vsam?

720


in a cobol select statement, can you tell what is the organization for a ksds?

623


Using alternate indexes in cics program?

553


What is the difference between lds and esds?

547


Describe the uses of ams?

538






what do you mean by a vsam split?

575


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

684


What are the common vsam error conditions and codes?

586


Define a path?

597


What is the main function of key-sequenced data set?

564


How is the sorting of vsam files carried?

593


what is the meaning of dynamic processing in vsam?

580


to use the rewrite command, how should the vsam file be opened?

660


How to get the last record in vsam file in cluster? And how can u get the ksds file records into cobol program?

581


Explain the purpose of the file status clause in the select statement?

518