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 |
Suppose 3 generations of a GDG exist. How would you reference the 1st generation in the JCL?
when u r using repro command what happens if both infile and outfile names same
What is the difference between PS file and VSAM file?
7 Answers IBM, Infosys, Verizon,
Define free space?
What does the keyranges parameter in define cluster commends do?
What is the index set?
what is the meaning of dynamic processing in vsam?
Is it slower if you access a record through alt index as compared to primary index?
what's the biggest disadvantage of using a VSAM dataset?
8 Answers Anjana, CTS, DSRC, IBM,
what will happen if there is no secondary allocation made for datasets?
How do you define a KSDS ?
What is the difference between CI( Control Interval)and CA (Control Area)?