Focal Point
[SOLVED] Graph with hold file defined in another procedure

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8947019926

April 02, 2013, 02:41 PM
Greg Pelle
[SOLVED] Graph with hold file defined in another procedure
I have the following:

1. A procedure that augments a HOLD file (named augmentData.fex)
2. A procedure built using the Document Composer (named displayData.fex)

AugmentData calls the procedure displayData. (There are two procedures for maintainability.)

In the displayData procedure, everything works if I am defining tabular reports, but when attempting to save a graph report, I get the following error message: "The HOLD file name is missing from the graph reqeust. Please correct the problem before running layout.".

Here is the code generating the HOLD file from augmentData.fex

TABLE FILE SQLOUT
PRINT
*
ON TABLE HOLD AS ALLDATA
END

Here is the graph code I am trying to add to the compound document in displayData.fex

SET LOOKGRAPH=PIE
GRAPH FILE ALLDATA
SUM Amount
BY User
BY Category
END

Any idea what I am doing wrong?

Greg.

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


WebFOCUS 7.6
Windows, All Outputs
April 02, 2013, 04:39 PM
eric.woerle
Do you have your -INCLUDE DISPLAYDATA in your fex? That would definitely cause the issue. If you do, then I would use -SET &ECHO=ALL to see what errors are coming up in the code.


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
April 03, 2013, 08:07 AM
Greg Pelle
Eric,

No I do not, but I figured out my issue this morning.

I forgot to include the code
'ON GRAPH HOLD AS HOLD FORMAT SVG'
when I was defining the graph.

Thanks for the help. I will have to remember the -SET &ECHO-ALL command for the future.

Greg.


WebFOCUS 7.6
Windows, All Outputs