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
 

 

Find out how many users are inside a PDS members

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
rajesh-amigos
Currently Banned

New User


Joined: 03 Aug 2007
Posts: 25
Location: India

PostPosted: Fri Sep 07, 2007 1:49 pm    Post subject: Find out how many users are inside a PDS members
Reply with quote

I am trying to find out how many users are inside a PDS members.
I am using the following code:-

"ISPEXEC QUERYENQ QNAME(SPEDIT) RNAME(var1)
Save(Var4) XSYS"

Here Var4 is the file I want the results to be written into.
And Var1 is the PDS whose members I want to find out, whether they are being edited or not.

However when the file Var4 is written, It has SYSDSN in QNAME entry, rather than SPFEDIT. Can somebody tell me why is this so?

Also The RNAME has only the name of the PDS rather than the members.
What should I do to get the member names in RNAME entry.

If possible, can soembody describe me the significance of QNAME and RNAME. The IBM manula wasn't very helpful.
Back to top
View user's profile Send private message

nevilh

Active User


Joined: 01 Sep 2006
Posts: 258

PostPosted: Fri Sep 07, 2007 4:08 pm    Post subject:
Reply with quote

SYSDSN is the default change your qname specification to SPFEDIT (you had SPEDIT)
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 find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts Access SQLCA fields inside a stored p... gangapd DB2 4 Thu Oct 27, 2016 10:20 am
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm


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