Here's an example of using the driver to connect to *MSG service (propjr is a 
sample program that gets installed with the RPM):



#!/bin/sh

vmcp set msg iucv

vmcp set wng iucv

vmcp set imsg iucv

vmcp set emsg iucv

vmcp set cpconio iucv

vmcp set vmconio iucv

echo '*MSG' >/sys/devices/iucv/iucv0/target_user

propjr



# ./prop

User ID  Class    Message

-------- -----    --------------------------------

LNEALE1  [VMIO]

LNEALE1  [VMIO]   ls

LNEALE1  [VMIO]   ls

LNEALE1  [VMIO]   anaconda-ks.cfg  docker-container.pp  docker-container.te  
origin-3.11.0  prop

LNEALE1  [VMIO]

LNEALE1  [VMIO]   w

LNEALE1  [VMIO]   w

LNEALE1  [VMIO]   21:03:22 up  2:53,  3 users,  load average: 0.00, 0.01, 0.05

LNEALE1  [VMIO]

LNEALE1  [CPIO]   00:

LNEALE1  [CPIO]   00: TIME IS 21:03:23 EDT MONDAY 06/17/19

LNEALE1  [CPIO]   00: CONNECT= 99:59:59 VIRTCPU= 716:14.62 TOTCPU= 724:46.57

CLCTLR   [MSG]    MESSAGE FROM ANOTHER GUEST

LNEALE1  [CPIO]   00:

LNEALE1  [EMSG]   00: HCPCQV003E Invalid option - VERMIN



VMIO was me typing things on the 3215 console; CPIO was me issue CP commands 
via vmcp or #CP on the console; EMSG was me entering #CP.Q VERMIN; and MSG was 
a message from another virtual machine.



Neale

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to