General  Considerations  
VMCF Protocol
The VMCF support module, DMKVMC, is a pageableCP   module.  If  a  user  
has significant paging activity, it may be advantageous to either lock the mod
ule in real storage(CP   LOCK   command)  or  alter  the  CP   LOADLIST   to  make  
DMKVMC resident.
It ist<;>   a  user's  benefit  to  have  the  user  parameter  list,  VMCP   ARM,  in  the  
same 4K page as theDIAGNOSE   X'68'  instruction.  This  may  eliminate  a  pag  
ing operation.
User support modules using the VMCF interface should be written as reentrant
modules and be contained within aCP   shared  segment  whenever  possible.  
This helps reduceCP   paging  overhead.  
For applications that involve serial message processing, the SENDX function is
the most efficient. The SENDX function eliminates the need for the SINK to
do a RECEIVE operation.
Note:Overall   system  VM/SP   performance  is  not  affected  when  VMCF  is  not  
being used by an installation.
The SENDX function is a fast way to transfer messages or data and can be used in
place of theCP   MSG  command  where  the  message  length  exceeds  the  capacity  of  
the terminal input line. Its use is somewhat restricted in that the maximum data
length must be agreed upon by all VMCF users and then remains fixed unless
renegotiated.
The SEND and SEND/RECV functions are better suited to transfer high volume
data base type information. This type of data transfer requires the flexibility of a
wide range of data lengths along with rigorous management and control techniques.
The QUIESCE function allows a virtual machine to discontinue receiving messages.
The virtual machine can process those messages already stacked and then use the
RESUME function to continue reception. The QUIESCE function also allows a
virtual machine to process all queued messages prior to terminating VMCF opera
tion.
The user parameter list,VMCPARM,   is  designed  such  that  it  can  be  used  for  any  
sub function by simply varying the contents of its fields.
Users should keep copies ofVMCPARMs   for  all  requests  made  via  the  SEND,  
SEND /RECV, or SENDX functions. When a final response interrupt is received
and the interrupt message header indicates no data transfer errors, the correspond
ingVMCP   ARM  copy  can  be  released.  If  a  data  transfer  error  is  indicated,  the  
copy can be used to reinitiate the transaction.
VMCF provides four types of protocol: SEND, SEND/RECV, SENDX, and
IDENTIFY. The protocol used to communicate between two virtual machines
depends on the application of VMCF and conventions established by virtual
machine users authorized to use VMCF. A virtual machine must invoke theAUTHORIZE   subfunction  before  it  is  allowed  to  use  any  of  the  other  
subfunctions.
The Virtual Machine Communication Facility 87
VMCF Protocol
The VMCF support module, DMKVMC, is a pageable
has significant paging activity, it may be advantageous to either lock the mod
ule in real storage
DMKVMC resident.
It is
same 4K page as the
ing operation.
User support modules using the VMCF interface should be written as reentrant
modules and be contained within a
This helps reduce
For applications that involve serial message processing, the SENDX function is
the most efficient. The SENDX function eliminates the need for the SINK to
do a RECEIVE operation.
Note:
being used by an installation.
The SENDX function is a fast way to transfer messages or data and can be used in
place of the
the terminal input line. Its use is somewhat restricted in that the maximum data
length must be agreed upon by all VMCF users and then remains fixed unless
renegotiated.
The SEND and SEND/RECV functions are better suited to transfer high volume
data base type information. This type of data transfer requires the flexibility of a
wide range of data lengths along with rigorous management and control techniques.
The QUIESCE function allows a virtual machine to discontinue receiving messages.
The virtual machine can process those messages already stacked and then use the
RESUME function to continue reception. The QUIESCE function also allows a
virtual machine to process all queued messages prior to terminating VMCF opera
tion.
The user parameter list,
sub function by simply varying the contents of its fields.
Users should keep copies of
SEND /RECV, or SENDX functions. When a final response interrupt is received
and the interrupt message header indicates no data transfer errors, the correspond
ing
copy can be used to reinitiate the transaction.
VMCF provides four types of protocol: SEND, SEND/RECV, SENDX, and
IDENTIFY. The protocol used to communicate between two virtual machines
depends on the application of VMCF and conventions established by virtual
machine users authorized to use VMCF. A virtual machine must invoke the
subfunctions.
The Virtual Machine Communication Facility 87
 
             
            
































































































































































































































































































































































































































































































































































































































