Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Operating Systems & Databases

Retirement Notice

Baanboard is shutting down on 31-dec-2023. See: http://www.baanboard.com/baanboard/showthread.php?t=76043


User login

Frontpage Sponsor

Main

Poll
What do you expect from your SI Implementation partner for the success of ERP implementation.
Bring best practices - Not to offer more CR's Leveraging standard functions
20%
Need more honesty to work with the Users until their processes are fully mapped & Users are trained
40%
Focus on process automation/ integrations/ Real time data/ BI analytics
13%
Stick to basics
27%
Total votes: 15

Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 21st April 2004, 15:12
Boston Boston is offline
Junior Member
 
Join Date: Mar 2004
Posts: 4
Boston is on a distinguished road
Baan: IVc4 - DB: Oracle9.2 - OS: AIX5.2
Write files to Windows from UNIX

Hi,

I am switching my Baan IVc4 install from Windows 2000 to AIX5.2. All my users are running bw from their XP desktops.

I created a an NFS share on a Windows server using MSWindows Services for Unix and mounted this on my IBM box so that users can save reports from Baan there and retrieve them again later from their desktops.

Whenever I write an ASCII file to this NFS share on the IBM and try to open it in notepad in Windows, the return characters seem messed up and the whole file has become one line.

The file does look OK when opened in a vi editor on windows, when I just save and close it again it now shows up OK in notepad as well. This is not something that would work in production however since the users do not have access to a vi editor.

Does anybody have any idea what is causing the file to become 'messed up' and how I can prevent this from happening?
Or for that matter, does anybody have suggestions on easier ways to share files between a UNIX and Windows server?

Thanks a lot for your help.
Ronald.
Reply With Quote
  #2  
Old 21st April 2004, 15:40
Hitesh Shah's Avatar
Hitesh Shah Hitesh Shah is offline
Guru
 
Join Date: Nov 2001
Location: Mumbai,India
Posts: 1,876
Hitesh Shah is on a distinguished road
Baan: ERP Ln - DB: MSSQL - OS: Windos
diff in linefeeds

This is due to difference between windows and unix with respect to linefeed characters .

U can use OS commands like unix2dos (available in solaris) to convert files readable by notepad.

Alternatively instead of using NFS share for windows, u can server2client function of ottdllbw to transfer file from unix to the network folder of windows machine (accessible from PC).

The 3rd argument has to be true for function server2client .
__________________
Hitesh R Shah
Reply With Quote
  #3  
Old 21st April 2004, 16:49
Boston Boston is offline
Junior Member
 
Join Date: Mar 2004
Posts: 4
Boston is on a distinguished road
Baan: IVc4 - DB: Oracle9.2 - OS: AIX5.2
dllbw usage

Hi Hitesh,
Thanks for your reply.
I have been looking at the dllbw object but do not now how to use this.
Could you provide me with some more detail on how to use this function?
Thanks again,
Ronald.
Reply With Quote
  #4  
Old 21st April 2004, 20:15
NPRao's Avatar
NPRao NPRao is offline
Guru
 
Join Date: Aug 2001
Location: Pacific NW, USA
Posts: 3,149
NPRao will become famous soon enough
Baan: Baan 4-5,5.2(Reger),LN-6.1,Infor LN-10.x - DB: Oracle,MS-SQL - OS: HPUX, Linux, Windows
Refer to -

client2server()

server2client()

.txt file - Notepad vs Wordpad

New line character question
__________________
The art of perfection does not lie in doing extraordinary things but, doing ordinary things extraordinarily well. [-N. Prashanth Rao]
How To Ask Questions The Smart Way,BaaNBoard,NPRao
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting files in Unix ~Vamsi Operating Systems & Databases 8 4th September 2002 10:20
Windows printing vs. unix printing for rtdpur440101000 karlovac Tools Development 8 30th August 2002 15:43
CODE: save/archive Baan log files (ksh) patvdv Code & Utilities 0 19th December 2001 22:40


All times are GMT +2. The time now is 01:10.


©2001-2023 - Baanboard.com - Baanforums.com