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

explain how can you initialize a vsam file before any operation?

654


What is the use of access method services in vsam?

593


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.

1880


What are the steps involved in access method services?

540


What are the common vsam error conditions and codes?

590






Define free space?

570


What is control interval?

614


Would you specify freespace ce for an esds?

602


what do you mean by the cobol record key clause in vsam?

605


Can you delete vsam files with the delete option of the disposition parameter of jcl?

656


how many buffers are allocated to vsam ksds and esds?

714


What is a lds (linear data set) and what is it used for?

524


Explain the difference between lds and esds?

579


Using alternate indexes in batch program?

593


what will happen if there is no secondary allocation made for datasets?

622