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 created a compound PDF to consolidate a Customer Sales report, and a Customer Credit report.
Both the Sales and the Credit report take in an amper of CUST_NUM and work fine using the autoprompt on their own. When I add them to a compound PDF and run it I am prompted with one box for "CUST_NUM" and only the first report shows any data. The second report doesn't seem to be getting the value from the autoprompt.
Below is the code for my compound PDF report. where the "-INCLUDE" is my reports.
This is one option, there are others, as I'm sure, they will follow.
I noticed you don't have COMPOUND=OPEN nor COMPOUND=CLOSE prior to your -INCLUDES. Probably have them in the fex, or, ON TABLE PCHOLD FORMAT PDF OPEN FOR 1, CLOSE for 2???
Thanks for the quick response Tom. I changed the report to the EXEC rather than include, and added the amper passing, but got errors of "Can't find fex" Tried adding .fex to the end and gave up in order to try your other suggestion of
ON TABLE commands to set the PDF OPEN PDF CLOSE NOBREAK within the reporting fexes. I looked at the manual, and this makes sense. Unfortunately, it doesn't fix the problem of the CUST_NUM variable not being passed.
So, I guess we're back to the FY=&FY example you gave, and getting the "Can't find Fex" error. This is all in Managed Reporting, does that make a difference?
Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
Actually, with the -PROMPT now, your -INCLUDE's should work.
WHERE FISCAL_YEAR EQ &FY;
in both fex's CUST_NUM for you
Another example:
SET COMPOUND=OPEN SET COMPONENT='report1' -*component_type report -MRNOEDIT -INCLUDE 00_cust_header SET COMPONENT='report2' -*component_type report SET COMPOUND=CLOSE -MRNOEDIT -INCLUDE credit_and_ar_info COMPOUND END
This shouldn't be a problem (I guess you already figured that part out) because we have used this frequently. A couple of things to try--
See if you can copy and past your code into the fex instead of -INCLUDEing it and see if that works. If so then it has to do with the fact you are using -INCLUDE. Also try using -SET &ECHO=ALL; at the beginning of the fex and then turn on your Message Viewer (little down arrow by the run button in Dev Studio) so you can see the code generated. That will verify if indeed you are missing the parm value or if there is something else wrong. BTW: You should NOT have to use any OPEN/CLOSE syntax within the fexes with this new method of creating compound reports. They only need ON TABLE PCHOLD FORMAT PDF.
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
It's very helpful for future users of the forum (and only fitting since you're receiving some benefit that you give some back) for you to post what you did to resolve the problem. That allows someone else to find a complete solution on their own by just searching. Glad you got it working. Please mark your thread as [SOLVED].
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