can i see how many records does a vsam file have without
browsing or without using file-aid? and same for ps file?
Answer Posted / raghu
print char(/) ids
by using abas above command infornt of a vasm dataset,
we can find how many rec are there in a that file.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
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
What is the difference between lds and esds?
What is the main function of key-sequenced data set?
what are the codes returned by the ams (access method services) command during the execution in vsam?
Define gdg?
What are the information stored in ci?
Why is master catalog used in vsam?
What are the steps involved in access method services?
what do you mean by recovery and speed parameters in define cluster command?
How is the sorting of vsam files carried?
Discuss record management in vsam?
What is the main purpose of having user catalog in vsam?
What is recovery parameters in define cluster command?
what do you mean by gdg in vsam?
What is the main function of linear dataset?