On Tue, 2 Feb 2021 17:01:20 -0500, Thomas David Rivers wrote:
>> ...
>Someone kindly pointed out this documentation from the HLASM Language
>Reference about how/when these unnamed/empty PC sections get created:
> ...
> An unnamed control section is sometimes referred to as private code.
> Private code sections are sometimes difficult to manage with other
> system components such as linkers and configuration management tools.
>
(Such as SMP/E, which just accumulates them with each PTF.)
> Avoiding their use is recommended. (Zero-length private code sections
> are sometimes ignored or discarded by system linkers.)
>
Consider possible consequences when a program object is relinked of:
X CSECT
DC A(B)
CSECT
B DC H'0'
END
Assemble it; study the Relocation Directory; and weep.
A generally expert co-worker introduced an unnamed CSECT
to suppress a base register warning. I suggested using the
"limit" on USING. She considered it to avant-garde (i.e. she
had never done it before) and just gave an name to the
second CSECT.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN