Actually, it was working ftp, but not over NFS which is what I needed.
File was being created w/ LF only after each attribute, but needed a
CRLF. 
Added a CHAR(13) to end of each attribute, so it creates it now CRLF,
which is what I was missing.

Thanks,
Amy


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Don Verhagen
Sent: Thursday, February 10, 2005 8:55 AM
To: [email protected]
Subject: Re: [U2] UniBasic CRLF over NFS mount

If  you're using FTP to do the transfer from UNIX to DOS (which you say
you are) then make the the FTP Transfer mode is ASCII, it usually
defaults to BINARY (BIN). Most FTP clients will automatically convert CR
to CRLF when transfering in ASCII mode.


"ASSIGN 1 to SYSTEM(1017)" 
In Unidata the equivalent command for no conversion is "NOCONVERT [ON |
OFF]"

Thanks,


--
Donald Verhagen          
Application Development Manager
[EMAIL PROTECTED]
Tandem Staffing Solutions, Inc.
1690 S Congress Avenue, Suite 210
Delray Beach, FL 33445  USA
Voice Phone: 561.454.3592 Fax Phone: 561.454.3640 

>>> [EMAIL PROTECTED] 7:37:01 PM 02/09/2005 >>>
There should be a ux2dos or unix2dos program in the operating system you
can use to convert cr to crlf. Example: cat foo.txt| ux2dos > new.txt ;
mv new.txt foo.txt

You can execute this statement from your basic program etc...



-----Original Message-----
From: [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
To: [email protected] <[email protected]>
Sent: Wed Feb 09 16:33:13 2005
Subject: [U2] UniBasic CRLF over NFS mount

I'm building a flat file in UniBasic on a unix system, then writing it
to an NFS mount point.

The file attributes are interpreted as CRLF's when I ftp the file over
to the windows system, but when I write or move the file over to the NFS
mount, the attributes are only separated by unrecognizable characters
(to notepad).

The problem is, the version of the (BarTender) application I'm upgrading
to, requires a CRLF before/after one of the attributes.

Any suggestions/thoughts?

TIA,
Amy
-------
u2-users mailing list
[email protected] 
To unsubscribe please visit http://listserver.u2ug.org/ 
-------
u2-users mailing list
[email protected] 
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to