Focal Point
[CASE-OPENED] ReportCaster Error: "The file for the distribution list does not exist"

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

July 07, 2014, 09:50 AM
Y&Y
[CASE-OPENED] ReportCaster Error: "The file for the distribution list does not exist"
Hi,
We need to apply password for report distributed by ReportCaster.
I tried 2 ways to make it work:

1. Created the FEX procedure with dynamic extraction of Email Addresses, Burst Values and Passwords in order : VALUE, DEST, PASS. Scheduled the report with ZIP option. When passwords are not included in the code - report is executed and distributed in ZIP file to the users perfectly fine. ..
With Passwords it does not work.

2. Created External Distribution File in TXT format with the order specified in documentation, similar to this (https://webfocus.ferris.edu/ibi_html/javaassist/intl/EN/help/source/topic351.htm)
“The following is an example of a distribution file that contains the encryption enabled statement and several records that include password values to be passed to the Distribution Server:”

#encryption enabled
mcr@company.com,England,abcd,$
jsmith@company.com,Australia,rrrAx,$
rable@company.com,France,UtLRzet,$
tom@gadgetco.com,Italy,mOmPP,$

The TXT file is placed on the Reporting Server, the same folder as running FEX procedure; Running procedure is scheduled with ZIP option in Report Caster.

After execution of job schedule LOG file contains the error message:
“The file for the distribution list does not exist”.

Please share your thoughts .
Thanks

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8204 and older, iWay DataMigrator; Unix/Linux/Windows; Oracle 11g, DB2; SQL, PL/SQL, ETL
July 07, 2014, 11:49 AM
Tony A
Look at it logically, there is an additional line at the beginning of the distribution list which is required for when you want to add encryption -
#encryption enabled

In your focexec creating the dynamic list, are you including that line?

That would be my first step in checking especially as you say without the passwords the report is distributed OK.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
July 07, 2014, 12:20 PM
Y&Y
Hi Tony
Thank you for your response.

Yes, I noticed "#encryption enabled" line for the External Distribution File creation.
For dynamic list I follow the IBI documentaion :
https://webfocus.ferris.edu/ib...s_rchelp_dynamic.htm

"
Note: If the column names are not VALUE and DEST in the Master File, you must add a SET ASNAMES=ON qualifier before the TABLE FILE statement in the procedure.

The following is an example of how you can implement password protection of zipped distribution. The following Master File contains a password for zipped distribution.

FILE=MYADDR ,SUFFIX=FIX
SEGNAME=SEG01 ,SEGTYPE=S02
FIELDNAME =BURST_VALUE ,BURST ,A50 ,A50,$
FIELDNAME =EMAIL_ADDRESS ,EMAIL ,A40 ,A40,$
FIELDNAME =PASSWORD ,PWD ,A12 ,A12,$
The following sample procedure includes a password column along with the destination and burst value columns.

SET ASNAMES=ON
TABLE FILE MYADDR
PRINT BURST_VALUE AS 'VALUE'
EMAIL_ADDRESS AS 'DEST'
PASSWORD AS ‘PASS’
ON TABLE PCHOLD
END
"
Not sure if I can add encryption ....
I've tried to add it into each line of dynamic list extraction - no luck: no errors in a Log file and nothing is distributed:
From the Log:
Executing focexec.
Task finished.
Dynamically creating distribution information
---
Thank you.


WebFOCUS 8204 and older, iWay DataMigrator; Unix/Linux/Windows; Oracle 11g, DB2; SQL, PL/SQL, ETL