Static Link Error for BPXWDYN - SYMBOL BPXWDYN UNRESOLVED



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Static Link Error for BPXWDYN - SYMBOL BPXWDYN UNRESOLVED

Postby hienrbc » Thu Jun 14, 2012 12:31 am

Hi there,
I have a cobol program that calling BPXWDYN (using static link) to allocate the files BUT got an error on the link step that member not found even though I have the member & library included.

IEW2456E 9207 SYMBOL BPXWDYN UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY.

member in linklist: INCLUDE LNKLIB(BPXWDYN)
library: //LKED.LNKLIB DD DSN=SYS1.LINKLIB,DISP=SHR

Can you please help? Thanks. Hien
hienrbc
 
Posts: 8
Joined: Wed Jun 13, 2012 12:10 am
Has thanked: 0 time
Been thanked: 0 time

Re: Static Link Error for BPXWDYN - SYMBOL BPXWDYN UNRESOLVE

Postby Akatsukami » Thu Jun 14, 2012 1:08 am

This says that BPXWDYN is not in SYS1.LINKLIB. I fear that you have no choice but to beard your shop's sysprogs and ask them what happened.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: Static Link Error for BPXWDYN - SYMBOL BPXWDYN UNRESOLVE

Postby Robert Sample » Thu Jun 14, 2012 1:18 am

WHY would you feel the need to statically link a module in SYS1.LINKLIB?
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Static Link Error for BPXWDYN - SYMBOL BPXWDYN UNRESOLVE

Postby dick scherrer » Thu Jun 14, 2012 1:44 am

Hello and welcome to the forum,

So far, i have not seen a system that permitted developers to put things in sys1.linklib . . . I don't recall using sys1.linklib for compiling/linking at all :?

Are you using the standard compile/link jcl for that environment?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Static Link Error for BPXWDYN - SYMBOL BPXWDYN UNRESOLVE

Postby hienrbc » Thu Jun 14, 2012 1:52 am

I am not put in sys1.linklib, I want to pickup the BPXWDYN from sys1.linklib.
I am using the company standard compile/link.
thanks.
hienrbc
 
Posts: 8
Joined: Wed Jun 13, 2012 12:10 am
Has thanked: 0 time
Been thanked: 0 time

Re: Static Link Error for BPXWDYN - SYMBOL BPXWDYN UNRESOLVE

Postby dick scherrer » Thu Jun 14, 2012 8:36 am

Hello,

I am not put in sys1.linklib,
Good to hear - we were concerned ;)

Suggest you ask the system programmers (or whoever supports BPXWDYN) which load library has this.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Static Link Error for BPXWDYN - SYMBOL BPXWDYN UNRESOLVE

Postby hienrbc » Thu Jun 14, 2012 6:26 pm

Hi, I am the only one who used this IBM utility. I need to find out the IBM group at the company, maybe they can help.
Thanks.
hienrbc
 
Posts: 8
Joined: Wed Jun 13, 2012 12:10 am
Has thanked: 0 time
Been thanked: 0 time

Re: Static Link Error for BPXWDYN - SYMBOL BPXWDYN UNRESOLVE

Postby dick scherrer » Thu Jun 14, 2012 7:57 pm

Hello,

I just looked and this module IS in sys1.linklib on the system i'm logged on today.

Has this ever been successfully invoked on your system?

Talking with the "IBM group" is probably the best course of action for you.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Static Link Error for BPXWDYN - SYMBOL BPXWDYN UNRESOLVE

Postby Robert Sample » Thu Jun 14, 2012 8:16 pm

I just tested my existing BPXWDYN program with a static link. The linkage editor / binder included the module from SYS1.LINKLIB and executed the same as without including the module. There's no reason to statically link it -- and good reasons not to -- but if you're trying to do so and it's not working, the problem is with your JCL or linkage editor / binder statements, not with the system.

If you want further assistance, I think you need to post your compile / link JCL -- USING CODE TAG TO PRESERVE SPACING -- for our review.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Static Link Error for BPXWDYN - SYMBOL BPXWDYN UNRESOLVE

Postby hienrbc » Thu Jun 14, 2012 10:59 pm

