HP3000-L Archives

February 1997, Week 4

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:
Larry Byler <[log in to unmask]>
Reply To:
Larry Byler <[log in to unmask]>
Date:
Wed, 19 Feb 1997 20:44:35 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
Denis St-Amand ([log in to unmask]) wrote:


: GF <[log in to unmask]> a icrit dans l'article
: <[log in to unmask]>...
: > I have a program which is opening the STDLIST and attempting to write
: > more than 133 characters out. This program runs fine when run in a
: > session, but when it's run in a job, the fwrite fails with the error
: > 43,  message "Write exceeds record size".
: >
: > I have tried to get it to work via NOBUF, MULTIREC access to the
: > STDLIST output file, but this doesn't work either.
: >
: > What's the deal with this 133 character limit??
: >
: I would guess that the STDLIST printer device (OUTCLASS=) rec limit is set
: to 132...  Did you try to increase that number or another printer with a
: "wider" configuration ?

Not necessary, although you *can* do that.  Unless specifically modified
during sysgen (or with ioconfig starting with Release 5.5), the *default*
record width of printing devices is usually 66 halfwords, or 132 bytes.
You can specify a larger record width with a file equation, such as:
        FILE WIDELP;DEV=LP;REC=-<width>,1,F,ASCII
Substitute your desired byte count where you see <width> (and note the
minus sign in front; this indicates bytes rather than halfwords).  If you
use the ";CCTL" option, you'll be allowed one more byte without having to
include it in <width>.  If you do this, you'll have no problem writing
longer records.

Up to a point, that is.  I'm assuming your $STDLIST is spooled; if so,
there is a hard 1008 byte limit (that is, don't specify both
<width>=1008 and ;CCTL).  This is a requirement of the internal format
of spool files.

Hope that helps.

-Larry "MPE/iX Spoolers 'R' Us" Byler-

ATOM RSS1 RSS2