Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8165
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: 8165
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Historical/statistical details for me... elixir1986 TSO/ISPF 13 Wed Aug 30, 2017 9:02 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us