Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Accessing UNIX flat file
Go
New
Search
Notify
Tools
Reply
  
Accessing UNIX flat file
 Login/Join
 
Member
posted
How can I access a flat file that resides on a UNIX file system?

My DS is on a Windows 2000 server.


7.6.4/Windows 2k/
 
Posts: 16 | Registered: March 05, 2008Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Don't know the how to do, but you would need to have the UNIX file area defined to 'a drive' accessable to the windows server would be my thought.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Reply With QuoteReport This Post
Member
posted Hide Post
Hi,

I think that unless you can make it look like a regular DOS file to Windows, you will need to have a sub server on UNIX to access it. The only other thing I could see would be to FTP it but you probably don't want to do that.


WF Reporting Server 71x, 76x
 
Posts: 15 | Registered: September 10, 2007Reply With QuoteReport This Post
Master
posted Hide Post
You need a data adapter. If you have that it will be configured on the admin console.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Reply With QuoteReport This Post
Member
posted Hide Post
The ftp listener is probably the easiest way to do this. We have another option called managed file transfer, that can be used to extract files over ssh or sftp


iWay 55 SM SP2
 
Posts: 3 | Registered: April 18, 2008Reply With QuoteReport This Post
Member
posted Hide Post
Thanks for the Inputs.

The UNIX team is setting up SAMBA and creating a share that maps to the folder on the UNIX file system. This will let me to create a map on the reporting server to the folder on the UNIX file system.

I will then create an ODBC DSN and an ODBC adapter in the reporting server to access the file.

Keeping my fingers crossed.... I'll post an update later with the results.


7.6.4/Windows 2k/
 
Posts: 16 | Registered: March 05, 2008Reply With QuoteReport This Post
Member
posted Hide Post
Hi,
I assume the webfocus instance is installed under the same UNIX box and you have installed the ftp client in this Unix box too.
1)Setup an ftp account in Win2000 machine .
2)Write in the unix box a shell script and put it in WebFocus instance
folder .

by example : /your_webfocus_folder_instance/tmp/send.sh

The send.sh file content will follow

#!/usr/bin/ksh
ftp -n "win2000machine" <user "ftpuser_name" "ftp_user_password"
bin
put "tobesend.txt"
bye

3) In your webfocus fex after you produce tobesend.txt , write this line:
UNIX /your_webfocus_folder_instance/tmp/send.sh

I hope this help !

Cheers,
MtGuy

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


WF 7.6.2 , iWay 5.5 , Sun Unix , Windows XP , .NET , Oracle , SQL Server and more
 
Posts: 24 | Registered: December 05, 2007Reply With QuoteReport This Post
Expert
posted Hide Post
Balram, we have samba here, so we can access the unix files from the PC.

But why are you using ODBC to access a flat file ?

Just create a master that reads it.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6124 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Accessing UNIX flat file

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.