Re: Pro*COBOL & Microfocus ANIMATOR
Date: 12 Jul 92 23:00:45 GMT
Message-ID: <2693_at_iris.mincom.oz.au>
These question come up again and again, I'll post now a summary.
You are (unfortuantely) not very specific, but I assume you try to use
'anim' to debug your program - this won't work as this fellow
does not know anything about your subroutines. You have to statically
link your Oracle libraries (and some of your stuff) into an RCS,
then execute this one with COBSW=+A.
You have to toy around to get the linker working, just providing Oracles
code is not good enough, you have to reference it - otherwise it gets
thrown away. Then you might hit probably the next problem, unresolved
fsav symbol (for sure with OCI), the solution is to supply
'-brename:fsav,.fsav' to the last ld step (you might have to
build a wrapper script for /bin/ld in order to do that).
Microfocus cobol is fucking hopeless to deal with, to create a static executable it:
- ld everyting into one executable, sometime with the -r swicth on,
- analyses the output to find object symbols (OH, not a cobol program!, but does not know a shit about symbols starting with a dot)
- builds a cross reference table of all symbols (assembler subroutine)
- ld everthing again together with this table
Later at it execution it checks against that table, if it is there, it calls it, if not it is looking for gnts, ints,.... until 173 comes up.
Have fun....--
Hans-J Plambeck Mincom Pty Ltd hans_at_mincom.oz.au +61 (7) 364 9999
Received on Mon Jul 13 1992 - 01:00:45 CEST