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
No Answer is Posted For this Question
Be the First to Post Answer
Suppose a generation of GDG gets created in a particular step of a proc. How would you refer the current generation in a subsequent step? What would be the disposition of this generation now ?
How many times secondary space allocated?
How to declare the EMP Name, EMP No., DOB in VSAM KSDS file? Please explain.....
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).
What are the different commands used in idcams for vsam?
What are the optional parameters to the input dataset While loading the empty cluster with the data records?
what is the concept of IMPORT in vsam??
explain how do you define a gdg in vsam?
Do all versions of the GDG have to be of the same record length ? is it possible to ovverride the dcb of the model dataset?
What are the access method services used in vsam?
What is the meaning of the DEFINE MODEL parameter?
What are the distinctive features of a ksda, key sequenced dataset?