Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PDS member list details

Status
Not open for further replies.

docker

Programmer
Mar 1, 2001
4
CH
Hello,

I am just a new to using REXX on the mainframe, and hence the following problem has me stumped:

Does anybody know if REXX can get the PDS member details for a member in a PDS.

Name Prompt Size Init Mod VV MM ID
IBAN 170 99 170 01.02 TCHDE23
IBAN2 242 170 191 01.01 TCHDE23
MSGX 22 22 0 01.01 TCHDE23
OUTTRAPX 17 11 0 01.04 TCHDE23
REXXTEST 21 17 6 01.01 TCHDE23
SYSDSNX 25 22 0 01.03 TCHDE23
WHEREX 137 137 0 01.00 TCHDE23
WHOSGOT 31 24 0 01.06 TCHDE23

I am after the userid, changed and VV MM details for a member.

As you can browse a PDS and see this detail I know ISPF can do this, but I don't know how to find out how ISPF does this, or even if REXX can call the same routines as ISPF.

Related to this issue, I am also after the userid of the last person who edited a dataset (either sequential or VSAM). Does anyone know to retrieve this detail?, or even if it is avaiable?

Cheers.

Dave
 
Yes, the LMMLIST command is part of a set of commands available under ISPF.

It returns a list of the PDS's members and can be invoked to also return statistics (version, modlevel, etc.)

Use address ispexec in your REXX exec when using ISPF or Library Manager commands.

I use OS/390 V1R2 ISPF DIALOG DEVELOPERS GUIDE & REFERENCE SC28-1273-0

It's an old book, but still valid. IBM maintains an online library, sorry don't have the URL handy.

Commands starting with LM are Library Manager commands and it works closely with ISPF.

If still confused post back.


:->

PhiloVance
Other hobbies, interests: Travel, Model RR (HO Gauge), Genealogy.
 
Is it possible to make LMMLIST work in batch, or just under ISPF? Or is there an alternative that will work in batch? I want to do some crunching with member stats in batch (because our response time is so awful).
 
Hi LaurenC,

I tried using the LMMLIST command, but was not able to get it to work. I am not sure how you access this data.
 
you can use all ispf-services unter batch environment (ikjeft01), if you start your rexx programm under ispf:

//name EXEC PGM=IKJEFT01
//SYSTSIN DD *
ISPSTART CMD(rxprog)
:
:

in this case, Dialog Manager is started up as first and take the control. all ispf-services and all lm-services are available.

if you need more:
ServiceProfessional@WEB.DE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top