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]] On Behalf 
Of Paul Gilmartin
Sent: Friday, May 11, 2018 8:32 AM
To: [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] with the message: INFO IBM-MAIN

Reply via email to