Step 2: Modify the Link Script
You must modify the CICS/6000 “cicsmkcobol” script to include additional linker commands that use the exports list that was created in the previous step.
To modify the link script
1. Make a backup of the “cicsmkcobol” script file.
2. Log in under the “root” account.
3. Edit the “cicsmkcobol” file. Change the following “cob” command from this:
cob -${FFLAG}x -o $OUTPUTFILE $OBJECTS -Q "$LDFLAGS"\
$LDPATH $CICSLIBS $ARGUMENTS $LIBRARIES
to this:
cob -${FFLAG}x -o $OUTPUTFILE $OBJECTS -Q "$LDFLAGS"\
$LDPATH -Q"-bE:$II_SYSTEM/ingres/lib/libingres.1.exp"\
-Q "-bM:SRE" -Q "-T512" -Q "-H512" \
$CICSLIBS $ARGUMENTS $LIBRARIES
Note: The value of $II_SYSTEM is hard-coded into the above command.