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 is the syntax of ams modal commands?
What is the purpose of relative record data set used in vsam?
Differentiate between control interval (ci) and control area (ca)?
what is the use of the file status clause in the select statement in vsam?
What is the main purpose of having user catalog in vsam?
explain how many ways you can load data in a vsam cluster?
what is meant by dirty read in vsam?
What is recovery parameters in define cluster command?
What is the purpose of control intervals in vsam?
What is the function of entry sequenced data set?
Differentiate between ci split and ca split?
In a KSDS file, key is missing for one record. How to insert the key for that particular record from back up file. Is there any sorting needed for the back up file before the key insertion?
Why is it required to have a keyed directed retrieval?
How to get the last record in vsam file in cluster?
if you wish to use the rewrite command how must the vsam file be opened?