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).
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
What is speed parameters in define cluster command?
What is FREESPACE ?
What do you mean by dirty read ?
How to rename one vsam file as well as it's index?
Is it slower if you access a record through alt index as compared to primary index?
How many Alternate Indexes you can have on a dataset?
what is the meaning of dynamic processing in vsam?
can you specify some the distinctive features of a ksds, key sequenced dataset?
How do you decide on optimum values for CI, FREESPACE etc...?
By seeing the file itself how can we identify whether it is A vsam file or flat file
in a cobol select statement, can you tell what is the organization for a ksds?
Using Alternate Indexes in Batch pgms: ?