Do you have ENTRY VAR1,VAR2 in Prog1? Charles
-----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Cali zMan Sent: Tuesday, August 18, 2015 2:37 PM To: [email protected] Subject: Resolving EXTRN References I can't get some EXTRN variables to resolve at link-edit time. Prog1 has: VAR1 DC A(Equate1) VAR2 DC A(Equate2) Prog2 (separate CSECT, source file, etc.) wanting to reference those variables, has: EXTRN VAR1 EXTRN VAR2 ... VAR1E DC A(VAR1) VAR2E DC A(VAR2) ... The Binder listing shows IEW2278I B352 INVOCATION PARAMETERS - LIST,CALL,LET,REUS=NONE,XREF,SSI(55E58FEA) IEW2322I 1220 1 INCLUDE MYLIB(PROG1) IEW2322I 1220 2 INCLUDE MYLIB(PROG2) IEW2322I 1220 3 INCLUDE MYLIB(PROG3) IEW2322I 1220 4 INCLUDE MYLIB(PROG4) IEW2322I 1220 5 LIBRARY MYLIB IEW2322I 1220 6 ENTRY PROG3 IEW2322I 1220 7 NAME MAINPGM(R) IEW2457E 9208 SYMBOL VAR1 UNRESOLVED. NO CALL LIBRARY SPECIFIED. IEW2457E 9208 SYMBOL VAR2 UNRESOLVED. NO CALL LIBRARY SPECIFIED. MYLIB is not the SYSLIB. After looking in the Program Management User's Guide, I also tried LIBRARY MYLIB(VAR1,VAR2), but that gave IEW2456E 9207 SYMBOL VAR1 UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY. IEW2456E 9207 SYMBOL VAR2 UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY. Any help's appreciated. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
