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 difference between CI( Control Interval)and CA (Control Area)?
how many buffers are allocated to vsam ksds and esds?
I have three fields in a Variable VSAM file X(2) Y(10) occurs X times Z(02) Say for the first record X=2 then the length of the file is 2+(10*3)+2=34 second record, x=4 then 4+(10*4)+2=46 If any time if the field x is updated then the total length changes. Is it feasible? Is it
Assuming that the DEFINE JCL is not available, how do you get info about a VSAM file's organisation?
Do primary key values have to be unique? Do alternate key values have to be unique?
should a AIX should be a unique value?
What is a vsam dataset?
explain in brief how are different versions of gdg named?
what is the purpose of the verify function of idcams?
What does a file status of 02 on a VSAM indicate?
While designing vsam files,what is the best way to choose control interval size for the data and the index?
What is the maximum no. of records that can be allowed in VSAM ?