As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I need to create a dynamic address list for bursting the report through ReportCaster.The code I am using is:
SET ASNAMES = ON
TABLE FILE CAR_DC PRINT COUNTRY AS 'VALUE' EMAIL_ADDR AS 'DEST' ON TABLE PCHOLD END
But while running it through ReportCaster I am getting the error like this: Schedule ID: S12q2b1jvh11, Job Description: CAR Completed with errors/warnings No burst value found in the report No report to distribute.
Can anybody help on this why am i getting this error and how to solve it? Thanks..
I have created CAR_DC table in MRE and holded it in format DB2.
APP HOLD SERVERNAME SET TITLES = OFF SET BYDISPLAY = ON SET HOLDLIST = PRINTONLY TABLE FILE CAR PRINT MODEL SEATS SALES BY COUNTRY BY CAR ON TABLE SET HOLDLIST PRINTONLY ON TABLE HOLD AS CAR_DC1 END DEFINE FILE CAR_DC1 EMAIL_ADDR/A40 = IF COUNTRY EQ 'ENGLAND' THEN 'Ritanjali.S@def.com' ELSE IF COUNTRY EQ 'JAPAN' THEN 'Ybd.A@def.com' ELSE 'Ritanjali.S@def.com'; END TABLE FILE CAR_DC1 PRINT MODEL SEATS SALES BY COUNTRY BY EMAIL_ADDR BY CAR ON TABLE SET HOLDLIST PRINTONLY ON TABLE HOLD AS CAR_DC FORMAT DB2 END
And in procedure i have written this code: SET ASNAMES = ON TABLE FILE CAR_DC PRINT COUNTRY AS 'VALUE' EMAIL_ADDR AS 'DEST' ON TABLE PCHOLD END
I'm not sure if this caused the problem but I changed your code a bit to
-* File DynamicMail.fex
-*APP HOLD SERVERNAME
SET TITLES = OFF
SET BYDISPLAY = ON
SET HOLDLIST = PRINTONLY
TABLE FILE CAR1
BY COUNTRY
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE HOLD AS CAR_DC1
END
DEFINE FILE CAR_DC1
EMAIL_ADDR/A40 = IF COUNTRY EQ 'ENGLAND' THEN 'Ritanjali.S@def.com'
ELSE IF COUNTRY EQ 'JAPAN' THEN 'fter@kempen.nl' ELSE 'Ritanjali.S@def.com';
END
TABLE FILE CAR_DC1
BY COUNTRY
BY EMAIL_ADDR
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE HOLD AS CAR_DC
END
-*And in procedure i have written this code:
SET ASNAMES = ON
TABLE FILE CAR_DC
PRINT
COUNTRY AS 'VALUE'
EMAIL_ADDR AS 'DEST'
ON TABLE PCHOLD
END
And used this a a complete code. It seems to work
(If the mail adresses were real you should have got a report...)
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
What are you expecting the output to be and in what format? You have ON TABLE PCHOLD which sends the file from the WF server back to the client requesting it - it holds the file locally. This is fine if running on-demand from a browser but if requested from RC, what does "local" mean? It doesn't have anywhere to send it except to the server where it was run so I would assume that's just like an ON TABLE HOLD and you would get the exact error message you're seeing. Try commenting out this line and see what you get.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
-* File car_dynamic_distribution_list.fex
DEFINE FILE CAR
CTR/I6 WITH COUNTRY = IF CTR EQ 0 THEN 1 ELSE 0;
FILE1/A6=EDIT(CTR);
EMAIL_ADDRESS/A40=IF CTR EQ 1 THEN emailaddr1@xxxx.com' ELSE 'emailaddr2@yahoo.com';
BURST_VALUE/A50=COUNTRY;
END
TABLE FILE CAR
PRINT BURST_VALUE AS VALUE
EMAIL_ADDRESS AS DEST
ON TABLE SET ASNAMES ON
ON TABLE PCHOLD
END
I'm not sure what is wrong with yours. I got the technique from the IBI website. I had originally created this in 533 and just ran my example in 762 (with real email addresses ) and it worked just fine.
The only differences that I can see is that my burst value field is A50 and the ASNAMES is in an ON TABLE.
this technique is working in 7.1.3 also. The ON TABLE PCHOLD generates an XML file that is used by reportcaster. The script for this must be placed outside the MRE.
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
Right - we also use the same technique for generating dynamic address lists. What I am not understanding is what they are trying to do with it. It sounds like they are just running this procedure standalone and expecting some output - but the intent of the code is to generate a file for internal use by RC. You've also got to have a procedure that produces a report to be burst using the generated address list. Just needing some clarification--
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007