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     [SOLVED] Report Caster Compound Report Errors

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Report Caster Compound Report Errors
 Login/Join
 
Member
posted
Ok I am trying to set up a compound report in report caster and it says that there is no report to distribute. The report works fine running it in IE, but will not be created in RC. It is supposed to email a pdf attachment to me.

Here is some sample code using CAR and still gives me the same issue:

SET COMPOUND = OPEN

TABLE FILE CAR
PRINT
CAR.ORIGIN.COUNTRY
CAR.COMP.CAR
CAR.CARREC.MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,
$
ENDSTYLE
END


TABLE FILE CAR
PRINT
CAR.ORIGIN.COUNTRY
CAR.COMP.CAR
CAR.CARREC.MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,
$
ENDSTYLE
END

SET COMPOUND = CLOSE

TABLE FILE CAR
PRINT
CAR.ORIGIN.COUNTRY
CAR.COMP.CAR
CAR.CARREC.MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,
$
ENDSTYLE
END

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


Webfocus 8.005,
Windows 7, IE8
 
Posts: 6 | Registered: August 14, 2013Report This Post
Platinum Member
posted Hide Post
The problem could also be in ReportCaster in stead of the report itself.
In the Distribution tab, is "Send all reports as attachments" set on?

If so, can you add a -SET &ECHO='ALL'; to your fex and then run the schedule again. Afterwards check the last log of the schedule on any error message.

It could also be that the include of your style sheet can not be found by ReportCaster.


WebFocus 8206M, iWay DataMigrator, Windows, DB2 Windows V10.5, MS SQL Server, Azure SQL, Hyperstage, ReportCaster
 
Posts: 168 | Registered: March 29, 2013Report This Post
Member
posted Hide Post
Ok, so I took out the include on the stylesheets and added &ECHO = ALL to my code and still get an error. It is set up to send the report as an attachment. Here is my modified code and the error I am getting from RC. I did notice that somehow it is adding a 'SET DISTRIBUTE = OFF' after my code is done.

-SET &ECHO = 'ALL';

SET COMPOUND = OPEN

TABLE FILE CAR
PRINT
CAR.ORIGIN.COUNTRY
CAR.COMP.CAR
CAR.CARREC.MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
END


TABLE FILE CAR
PRINT
CAR.ORIGIN.COUNTRY
CAR.COMP.CAR
CAR.CARREC.MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
END

SET COMPOUND = CLOSE

TABLE FILE CAR
PRINT
CAR.ORIGIN.COUNTRY
CAR.COMP.CAR
CAR.CARREC.MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
END


BTP1020 Executing focexec.
BTP1020 No report to create.
BTP1020 SET COMPOUND = OPEN
BTP1020 TABLE FILE CAR
BTP1020 PRINT
BTP1020 CAR.ORIGIN.COUNTRY
BTP1020 CAR.COMP.CAR
BTP1020 CAR.CARREC.MODEL
BTP1020 ON TABLE SET PAGE-NUM NOLEAD
BTP1020 ON TABLE NOTOTAL
BTP1020 ON TABLE PCHOLD FORMAT PDF
BTP1020 END
BTP1020 TABLE FILE CAR
BTP1020 PRINT
BTP1020 CAR.ORIGIN.COUNTRY
BTP1020 CAR.COMP.CAR
BTP1020 CAR.CARREC.MODEL
BTP1020 ON TABLE SET PAGE-NUM NOLEAD
BTP1020 ON TABLE NOTOTAL
BTP1020 ON TABLE PCHOLD FORMAT PDF
BTP1020 END
BTP1020 SET COMPOUND = CLOSE
BTP1020 TABLE FILE CAR
BTP1020 PRINT
BTP1020 CAR.ORIGIN.COUNTRY
BTP1020 CAR.COMP.CAR
BTP1020 CAR.CARREC.MODEL
BTP1020 ON TABLE SET PAGE-NUM NOLEAD
BTP1020 ON TABLE NOTOTAL
BTP1020 ON TABLE PCHOLD FORMAT PDF
BTP1020 END
BTP1020 SET DISTRIBUTE=OFF
BTP1020 0 PDF FILE SAVED ...
BTP1020 Connection to the Reporting Server EDASERVE closed at 2014-03-13 08:12:14.864-0500 (1,394,716,334,864)
BTP1020 Job ran on the Reporting Server EDASERVE for 0.067 seconds
BTP1020 Task finished.
BTP1010 No report to distribute.


Webfocus 8.005,
Windows 7, IE8
 
Posts: 6 | Registered: August 14, 2013Report This Post
Silver Member
posted Hide Post
In WebFOCUS 8 you do not need to specify a format in the schedule. The output will be distributed in the format produced by the procedure. However, there is a know issue with the particular compound report syntax that you are using that requires that the format for distribution be specified at schedule execution time. If you edit the schedule, check the 'Override the format...' option in the Task window, and select PDF from the format drop-down list the report should distribute successfully. The problem is being documented. It does not occur with compound reports produced by Info Assist.


WebFOCUS All Releases
 
Posts: 45 | Location: NYC | Registered: September 21, 2007Report This Post
Member
posted Hide Post
That seemed to do it! I didn't think you would have to force the document into the same format. Thanks for the help Gerry.


Webfocus 8.005,
Windows 7, IE8
 
Posts: 6 | Registered: August 14, 2013Report 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     [SOLVED] Report Caster Compound Report Errors

Copyright © 1996-2020 Information Builders