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.
New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.
What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.
During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.
Now, I've inherited code where the coder is doing exactly this. He is making a hold file with the 0 data, and appended it to another table (the table with the non-zero data) via the MORE command. I've tried to use that code as a template, but I'm having problems. I am getting FOC1175 (NO REFERENCE TO FIELD DATA) when I try to create the zero record. This is the code:
TABLEF FILE SYSTABLE
SUM
COMPUTE TESTME/I1 = 0;
WHERE READLIMIT EQ 1
WHERE RECORDLIMIT EQ 1
ON TABLE HOLD AS ZERO1
END
Any tips?
I also wanted to add that this dude seems to have went this way but he never posted the code.
Oh... I'm using SQL ServerThis message has been edited. Last edited by: Shingles,
SET HOLDLIST=PRINTONLY
TABLEF FILE SYSTABLE
SUM NAME NOPRINT
COMPUTE TESTME/I1 = 0;
WHERE READLIMIT EQ 1
WHERE RECORDLIMIT EQ 1
ON TABLE HOLD AS ZERO1
END
WebFOCUS 8.2.06
Posts: 210 | Location: Sterling Heights, Michigan | Registered: October 19, 2010
As a possible alternative, when you are a reporting a set of logical and unchanging categories (like days of the week), you may consider skipping the blank data generation and simply defining your rows or columns explicity:
TABLE FILE CAR
SUM CNT.SEATS
BY SEATS ROWS 1 OVER 2 OVER 3 OVER 4 OVER 5 OVER 6 OVER 7
ON TABLE PCHOLD FORMAT HTML
END
This might be a more elegant solution in some circumstances - useless in others. Best of luck!