🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.asm370
Article #1609

FSREAD

#1609
From: Stelios Fragakis
Date: Tue, 11 Feb 1992 23:26
13 lines
1049 bytes
Hi all,

I have a program that uses FSREAD to simply read a file. I get the LRECL
etc etc and I allocate a buffer using DMSFREE. So I get

 Buf= 001F36A0 Lrecl = 24.

which is the address in R1 and the LRECL. This is on a 2M virtual machine.
Why would FSREAD terminate with return code 2 (invalid buffer address) ?

In general when does FSREAD consider the buffer address to be invalid?

- Stelios
Technical Details
Message-ID: <ASM370%92021816001236@EB0UB011>
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!auvm!GREARN.BITNET!FRAGAKIS

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcdcb,c70f335bcce26e88,start
X-Google-Attributes: gidfcdcb,public
X-Google-ArrivalTime: 1992-02-18 17:14:27 PST
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!auvm!GREARN.BITNET!FRAGAKIS
Message-ID: <ASM370%92021816001236@EB0UB011>
Newsgroups: bit.listserv.asm370
Date:         Tue, 11 Feb 1992 23:26:06 LCL
Sender:       IBM 370 Assembly Programming Discussion List <ASM370@UGA.BITNET>
Comments:     Warning -- original Sender: tag was LISTMAN@GREARN
From:         Stelios Fragakis <FRAGAKIS@GREARN.BITNET>
Subject:      FSREAD