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 have a program in reportcaster with a list of identifiers at the top that I define so I can add to that list anytime with no issues. The program reads that list and counts how many identifiers are present. It then loops through the .fex for each value from the identifier list. I can't seem to get the program to deliver more than one file in Reportcaster. I am using Excel output and am OK outside reportcaster b/c I FILEDEF to a spot with different naming convention for each output/loop. Just can't seem to get the reportcaster verbage for all reports to end up in one e-mail.
Thinking I need to run through all with PCHOLD FORMAT EXL2K OPEN and then on the last loop/iteration change to PCHOLD FORMAT EXL2K CLOSE. Does that sound correct?
Thanks for any suggestions!This message has been edited. Last edited by: Kerry,
This may also help. This is a very shortened version of the code.
---------------------------
TABLE FILE GETIDENTIFIER PRINT IDENTIFIER WHERE (IDENTIFIER EQ '06017' OR '06965' OR '07920'......); ON TABLE HOLD AS IDENTIFIERS FORMAT ALPHA END -RUN -* -SET &LOOPS=&LINES; -REPEAT ENDREPEAT &LOOPS TIMES -READ IDENTIFIERS NOCLOSE &P_PCDOCNUM.A6.
Yes, it has to be a Compound report (using the OPEN and CLOSE statements).
In your -REPEAT, you could compute a Dialogue Manager amper variable that would contain the 'OPEN', blank or 'CLOSE' value depending on if you're in the first, middle or last iteration of the REPEAT loop.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
In the RC manual, it states that reportCaster is only able to distribute a single report(including bursting a single report into mutiple sections). What you are try to do is distribute multiple reports with a single job, which will not work.
Follow Francis' suggestion a create a compound document and you'll be able to get what you need. Otherwise, your only option is to set up multiple jobs, but then you also get multiple emails.
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