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 Control Interval, Control Area?
What is the main function of linear dataset?
what do you mean by gdg in vsam?
what is meant by BUFND & BUFNI..?
What are the access method services used in vsam?
what is meant by s0c-07 system abend codes?
How does control intervals and control areas related to each other?
What's a LDS (Linear Data Set) and what's it used for?
Explain the purpose of the file status clause in the select statement?
what is the drawback of vsam dataset?? a.execution slow. b.free space. c.independent storage device. d.none of the above. let me know the answer with reason.
Can you delete vsam files with the delete option of the disposition parameter of jcl?
If we are using empty VSAM file, we can see this empty file by using FILE AID tool. How can we open empty VSAM file if you are using in Program..?