Using Message-files in PH 4GL, help needed...

Hans-Ole Kaae, ScanConsult hok@scanconsult.dk
Wed, 28 Aug 2002 17:17:00 +0200


(HP e3000, MPE/iX 6.5 TurboIMAGE XL, PH 8.19.C4)

Hi fellow listers,

We have been using MPE Message Files in an application for years. Until 
now we have been posting data to these message files, while other apps 
have been reading the data off the files.

Now we want to read and write to a Message File in 2 PowerHouse 
programs. The reading program is supposed to read the records in the 
Message Files as they are created - and since reading is destructive, 
the MSG-file gets empty, forcing the program to wait until new data 
arrives. (Event-controlled).

The file is declared in the PDL-dict as DIRECT MPE. (Sequential has 
been tried - but to no avail).

In Qdesign the file is declared Designer (Open Read Share was added - 
didn't help).

I keep getting an "Operation inconsistent with access type" MPE-error 
in Quick when trying a 'while retrieving <filename> sequential' 
construct.

I know I can just copy the data from to MSG-file to a normal flat file -
 but it would be great to see the nice and well-working MSG-concept at 
it's best...

I wonder if PowerHouse in fact has real support for MPE Message Files?

I really will appreciate any info on the subject - and will be 
interested in knowing if and how others have seen this work.

TIA!

Mange hilsner / With kind regards

Hans-Ole

===========================================================
E-mail: hok@scanconsult.dk        Cell Phone: +45 4042 5507
===========================================================
ScanConsult IT-Partners ApS         Voice   : +45 8738 7474
Jegstrupvej 96A                     Fax     : +45 8738 7475
DK-8361 Hasselager         Support : support@scanconsult.dk
Denmark                    Sales   :   sales@scanconsult.dk
                 http://www.scanconsult.dk                
= ParaSuite :  A Suite of Air Cargo Handling solutions    =
= ParaSafe  :  A Suite of IT-Security solutions           =
= Partners  : Hewlett-Packard, Cognos, Microsoft and more =