This is a bit of an obscure question, bit I'm hoping someone here has done this before.
I'm able to both send and receive generation dataset files between Windows and MVS, on the IBM mainframe. What I need to be able to do is use some of the other FTP functions - because MVS is not done in directories, the entire concept of listing files is a problem. I need to do this in order to retrieve files that I have not yet downloaded.
If anyone can tell me how to:
A: Figure out the real file name - I can access by relative generation, (0), (-1), etc., but I need to know what the absolute generation number is, (file.file.G0043ZV00).
B: Is it possible to list all the files in a generation dataset, as if they were in a directory, and I just wanted to get a list of everything? Again, if it was in a directory, this would be easy, but MVS does not work that way - ftp_nlist does not return a list of files.