Ref:  Your note of 12 December 2017, 07:27:09 -0600

Native support for VB records is horribly tricky for historical reasons,
mainly because the whole assembler "knows" that records are always 80
bytes (even if the interesting part can be modified by ICTL).

However, input exit routines (like the ASMAXINV sample supplied with
HLASM, and FLOWASM) can split VB records into fixed-length records,
and one way to indicate the original source line number would be to
insert a representation of it in the sequence number field (perhaps
multiplied by 10 then adding increments of 1 for each continuation
line).

Note also that an input exit routine is responsible for filling in the
"relative record number" in AXPRELREC which is then used by HLASM as the
record number to identify any error.  Although it is normally expected
to increase by 1 for each record, I suspect that it could be used to
indicate the original record number (in which case it would be the same
for continuation lines produced by splitting the same input record).
However, as there is currently no documentation to say that method is
specifically supported, I cannot recommend that approach at present.

Jonathan Scott
HLASM, IBM Hursley, UK

Reply via email to