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. But our AIX (unix box) system has a command to do a doswrite to disk. We wrote a simple program that generated about 80% of the catalog.txt file right out data on the unix box with tabs and hard returns to get out products data quickly 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:

    
  1. Re: READFILE command? (grichter@panavise.com (Gary Richter) 1998)
  2. Re: READFILE command? (Jay Van Vark 1998)
  3. Re: READFILE command? (Grant Hulbert 1998)
  4. Re: READFILE command? (Kenneth Grome 1998)
  5. Re: READFILE command? (Brian B. Burton 1998)
  6. Re: READFILE command? (Kenneth Grome 1998)
  7. Re: READFILE command? (Grant Hulbert 1998)
  8. Re: READFILE command? (grichter@panavise.com (Gary Richter) 1998)
  9. READFILE command? (Steve Rosenbaum 1998)
>>>>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. But our AIX (unix box) system has a command to do a doswrite to disk. We wrote a simple program that generated about 80% of the catalog.txt file right out data on the unix box with tabs and hard returns to get out products data quickly 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:

Searchable WebCat (etc.) Docs ? (1997) Word wrapping (1997) Webcatalog error, Plug-in for Webstar (1996) [WebDNA] Search on a database (2012) Re1000001: Setting up shop (1997) PhotoMill -> PhotoMaster (1997) I'm Sorry - OFF TOPIC (2000) Sorting LISTFILES (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Running _every_ page through WebCat ? (1997) Re[3]: 2nd WebCatalog2 Feature Request (1996) Locking up with WebCatalog... (1997) WebCat2b15MacPlugin - showing [math] (1997) [shell]? (2000) Attention SMSI - DOCS Error (2004) Enhancement Request for WebCatalog-NT (1996) Multiple catalog databases and showcart (1997) Mac OS X Server & WebCat (2003) SETCOOKIE Tricks (2003) [WriteFile] problems (1997)