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

How to find the how many members are there in a dataset


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vijaykrishnans

New User


Joined: 11 Jan 2007
Posts: 5
Location: chennai

PostPosted: Fri Oct 10, 2008 4:21 pm
Reply with quote

How to find the how many members are there in a dataset without seeing browsing page by page.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Oct 10, 2008 4:53 pm
Reply with quote

LISTDS under REXX will do it.

Various examples available in the forum.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Oct 10, 2008 5:00 pm
Reply with quote

Code:
ISREPO01 EDIT S0.JCL.CNTL                                   Row 00001 of 01643
A member list gives you the count on the top of the screen; 1643 members in this case.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Oct 10, 2008 5:05 pm
Reply with quote

Robert Sample wrote:
Code:
ISREPO01 EDIT S0.JCL.CNTL                                   Row 00001 of 01643
A member list gives you the count on the top of the screen; 1643 members in this case.


Duhhhhhhhhhhhhhhhhh, why didn't I think of that ?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Oct 10, 2008 5:10 pm
Reply with quote

Too much REXX last night?
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Fri Oct 10, 2008 5:11 pm
Reply with quote

in Rexx:

Code:
/*>Rexx ------------------------------------------*/
lib='car1.pam.jobs'                               
dsi_rc=listdsi("'"lib"'"     'directory' )       
say lib 'has' sysmembers                         
exit                                             


yes I know, this code doesn't take care of the listdsi rc.

;)
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Oct 10, 2008 5:19 pm
Reply with quote

Robert Sample wrote:
Too much REXX last night?


No, probably too much Leffe Blonde icon_wink.gif
Back to top
View user's profile Send private message
Ajay Baghel

Active User


Joined: 25 Apr 2007
Posts: 206
Location: Bangalore

PostPosted: Sat Oct 11, 2008 3:22 pm
Reply with quote

Just giving I in front of the PDS gives me the no of members in the PDS.

-Ajay
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Sat Oct 11, 2008 4:13 pm
Reply with quote

Code:
No, probably too much Leffe Blonde


To explain this to the others:
Leffe Blonde is a Belgian Beer. A bier amongst 400 different sorts in Belgium, and the last real product we still have in Belgium icon_cry.gif icon_cry.gif icon_cry.gif

Even better than in England, and that is the reason why Expat stays in Belgium. icon_razz.gif
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Sat Oct 11, 2008 5:40 pm
Reply with quote

PeD wrote:

To explain this to the others:
Leffe Blonde is a Belgian Beer. A bier amongst 400 different sorts in Belgium


Only 291 left to try icon_lol.gif icon_lol.gif icon_lol.gif
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: Sat Oct 11, 2008 9:56 pm
Reply with quote

Quote:
Only 291 left to try
Slowpoke. . . . icon_wink.gif

Moderation - the bane of the drinking class.

heh heh heh,

d
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
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 Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top