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     [CLOSED] (FOC1517) Unrecognized command on table hold format htmtable as

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] (FOC1517) Unrecognized command on table hold format htmtable as
 Login/Join
 
Silver Member
posted
I just upgraded from 5.3.3 to 7.6.11 Developer Studio...OS 7. The following is included in several reports. IT worked fine in 5.3.3, but throws an in 7.6.11.

I have not been able to pinpoint a syntax change.

Why does this not work in 7.6.11?


-DEFAULT &FORMT = 'HTML';

-IF &FORMT EQ 'PDF' GOTO FPDF;
-IF &FORMT EQ 'HTML' GOTO FHTML;
-IF &FORMT EQ 'EXCEL' GOTO FEXCEL;
-IF &FORMT EQ 'EXL2K' GOTO FEXL2;
-GOTO THEEXIT;

-FPDF
ON TABLE PCHOLD FORMAT PDF
-GOTO THEEXIT;

-FEXCEL
ON TABLE PCHOLD FORMAT EXL2K
-GOTO THEEXIT2;

-FEXL2
ON TABLE PCHOLD FORMAT EXL2K
-GOTO THEEXIT2;

-FHTML
ON TABLE HOLD FORMAT HTMLTABLE AS TOPREPT
-GOTO THEEXIT;

-THEEXIT2
END
-EXIT

-THEEXIT


(FOC1517) UNRECOGNIZED COMMAND ON TABLE HOLD FORMAT HTMTABLE AS TOPREPT

This message has been edited. Last edited by: Kerry,
 
Posts: 47 | Registered: March 29, 2005Report This Post
Master
posted Hide Post
APP PREPENDPATH IBISAMP
TABLE FILE GGORDER
PRINT *
ON TABLE HOLD FORMAT HTMTABLE AS TOPREPT
END
-EXIT
Yields:
0 NUMBER OF RECORDS IN TABLE=     4317  LINES=   4317
 0 HTML FILE SAVED ...


I think the format you are looking for is: HTMTABLE.

Typically, I code my -GOTO's as: -GOTO label

The manual doesn't mentioned ending -GOTO's with a ';'.

Are you branching around the 'END' command, when your code needs it?

This message has been edited. Last edited by: David Briars,




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
Expert
posted Hide Post
I think HTMLTABLE was dropped quite awhile ago, in favour of HTMTABLE.

Another case of code tightening.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
quote:
(FOC1517) UNRECOGNIZED COMMAND ON TABLE HOLD FORMAT HTMTABLE AS TOPREPT


But from the error message it seems the "-INCLUDE" was encountered outside the scope of a TABLE command.

The complaint is not that the line does not conform to TABLE syntax, but rather that the WF agent was rummaging through FOCSTACK looking for a Focus primary command, and instead found
ON TABLE HOLD ...
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Virtuoso
posted Hide Post
Try
EX whatever ECHO=ON,STACK=OFF[,param=value,...]
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Expert
posted Hide Post
I think we need to see the code and/or the code output, as per Jacks suggestion.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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     [CLOSED] (FOC1517) Unrecognized command on table hold format htmtable as

Copyright © 1996-2020 Information Builders