Yep, adding the ENTRY statement fixed it. Not sure how I missed its
necessity.
Thanks to Paul and Charles for chiming in.
> Date: Tue, 18 Aug 2015 15:55:19 -0600
> From: 0000000433f07816-dmarc-requ...@listserv.ua.edu
> Subject: Re: Resolving EXTRN References
> To: IBM-MAIN@LISTSERV.UA.EDU
>
> On 2015-08-18 15:37, Cali zMan wrote:
> > I can't get some EXTRN variables to resolve at link-edit time.
> >
> > Prog1 has:
> > VAR1 DC A(Equate1)
> > VAR2 DC A(Equate2)
> >
> Need to declare them as ENTRY.
>
> > Prog2 (separate CSECT, source file, etc.) wanting to reference those
> > variables, has:
> > EXTRN VAR1
> > EXTRN VAR2
> > ...
> > VAR1E DC A(VAR1)
> > VAR2E DC A(VAR2)
> > ...
>
> -- gil
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN