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 do you mean by idcams? Explain its purpose?
What is a path?
what are the idcams commands that can be used for vsam and explain each of them.
Define gdg?
explain how do you define a gdg in vsam?
Tell me how many alternate indexes you can have on a dataset?
What is the difference between lds and esds?
What do you mean by dirty read ?
Create syntax for a VSAM file ?
what is the meaning of dynamic processing in vsam?
is it required that primary key values have to be unique? Do alternate key values have to be unique?
How many cluster index can have in a table?