home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!darwin.sura.net!wupost!psuvax1!psuvm!auvm!ERS.BITNET!ATKINSON
- Message-ID: <CMM.0.90.2.711742771.wgreene@option.stern.nyu.edu>
- Newsgroups: bit.listserv.stat-l
- Date: Tue, 21 Jul 1992 14:36:35 EDT
- Sender: "STATISTICAL CONSULTING" <STAT-L@MCGILL1.BITNET>
- Comments: Resent-From: Linda <ATKINSON@ERS>
- Comments: Originally-From: William Greene <wgreene@option.stern.nyu.edu>
- From: Linda <ATKINSON@ERS.BITNET>
- Subject: LIMDEP
- Lines: 50
-
- +----------------------------------------------------------------------+
- | Linda Atkinson, Statistician | BITNET: ATKINSON@ERS |
- | U.S. Department of Agriculture | Tel: (202) 219-0505 |
- | Economic Research Service | FAX: (202) 219-1292 |
- | Washington, D.C. | (ATTN: RM 240) |
- +----------------------------------------------------------------------+
-
-
- ----------------------------Original message----------------------------
-
-
-
-
- Memo:
- To: Users of LIMDEP 6.0 on IBM Mainframe systems
- From: W. Greene, developer, LIMDEP
- Date: July 21, 1992
- Re: Problems reading unformatted data sets.
-
- Dear IBM User:
-
- Several IBM mainframe users have reported problems reading
- unformatted data sets with LIMDEP version 6.0. The program crashes with
- an 'END OF RECORD ON UNIT 10' error.
- A LIMDEP user has suggested a patch which deals specifically with
- this problem. The offending line, which should be but apparently is not
- protected by its ERR=992 specification, is in subroutine LOAD, and follows
- statement 242,
- READ(IUD,2421,END=993,ERR=992)(LINE(J),J=ONE,255)
-
- An approach for getting around the problem is
-
- 1. At the top of the subroutine, add the two lines
-
- CHARACTER*255 IBMBUF
- EQUIVALENCE (LINE,IBMBUF)
-
- 2. Replace the aforementioned READ statement with
-
- READ(IUD,2429,END=993,ERR=993)IBMBUF
- 2429 FORMAT(A255)
-
- Users of nonIBM mainframe systems need not make this change.
-
- Sincerely yours,
-
- Bill Greene
- EcoSoft
-
-