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     [SOLVED] Writing report output to UNIX box?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Writing report output to UNIX box?
 Login/Join
 
Gold member
posted
All,
We have installed our Web focus server s on Windows 2008 servers. Is that possible to write a dummy file or report output to a UNIX box or in UNIX File System? If so can I get any sample code if you have any?

Thanks In Advance.

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


WebFocus 8202M
APP Studio
Info assist
Report caster
Portals
Maintain
EXcel,PDF,HTML,Active Reports
 
Posts: 82 | Location: MD | Registered: May 14, 2010Report This Post
Platinum Member
posted Hide Post
I would think ReportCaster has that capability.
It has a Distribution FTP option.
 
Posts: 229 | Location: New York | Registered: July 27, 2004Report This Post
Master
posted Hide Post
Did you try with below option.
1. Create the report output, hold it in the windows server.
2. At the end of the report fex file, call a batch file.
3. within the batch file, write ftp script to put the saved report output to unix server.

Hope this helps.

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

if FTP is not an option for you but samba / CIFS is you could also use "-DOS net use" commands to achieve your goal.

e.g.

 
-* I assume that you have created a hold-html report named my_report.htm
-* so TABLE FILE ... ON TABLE HOLD AS MY_REPORT FORMAT HTML ... 
-* change this if you do something else

-SET &TMPPATH = TEMPPATH(255,'A255');
-SET &TMPPATH = TRUNCATE(&TMPPATH);

-* connect to your unix box using net use - (! <password> will have to be in plain text here !)
-DOS net use \\your_unix_server\your_path "<password>" /USER:your_user_on_the_unix_box
-* use copy to transfer your hold-file via network (! unencrypted !)
-DOS copy &TMPPATH|my_report.htm \\your_unix_server\your_path\
-* disconnet from your unix box
-DOS net use \\your_unix_server\your_path /DELETE
 


Cheers Linne


WebFOCUS 7.7.03
 
Posts: 67 | Registered: January 05, 2011Report This Post
Gold member
posted Hide Post
Thanks Linne and Ram. Let me try these options and will let you know the result


WebFocus 8202M
APP Studio
Info assist
Report caster
Portals
Maintain
EXcel,PDF,HTML,Active Reports
 
Posts: 82 | Location: MD | Registered: May 14, 2010Report This Post
Gold member
posted Hide Post
Solved, Thanks for the Help.


WebFocus 8202M
APP Studio
Info assist
Report caster
Portals
Maintain
EXcel,PDF,HTML,Active Reports
 
Posts: 82 | Location: MD | Registered: May 14, 2010Report 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     [SOLVED] Writing report output to UNIX box?

Copyright © 1996-2020 Information Builders