RE: Re: Fortran Users! Is there a better way to do this?
"John R. Macdonald" <[email protected]>
| Newsgroups | gmane.comp.emulators.turnkey-mvs |
|---|---|
| Organization | Home |
| Message-ID | <770FB3D45E4C4654B98999AFDB9AAF6E@JohnPC> |
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Gary Lee Phillips Sent: dimanche 16 mai 2010 15:07 To: [email protected] Subject: [turnkey-mvs] Re: Fortran Users! Is there a better way to do this? Hi Ron. ------ snip ---- Another approach would be to use unformatted I/O, and write your values out to a temporary file. Read that file back in with another language that does more efficient I/O and do your printing at that time. So Fortran does the calculations and writes the numbers to a tape or temp file, which you pass to a second step written in COBOL or PL/I that formats the report. ---- snip ---- --Gary Many many moons ago (circa 1968-69 IIRC) I worked with a contractor who vetted his input using assembler, did his computations with FORTAN programs and printed the results with RPG. His philosophy was 'use the most appropriate tool for the task at hand'. But it is not always easy to convince TPTB that's the way to go. John