[Info-vax] Text processing examples with Fortran requested

Jan-Erik Söderholm jan-erik.soderholm at telia.com
Sun Nov 15 13:55:39 EST 2009


Tom Linden wrote:
> On Sun, 15 Nov 2009 09:54:54 -0800, Jan-Erik Söderholm 
> <jan-erik.soderholm at telia.com> wrote:
> 
>> Richard B. Gilbert wrote:
>>> Tom Linden wrote:
>>>> On Sun, 15 Nov 2009 06:09:41 -0800, DTL <didier.morandi at gmail.com> 
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm urgently needing some examples of Fortran code to do text
>>>>> processing, mainly reading a file, doing some strings manipulation
>>>>> then writing records into a new file.
>>>>> I trashed all my DEC stuff five years ago. Too bad...
>>>>>
>>>>> Thanks.
>>>>
>>>> Why fortran?  Use PL/I or VAXSCAN
>>>>
>>>  A lot depends on the tools available.  Nobody is going to spring for 
>>> PL/1 to solve a problem that can be solved using a tool already at hand.
>>> Fortran would not be my choice of language for word processing but, 
>>> if that's all you have. . . .
>>>  Without more details of the problem, I see no reason not to use EDT 
>>> or TPU.
>>
>> Or DCL. Definitely available on all (VMS) systems.
> 
> DCL is a bit primitive, here is a better solution
> http://www.kednos.com/kednos/Resources/Rexx#NetRexx
> 

How do you know that DCL is "too primitive" for the actual need ?

The only thing I know is that the need was to :

"...mainly reading a file, doing some strings manipulation
  then writing records into a new file."

If this is a one-off kind of thing, hacking together a few lines
of DCL is what I would do...

Rexx would probably be the last tool I would use, b.t.w.



More information about the Info-vax mailing list