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] PCHOLD file name

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] PCHOLD file name
 Login/Join
 
Platinum Member
posted
Hi All,

When I run the following code ...

SET EXCELSERVURL = ''
-*
TABLE FILE CAR
PRINT CAR
BY COUNTRY
ON TABLE PCHOLD AS E01 FORMAT XLSX
END
-RUN


I get a dialog box asking me to Open/Save/Cancel my file. The file name is E01_20180912_110744.xlsx

Where does the Time Stamp in the name come from? Can this be changed?

Thanks

This message has been edited. Last edited by: FP Mod Chuck,


WebFocus 8.201M, Windows, App Studio
 
Posts: 227 | Location: Lincoln Nebraska | Registered: August 12, 2008Report This Post
Virtuoso
posted Hide Post
I just ran your fex in 8203 and it automatically opened Excel and named the file E01.xlsx.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Expert
posted Hide Post
I just ran your fex in 8202M Gen 60 and it prompted me to open E01.xlsx.

What is it that you are expected E01 to be? If you want it to be the literal of E01, then enclose it in single quote.

I'm thinking that it's trying to the field alias of E01 as weird as that would be.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Platinum Member
posted Hide Post
We are on 8201m ... Can someone else on that release give this a try and report your results? Thanks


WebFocus 8.201M, Windows, App Studio
 
Posts: 227 | Location: Lincoln Nebraska | Registered: August 12, 2008Report This Post
Platinum Member
posted Hide Post
I want to name the file with only the date at the end but not the time. If I do this ...

SET EXCELSERVURL = ''
-*
TABLE FILE CAR
PRINT CAR
BY COUNTRY
ON TABLE PCHOLD AS XYZ_&YYMD.EVAL FORMAT XLSX
END
-RUN


I get ... xyz_20180912_20180912_121709.xlsx


WebFocus 8.201M, Windows, App Studio
 
Posts: 227 | Location: Lincoln Nebraska | Registered: August 12, 2008Report This Post
Virtuoso
posted Hide Post
Under 8201M gen 240 with
SET EXCELSERVURL = ''
TABLE FILE CAR
PRINT CAR
BY COUNTRY
ON TABLE PCHOLD AS E01 FORMAT XLSX
END
-RUN

It result in an Open/Save/Cancel confirmation of E01.xlsx

With
SET EXCELSERVURL = ''
TABLE FILE CAR
PRINT CAR
BY COUNTRY
ON TABLE PCHOLD FORMAT XLSX
END
-RUN

It result in an Open/Save/Cancel confirmation of "fexname"_"date"_"time".xlsx

With
SET EXCELSERVURL = ''
TABLE FILE CAR
PRINT CAR
BY COUNTRY
ON TABLE PCHOLD AS E01_&YYMD.EVAL FORMAT XLSX
END
-RUN

It result in an Open/Save/Cancel confirmation of e01_20180912.xlsx


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Platinum Member
posted Hide Post
Interesting ...

Our Build/GEN number is 193

When I run this (fex name = aa_tst01) ...

SET EXCELSERVURL = ''
-*
TABLE FILE CAR
PRINT CAR
BY COUNTRY
ON TABLE PCHOLD FORMAT XLSX
END
-RUN


I get this ... rleyo.xlsx


WebFocus 8.201M, Windows, App Studio
 
Posts: 227 | Location: Lincoln Nebraska | Registered: August 12, 2008Report This Post
Virtuoso
posted Hide Post
gen 193 was my previous gen two weeks ago.

Maybe you should upgrade to gen240. Slight easy. Few click only and takes about 30-45 minutes to perform the client and AS upgrade.

But you may also have something else setup differently somewhere that cause this.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Virtuoso
posted Hide Post
Are you running this fex from an HTML Composer launch page?


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Platinum Member
posted Hide Post
I'm running it in App Studio. It does the same via an HTML launch page.


WebFocus 8.201M, Windows, App Studio
 
Posts: 227 | Location: Lincoln Nebraska | Registered: August 12, 2008Report This Post
Virtuoso
posted Hide Post
The behavior I'm observing is that if I run the report from a Composer generated HTML page, it automatically appends date and time to the name of the fex. I've no idea how it does that. However, if I just run the report from app studio without composer, I get a generic name no date and time appended. I think if you open a case with IB Tech support they'll be able to explain what's going on. When you get an answer please share your findings here so we know.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report 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] PCHOLD file name

Copyright © 1996-2020 Information Builders