So for those on midrange-l, you might have saw my post about SCS spool
My "it's not working" ended up being caused by the fact I was using a
LIKEREC() DS to write to the printer file; the indicators used by the
record are included in the LIKEREC() DS.
I had forgotten (maybe never realized) this.
so now I've got
dcl-ds myrec likerec(MYPRTFR);
myrec.IN32 = *ON;
write myprtfr myrec;
Except, I'm not fond of the IN32 :)
Is there anyway give that indicator a name?
I realize I could use INDDS() on the f-spec; But this is an existing
program and I'd rather not have to retrofit names onto the other indicators
Declaring a standalone variable based on the %addr(myrec.in32) would be one
solution I suppose. But I'd need one for every indicator used. Or perhaps
since the indicators are at the start of the LIKEREC() DS I could just use
This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact