On 2016-11-15 12:16, Dyck, Lionel B. wrote:
> I'm in the 255 camp and just tried a simple experiment.
> 
> From TSO issue the Edit command:  E T(ABC) CL
> 
> This opens the old editor on dataset t.clist member abc and after adding a 
> few records and saving I checked the dcb which was VB,255,3120
> 
> Not the ideal blksize but the lrecl is what I expected.
>
In old TSO EDIT (alias E), 255 is not only the default lrecl for clist data 
sets, it's the maximum.

edit test1 clist new emode lrecl(256)
IKJ52335I INVALID LINE VALUE FOR CLIST, USING 255+
IKJ52335I LINE SIZE FOR CLIST MAY NOT EXCEED 255

edit test1 data new emode lrecl(256)
IKJ52335I INVALID LINE VALUE FOR DATA, USING 80+                                
            
IKJ52335I LINE SIZE FOR DATA MAY NOT EXCEED 255 

if PDS member test2.clist(a) exists and the PDS is VB with lrecl 256, EDIT 
can't handle it.
edit test2(a) clist
IKJ52336I 256 INVALID LINE VALUE FOR CLIST DATA SET

That might be the reason why, historically, clist data sets have used lrecl 255 
and not 259, even though they work as 259.

Bill

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to