Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PDS member stats update

116 views
Skip to first unread message

Patrick Herring

unread,
May 5, 1999, 3:00:00 AM5/5/99
to
Anyone know how I can (in Rexx) set some user data for a PDS member? I want
what an edit would generate, but can I edit with a macro that does a change
then ENDs (like I would have done under VM)?

None of the PDS member copy utilities, nor using execio, seem to preserve or
create any user data, yet 3.3 does so I'm wondering if that edits the
directory blocks directly, something I'm not keen to do.

--
Patrick Herring, via DejaNews

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own

Gilbert Saint-flour

unread,
May 5, 1999, 3:00:00 AM5/5/99
to
In <7gpca0$alf$1...@nnrp1.dejanews.com>, on 05 May 1999 at 12:07, Patrick
Herring <p...@anweald.exnet.co.uk> said:

>Anyone know how I can (in Rexx) set some user data for a PDS member? I
>want what an edit would generate, but can I edit with a macro that does a
>change then ENDs (like I would have done under VM)?

Use the ISPF LMMSTATS service. Go to DejaNews at
http://www.dejanews.com/home_ps.shtml and search for LMMSTATS, I'm pretty
sure you'll find some examples. You can also look at the VIEWSAVE (VSAVE)
EDIT macro in file 183 of the CBT tape at http://cbttape.org

Gilbert Saint-flour <g...@ibm.net>

DMcRitchie

unread,
May 5, 1999, 3:00:00 AM5/5/99
to
I have macros that will get directory stats. Before getting into them I
would recommend first becoming familar with taking a look at ALLMEM example in
your REXX reference. ALLMEM does not display stats but does edit each member
(except itself).
http://booksrv2.raleigh.ibm.com/ispf/allmem.htm

For my macros you can get to both documentation and source code from
http://members.aol.com/dmcritchie/nclist.htm
which is the last stop on my Tour. From that point you look at specific
macros.

@DIRSTAT Getting ISPF statistics within the current member in Edit. Uses ISPF
LMMSTATS

@DIR (is CLIST not REXX) was my workhorse for editing members, making
changes to edited members, making directory lists, etc. See documentation it
was started from the clist equivalent of ALLMEM and I added too much function
to convert to REXX since it was only good for TSO.

HTH, Beyond pages with brief descriptions of all of my macros most of my pages
are not indexed by search engines. This was to reduce multiple redundant hits
for macros especially by people who aren't looking for REXX macros.

David McRitchie
The REXX Macros Toolbox
http://members.aol.com/dmcritchie/home.htm

Doug Nadel

unread,
May 5, 1999, 3:00:00 AM5/5/99
to
You can run the ISPF edit service with the MACRO parameter to run an
edit macro. You can also use the ISPF LMMSTATS service to just set
stats.
-Doug Nadel

On Wed, 05 May 1999 12:07:30 GMT, Patrick Herring
<p...@anweald.exnet.co.uk> wrote:

>Anyone know how I can (in Rexx) set some user data for a PDS member? I want
>what an edit would generate, but can I edit with a macro that does a change
>then ENDs (like I would have done under VM)?
>

Patrick Herring

unread,
May 6, 1999, 3:00:00 AM5/6/99
to
In article <3730b197...@bocanews.bocaraton.ibm.com>,

na...@us.ibm.com (Doug Nadel) wrote:
> You can run the ISPF edit service with the MACRO parameter to run an
> edit macro. You can also use the ISPF LMMSTATS service to just set
> stats.

Thanks for these, and to other repliers. I worked out just after posting that
SAVE in a macro does the trick. However, I ought to look at LMMSTATS in case
the files are large & it might be more efficient. I'm writing a 'copy member'
that sets the stats to the time & who of the copy rather than carrying over
the stats for the original member or leaving them blank.

0 new messages