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] folder name with an & is causing problems

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] folder name with an & is causing problems
 Login/Join
 
Silver Member
posted
Hi:

I am trying to write a report to a folder structure where one of the folders has an & in it. The path is: \\eldnp1515dm4\ntdnf001v1\Reports\Corporate_FP&A\Financial Reporting\2009\. I have researched on both Focal Point and IBI tech site and have tried every iteration of ' and | that I could think of. I also tried splitting the path up so the & is separate and that didn't work. I either get (FOC295) A VALUE IS MISSING FOR: &A\Financial or it acts like the report wrote fine (doesn't give any errors) - but when I check the folder - the report is not written. I currently have it so when the report is run - it is written to the screen and the user can save it off. Before I tell them that is the only option, I thought I would enter a post here to see if anyone has any suggestions.

Thanks in advance. simba

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


WF 7.7/Windows
 
Posts: 42 | Location: Denver, CO | Registered: January 04, 2007Report This Post
Guru
posted Hide Post
Have you considered saving the report somewhere and then using an operating system command to move it where it needs to go? I'm not sure what OS you are using, but if it's Windows, you could do something like:

DOS MOVE


-WebFOCUS 8.2.01 on Windows
 
Posts: 318 | Location: Los Angeles, CA | Registered: November 15, 2005Report This Post
Virtuoso
posted Hide Post
The following code will also do the trick:
-* File haha.fex
! subst x: "c:\ibi\apps\r&|r folder"
-RUN
APP MAP X X:\
APP HOLD X
TABLE FILE CAR
SUM SALES
BY COUNTRY
BY CAR
ON TABLE HOLD
END

Hope this helps ...


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
<JG>
posted
Being as long in the tooth as I am, using special characters in either folder or file names
is a mistake.

It is not only WebFOCUS that uses & as a reserved/special character.

Put in a good practice methodology and the problems do not arise.
 
Report This Post
Expert
posted Hide Post
The | is required for & in a folder name. But your problem is that a folder name has a blank. You need to put double-quotes around the path if a folder name has blanks.

The following code works:

FILEDEF H001 DISK "C:\temp\ntdnf001v1\Reports\Corporate_FP&|A\Financial Reporting\2009\h001.pdf"

TABLE FILE CAR
SUM SALES
BY COUNTRY
ON TABLE HOLD AS H001 FORMAT PDF
END


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
  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] folder name with an & is causing problems

Copyright © 1996-2020 Information Builders