For additional info on using the LISTDSI command in REXX checkout the following 
link.

https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.ikja300/ldsi.htm


PHIL CARLYLE
Information Security | IAM RACF directory services
M: 480-235-2837 | [email protected]<mailto:[email protected]>
TEKSystems

“The Universe is made up of Protons, Neutrons, Electrons & Morons!”

From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Charles Mills
Sent: Friday, May 11, 2018 10:30 AM
To: [email protected]
Subject: Re: [TSO-REXX] Sdsf rexx

Yes, you can "read the directory blocks" of a PDSE with BSAM even though they 
do not really exist.

Charles


-----Original Message-----
From: IBM Mainframe Discussion List 
[mailto:[email protected]<mailto:[email protected]>] On Behalf Of 
Paul Gilmartin
Sent: Friday, May 11, 2018 8:32 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: [TSO-REXX] Sdsf rexx

On Fri, 11 May 2018 13:56:24 +0100, Mike Wawiorko  wrote:

>OUTTRAP with LISTD dsname M  ?
>
>I'm pretty sure others will have better suggestions.
>
There's also an ISPF facility for this.

In days of yore I have allocated a PDS with RECFM=F,LRECL=256,DSORG=PS
and read with Rexx EXECIO and parsed directory blocks.  I believe PDSE
maintains compatibility with this practice.

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


American Express made the following annotations
******************************************************************************
"This message and any attachments are solely for the intended recipient and may 
contain confidential or privileged information. If you are not the intended 
recipient, any disclosure, copying, use, or distribution of the information 
included in this message and any attachments is prohibited. If you have 
received this communication in error, please notify us by reply e-mail and 
immediately and permanently delete this message and any attachments. Thank you."

American Express a ajouté le commentaire suivant le Ce courrier et toute pièce 
jointe qu'il contient sont réservés au seul destinataire indiqué et peuvent 
renfermer des 
renseignements confidentiels et privilégiés. Si vous n'êtes pas le destinataire 
prévu, toute divulgation, duplication, utilisation ou distribution du courrier 
ou de toute pièce jointe est interdite. Si vous avez reçu cette communication 
par erreur, veuillez nous en aviser par courrier et détruire immédiatement le 
courrier et les pièces jointes. Merci.

******************************************************************************


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

Reply via email to