home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Newsgroups: bit.listserv.stat-l
- Path: sparky!uunet!paladin.american.edu!auvm!uvvm!klassen
- References: <CMM.0.90.2.711665776.wgreene@option.stern.nyu.edu>
- Message-ID: <92204.101520KLASSEN@UVVM>
- Date: Wed, 22 Jul 1992 10:15:20 PDT
- Sender: "STATISTICAL CONSULTING" <STAT-L@MCGILL1.BITNET>
- Comments: Warning -- original Sender: tag was NETNEWS@UVVM.UVIC.CA
- From: Melvin Klassen <KLASSEN@UVVM.BITNET>
- Subject: Re: LIMDEP
- Lines: 38
-
- Linda Atkinson <ATKINSON@ERS> writes:
- >This is a second message I received from Dr. Greene about LIMDEP, with
- >more detailed information on work-arounds for the mainframe version.
- >----------------------------Original message----------------------------
- > The problem you are having with LIMDEP is now very familiar to me,
- >and is arising from two sources: (1) An incompatibility between IBM's Fortran
- >and every other Fortran with which I am familiar, which, as you can
- >imagine, is a lot and (2) A bug in the IBM fortran compiler which, as far
- >as I know, has always been present, and shows no sign of being eradicated.
- ?????????????????????????????????
- > ...
- > IBM fortran (MVS, CMS, all of them): Program crashes, as you saw.
- > All other fortrans: Unread characters are filled with blanks.
- >Now, notice that the statement contains an ERR=992. This is designed to
- >prevent programs which encounter data errors from crashing. It is not working.
- >That is the bug. There is no ambiguity about it as far as I can see.
- >The odd thing about this, once again, unique to IBM, is that this
- >whole problem disappears a) if the 255 above is changed to an 80, whether
- >or not the line read is actually 80 characters long or not and b) if
- >the line really is 255 characters long, for obvious reasons.
- > ...
- >Once again, it is a mystery to me why IBM has locked itself into this 80
- >character format, but apparently, it is the bottleneck. Keep in mind,
- >again, for unformatted data sets, you are limited to 80 character lines.
-
- All these problems with FORTRAN and LIMDEP can easily be solved if the user
- of LIMDEP is using the current release of IBM's VS FORTRAN Program Product.
- In 1990, IBM fixed the problem in Release 3 of Version 2 of their product.
- Note that both Release 3 and Release 4 have now been obsoleted
- by Release 5 of their product.
-
- The solution is just to specify the "CNVIOERR" run-time option
- (as documented on page 92 of "VS FORTRAN Version 2, Programming Guide
- for CMS and MVS, Release 5"). Then, FORTRAN error 212 (end-of-record)
- **will** be intercepted by the 'ERR=' option.
-
- As an alternate solution, the user can turn to page 96,
- specify the "RECPAD" run-time option, and FORTRAN will perform blank-padding.
-