[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

RE: [sqr-users] (no subject)



[sqr-users] (no subject)try something like

 while not #end-file
      read 1 into $input:1000
      if #end-file
        break
      end-if

    if #line_count > 0
        PUT YOUR PROCESSING HERE
    end-if

   add 1 to #line_count
end-while


  -----Original Message-----
  From: Dan Lemos [mailto:dlemos@aeacu.com]
  Sent: Tuesday, November 12, 2002 2:44 PM
  To: 'sqr-users@sqrug.org'
  Subject: [sqr-users] (no subject)


  Is it possible to open a file for reading but have it skip the first line
in
  this file?  The first line is a header and the data I need to pull from
this
  file starts under this header.

  Currently I am manually opening this file and deleting the first line but
  would like to see if I can have this automated.

  The file I am opening is a flat file with a fixed length layout.
  Any help is appreciated.
  Dan

  _______________________________________________
  sqr-users mailing list
  sqr-users@sqrug.org
  http://www.sqrug.org/mailman/listinfo/sqr-users


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.408 / Virus Database: 230 - Release Date: 10/24/2002

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users