HP 3000 Manuals

Creating a Message File [ Interprocess Communication:Programmer's Guide ] MPE/iX 5.0 Documentation


Interprocess Communication:Programmer's Guide

Creating a Message File 

Message files can be created in several ways.  To create a message file
with the :BUILD command, use the MSG keyword.  For example, to build a
message file named PAULA, enter:

     :BUILD PAULA; MSG

When a user process opens a new file programmatically and indicates that
it will be a message file, the HPFOPEN intrinsic creates the new message
file.  Or HPFOPEN can explicitly reference a :FILE command.  Use the MSG
keyword in the :FILE command to create a new message file:

     :FILE LARS, NEW; MSG

When you perform a :LISTF,2 command, message files are identified by an M
in the third column of the TYP field.  For example:

     FILENAME  CODE -----LOGICAL RECORD------ -----SPACE-----
                 SIZE   TYP  EOF   LIMIT  R/B  SECTORS  #X  MX

     PAULA       128W   VBM    0   1031     1    258     1   8


MPE/iX 5.0 Documentation