[comp.sys.ncr] LPI-COBOL bug ?

nigel@cnw01.storesys.coles.oz.au (Nigel Harwood) (05/17/91)

We have found a possible bug in LPI-COBOL85 on our System 3000
running SVR4/386.

The version of LPI-COBOL as per the files in /usr/lib/LPI are :

ansi.o067590   cob.a012900    cob060201.info dflock.o067590
lpi.a067590    lpirti.o067590 lplock.o067590 lpmain.o067590
noansi.o067590 nolock.o067590

The source diskettes list the version as 060201.

The error centers around moving to a two digit COMP-6 field
(with -rmext turned on).

If the source is a 01 or 77 level non COMP-6 field then things
work okay.

If the source is a COMP-6 field on any level things are okay.

If the source is a non COMP-6 field and is on any of the levels
lower than 01 or 77 then the move fails, the destination field
is overwritten with low values.

The comamnds we are using to compile are :

	lpicobol -rmext -o prog.o prog.lpi
   ldcobol -o prog prog.o

With or without dynamic linking makes no difference.

Any information regarding this problem would be appreciated.

Regards
-- 
<<<<<<<<<<<<<<<<<<<<<<<<<  Nigel Harwood  >>>>>>>>>>>>>>>>>>>>>>>>>>>
<< Post:  Coles Myer Ltd, PO Box 2000 Tooronga 3146, Australia     >>
<< Phone: +61 3 829 6090  E-mail: nigel@cnw01.storesys.coles.oz.au >>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>