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     [SOLVED] Rules for "ON TABLE PCHOLD AS ' &AMPERVAR' FORMAT EXL07"

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Rules for "ON TABLE PCHOLD AS ' &AMPERVAR' FORMAT EXL07"
 Login/Join
 
Guru
posted
FOCUS Nation:

We want to create unique excel outputs, format EXL07 or XLSX, with something similar to

"ON TABLE PCHOLD FORMAT AS '&DATE Details' FORMAT EXLO7"

Somehow I am now adding the &VARIABLE correctly and the Excel does not open but is sent over to be saved in an unassigned folder.

TIA for any suggestions. I did check all over Tech Support and Focal Point and I am reasonably assured that somebody will find an already-published solution. The ready responses is what makes Focal Point awesome. Cool

This message has been edited. Last edited by: S.J. Kadish,


Sandy Kadish
Dev: 8.2.04- PostgreSQL
Test: 8.2.04 - PostgreSQL
Prod: 8.2.04 - PostgreSQL
 
Posts: 238 | Location: Atlanta, GA/Rehovot, Israel | Registered: May 06, 2003Report This Post
Expert
posted Hide Post
The O in EXLO7 is just a typo when posting here?

Zeros: 000000000000000000000
Os: OOOOOOOOOOOOOOOOOOOO


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Guru
posted Hide Post
Thanks, Francis
Smarter to type "ON TABLE PCHOLD FORMAT XLSX" Wink


Sandy Kadish
Dev: 8.2.04- PostgreSQL
Test: 8.2.04 - PostgreSQL
Prod: 8.2.04 - PostgreSQL
 
Posts: 238 | Location: Atlanta, GA/Rehovot, Israel | Registered: May 06, 2003Report This Post
Master
posted Hide Post
quote:
Originally posted by Francis Mariani:
The O in EXLO7 is just a typo when posting here?

Zeros: 000000000000000000000
Os: OOOOOOOOOOOOOOOOOOOO

Hence the historic use of a slash in the zero:



App Studio
WebFOCUS 8.1.05M
Windows, All Outputs
 
Posts: 594 | Location: Michigan | Registered: September 04, 2015Report This Post
Expert
posted Hide Post
Does your &DATE variable have "/" in it? You should probably remove them when using the variable in a file name.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
Sandy--

Simple rule: It will work with an amper var if, and only if, it works when the value is hard-coded.

This message has been edited. Last edited by: j.gross,


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Guru
posted Hide Post
I appreciate everybody's help here. I was able to use the following:

-SET &SAVE_DATE = &DATEMTDYY;
-* YADA YADA YADA (must retain as a comment) Wink
ON TABLE PCHOLD AS 'Subrogation &SAVE_DATE' FORMAT XLSX

Minor item - the file name is lower case.

I am not closing this one yet because some other folks may have some sage advice to share.

More critical - have a great weekend. Smiler


Sandy Kadish
Dev: 8.2.04- PostgreSQL
Test: 8.2.04 - PostgreSQL
Prod: 8.2.04 - PostgreSQL
 
Posts: 238 | Location: Atlanta, GA/Rehovot, Israel | Registered: May 06, 2003Report 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     [SOLVED] Rules for "ON TABLE PCHOLD AS ' &AMPERVAR' FORMAT EXL07"

Copyright © 1996-2020 Information Builders