How can I access a flat file that resides on a UNIX file system?
My DS is on a Windows 2000 server.
April 23, 2008, 12:47 PM
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.
April 23, 2008, 04:47 PM
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
April 24, 2008, 09:34 AM
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
April 25, 2008, 11:10 AM
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
May 02, 2008, 10:24 AM
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.
December 02, 2008, 11:34 AM
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, MtGuyThis 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
December 03, 2008, 03:33 PM
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 ?