So after playing around a bit I think we have made a little progress. This applies only to v19.10.
If you go into the FTP Account Manager, click on the Server Tab and change the Name Index Option to 9 it will show you your data sets correctly if you are looking at "//XXX". However, when you change directory to a fully qualified directory like "//XXX.LIB.JCL" it displays a Window Logo icon. Now, if you leave that setting at -1 (this is default), and look at "//XXX" it will display the volume name as though it were the name. Now if you change directory to "//XXX.LIB.JCL" you will see all of your members listed and available for opening.
Why it works like this:
The Name Index is "used to specify the column number where the name of the file is stored. The default for this value is "-1" and this should not be changed unless you're sure of the value that should be used." So, unlike on the mainframe where each character is in a column, this value specifies the whole column as seen below.
- Code: Select all
COL1 C2 C3 C4 C5 C6 C7 C8 C9 C10
7/30/2013 9:30:30 AM: Volume Referred Ext Tracks Used Recfm Lrecl BlkSz Dsorg Dsname
7/30/2013 9:30:30 AM: PR3833 2013/07/29 1 15 1 FB 80 3120 PS XXX.EOM.STATS
Now without seeing IDM's code I don't know why the default is -1 but you have to take that into account when specifying it. So instead of C10 we get C9 (C9 was just a educated albeit a lucky educated guess). If you compare the fully qualified listing below with the previous listing you will see why -1 works.
- Code: Select all
C1 C2 C3 C4 C5
7/30/2013 9:42:45 AM: Name Size Created Changed ID
7/30/2013 9:42:45 AM: EOMSTAT
The fully qualified listing is totally different. Now the Name is C1 so the default works just fine if -1 implies "Whatever is in the first column." It indeed does work. It appears that UE is doing a full ls command (ls -l) and so gets back the attributes as well as the file name. What is needed is a way to send just the short ls command which gets only the file names.