Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Count of dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
bipinpeter

Active User


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

PostPosted: Sun Aug 17, 2008 11:15 am    Post subject: Count of dataset
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: 8593
Location: Back in jolly old England

PostPosted: Sun Aug 17, 2008 2:44 pm    Post subject:
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: 456
Location: Belgium

PostPosted: Sun Aug 17, 2008 4:28 pm    Post subject:
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

Site Director


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

PostPosted: Sun Aug 17, 2008 10:40 pm    Post subject:
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

Senior Member


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

PostPosted: Mon Aug 18, 2008 12:33 pm    Post subject: Re: Count of dataset
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Get Record count in summary record fo... Atul Banke DFSORT/ICETOOL 21 Fri Sep 23, 2016 4:17 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us