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-