Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     ReportCaster bursting using dynamic address

Read-Only Read-Only Topic
Go
Search
Notify
Tools
ReportCaster bursting using dynamic address
 Login/Join
 
<Rita>
posted
Hello,

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..
 
Report This Post
Virtuoso
posted Hide Post
Rita

How dit you create the CAR_DC, is it a real database or did you do this by a define?

If you run this small report what does the output look like (you may post is)




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, 2006Report This Post
<Rita>
posted
Frank,

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

can you tell why am i getting error?

Thanks
 
Report This Post
Virtuoso
posted Hide Post
Rita

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, 2006Report This Post
Master
posted Hide Post
I think your list is not in the correct format. The format is supposed to be:
email_address,burst_value,$

The , and ,$ are significant.

At least, this works for us.

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


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Virtuoso
posted Hide Post
JG

Your solution is a flat file.
Rita uses the dynamic file adress and that is the WebFocus internal XML file format.




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, 2006Report This Post
Virtuoso
posted Hide Post
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, 2007Report This Post
Expert
posted Hide Post
This works in 762.

-* 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 Smiler) 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.

Hope this helps.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Virtuoso
posted Hide Post
Darin, Ginny

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, 2006Report This Post
Virtuoso
posted Hide Post
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, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     ReportCaster bursting using dynamic address

Copyright © 1996-2020 Information Builders