Issues with tp-cobol-debugger-2.00-15-03-2015.zip on Linux?
Extracted files and have done the following to get it to work basically.
Used following script
Filenames from zip file are mix of upper and lower case, so use this script lcf
to convert filenames to all lower case.
#!/bin/sh
# lowercase any filenames with uppercase chars
for file in $*
do
if [ -f $file ]
then
lcfile=`echo $file | tr [:upper:] [:lower:]`
if [ $file != $lcfile ]
then
mv -i $file $lcfile
fi
fi
done
Modified compall.bat file to compall.sh
./lcf *
cobc -x animator.cbl
cobc animate.cbl
cobc animdata.cbl
cobc analyzer.cbl
cobc animfind.cbl
cobc animview.cbl
cobc animloca.cbl
cobc animload.cbl
cp animator /usr/bin
cp *.so /usr/local/lib/gnu-cobol
#Not sure how these should be set for Linux, but seems to work for most part
with them commented out.
#set cbl_library_path=c:\animate
#set animate.inf c:\animate
#set animator.inf c:\animate
#:fine
animator test.cbl -x
./test
cat TELCO.TXT
Results don't seem to match when checking TELCO.TXT file run from
animator and regular compile
animator run gives
Time Rate | Price Btax Dtax | Output
-------------+----------------------------------------+-------------
308 L | 0.40 0.02 |
0.42
76 L | 0.10 0.00 |
0.10
68 L | 0.09 0.00 |
0.09
323 D | 2.89 0.19 0.09 | 3.17
82 L | 0.11 0.00 |
0.11
329 D | 2.94 0.19 0.10 | 3.23
14 L | 0.02 0.00 |
0.02
101 D | 0.90 0.06 0.03 | 0.99
522 L | 0.68 0.04 |
0.72
50 L | 0.07 0.00 |
0.07
While result from a cobc -x test.cbl run provides
Time Rate | Price Btax Dtax | Output
-------------+----------------------------------------+-------------
308 L | 0.40 0.02 |
0.42
76 L | 0.10 0.00 |
0.10
68 L | 0.09 0.00 |
0.09
323 D | 2.89 0.19 0.09 | 3.17
82 L | 0.11 0.00 |
0.11
329 D | 2.94 0.19 0.10 | 3.23
14 L | 0.02 0.00 |
0.02
101 D | 0.90 0.06 0.03 | 0.99
522 L | 0.68 0.04 |
0.72
50 L | 0.07 0.00 |
0.07
50 L | 0.07 0.00 |
0.07
-------------+----------------------------------------+-------------
Totals: | 8.27 0.50 0.22 | 8.99
Start-Time:08:13:02.85
End-Time:08:13:02.85
Other issue is that console output of message at begining isn't clearly shown,
and entering the console accept had to be figured out?
In very limited testing, the cpy and inf files need to be in current directory to
have animator work, but that might be issues with the set values not being
made.
------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________ open-cobol-list mailing list open-cobol-list@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/open-cobol-list