Building an RTS with the Ingres FRS
If you are using the Ingres forms system in your EQUEL/COBOL programs, then you must include the Ingres FRS in the RTS. The link script shown below builds an RTS that includes the Ingres FRS:
#
# Optional: Assume you are in an appropriate directory
# as described in the previous section.
#
cd /usr/lib/cobol/ingres
#
# Extract 3 Ingres Micro Focus support modules
#
ar xv $II_SYSTEM/ingres/lib/libingres.a iimfdata.o
ar xv $II_SYSTEM/ingres/lib/libingres.a iimflibq.o
ar xv $II_SYSTEM/ingres/lib/libingres.a iimffrs.o
#
# Now link the new Ingres COBOL RTS (example calls
# it "ingfrs")
#
cob -x -e "" -o ingfrs \
iimfdata.o iimflibq.o iimffrs.o \
$II_SYSTEM/ingres/lib/libingres.a \
-lc -lm
# Provide an alias to run the new program (distribute
# to RTS users)
#
alias ingfrs /usr/lib/cobol/ingfrs
Here, too, you may be required to specify other system libraries on the
cob command line. For information about how to specify other system libraries on the
cob command line, see
Building an Ingres RTS Without the Ingres FRS.