77 WS-SUB-PROG PIC X(08) VALUE 'BPXWDYN '.
And to answer your implied question, no my program code is CALL WS-SUB-PROG not CALL 'BPXWDYN ' -- static linking is a linkage editor / binder activity and not necessarily related to the COBOL CALL statement (although in most cases it is). This shows the module in the load library for my program:
ISRBROBA DSLIST 0.COMPILES.LOADLIB(MF0084L) Line 00000000 Col 070 149
Command ===> Scroll ===> CSR
********************************* Top of Data **********************************
...CEESG005...h....EDCXABND........@@XABND ........EDCXBTCA...&...4@@XCBLN ....
. @@KTGTC ...}....@@PMASK ...... @@XLOAD ...... @@XUNLD ...... CEESG003.....
...EDCXFREE...-...dEDCXGET ...y...:@@XINIT@...... @@INIT@ ...... CTDLI .....
...EDCXHFRE........EDCXHGET... ...h@@XTEND ...à....EDCXMEM ...h...8MALLOC ...}.
..àSPRINTF ...... @@TRT ..$h....EDCXSTRT..*h...}@@XSTRT ..*h...c@@RCINIT.....
..¢DYNALLOC..x8...¢DYNOUT ..ð....¢MAIN .......¢BPXWDYNS........BPXWDYNA.....
. IGZETUN ...... CEEINT ...0...sCEEARLU ... ...àCEEBPIRA...0...}CEEBPIRB...0.
. CEESG009...... CEESG010...... CEESG011...... CEESG012...... CEESG013.....
................................................................................
400 ....|~..569623400 .....PL/X-390 ..................................c~i.56962
37....½.RSI32732841....½.RSI32731029....½.RSI32731455....½.RSI32731565....½.RSI3
8856.m....RSI12159557.p....RSI12159552.o....RSI12159616.n....RSI12159673......RS
..8...ý...ë. .à.b...c.}.....i.~
..ò...........H...å.. .....MF0084 20120614103635030401.......%s_..~.~....~. ..
..........m...q...........8...÷...............f...¢...+...:...ð.......Ÿ...·.....
..˜.......&.......u.......m...d.......%...ó...ù.................................
..................ü...............................0...........}.......4.........
..Y... ...U..a8. . .......Y..a÷..b...i....~...d...h..q...q...q...$.... ..i.... .
hk...&}...K..&.}ë||..q&..g}..aq}óqý..a...h-.wg...na&.g ..ni&.g}.fnj&.g .+nr&.g
..o...s..g&..g*..gy..g...g~...¢..sõ.l.¢...ï...¢...ò..gh.b.¢..v*.a.¢..xU..v-.(.¢.
ï$0}mg0....a&&...i...a.Ÿh.u¢ý.y&ýü.a.ü.q0.b.®&0..aý..qà.. ýà.qý.. .ý.qý.. ý..dg
.x...x...x...xf..õ‘..õð..õ6..\...\...F...F...F...F¢..O:..Of..Ok..WD..W}..Wü..WY.
.a.Rhaà..&àŸQa.ŸQq0.u.®&0..aà..q... à..qà.. à.qà.. à.qà..a..BK.à...g0.h..q.}i
p.¢...Y.o.¢...U.l.¢...˜.b.¢...{.a.¢...D...¢...H.n.¢.....&.¢...}.j.¢...M.l.ë.f.ý.
BPXWDYN COMPILED AT 17:17:53 ON Feb 28 2006.......... ....a.. ............a.....
Command ===> Scroll ===> CSR
********************************* Top of Data **********************************
...CEESG005...h....EDCXABND........@@XABND ........EDCXBTCA...&...4@@XCBLN ....
. @@KTGTC ...}....@@PMASK ...... @@XLOAD ...... @@XUNLD ...... CEESG003.....
...EDCXFREE...-...dEDCXGET ...y...:@@XINIT@...... @@INIT@ ...... CTDLI .....
...EDCXHFRE........EDCXHGET... ...h@@XTEND ...à....EDCXMEM ...h...8MALLOC ...}.
..àSPRINTF ...... @@TRT ..$h....EDCXSTRT..*h...}@@XSTRT ..*h...c@@RCINIT.....
..¢DYNALLOC..x8...¢DYNOUT ..ð....¢MAIN .......¢BPXWDYNS........BPXWDYNA.....
. IGZETUN ...... CEEINT ...0...sCEEARLU ... ...àCEEBPIRA...0...}CEEBPIRB...0.
. CEESG009...... CEESG010...... CEESG011...... CEESG012...... CEESG013.....
................................................................................
400 ....|~..569623400 .....PL/X-390 ..................................c~i.56962
37....½.RSI32732841....½.RSI32731029....½.RSI32731455....½.RSI32731565....½.RSI3
8856.m....RSI12159557.p....RSI12159552.o....RSI12159616.n....RSI12159673......RS
..8...ý...ë. .à.b...c.}.....i.~
..ò...........H...å.. .....MF0084 20120614103635030401.......%s_..~.~....~. ..
..........m...q...........8...÷...............f...¢...+...:...ð.......Ÿ...·.....
..˜.......&.......u.......m...d.......%...ó...ù.................................
..................ü...............................0...........}.......4.........
..Y... ...U..a8. . .......Y..a÷..b...i....~...d...h..q...q...q...$.... ..i.... .
hk...&}...K..&.}ë||..q&..g}..aq}óqý..a...h-.wg...na&.g ..ni&.g}.fnj&.g .+nr&.g
..o...s..g&..g*..gy..g...g~...¢..sõ.l.¢...ï...¢...ò..gh.b.¢..v*.a.¢..xU..v-.(.¢.
ï$0}mg0....a&&...i...a.Ÿh.u¢ý.y&ýü.a.ü.q0.b.®&0..aý..qà.. ýà.qý.. .ý.qý.. ý..dg
.x...x...x...xf..õ‘..õð..õ6..\...\...F...F...F...F¢..O:..Of..Ok..WD..W}..Wü..WY.
.a.Rhaà..&àŸQa.ŸQq0.u.®&0..aà..q... à..qà.. à.qà.. à.qà..a..BK.à...g0.h..q.}i
p.¢...Y.o.¢...U.l.¢...˜.b.¢...{.a.¢...D...¢...H.n.¢.....&.¢...}.j.¢...M.l.ë.f.ý.
BPXWDYN COMPILED AT 17:17:53 ON Feb 28 2006.......... ....a.. ............a.....
Further, you may need to look at the BPXWDYN in SYS1.LINKLIB since the linkage editor / binder messages seem to indicate there's no entry point labelled BPXWDYN in the load module, which could be a problem since your program is going to be attempting to use BPXWDYN as the entry point.