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
What is the purpose of idcams?
what will happen if there is no secondary allocation made for datasets?
is it required that primary key values have to be unique? Do alternate key values have to be unique?
What is Base Cluster ?
Yes. Because the alternate key would first locate the primary key, which in turn locates the actual record. Needs twice the number of I/Os.
What is the significance of the SHAREOPTIONS parameter?
can i see how many records does a vsam file have without browsing or without using file-aid? and same for ps file?
What makes vrrds different from vsam?
By seeing a program how we findout it is a VSAM program?
what do you mean by a upgrade set in vsam?
Define a path?
What is an alternate index and path ?