can i see how many records does a vsam file have without
browsing or without using file-aid? and same for ps file?
Answers were Sorted based on User's Feedback
Answer / rajkanya
Use the LC (ListCat) command in TSO besides the required
dataset. The information listed with this includes number of
records.
| Is This Answer Correct ? | 9 Yes | 6 No |
Answer / 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 |
How do I declare the KSDS vsam so that I can store a reocrd with variable length?.
What is the purpose of the FILE STATUS clause in the SELECT statement?
name a few common vsam status codes?
What is the VSAM-code field?
What does a file status of 02 on a VSAM indicate?
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.
What are the optional parameters to the input dataset While loading the empty cluster with the data records?
Can we copy Vsam files from a Vsam file in Iebgener step?
4 Answers iGate, Tech Mahindra,
Explain the significance of the shareoptions parameter?
what is the difference between vsam and dataset how do u create vsam dataset which file you r used?
What is recovery parameters in define cluster command?
Alt key is used for what type of vsam file