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


Please Help Members By Posting Answers For Below Questions

Is it slower if you access a record through alt index as compared to primary index?

691


what is the meaning of each of the values in shareopts(2 3)?

662


Define dynamic processing?

640


Explain the process in which flat files are converted into vsam files?

639


What is the purpose of relative record data set used in vsam?

776






what how do you initialize a vsam file before any operation? A vsam with alternate index?

649


Discuss record management in vsam?

627


Would you specify freespace ce for an esds?

683


What is a lds (linear data set)?

658


what is the use of the file status clause in the select statement in vsam?

658


Why is it required to have a keyed directed retrieval?

675


What is the use of KSDS,LDS,ESDS,RRDS??what is VRRDS?? How are all these useful in realtime scenario??Plz helpme out...Its a recent question in IGATE..

8277


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

2184


What is a ci split? What is a ca split?

728


Using alternate indexes in cics program?

661