In article <[log in to unmask]
.com>, "Stigers, Gregory - ANDOVER" <[log in to unmask]> writes
>We are running Reflection 5.2 under Windows 95. We have a series of
>programs that are supposed to write display data to IMAGE. They were
>compiled and linked in batch jobs. They fail with condition word -11,
>bad database reference. The code looks fine. I recompiled and relinked
>the program and its subroutines. They still fail. In desperation, I sign
>off, close and restart Reflection, and sign back on. The program now
>works. I try this several more times with the same results.

Does 'same' mean 'now always works' or 'some logons work, other give
 -11s'?

If the former, do you have file equates in a LOGON UDC? If so, a prior
'RESET @', or similar, could have produced a session in which programs
won't work. But logging on again will allow them to, because a LOGON UDC
will re-establish the required file equates.


--
Roy Brown               Phone : (01684) 291710     Fax : (01684) 291712
Affirm Ltd              Email : [log in to unmask]
The Great Barn, Mill St 'Have nothing on your systems that you do not
TEWKESBURY GL20 5SB (UK) know to be useful, or believe to be beautiful.'