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] Can't get WebFOCUS to output outside EDASERVER

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Can't get WebFOCUS to output outside EDASERVER
 Login/Join
 
Silver Member
posted
Hello all,

What I'm trying to accomplish is super basic. I want WebFOCUS to create an excel file on my computer. I can use the FILEDEF command to write a file to the reporting server, but I'm unable to get it to generate something on my C Drive.

Here is my code:

APP PATH IBISAMP

FILEDEF SAVEOUT DISK C:\Users\rray\WebFOCUSTest\TEST1.XLSX

TABLE FILE CAR
PRINT
COUNTRY
CAR
WHERE RECORDLIMIT EQ 1
ON TABLE SAVE AS SAVEOUT FORMAT XLSX
END

Here is my error:
0 NUMBER OF RECORDS IN TABLE= 1 LINES= 1
0 ERROR AT OR NEAR LINE 11 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC350) ERROR WRITING OUTPUT FILE: SAVEOUT

What am I missing here?

For the record, I have looked in the Help file, and read through "Allocating WebFOCUS Files" in the Developing Reporting Applications and I'm following the syntax for "Appending a Report Extract to Other Content" to the letter.

I also spent time searching the forums for other people who have my problem:

how to save an output file to output drive outside the EDASERVER

What's causing a ERROR WRITING OUTPUT FILE?

Hold Table and FILEDEF issues

Looking through those hasn't helped me figure it out. I tried the "-SET &USERID=GETUSER('A8');
-TYPE THE USERID FROM GETUSER IS &USERID" code and found out that my userid is "webfocus", but outside of that I am still clueless about what my issue is.

Does anyone have any suggestions?

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


WebFOCUS 8.105M, Windows 10, App Studio
 
Posts: 47 | Registered: October 22, 2014Report This Post
Virtuoso
posted Hide Post
Your code is working perfectly while you are saving to the proper folder and that exist.

quote:

found out that my userid is "webfocus"

This is the execution id, so it should be :

FILEDEF SAVEOUT DISK C:\Users\webfocus\WebFOCUSTest\TEST1.XLSX

Then the file will be saved properly.

If you would like to save to your uid (rray), you could have to change IB configuration since it seems that a generic user is used for execution or you are connected with a generic user, so use yours instead.
Does
<set> IBIMR_user (pass)

is in the Client Customs Settings ? And you can then use &IBIMR_user

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


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
Hi Rray9895

I think you are over complicating this. Just use ON TABLE PCHOLD FORMAT XLSX and when the report output comes back you can save it to your computer.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Virtuoso
posted Hide Post
You may want to look at APP HOLD command.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Master
posted Hide Post
the location of where the file is to be save must be available directly to the reporting server like a shared network drive or a shared drive on your machine. another option would be to have an ftp server and ftp it out.




Scott

 
Posts: 865 | Registered: May 24, 2004Report 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] Can't get WebFOCUS to output outside EDASERVER

Copyright © 1996-2020 Information Builders