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.
Does it have to be EXL07? If you change it to EXL2K you might find that it works. I think mainly because of the "textual" format of the output from WF rather than the binary in which Excel will(?) always strip out extraneous spaces.
DEFINE FILE CAR
D_MODEL/A70 = CTRAN(3,'...',46,13,'A3')|MODEL;
END
TABLE FILE CAR
BY COUNTRY
BY CAR
BY D_MODEL
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET HTMLCSS ON
ON TABLE SET LINES 999999
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
ENDSTYLE
END
-RUN
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
SET SHOWBLANKS = ON
DEFINE FILE CAR
CATEGORY/A20 = ' ' | CAR;
END
TABLE FILE CAR
SUM
RETAIL_COST
DEALER_COST
BY COUNTRY
BY CATEGORY
ON TABLE HOLD AS HOLD2
END
-RUN
DEFINE FILE HOLD2
TOT1/P13C = RETAIL_COST;
TOT2/P13C = DEALER_COST;
END
TABLE FILE HOLD2
SUM
TOT1 NOPRINT
TOT2 NOPRINT
BY COUNTRY NOPRINT
SUM
RETAIL_COST
DEALER_COST
BY COUNTRY NOPRINT
BY CATEGORY AS 'CATEGORY'
ON COUNTRY SUBHEAD
"<COUNTRY<TOT1<TOT2"
ON TABLE PCHOLD FORMAT EXL07
ON TABLE SET HTMLCSS ON
ON TABLE SET LINES 999999
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
TYPE=SUBHEAD, HEADALIGN=BODY, STYLE=BOLD,$
TYPE=TITLE, STYLE=BOLD,$
ENDSTYLE
END
-RUN
-EXIT
This message has been edited. Last edited by: Tom Flynn,
Another method, which I followed for page numbers.
SET SHOWBLANKS = ON
DEFINE FILE CAR
MAX_PADDING/A30 = '@@@@@@@@@@@@@@@@@@';
INSTRLEN/I5 = ARGLEN(24, MODEL,INSTRLEN);
DES/D12 = IF INSTRLEN EQ 3 THEN 1 ELSE IF INSTRLEN EQ 9 THEN 2 ELSE IF INSTRLEN EQ 11 THEN 3 ELSE IF INSTRLEN EQ 16 THEN 4 ELSE 7;
PADDING/A30= SUBSTR(30, MAX_PADDING, 1, DES, DES, PADDING);
PADDED_VALUE/A100 = PADDING || MODEL;
IND_VALUE/A100 = STRREP (100, PADDED_VALUE, 1, '@',1,' ',100, IND_VALUE);
END
TABLE FILE CAR
PRINT
MODEL
INSTRLEN
DES
PADDING
PADDED_VALUE
IND_VALUE
ON TABLE PCHOLD FORMAT EXL07
END
-Rifaz
WebFOCUS 7.7.x and 8.x
Posts: 406 | Location: India | Registered: June 13, 2013