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

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

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

name the utility program closely associated with vsam?

582


What is the device independent method to indicate where a record is stored?

593


Tell me how many alternate indexes you can have on a dataset?

626


what will happen when you try to open an empty vsam file in a cobol program for input?

630


Why is master catalog used in vsam?

582






Explain the function of the relative record data set?

546


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

540


Define dynamic processing?

551


how do you create an alternate index ?

593


What is recovery parameters in define cluster command?

576


What is the difference between lds and esds?

564


What is control interval?

620


what is the probability of a complete system distortion under high end low performing multiprocessor job?

2035


explain in brief how you can create a vsam file?

668


what do you mean by gdg in vsam?

737