Here is a blog I wrote not long ago with several options with code examples.

https://community.ibm.com/community/user/ibmz-and-linuxone/blogs/ray-mullins/2023/02/09/tso-rexx-productivity


Lionel B. Dyck <><
Website: https://www.lbdsoftware.com
Github: https://github.com/lbdyck

“Worry more about your character than your reputation. Character is what you 
are, reputation merely what others think you are.”   - - - John Wooden

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Jack Zukt
Sent: Thursday, June 15, 2023 11:15 AM
To: [email protected]
Subject: Re: PDS/PDSE Member information

That would be a nice way to do it but, unfortunately, we do not have TSO PIPES 
:( Best Wishes Jack

On Thu, 15 Jun 2023 at 17:13, Lionel B. Dyck <[email protected]> wrote:

> If you have TSO Pipes then that will work as well:
>
> /* rexx */
> 'pipe listispf test.pds | cons'
> Exit
>
>
> A        01.01 20230428 20230602 05:58     1     0     0 LBDYCK
> AA       01.00 20230602 20230602 06:02     2     2     0 LBDYCK
> AAA      01.00 20230602 20230602 06:02     2     2     0 LBDYCK
> B        01.00 20230428 20230428 07:57     0     0     0 LBDYCK
> C        01.00 20230504 20230504 09:05     2     2     0 LBDYCK
> D        01.01 20230504 20230504 09:06     2     2     0 LBDYCK
> XX       01.01 20230609 20230609 14:02     3     3     0 LBDYCK
>
>
>
> Lionel B. Dyck <><
> Website: https://www.lbdsoftware.com
> Github: https://github.com/lbdyck
>
> “Worry more about your character than your reputation. Character is what
> you are, reputation merely what others think you are.”   - - - John Wooden
>
> -----Original Message-----
> From: IBM Mainframe Discussion List <[email protected]> On 
> Behalf Of Jack Zukt
> Sent: Thursday, June 15, 2023 11:08 AM
> To: [email protected]
> Subject: Re: PDS/PDSE Member information
>
> Thank Kolusu,
> Unfortunately this has to be run in batch.
> Best wishes,
> Jack
>
> On Thu, 15 Jun 2023 at 16:58, Sri h Kolusu <[email protected]> wrote:
>
> > >> Is there a way to get the PDS/PDSE member information, namely,
> > member/userid/last change date in batch? I have not been able to get 
> > to it using rexx.
> >
> > Jack,
> >
> > Not a batch solution per se , but you can get the stats to a dataset 
> > quite easily.
> >
> > Open the dataset in browse/view/edit and issue the command SAVE 
> > any8charname and press ENTER. The listing what you see in 3.4 will 
> > be saved without the headers in USERID.any8charname.MEMBERS
> >
> > Thanks,
> > Kolusu
> >
> >
> > --------------------------------------------------------------------
> > -- For IBM-MAIN subscribe / signoff / archive access instructions, 
> > send email to [email protected] with the message: INFO 
> > IBM-MAIN
> >
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to [email protected] with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to