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 / kumar
sort fields=copy
outfil files=(01,02),spilt
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
OPEN INPUT StudentFile READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ PERFORM UNTIL EndOfStudentFile DISPLAY StudentId SPACE StudentName SPACE CourseCode SPACE YOBirth READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ END-PERFORM CLOSE StudentFile STOP RUN what will be output
how do you create an alternate index ?
Explain the significance of the shareoptions parameter?
What is the place for VSAM KSDS?
How does control intervals and control areas related to each other?
there are seven idcams commands in vsam. Can you name and explain each of them?
What is recovery parameters in define cluster command?
what is the use of the file status clause in the select statement in vsam?
what are the idcams commands that can be used for vsam and explain each of them.
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?
What is the main function of key-sequenced data set?
What is control interval?
Explain what are the optional parameters to the input dataset while loading the empty cluster with the data records?
how can you copy to a vsam cluster?
Can you delete vsam files with the delete option of the disposition parameter of jcl?