On Mon, 9 Dec 2013 12:40:17 -0500, Gerhard Postpischil <[email protected]> wrote:
>On 12/9/2013 10:19 AM, Steve Comstock wrote: >> Actually, no. I've used BSAM a fair amount. Just never >> TRUNC, that I can recall. > I meant that with BSAM (or BPAM) the programmer has explicit control over the size of each block. >BSAM has a built-in gotcha. An explicit block size in the WRITE macro >may get you a full-size block anyway. The only way around that was to >put the desired size into DCBBLKSI also. I stumbled on that with both FB >and FBS. I suspect the size is honored directly only for D, U, and V. > And remember to change it back before CLOSE, else it gets copied back into the label, with undesirable consequences. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
