IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Count of dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
bipinpeter

Active User


Joined: 18 Jun 2007
Posts: 213
Location: Cochin/Kerala/India

PostPosted: Sun Aug 17, 2008 11:15 am
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sun Aug 17, 2008 2:44 pm
Reply with quote

Depends, if it's VSAM then probably yes
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Sun Aug 17, 2008 4:28 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Aug 17, 2008 10:40 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Aug 18, 2008 12:33 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts To get the count of rows for every 1 ... DB2 3
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Validating record count of a file is ... DFSORT/ICETOOL 13
Search our Forums:

Back to Top