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).
Answer Posted / 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 |
Post New Answer View All Answers
What is the use of lds (linear data set)?
What does the keyranges parameter in define cluster commends do?
Differentiate between ci split and ca split?
in a cobol select statement, can you tell what is the organization for a ksds?
Differentiate between control interval (ci) and control area (ca)?
there are seven idcams commands in vsam. Can you name and explain each of them?
what is buffering and how does it apply to vsam files ?
What are the different commands used in idcams for vsam?
What is the purpose of relative record data set used in vsam?
how do you create an alternate index ?
what parameter in the define aix option is used to determine the maximum number of duplicate keys allowable ?
What is the use of KSDS,LDS,ESDS,RRDS??what is VRRDS?? How are all these useful in realtime scenario??Plz helpme out...Its a recent question in IGATE..
How is the sorting of vsam files carried?
name a few common vsam status codes?
explain how can you initialize a vsam file before any operation?