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 / 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 |
Post New Answer View All Answers
what are s0c1, s0c4, s0c5, s0c7 abends?
What is the biggest disadvantage of using a vsam dataset?
we can define the ksds cluster by two ways by using the file-aid or by using the idcams utility. Explain them.
Define base cluster?
What are the access method services used in vsam?
difference between vsam and database tables
Discuss record management in vsam?
Explain the catalog?
how do you create an alternate index ?
Can you delete vsam files with the delete option of the disposition parameter of jcl?
what is the syntax of ams modal commands?
what is the use of the file status clause in the select statement in vsam?
Using alternate indexes in batch program?
what is meant by dirty read in vsam?
How do you define an altindx?