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 the cobol record key clause in vsam?
how do you define an altindx ? How do you use altindxs in batch, cics programs?
What does the KEYRANGES parameter in Define Cluster commend do?
What is IDCAMS? and what is the purpose of it?
explain in brief what are the 3 types of vsam files?
how to view clusters that has more than 10000 records
What are the building blocks used in vsam datasets?
explain the differences between vsam and non-vsam files
Can we copy a sequential file to a VSAM file ? If yes, What will happen of the size of the sequential file is bigger than that of the VSAM file?
What are the different parameters that are used in vsam?
Explain the process in which flat files are converted into vsam files?
what will happen if there is no secondary allocation made for datasets?