Thanks. 

Sounds like I will need two code paths:

- DESERV for PDS(E)
- readdir (which in my general UNIX ignorance I was not aware of) for HFS
directories

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of McKown, John
Sent: Friday, April 20, 2012 5:56 AM
To: [email protected]
Subject: Re: DESERV for HFS Folders?

I think the only way to do what you want is via the UNIX readdir type
functionality. The only thing I can find for reading a directory using
non-UNIX BPAM support are the BLDL and FIND macros. Conspicuously missing is
DESERV support.
Also, here
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt2d490/3.8.7.4
it says:
DESERV provides interfaces to access the directories of PDS and PDSE data
sets. 
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt2d570/2.2.20
says the same thing in very similar word.
But here:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt2r190/8.0
it is explicitly stated:

 Table 73. DESERV reason codes

 Reason           
  Code                   Meaning           
1127 (X'0467')           UNIX(r) directories not supported.

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

Reply via email to