HPlogo Interprocess Communication: Programmer's Guide: HP 3000 MPE/iX Computer Systems > Chapter 3 IPC Using File System Intrinsics

Creating a Message File

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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 
Feedback to webmaster