Re: Pro*COBOL & Microfocus ANIMATOR

From: Hans Plambeck <hans_at_iris.mincom.oz.au>
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:

  1. ld everyting into one executable, sometime with the -r swicth on,
  2. analyses the output to find object symbols (OH, not a cobol program!, but does not know a shit about symbols starting with a dot)
  3. builds a cross reference table of all symbols (assembler subroutine)
  4. 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

Original text of this message