Focal Point
[SOLVED] Save an Excel Output to a Network folder

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/519100943

January 22, 2010, 02:25 PM
saggy
[SOLVED] Save an Excel Output to a Network folder
Hi,

I need to save an EXL output in a network folder.for this i use APP MAP and filedef both of which are not working.can any1 specify a working example.thanks in advance

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


7.6.4
Unix & Windows
Excel,HTML,PDF,PPT,AHTML


January 22, 2010, 02:32 PM
GinnyJakes
Need more info, Saggy. Where is the reporting server, Windows or Unix? If on the latter, you might have to do a Samba share and the APP MAP and filedef.

If on Windows, you do have the correct permissions?

So please explain your architecture in a bit more detail.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
January 22, 2010, 04:44 PM
saggy
Yes Ginny the Reporting server is in UNIX
but the file has to be saved on a machine having windows.
You were talking of permissions on windows.so what permissions were you reffering to .

I have my procedure which creates the EXL in the MRE of reporting server which is on UNIX.

let me know what other details u want


7.6.4
Unix & Windows
Excel,HTML,PDF,PPT,AHTML


January 22, 2010, 05:25 PM
GinnyJakes
Well, that's enough. But you'll have to check with your admin to see how to share windows drives on Unix. We use Samba Share.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
January 25, 2010, 02:22 AM
Tony A
Or save locally to the Unix box and then FTP.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
January 25, 2010, 09:21 AM
linus
We do this exact thing from a UNIX server (WF Re[porting Server) to a Windows server (web server). My programs perform a UNIX copy from edatemp to a directory on the UNIX box and then it executes a stored procedure, which was written by our DBA, to ftp the excel file over to the windows server. Here's an example of the copy and the call to the stored procedure. Hope it helps.
  
-SET &ARGLEN = ARGLEN(120,TEMPPATH(120,'A120'),'I2')+1;
-SET &TP    = TEMPPATH( &ARGLEN, 'A&ARGLEN.EVAL') || '&EFILE';

UNIX cp &TP.EVAL /webfocus/asnrecap.xls

ENGINE SQLMSS SET DEFAULT_CONNECTION DBNAME
-RUN

SQL SQLMSS
EX MSDB.dbo.sp_start_job N'FTPGetFromWebFocus filename'
END
-EXIT




WF 7.7.05
HP-UX - Reporting Server, Windows 2008 - Client, MSSQL 2008, FOCUS Databases, Flat Files
HTML, Excel, PDF
January 26, 2010, 11:05 AM
saggy
thanks a ton to all got this solved by the IBI.


7.6.4
Unix & Windows
Excel,HTML,PDF,PPT,AHTML