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.
Hi everybody, I have encountered the following issue: I have a report that has some data but I have to print the heading + subheads/subfoots based on some conditions. The problem is that I can't remove the blank space that is left in the report even when there is PRINT SOME_FIELD NOPRINT. One idea was to SUM on the some fields that correspond to the longest sequence of columns that are used but that works only if all other subheads/subfoots are printed based on some of these columns ( those of the previous subfoot/subhead ). I've tryied SET EMPTYREPORT = ON|ANSI but this is not the case ... There is a post from mcgrakin where he suggests that setting TOPGAP = 0.000 and BOTTOMGAP = 0.000 and SIZE = 1 in report's data style but there are some tiny spaces left as well. So my question is whether there is way to achieve this without ANY spaces at all between the subheads and subfoots ? Thanks in advance.This message has been edited. Last edited by: Martin_fmi,
TABLE FILE CAR
PRINT
COUNTRY
CAR
MODEL
BY COUNTRY NOPRINT
BY CAR NOPRINT
BY MODEL NOPRINT
ON CAR SUBHEAD
"Subhead <COUNTRY"
WHEN (COUNTRY EQ 'ENGLAND') AND
(CAR EQ 'JENSEN');
ON CAR SUBFOOT
"Subfoot <COUNTRY"
WHEN (COUNTRY EQ 'ITALY') OR
(COUNTRY EQ 'FRANCE');
END
-EXIT
Exactly this causes the problem with spaces ... I've managed a workaround by multiplying the rows of the table by the number of subfoots and subheads treating them as column by somehow adjusting the corresponding positions which runs very slow though ...
If I read it correctly you only want heading subheads and subfoots
Here is a basic method as a starter
SET PAGE=NOLEAD
TABLE FILE CAR
"Heading"
SUM
COMPUTE DUMMY/A4='NULL'; AS ''
BY COUNTRY NOPRINT
BY CAR NOPRINT
BY MODEL NOPRINT
ON CAR SUBHEAD
"Subhead <COUNTRY> "
WHEN (COUNTRY EQ 'ENGLAND') AND
(CAR EQ 'JENSEN');
ON CAR SUBFOOT
"Subfoot <COUNTRY> "
WHEN (COUNTRY EQ 'ITALY') OR
(COUNTRY EQ 'FRANCE');
ON TABLE HOLD AS WP FORMAT WP NOCC
END
-RUN
FILEDEF MAS DISK WP.MAS
-RUN
-WRITE MAS FILENAME=WP , SUFFIX=FIX , $
-WRITE MAS SEGMENT=WP, SEGTYPE=S0, $
-WRITE MAS FIELDNAME=f1, USAGE=A2, ACTUAL=A02, $
-WRITE MAS FIELDNAME=C1, USAGE=A8, ACTUAL=A08, $
-WRITE MAS FIELDNAME=C2, USAGE=A12, ACTUAL=A12, $
-WRITE MAS FIELDNAME=f2, USAGE=A1, ACTUAL=A56, $
TABLE FILE WP
PRINT C1
C2
WHERE C1 OMITS 'NULL'
ON TABLE HOLD FORMAT ALPHA
END
-RUN
TABLE FILE HOLD
PRINT C1 AS ''
C2 AS ''
ON TABLE PCHOLD FORMAT PDF
END