Thanks. Your static call is CALL 'BPXWDYN' USING.... and have no problem, so it must be my link jcl BUT I don't see anythinkg missing.
1) Here is my link output with SYS1.LINKLIB:
XXLKED   EXEC  PGM=HEWL,                                             
XX PARM=(RENT,LIST,XREF,MAP,                                         
XX '&LPARM,COMPAT=LKED'),                                             
XX TIME=&TLKED                                                       
IEFC653I SUBSTITUTION JCL - PGM=HEWL,PARM=(RENT,LIST,XREF,MAP,'RENT,MA
XXSYSLIN   DD  DDNAME=SYSIN                                           
XXSYSLMOD  DD  DSNAME=&LIBRARY(&NAME),DISP=SHR                       
IEFC653I SUBSTITUTION JCL - DSNAME=BB1643.DAAB.P20.LOADLIB(LAAMDDS1),D
XXLKED.SYSLIB   DD                                                   
X/SYSLIB   DD  DSN=&COBLIB,DISP=SHR                                   
IEFC653I SUBSTITUTION JCL - DSN=SYS1.SCEELKED,DISP=SHR               
XX              DD                                                   
X/         DD  DSN=&AUTOLIB,DISP=SHR                                 
IEFC653I SUBSTITUTION JCL - DSN=PROD.AUTOLIB,DISP=SHR                 
XX              DD DSN=SYS1.LINKLIB,DISP=SHR                         
XX              DD DSN=&SOBJLIB,DISP=SHR                             
IEFC653I SUBSTITUTION JCL - DSN=BB1643.DAAB.P20.OBJLIB,DISP=SHR       
XX              DD DSN=PS.D9F.CSF.RESLIB,DISP=SHR                 


2) and my link card o/p:
IEW2322I 1220  1       INCLUDE SYSLIB(BPXWDYN)               
IEW2322I 1220  2       INCLUDE HXFLIB(L9NAPI1)               
IEW2322I 1220  5       INCLUDE SYSLIB(DATERTN)                                 
IEW2322I 1220  6       INCLUDE SYSLIB(RBINFO)                                   
IEW2322I 1220  7       INCLUDE SYSLIB(LAACPKGS)                                 
IEW2322I 1220  8       INCLUDE SYSLIB(LAABDAYS)                                 
IEW2322I 1220  9       INCLUDE SYSLIB(LAAICPR1)                                 
IEW2322I 1220  10       INCLUDE SYSLIB(LAAIJCR1)                               
IEW2322I 1220  11       INCLUDE SYSLIB(LAAISPR1)                               
IEW2322I 1220  12       INCLUDE SYSLIB(LAAISTI1)                               
IEW2322I 1220  13       INCLUDE SYSLIB(LAAISTU1)                               
IEW2322I 1220  14       INCLUDE SYSLIB(LAAMDDS1)                               
IEW2322I 1220  15       ENTRY L9NAPI1                                           
IEW2322I 1220  16    SETSSI F1216682                                           
IEW2322I 1220  17       NAME LAAMDDS1(R)                                       
IEW2459W 9206 INCLUDED MEMBER BPXWDYN FAILED TO RESOLVE REFERENCE.             
IEW2497W 9229 THE SYMBOL BPXWDYN WAS EXPECTED TO BE RESOLVED BY INCLUDING MEMBER
         DDNAME SYSLIB                                                         
IEW2456E 9207 SYMBOL DSNTIAR UNRESOLVED.  MEMBER COULD NOT BE INCLUDED FROM THE
IEW2456E 9207 SYMBOL DSNHADDR UNRESOLVED.  MEMBER COULD NOT BE INCLUDED FROM THE
IEW2456E 9207 SYMBOL DSNHADD2 UNRESOLVED.  MEMBER COULD NOT BE INCLUDED FROM THE
IEW2467E 9224 SYMBOL BPXWDYN REMAINS UNRESOLVED.     

3) If I do not code the INCLUDE (PBXWDYN) statement then ONLY 1 error below:
IEW2456E 9207 SYMBOL BPXWDYN UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE

Thanks.
hienrbc
 
Posts: 8
Joined: Wed Jun 13, 2012 12:10 am
Has thanked: 0 time
Been thanked: 0 time

Next

Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post