From: Tzachi Nissim [tzachi@attunity.co.il] Sent: Thursday, September 06, 2001 12:07 PM To: Info-VAX@Mvb.Saic.Com Subject: Re: Converting a stream_lf file to a variable file We've had to deal with the opposite problem - converting a variable file to stream_lf. We just created an fdl file for a stream_lf and used convert/fdl=... - wouldn't that work here as well? Tzachi "David J. Dachtera" wrote in message news:3B96E38B.415B04C8@fsi.net... > David Spencer wrote: > > > > How about a timeout over the take-under of HP by Compaq for an > > actual question :) > > > > I've got some files generated by a C program that are Stream_LF format. > > I'd like to write a BASIC program to read them. I've considered several > > options but with little success in any of them. > > > > Is there a CONVERT/FDL that works? Or perhaps someone has a nifty > > subroutine in C that I could call that would return the data line by > > line? (I'm not a C programmer.) Or another worthy suggestion on > > how I may solve my problem? > > > > All of this is happening on VMS Alpha 7.2-1 > > > > Many thanks to you all, now back to the Fear and Loathing of HP... > > Download http://www.djesys.com/freeware/vms/ppf012.zip and look at > PPF.BAS (executor portion of my Port-Print Facility (PPF) for use with > VTs and compatible emulators). > > This seems to work for all known variants of record attributes and > record formats, but I've been wrong before... It can't predict every > possible combination of embedded and implied carriage control in a > single file, but it should work with Stream, Stream_CR or Stream_LF just > fine within the known limits. > > -- > David J. Dachtera > dba DJE Systems > http://www.djesys.com/ > > Unofficial Affordable OpenVMS Home Page: > http://www.djesys.com/vms/soho/