RE: [U2] UniBasic CRLF over NFS mount
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: u2-users@listserver.u2ug.org 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: u2-users@listserver.u2ug.org 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 u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
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: u2-users@listserver.u2ug.org 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 u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UniBasic CRLF over NFS mount
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: u2-users@listserver.u2ug.org 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 u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniBasic CRLF over NFS mount
It is unidata, but I'll see if I can find the equivalent... Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin P Lynch Sent: Wednesday, February 09, 2005 3:47 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] UniBasic CRLF over NFS mount is this universe ? try putting "ASSIGN 1 to SYSTEM(1017)" immediately before the write , this tells universe not to convert the record when writing. there is a comparable statement in Unidata but I don't recall it. Kevin Lynch -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Amy Cook Sent: Wednesday, February 09, 2005 5:33 PM To: u2-users@listserver.u2ug.org 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 u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ __ This email has been scanned by the Inbound TSH Mail Filter Please Report any issues to [EMAIL PROTECTED] __ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniBasic CRLF over NFS mount
is this universe ? try putting "ASSIGN 1 to SYSTEM(1017)" immediately before the write , this tells universe not to convert the record when writing. there is a comparable statement in Unidata but I don't recall it. Kevin Lynch -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Amy Cook Sent: Wednesday, February 09, 2005 5:33 PM To: u2-users@listserver.u2ug.org 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 u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ __ This email has been scanned by the Inbound TSH Mail Filter Please Report any issues to [EMAIL PROTECTED] __ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/