Focal Point
[CASE-OPENED] The distribution failed: No such file (WebFOCUS 8)

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8387015076

May 07, 2014, 02:34 PM
Doug
[CASE-OPENED] The distribution failed: No such file (WebFOCUS 8)
Has anyone encountered the "The distribution failed: No such file" issue in WebFOCUS 8 (WF8)? If so, please let me know you thoughts and findings regarding this issue.

Background:
The ReportCaster job executes an MRE Standard Report which includes an extract for the report data and creates the Dynamic Distribution list (DDL) source file.
The ReportCaster distribution is set to FTP to a server using a DDL fex.
The DDL fex used to create the DDL is in the associated app folder (full code below) and uses the DDL source file which is created in the main extract MRE procedure.

WF7: Everything works fine.
WF8: I get the " The distribution failed: No such file " error. (any surprise here?)

Creation of the DDL source file used to create the DDL:
APP DELETEF AppFolderName SouceFileName MASTER
APP DELETEF AppFolderName SouceFileName FOCUS
APP HOLDDATA AppFolderName
APP HOLDMETA AppFolderName
-RUN
TABLE FILE SouceFileName
BY REPORT_NAME
ON TABLE HOLD AS WSS_DDL_SOURCE FORMAT FOCUS INDEX REPORT_NAME
END
-RUN

Creation of the DDL file used for FTP distribution:
TABLE FILE WSS_DDL_SOURCE
PRINT REPORT_NAME/A35 AS 'VALUE'
      REPORT_NAME/A35 AS 'DEST'
BY    REPORT_NAME NOPRINT
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE SET ASNAMES ON
ON TABLE PCHOLD FORMAT XML
END
-RUN

This message has been edited. Last edited by: Doug,




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
May 07, 2014, 02:40 PM
Doug
Which of the following is true for the above , in WF8 (#1 works in WF7)?
1) ON TABLE PCHOLD
2) ON TABLE PCHOLD FORMAT XML
3) ON TABLE HOLD
4) ON TABLE HOLD FORMAT XML  

July 31, 2014, 05:56 PM
Doug
Smiler This turned out to be an issue with SFTP in ReportCaster... Issue Solved!
August 05, 2014, 09:34 AM
hiredgun
Hi. We're having the same problem with "The distribution failed: No such file." We're also using SFTP. If you don't mind saying, what was your issue, and how did you solve it?


Test: Win 7 SP1, Dev Studio 8.0.07, SQL Server 2K8, PDF, EXL2K
Prod: Win 2K3/8, WF 7.7.02m, SQL Server 2K5/2K8, PDF, EXL2K
September 03, 2014, 12:38 PM
Doug
We use FTP instead.
February 15, 2016, 03:58 AM
Bernard Hakir
Hi,
we have the same issue with Report Caster FTP.
When we use \ in the path for the output file we get the error: Distribution failed: no such file
When we use / in the same path it works perfectly.
I have tested with sFTP and FTP
In both cases the same !


WebFOCUS 8.0.06 on Win2008/Tomcat7/LDAP Mode
February 15, 2016, 03:59 AM
Bernard Hakir
We are testing the 8.1.05 in our Test environment.
We have production running with 8.006


WebFOCUS 8.0.06 on Win2008/Tomcat7/LDAP Mode