PDA

View Full Version : List of PDS members on mainframe


10-Jan-2006, 08:59 AM
I've been tryng to run/create a script that will create a list of members in a PDS on the mainframe. The trange thing is that if I do it using standard BC2, and specify a folder comparison, the left pane shows the members for the relevant PDS. Whatever I do, I can't seem to do the same thing via a script file. Can it be done ?

The actual problem I'm trying to solve is simply to check whether a PDS member EXISTS on the mainframe or not. I'm not really that interested in which members are there, just whether it exists or not.

misi01
10-Jan-2006, 09:00 AM
Sorry, forgot to log in to show who it was.

Chris
10-Jan-2006, 03:25 PM
It might be possible. We don't have a mainframe to test with, so I'm not certain how to do it.

If you can load the directory using BC interactively, it might work to copy the FTP url from BC's path edit and paste it into a load statement in your script.

If you can't get it to work, please post your script, along with a verbose log from the failed script and we'll try to offer some suggestions.

To get a verbose log from your script, add the command log verobse c:\logfile.txt to the beginning of your script.