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     [CASE-OPENED] SMTP EXL2K File - Missing Stylesheet Effects.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE-OPENED] SMTP EXL2K File - Missing Stylesheet Effects.
 Login/Join
 
Master
posted
Greetings,

I am creating an EXL2K formatted file, on FOCUS for z/OS, v7.6.4, with the following code:

SET COMPOUND=BYTOC
-RUN
TABLE FILE CAR
"Car Report"
"Country: <COUNTRY"
PRINT SALES
BY    COUNTRY
BY    CAR
ON TABLE HOLD AS CAROUT FORMAT EXL2K
ON TABLE SET STYLE *
 TYPE=HEADING, STYLE=BOLD, COLOR=RED, BACKCOLOR=RGB(255 255 204),$
 TYPE=TITLE,   STYLE=BOLD, COLOR=RED, BACKCOLOR=RGB(255 255 204),$
ENDSTYLE
END

When I FTP the file down to the LAN, and then open it in Excel, I see the content and formatting A-OK.

When I email the file as an attachment, open the attachment in Excel, I see the content, but I do not see the formatting. That is, I do not see the results of the stylesheet commands.

Upon review of the EXL2K file I see CSS code like the following:

.xl102
        {mso-style-parent:style0;
        color:#FF0000;
        font-size:10.0pt;
        font-weight:700;
        font-family:"ARIAL";
        background:#FFFFCC;
        mso-pattern:auto none;
        white-space:normal;
        mso-font-charset:0;}  

In SMTP, the '.' at a beginning of a line is a way to terminate a command.

I MANUALLY EDITED the EXL2K mainframe file and added a period, for every class:

..xl102
        {mso-style-parent:style0;
        color:#FF0000;
        font-size:10.0pt;
        font-weight:700;
        font-family:"ARIAL";
        background:#FFFFCC;
        mso-pattern:auto none;
        white-space:normal;
        mso-font-charset:0;}  

The second '.' acts as an escape for the first one.

I then sent the edited file, through SMTP.

When I opened the EXL2K attachment, I saw the stylesheet results A-OK.

Does anyone know of a workaround for this scenario, or perhaps I am missing something?

I imagine I could post-process the file, but I would prefer not to, if possible.

I have a case open with IB on this scenario, but I thought I would try the Forum as well.

Thanks,
Dave

This message has been edited. Last edited by: Kerry,




Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
 
Posts: 822 | Registered: April 23, 2003Report This Post
Virtuoso
posted Hide Post
Would it be possible to zip it before mailing it? That would effectively prevent the SMTP protocol from interpreting the contents of the file.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Master
posted Hide Post
You might also change the HOLD to PCHOLD


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
Expert
posted Hide Post
Pat,

He's on mainframe and therefore has to get the file to his users on Windoze (I guess) so PCHOLD is of no use to him.

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, 2004Report This Post
Master
posted Hide Post
Good Catch Tony, and totally true. I missed that this was for Z/OS.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report 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     [CASE-OPENED] SMTP EXL2K File - Missing Stylesheet Effects.

Copyright © 1996-2020 Information Builders