On Sat, 11 May 2019 13:40:26 -0500, Mark Zelden wrote: >>> >>Aren't the attributes of the data set being edited available by: >> ►► ISREDIT (var1,var2) = RECFM ►◄ >> ►► ISREDIT (varname) = LRECL ►◄ >>? >>I believe I've used these for a subsequent allocation of INTRDR to match my >>JCL file. > >... Talk about overkill - Why would you create an edit maco to find >the RECFM and LRECL? You can look at the output and see it is LRECL=80 by >the panel (top right shows "Columns 00001 00080"). Or you could use COLS as >a line command. Or you could look at the IPLINFO source and see the attributes >of the temp dsn allocated. > Granted, no benefit in a one-off which this probably is. I cited a technique from a macro I used repeatedly, to allocate INTRDR with attributes of the file being edited.
Some of this arose when I unwittingly did SDSF; SJ; tweaked the JCL slightly; SUBMIT. Infuriatingly, it quietly truncated my SYSINs. Ouch! It ought to issue a warning and a choice: o Truncate o Submit with attributes from EDIT o Cancel. I don't care that: o It's documented that way. o It's been that way for decades. Quiet truncation is never acceptable. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
