On Fri, 30 Jun 2017 11:24:18 -0700, Charles Mills wrote:

>YES!!!
>
>Years ago I wrote and my company sold a mainframe-PC file transfer product
>(in the pre-FTP days), and it supported a DISP operand for the creation of
>mainframe datasets that worked exactly as you describe, with two steps under
>the covers. I'm trying to remember the keyword for the specification.
>Perhaps CREATE. It made sense then (1989) and it makes sense today.
> 
Many desktop editors call this REPLACE; SAVE fails for an existing file.

>(It also did a kind of extended SDB under the covers. You could specify any
>one or two of LRECL, RECFM and BLKSIZE and it would intuit the others. Had
>an algorithm that made intelligent guesses. Specify RECFM=FB,BLKSIZE=8000 it
>would give you LRECL=80. Specify LRECL=137,BLKSIZE=8000 and it would give
>you RECFM=VB.)
>
What might it do for RECFM=FB,BKLSIZE=10640 (which happens to be 133 * 80).
    526 $ factor 10640
     Factors of 10640 are 2 2 2 2 5 7 19

It's ambiguous for any number with 2 or more prime factors.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to