[log in to unmask] wrote in message
<[log in to unmask]>...
<snip>
>impossible in theory).  In the COBOL programming when we use the "DBFIND",
it
>works but after that, when we use the "DBGET", it "crashs".
>
>Has someone already encountered such situation ?


To my understanding, DBFIND simply locates the head of chain pointer by
looking in the specified master set.  If the DBFIND is successful, it would
appear that you have the automatic master entry that you need.   What is
your basis for thinking that the master entry is missing?  Since the DBGET
fails (and you don't say exactly how it fails -- crashes is kind of a broad
term), I'd say the record pointer on the automatic master is not pointing to
a valid record in the detail set.  I don't know what tools you have, but
basically, you need to unload (via serial access) the detail data sets that
hang off that master and reload them to rebuild the master.

Good luck!

Glenn Mitchell
Maine Medical Center
mailto:[log in to unmask]