View previous topic :: View next topic
|
Author |
Message |
jerryte
Active User

Joined: 29 Oct 2010 Posts: 205 Location: Toronto, ON, Canada
|
|
|
|
Is there a way to get a list of members from a PDS in an offline job? This would include the member stats. Would prefer to not use ISPF environment services.
I can code a Rexx to use LMMLIST service but was hoping for something ready made and simple. |
|
Back to top |
|
 |
hankoerlemans
New User
Joined: 25 Jan 2018 Posts: 65 Location: Australia
|
|
Back to top |
|
 |
Willy Jensen
Active Member

Joined: 01 Sep 2015 Posts: 744 Location: Denmark
|
|
|
|
See PDS86 in file 182 at cbttape.org. There is a command called ATTRIB, which also works as a member list with stats. It even handles loadlib member stats. Alternatively I have a REXX which can show ISPF as well as most loadlib stats. Let me know if you want it. |
|
Back to top |
|
 |
Joerg.Findeisen
Senior Member

Joined: 15 Aug 2015 Posts: 1379 Location: Bamberg, Germany
|
|
|
|
As @Willy has suggested, PDS86 is the simplest way to do it.
Code: |
//ATTRIB EXEC PGM=IKJEFT1B
//STEPLIB DD DISP=SHR,DSN=<PDS86.LOADLIB>
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
PDS86 '<your_dsn>' ATTR :
/* |
|
|
Back to top |
|
 |
Willy Jensen
Active Member

Joined: 01 Sep 2015 Posts: 744 Location: Denmark
|
|
|
|
For PDS86 list for loadlibs, I will recommend the 'short' operand, i.e. PDS86 '<your_dsn>' ATTR : SHORT |
|
Back to top |
|
 |
jerryte
Active User

Joined: 29 Oct 2010 Posts: 205 Location: Toronto, ON, Canada
|
|
|
|
Thanks. We have StarTool so the ATTRIB command works. |
|
Back to top |
|
 |
Willy Jensen
Active Member

Joined: 01 Sep 2015 Posts: 744 Location: Denmark
|
|
|
|
Great, STARTOOL, and PDS86 which is mostly a free version of STARTOOL, are great for that sort of things. |
|
Back to top |
|
 |
|