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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: How to find the how many members are there in a dataset
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: 8593
Location: Back in jolly old England

PostPosted: Fri Oct 10, 2008 4:53 pm    Post subject:
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: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Fri Oct 10, 2008 5:00 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Oct 10, 2008 5:05 pm    Post subject:
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: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Fri Oct 10, 2008 5:10 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Oct 10, 2008 5:19 pm    Post subject:
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: 205
Location: Bangalore

PostPosted: Sat Oct 11, 2008 3:22 pm    Post subject:
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: 456
Location: Belgium

PostPosted: Sat Oct 11, 2008 4:13 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Sat Oct 11, 2008 5:40 pm    Post subject:
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

Site Director


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

PostPosted: Sat Oct 11, 2008 9:56 pm    Post subject: Reply to: How to find the how many members are there in a da
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm


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