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
Explain the difference between lds and esds?
What is the purpose of the FILE STATUS clause in the SELECT statement?
how can you copy to a vsam cluster?
By looking into JCL can we identify the dataset is VSAM (VSAM dataset supposed to be a input dataset).In this scenerio how will we identify the dataset is VSAM ?
5 Answers Cognizant, EDS, Shridhar,
What is the function of linear dataset in vsam?
what how do you initialize a vsam file before any operation? A vsam with alternate index?
can alternate index use in ESDS since it does not contain primary index? if yes can you explain?
On which dataset you can have alt index?
Can we copy a sequential file to a VSAM file ? If yes, What will happen of the size of the sequential file is bigger than that of the VSAM file?
What is the difference between lds and esds?
There are at least seven IDCAMS commands; name and explain each of them ?.
what are the additional information you should give in the dd statement while defining the next generation of a gdg?