HP3000-L Archives

May 2001, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Shahan, Ray" <[log in to unmask]>
Reply To:
Shahan, Ray
Date:
Tue, 29 May 2001 16:02:41 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
I'm reading the file using COBOL reads (these programs already exist, and I
was going to try to speed them up).

The manual clearly states that a file EQ will do the trick, but as is the
case in many examples, they don't necessarily mean it will work for COBOL
:-(

Thanks.

> -----Original Message-----
> From: Stan Sieler [SMTP:[log in to unmask]]
> Sent: Tuesday, May 29, 2001 3:49 PM
> To:   Shahan, Ray; [log in to unmask]
> Subject:      Re: [HP3000-L] COBOL
>
> Re:
> > (FOPEN, FREAD) <ugh>, or you can use a file eq: FILE
> > MYFILE=MYFILE;REC=-256,1,U;MR;NOBUF
> >
> > When I try the file eq, I don't get all of the data from the file.  I
> have
> > tried an FD of 1024, varies from 1 to 1024, and tried reading the file
> into
> > WS area of 1024...nothing seems to get it all right.
> >
>
> You can't usefully specify a record size (or blocking factor
> (except MR)) when opening an existing file...MPE doesn't
> allow you to "view" a file differently than it was created
> (except for MR) ... unlike Burroughs MCP (which did allow that).
>
> What does a LISTF,2 of the file show?
>
> And, how are you reading from the file (FREAD? or a COBOL thing?)
>
> Stan Sieler                                           [log in to unmask]
> www.allegro.com/sieler/wanted/index.html          www.allegro.com/sieler

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2