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
Differentiate between control interval (ci) and control area (ca)?
What are the different versions of gdg named?
Under idcams, multiple functions can be executed, each of which returns a condition code. What will be the condition code returned to the operating system?
explain in brief how are different versions of gdg named?
Explain about the file objects in vsam?
what do you mean by a shareoptions parameter (shr) in define cluster command?
What are the different dataset organizations used in vsam?
in a cobol select statement for a ksds can you tell me what are the 3 possibilities for access?
Explain the device independent method to indicate where a record is stored?
What is the purpose of relative record data set used in vsam?
what do you mean by gdg in vsam?
How is record management performed in vsam?
what is the meaning of each of the values in shareopts(2 3)?
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..
Explain what are the optional parameters to the input dataset while loading the empty cluster with the data records?