On Mon, 30 Apr 2012 23:43:24 +0200, Bernd Oppolzer wrote:

>Don't know what it's worth, but I'm quite sure that you can read a directory
>of a PDS simply by issuing fopen on it as a binary file - like this
>
>directory = fopen ("dd:pdsfile", "rb");
>
>that is, if you don't specify member names in parantheses, you get the
>directory of the PDS.
>  
Rexx, for example, doesn't work quite that way.  The open fails unless
the programmer specifies DSORG(PS)  at allocation.

>And, yes, if you specify dd:dsname on fopen, there will be no DYNALLOC
>etc. and no SYSxxxxx ddnames, because there is already a ddname.
>  
FTP, for another example, doesn't work quite that way.  Overriding
attributes at allocation will sometimes be ignored and attributes
from the DSCB used regardless.

TSO TRANSMIT, for YA example doesn't work that way.  If I allocate
DATA.SET.NAME(MEMBER), which is a sequential allocation, and pass
the ddname as INDD to TRANSMIT, it is transmitted as an IEBCOPY
unloaded PDS member.

I don't know for any of these cases whether the utility uses the
argument DDNAME after tweaking the JFCB, or performs a DYNALLOC.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

Reply via email to