You mentioned SB, however, and that has methods for sending data to a user's local hard drive, such as:
DEST = "c:\TEST.TXT"
RTN = "The data you want to send"
TITLE = "Download message box title"
ERR = ""
CALL TU.DOWNLOAD(RTN, DEST, "HO", TITLE, ERR)
BEGIN CASE
CASE ERR = 1
ERR = "User aborted transfer"
CASE ERR = 2
ERR = "Unable to open file on PC"
CASE ERR = 3
ERR = "Unable to read file on PC"
CASE ERR = 4
ERR = "Communication error during transfer"
CASE ERR = 5
ERR = "Too many errors in transfer"
CASE ERR = 6
ERR = "Unable to write file on PC"
CASE ERR = 7
ERR = "File transfer not permitted"
CASE ERR = 10
ERR = "Unknown error"
CASE ERR = 11
ERR = "File already exists"
CASE 1
ERR = ""
END CASEHTH, David Beahm
Buffington, Wyatt wrote:
Is there anything special one needs to set up to be able to write the file to your C or D drives?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, July 15, 2004 1:23 PM To: [EMAIL PROTECTED] Subject: RE: [U2] Creating a comma seperated flat file in UniData.
LIST [DICT] filename [record_IDs] [selection_criteria]
[sorting_criteria] [attributes | ALL] [format_options] [report_options]
[TO [DELIM "char"] text_file]
Unidata 5.2
query...
:LIST A.FILE WITH JUNK="1" TO DELIM "," D:\TEMP\JUNK.CSV
Marty
-----Original Message-----
From: Al DeWitt [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 15, 2004 1:11 PM
To: [EMAIL PROTECTED]
Subject: [U2] Creating a comma seperated flat file in UniData.
OS: Windows 2K
U2: UniData 6.0.6
System Builder 5.2.4
I'm suffering a senior moment. I need to output a comma separated file
to disk for importation into a 3rd party application. System Builder is
too cumbersome (from what I can see) and want to do it in UniBasic.
However, I have forgotten how to the command(s) to create a new flat
file in an existing folder. So some examples would be helpful.
Al DeWitt Stylmark, Inc. 763-574-8705 [EMAIL PROTECTED]
--
-----------------------------------------------------------------------
This email is confidential and intended solely for the use of the individual
to whom it is addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error, please contact the sender.
-----------------------------------------------------------------------
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
