View previous topic :: View next topic
|
Author |
Message |
bipinpeter
Active User
Joined: 18 Jun 2007 Posts: 213 Location: Cochin/Kerala/India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Depends, if it's VSAM then probably yes |
|
Back to top |
|
|
PeD
Active User
Joined: 26 Nov 2005 Posts: 459 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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
|