Joined: 03 Aug 2007
|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)
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.