× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Formatting an unformatted file
  • From: Jeff Crosby <jlcrosby@xxxxxxx>
  • Date: Wed, 18 Nov 1998 10:19:05 -0500
  • Organization: Dilgard Frozen Foods

boothm@ibm.net wrote:
> 
> No, nothing weird.
> 
> Here's the code from a sample program.  The file "CUSTOMER.DAT" is a PC file. 
> It can't be indexed.  (Use fixed font to make the columns line up):
> 
>       *********************************************************************
>       *                                                                   *
>       * Program ID . . : LOCALIO                                          *
>       *                                                                   *
>       * Description  . : VARPG program to access local files on the PC    *
>       *                                                                   *
>       *                                                                   *
>       *********************************************************************
>       *
>      FCUSTOMER  UF A F  217        DISK    UsrOpn ExtFile(File)
>      F                                     Recno(cur)
>       *
>      D File            S            128    Inz('CUSTOMER.DAT')
>       *
>       * Define input fields for local file:
>      ICustomer  NS  01
>      I                                  1    7  CustNo
>      I                                  8   47  CustNa
>      I                                 48   52  Cont
>      I                                 83   94  Phone
>      I                                117  156  Address
>      I                                157  186  City
>      I                                207  213  Post
>       *********************************************************************

I must be missing something.  I don't see how this helps me read a file
like the one I posted the sample from.

-- 
-Jeff

jlcrosby@fwi.com
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.