On 2015-03-23 16:32, Gord Tomlin wrote: > On 2015-03-23 15:11, Blaicher, Christopher Y. wrote (snipped): >> Now it would be nice to be able to indicate a new format by using >> RECFM=V/VB/VBS > > It would be nice to be able to indicate a new format, but not by tying the > format to an attribute of the data set containing the source. For one thing, > I should be free to keep source in VB data sets and still use the existing > format. Much better to have a HLASM option to indicate the new format. > I'll differ on that. But I'm the guy who once wrote a dump utility which decided how many columns to format the output in by inspecting the LRECL of SYSPRINT. Why require the programmer to supply the information twice, perhaps inconsistently?
But perhaps RECFM should select the default, with the possibility of a PARM override. And, I'd suggest a second SYSLIB (DDNAME SYSLIBV?) so a programmer could mix private MACROs/COPY members in VB format with legacy (SYS1) macros in FB format. Or a pragma at the head of a MACRO indicating how to parse it. Actually, if IBM were to supply SYS1.MACLIB as a UNIX directory, RECFM and LRECL wouldn't matter and a pragma would suffice. -- gil
