Mainframe PDS Directory Listing - WeOnlyDo Discussion board

Mainframe PDS Directory Listing (General questions)

by dahelsley, Wednesday, January 02, 2013, 22:17 (4343 days ago)

I am having trouble getting a list of PDS contents. This was working until the PDS files were moved to a different host.

This is what I used to get:

Name VV.MM Created Changed Size Init Mod Id
DDESXREF 01.08 2010/01/05 2010/03/11 12:06 21 528 0 SBSMAN
DSAPBSTC 01.05 2010/01/05 2010/03/11 12:07 26 2738 0 SBSMAN

And this is what I get now (no code change but different host):

Volume Unit Referred Ext Used Recfm Lrecl BlkSz Dsorg Dsname
VPWRKB 3390 2012/12/17 1 42 FB 80 27920 PO 'SBS.FINAL.CPY'

I get the correct listing when making a standard connection, but the problem occurs when using a secure connection (Protocol = 2). Is there a process that isn't running on the host or a setting that is incorrect? Mainframe support reports that all processes that were running on the old host are also running on the new one.

Re: Mainframe PDS Directory Listing

by woddrazen, Thursday, January 03, 2013, 10:18 (4342 days ago) @ dahelsley

Hi,


Most probably this is different type of FTP/FTPS server so different listing is used there. Did you tried to use all types of directory listing from DirFormat Property?

Does it work like that maybe?


Regards,
Drazen

Re: Mainframe PDS Directory Listing

by dahelsley, Thursday, January 03, 2013, 17:40 (4342 days ago) @ woddrazen

Hi,


Most probably this is different type of FTP/FTPS server so different listing is used there. Did you tried to use all types of directory listing from DirFormat Property?

Does it work like that maybe?


Regards,
Drazen

The DirFormat property does not matter since I am parsing the ListItem property myself. I installed SmartFTP this morning in order to test with a different product. I am using the same connection parameters (FTPS Explicit on SmartFTP, Protocol = 2 for wodFtpDLX). SmartFTP is successfully returning the member listing of the PDS and I am not sure what the difference is. wodFtpDLX is listing the actual PDS file and not the members within the PDS. It does work if I set Protocol = 0, but that is not an option. I purchased the product because I need to make a secure connection.

Re: Mainframe PDS Directory Listing

by woddrazen, Thursday, January 03, 2013, 17:47 (4342 days ago) @ dahelsley

Hi,


So you are not receiving directory listing at all?

What happens if you set ListParams Property to

Does that help maybe?


Regards,
Drazen

Re: Mainframe PDS Directory Listing

by dahelsley, Thursday, January 03, 2013, 17:53 (4342 days ago) @ woddrazen

Hi,


So you are not receiving directory listing at all?

What happens if you set ListParams Property to

Does that help maybe?


Regards,
Drazen

ListParams is set to already.

I get this listing:

Volume Unit Referred Ext Used Recfm Lrecl BlkSz Dsorg Dsname
VPWRKB 3390 2012/12/17 1 42 FB 80 27920 PO 'SBS.FINAL.CPY'

Note that the Dsname is 'SBS.FINAL.CPY'. That is the PDS of which I am trying to list the members.

If Protocol = 0, I get the following:

Name VV.MM Created Changed Size Init Mod Id
DDESXREF 01.08 2010/01/05 2010/03/11 12:06 21 528 0 SBSMAN
DSAPBSTC 01.05 2010/01/05 2010/03/11 12:07 26 2738 0 SBSMAN

...which is a list of the members in the PDS.

I get the proper listing with SmartFTP whether I choose standard FTP or FTPS.

Re: Mainframe PDS Directory Listing

by woddrazen, Thursday, January 03, 2013, 18:36 (4342 days ago) @ dahelsley

Hi,


Is there any chance you can send us log from SmartFTP and wodFtpDLX? So we can comapre them and try to determine why this issue occur.

Inside wodFtpDLX please add this code inside FtpReply Event and send us output:
-------------------------------------------------------------
Debug.Print Command & & ReplyText
-------------------------------------------------------------

please send us log files to techsupport@weonlydo.com


Regards,
Drazen