Hello,
Try this - i'm not connected, so i've not run a test. . .
/*>Rexx ------------------------------------------*/
lib='your.pds'
dsi_rc=listdsi("'"lib"'" 'directory' )
say lib 'has' sysmembers
exit
For more info:
http://publibz.boulder.ibm.com/cgi-bin/ ... SPTTSOLDSI