I have done LS NLST DIR etc etc etc... The output from above is directly from a command prompt.

The Output below is exactly what the user gets from the commmand
 Quote:

EZA1701I >>> NLST AZED*
150 Opening ASCII mode data connection for file list.
EZA2284I AZEP_HP010299_2009082110214608_PHP837P082109_015.TXT
EZA2284I AZEP_HP010299_2009082110290479_PHP837P082109_041.TXT
EZA2284I AZEP_HP010299_2009082110175967_PHP837P082109_001.TXT

EZA2284I AZED_HP010299_2009082110131872_PHP837D082109_001.TXT
EZA2284I AZED_HP010299_2009082110133314_PHP837D082109_002.TXT
EZA2284I AZED_HP010299_2009082110134761_PHP837D082109_003.TXT
EZA2284I AZED_HP010299_2009082110140214_PHP837D082109_004.TXT
EZA2284I AZED_HP010299_2009082110141692_PHP837D082109_005.TXT
EZA2284I AZED_HP010299_2009082110143155_PHP837D082109_006.TXT
EZA2284I AZED_HP010299_2009082110144658_PHP837D082109_007.TXT
EZA2284I AZED_HP010299_2009082110150109_PHP837D082109_008.TXT
EZA2284I AZED_HP010299_2009082110151583_PHP837D082109_009.TXT
EZA2284I AZED_HP010299_2009082110153050_PHP837D082109_010.TXT
EZA2284I AZED_HP010299_2009082110154501_PHP837D082109_011.TXT
226 Transfer complete. 777 bytes transferred. 777 bps.



As you can see they are getting the long file names returned to them, but the false returns (the first 3) appear to be caused by the use of 8.3 names.

The listing that is retrieved here is used to build JCL jobs on the mainframe and when the improper files are picked up, the entire job abends and we all know how that goes
_________________________
Today is the tomorrow you worried about yesterday.