On Tue, 23 Feb 2016 08:52:43 -0600, Barry Lichtenstein wrote:

>You might try the STRIPSEC option.  It does not work on a specific INCLUDE, 
>rather the binder will remove any sections which are not used at the end of 
>input.  There will be a section in the MAP output showing which ones (if any) 
>were removed.
> 
Oooh!  Neat!  Thanks.  And I see:

z/OS MVS Program Management: User's Guide and Reference
SA23-1393-00 

STRIPSEC={PRIV|YES | NO}
STRIPSEC=PRIV
    Specifies that unreferenced unnamed sections are to be removed. 

This addresses a misbehavior of SMP/E which secularly piles up private
sections (Which I think are something programmers should avoid anyway.
But Pascal reportedly dotes on them.)

Note: For a section to be considered unreferenced, it must:
    ...
    Not be the target of a control statement
(Such as ORDER?)

Does SMP/E respect STRIPSEC?  Does it cause no problems, e.g. with
RESTORE?  How might it interact with the "++MOD(...) CSECT(...)"
argument?

Thanks again,
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to