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] how to save an output file to output drive outside the EDASERVER

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] how to save an output file to output drive outside the EDASERVER
 Login/Join
 
Gold member
posted
I want to know how to save an output file to output drive outside the EDASERVER in WF 8 window server?

I have found many suggestions of use APP MAP, as in
http://forums.informationbuild...71057331/m/943102364

suggest to “ APP MAP the server/machine via the Reporting server in edasprof.prf and SAVE to the MAPped DRIVE:\\foldername “.
I have all the permission for the output drive - “Full control, modify, Read & execute, list folder contents, read,…”. Our folks can save output to the drive with WF 7.7.03 window server, but my WF8.0.03 does not work.

My question is :
should the APP MAP be done at edasprof.prf or can be done at wf program level? or anything I miss?


1) I used APP AMP at WF program level, it ran OK with no error, but I can’t find the output file at my output drive. See attached WF program.

2) Our admin later added the APP MAP in EDASPROF.prf, and also include it at Application path. When I ran the attached WF program, it remains the same, no error from program, but I still can’t locate the output in the output drive.

Do you have any clues? Thanks.
APP MAP WFOUTPUT \\s11BAB3\DMIA\WF_OUTPUT
FILEDEF SAVEOUT DISK WFOUTPUT\EMILY1.XLS

TABLE FILE CAR
PRINT
     CAR.ORIGIN.COUNTRY
     CAR.COMP.CAR
     CAR.CARREC.MODEL
     CAR.BODY.DEALER_COST
     CAR.BODY.RETAIL_COST
     CAR.SPECS.MPG
	 ON TABLE HOLD AS HOLD1 FORMAT FOCUS
END

TABLE FILE HOLD1
PRINT
	*
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE SAVE AS SAVEOUT FORMAT EXL2K
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
$
ENDSTYLE
END




  

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8.2.01 AppStudio
HTML, PDF, Excel
 
Posts: 61 | Registered: March 12, 2008Report This Post
Silver Member
posted Hide Post
The way we do this is to map a network drive on our reporting server first.
We then create the file on a drive within the Reporting Server and the copy (or move) it to the desired network outside the Server

At the beginning of the fex we add

-SET &FILE1= 'ITEMDETAILS' | '.CSV';
CMD net use G: \\TGMO1\CORP_IS\MOIBI
-SET &OUTDIR1 = 'G:\';
-SET &OUTDIR = &OUTDIR1 | &FILE1;
-SET &INDIR1 = 'C:\IBI\APPS\OUTPUT-FILES\';
-SET &INDIR = &INDIR1 | &FILE1;


FILEDEF ITEMDETAILS DISK C:\IBI\APPS\OUTPUT-FILES\&FILE1

...
Add the fex in here
...
ON TABLE SAVE AS 'ITEMDETAILS' FORMAT COMT
END
...

and then at the end we have

CMD COPY &INDIR &OUTDIR
-RUN
CMD net use G: /delete


WF 81.5, Windows7
AS/400 Database.
All Outputs

 
Posts: 46 | Registered: November 26, 2008Report This Post
Master
posted Hide Post
You can also try using .bat script to push the file from server to remote machine.
Call the .bat OS file at the end of the procedure.

Thanks,
Ram
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Guru
posted Hide Post
Hi Emily,


FILEDEF SAVEOUT DISK \\s11BAB3\DMIA\WF_OUTPUT\EMILY1.XLS
:
:
TABLE FILE HOLD1
PRINT	*
ON TABLE SAVE AS SAVEOUT FORMAT EXL2K
END  


Didn't it work for you?

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


-Rifaz

WebFOCUS 7.7.x and 8.x
 
Posts: 406 | Location: India | Registered: June 13, 2013Report This Post
Gold member
posted Hide Post
Use
FILEDEF SAVEOUT DISK \\s11BAB3\DMIA\WF_OUTPUT\EMILY1.XLS
I get FOC350 ERROR WRITING OUTPUT FILE:SAVEOUT.

use
APP FI SAVEOUT DISK WFOUTPUT\EMILY1.XLS or
FILEDEF SAVEOUT DISK WFOUTPUT\EMILY1.XLS
I receive file save success message, but can't find the output file.


WebFOCUS 8.2.01 AppStudio
HTML, PDF, Excel
 
Posts: 61 | Registered: March 12, 2008Report This Post
Guru
posted Hide Post
Is the WebFOCUSA service running as a named user or as "Local System"

If the later, then you should try running as a named user and then ensure that the named user has write/modify access to the shared folder.

you may also need to give the user modify access to the folder on the NTFS level too as sometimes this can over-ride the share permissions.

Hope that helps

Regards

Stu


WebFOCUS 8.2.03 (8.2.06 in testing)
 
Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007Report This Post
Virtuoso
posted Hide Post
Did you try rogerwilkouk's suggestion? Avoiding the UNC notation altogether and exposing it as a mapped drive instead may make things easier:

-DOS net use G: \\s11BAB3\DMIA
APP MAP WFOUTPUT G:\WF_OUTPUT
FILEDEF SAVEOUT DISK WFOUTPUT/EMILY1.XLS
-RUN

TABLE FILE CAR
PRINT
     CAR.ORIGIN.COUNTRY
     CAR.COMP.CAR
     CAR.CARREC.MODEL
     CAR.BODY.DEALER_COST
     CAR.BODY.RETAIL_COST
     CAR.SPECS.MPG
	 ON TABLE HOLD AS HOLD1 FORMAT FOCUS
END

TABLE FILE HOLD1
PRINT
	*
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE SAVE AS SAVEOUT FORMAT EXL2K
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
$
ENDSTYLE
END
-RUN
-DOS net use G: /delete



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Gold member
posted Hide Post
Thanks for all your tips.
I still can't get it work. I gues this is more like WF 8 issue.

Has anyone with WF 8 successfully saved a file outside the EDASERVER?

thanks,
Emily


WebFOCUS 8.2.01 AppStudio
HTML, PDF, Excel
 
Posts: 61 | Registered: March 12, 2008Report This Post
Silver Member
posted Hide Post
Emily,
We are on WF8 and use this regularly


WF 81.5, Windows7
AS/400 Database.
All Outputs

 
Posts: 46 | Registered: November 26, 2008Report 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] how to save an output file to output drive outside the EDASERVER

Copyright © 1996-2020 Information Builders