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 happens when you open an empty VSAM file in a COBOL program for input?
there are seven idcams commands in vsam. Can you name and explain each of them?
What is the maximum record length for the VSAM dataset?
What is the maximum no. of records that can be allowed in VSAM ?
Can we copy Vsam files from a Vsam file in Iebgener step?
4 Answers iGate, Tech Mahindra,
Is CA(Control Area) is part of CI(Control Interval)
What is the difference between sequential files and ESDS files?
what do you mean by idcams? Explain its purpose?
What is a lds (linear data set)?
What makes vrrds different from vsam?
What's a LDS (Linear Data Set) and what's it used for?
What are the different versions of gdg named?