|
|
| Author |
Message |
bipinpeter
New User
Joined: 18 Jun 2007 Posts: 47 Location: pune
|
|
|
|
Hi All,
Is any way to know the count of records in a dataset,if i dont have access to the dataset?
Regards,
Bipin Peter |
|
| Back to top |
|
 |
References
|
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 3544 Location: Brussels once more ...
|
|
|
|
| Depends, if it's VSAM then probably yes |
|
| Back to top |
|
 |
PeD
Senior Member
Joined: 26 Nov 2005 Posts: 313 Location: Belgium
|
|
|
|
| Quote: |
Depends, if it's VSAM then probably yes
|
I like the "probably" meaning the catalog must be updated. If not, a listcat will not show the exact count.
But what is the exact meaning of "access" here?
| Quote: |
if i dont have access to the dataset?
|
|
|
| Back to top |
|
 |
Moved: Sun Aug 17, 2008 4:53 pm by superk From JCL to SMS & VSAM |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 8729 Location: 221 B Baker St
|
|
|
|
Hello,
You might talk with the storage management people.
They should be able to tell you how many blocks are on the file if it is a tape or how much space is used if it is a dasd file. From either you can calculate the approximate number of records on the file.
If you need an exact count, these will not provide an exact count. . . |
|
| Back to top |
|
 |
Anuj D.
Global Moderator
Joined: 22 Apr 2006 Posts: 2222 Location: Phoenix, AZ
|
|
|
|
| bipinpeter wrote: |
| ..if i dont have access to the dataset? |
If You don't have the access, stop thinking about that DSN.. |
|
| Back to top |
|
 |
|
|