6.  To  complete  the  connection,  the  program  in  virtual  machine  Y  issues  a  CMSIUCV   ACCEPT.   By  issuing  CMSIUCV   ACCEPT,   CMS  invokes  the  IUCV   ACCEPT   function.  This  completes  the  IUCV   communication  link  with  
virtual machine X. TheCMSIUCV   ACCEPT   also  associates  the  exit  address,  "2",   with  the  pathid.  
7. Virtual machine X receives a connection-complete external interrupt as a result
of theCMSIUCV   ACCEPT   issued  by  the  program  in  virtual  machine  Y.  
8."EXIT   B"  receives  control  as  a  result  of  the  external  interrupt.  ("EXIT   B"  
receives control because it is specified on the EXIT parameter of theCMSIUCV   macro.)  
9. Virtual machine X completed its communications with virtual machine Y and
terminates thelUCY   communication  link.  The  program  in  virtual  machine  X  
issues anCMSIUCV   SEVER  to  terminate  this  link.  By  issuing  CMSIUCV   SEVER,  CMS  invokes  the  IUCV   SEVER  function  and  clears  the  exit  associ  
ated with the communication link.10.   Virtual  machine  Y  receives  a  SEVER  external  interrupt  as  a  result  of  the  CMSIUCV   SEVER  issued  by  virtual  machine  X.  
11."EXIT   2"  receives  control  as  a  result  of  the  external  interrupt.  ("EXIT   2"  
receives control because it was specified on the EXIT parameter of theCMSIUCV   macro.)  
12. The program in virtual machine Y issues aCMSIUCV   SEVER  to  terminate  the  
communication link. By issuingCMSIUCV   SEVER,  CMS  invokes  the  IUCV   SEVER  function  and  clears  the  exit  associated  with  the  communication  link.  
13. After all communications are complete and all communication paths have been
SEVERed, the program in virtual machine X and the program in virtual
machine Y independently issueHNDIUCV   CLR.  HNDIUCV   CLR  terminates  IUCV   communications  and  clears  the  general  exit  for  IUCV   PENDING   CONNECTs.  CMS  invokes  the  IUCV   RETRIEVE  BUFFER   function  if  there  
are no other programs in the virtual machine usingIUCV.   14.  This  is  the  label  specified  in  the  NAME  parameter.  This  location  contains  the  
identifying name of the program in virtual machine X. The name of this pro
gram is RED.
15. This is the label specified in the NAME parameter. This location contains the
identifying name of the program in virtual machine Y. The name of this pro
gram isBLUE.   Guidelines  and  Limitations  of  the  CMS  IV   CV  Support  
Some of the existingIUCV   functions  affect  the  IUCV   environment  of  the  entire  
virtual machine. Since CMS cannot intercept anyIUCV   functions  directly  issued  
by a program, any program using the CMSIUCV   support  has  certain  limitations  on  
its use ofIUCV   functions.  The  program  must  not  issue  any  IUCV   function  that  
alters the virtual machine'sIUCV   environment.  
The following is a list ofIUCV   functions.  The  list  describes  their  relationship  to  
the CMSIUCV   support  and  some  guidelines  for  their  usage.  If  any  functions  listed  
CMSIUCV   Support  367  
virtual machine X. The
7. Virtual machine X receives a connection-complete external interrupt as a result
of the
8.
receives control because it is specified on the EXIT parameter of the
9. Virtual machine X completed its communications with virtual machine Y and
terminates the
issues an
ated with the communication link.
11.
receives control because it was specified on the EXIT parameter of the
12. The program in virtual machine Y issues a
communication link. By issuing
13. After all communications are complete and all communication paths have been
SEVERed, the program in virtual machine X and the program in virtual
machine Y independently issue
are no other programs in the virtual machine using
identifying name of the program in virtual machine X. The name of this pro
gram is RED.
15. This is the label specified in the NAME parameter. This location contains the
identifying name of the program in virtual machine Y. The name of this pro
gram is
Some of the existing
virtual machine. Since CMS cannot intercept any
by a program, any program using the CMS
its use of
alters the virtual machine's
The following is a list of
the CMS
CMS
 
             
            
































































































































































































































































































































































































































































































































































































































