On Tue, 12 Jul 2011 23:53:16 -0400, Robert A. Rosenberg wrote:

>At 13:28 -0500 on 07/08/2011, Rick Fochtman wrote about Re: Startio:
>
>>final intended purpose. I've used QSAM to access individual members
>>of a PDS, in name sequence, but it's not a practice I'd recommend to
>>the novice.
>
>It is not that hard. You read the directory (assuming it is a PDS and
>not a PDSE  [Which I am not sure will act like a PDS for reading the
>
It does.  They fake it.  I believe it's documented.  Don't know about
UNIX files, which can be read, but not written, by BPAM.

>directory]) one block at  a time using BSAM. You then use OPENJ or
>
Or even QSAM.  I've done it with Rexx; I think that's QSAM.

>(just make sure to open as INPUT - Using this method for PUTs is
>asking for problems).
> 
Amen.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to