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: 7997
Location: Bellevue, IA

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: 7997
Location: Bellevue, IA

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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm


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