Re: READFILE command?
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16215
interpreted = N
texte = >>>>Could someone help me find the command(s) needed to read in the lines of>a>>>>file one line at a time.>>>>>>There is no mechanism for reading files one line at a time; I guess you>could treat the file as a database with just one field, and pull it in that>way.>>>>...making sure to end each line with a real carriage return instead of>using a soft-wrapped block of text ... :)>>I think this is a legitimate request, as there are a lot of companies that>still (believe it or not) use UNIX accounting systems that only output as>fixed-format files, and we still need the ability to use these files to>update or replace our product databases on a regular, scheduled basis...It has been awhile since I have done this, way back in webcat1.6 days. Butour AIX (unix box) system has a command to do a doswrite to disk. We wrotea simple program that generated about 80% of the catalog.txt file right outdata on the unix box with tabs and hard returns to get out products dataquickly onto webcat.===============================================Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com===============================================
Associated Messages, from the most recent to the oldest:
>>>>Could someone help me find the command(s) needed to read in the lines of>a>>>>file one line at a time.>>>>>>There is no mechanism for reading files one line at a time; I guess you>could treat the file as a database with just one field, and pull it in that>way.>>>>...making sure to end each line with a real carriage return instead of>using a soft-wrapped block of text ... :)>>I think this is a legitimate request, as there are a lot of companies that>still (believe it or not) use UNIX accounting systems that only output as>fixed-format files, and we still need the ability to use these files to>update or replace our product databases on a regular, scheduled basis...It has been awhile since I have done this, way back in webcat1.6 days. Butour AIX (unix box) system has a command to do a doswrite to disk. We wrotea simple program that generated about 80% of the catalog.txt file right outdata on the unix box with tabs and hard returns to get out products dataquickly onto webcat.===============================================Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com===============================================
grichter@panavise.com (Gary Richter)
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
'page impression' techniques for banner ads (1999)
strange math (2004)
cookies and [returnraw] (1997)
Email (1998)
WebCat2 - storing unformatted date data? (1997)
[TaxableTotal] - not working with AOL and IE (1997)
target=_blank and form variables (1997)
SiteGuard Use Question (1997)
Card clearance, problems - solutions? (1997)
ooops...WebCatalog [FoundItems] Problem - LONG - (1997)
Default contains WEBDNA (1998)
2.0.1 new commands and contexts (1997)
Smart caching problems with 2.1b3? (1997)
problem: mail changed (1997)
Trouble with Showif and Search (1998)
POP Mail Server Reseting (1998)
[WebDNA] Error 500 with SUMM=T (2017)
quitting (1997)
[ShowIf] if the varieable exists (1998)
[WebDNA] Integration with QuickBooks (2011)