Andy, many years ago I have a similar problem. The better solution today is work with the products designed for data transmissions, like RSCS or TCPIP, using one of the protocols available (CTC, IUCV, OSA, VSWITCH, VMLAN...). But READER/PUNCH also works to send files to a second level VM. Don't forget that the Reader for the second level VM looks like a "physical" Reader. So, the data received must contain a header like the real world to identify the destiny. Try sending the files using a EXEC like this:
/*****/
arg fn ft fm vm2lvl . "(" user2lvl
If fn = ""
Then Do
Say "Missing Filename to send."
Exit 9999
End
If ft = "" Then ft = "*"
If fm = "" Then fm = "A"
If vm2lvl = "" Then vm2lvl = "ZVM530" /* <-- adjust */
If user2lvl = "" Then user2lvl = "MAINT" /* <-- adjust */
"CP SPOOL PUN TO" vm2lvl "CONT"
header = left("ID",8)||left(user2lvl,8)||"NAME" vm2lvl userid()
"EXECIO 1 PUNCH (STRING" header
"LISTFILE" fn ft fm "( EXEC ARGS"
"CMS DISK DUMP"
"ERASE CMS EXEC A"
"CP SPOOL PUN NOCONT"
"CP CLOSE PUNCH"
"CP SPOOL PUN OFF"
Exit
This exec sends multiple files on a single transmission, and "DISK DUMP"
can manipulate records greater than 80 characters. At other side "RECEIVE"
completes the work.
Good luck,
______________________________________________
Clovis Pereira
zVM & zOS Support - SWS
IBM - Maintenance and Technical Support Services
MTS Brazil
phone: 55-11-2132-3399
[EMAIL PROTECTED]
Andy Robertson
<[EMAIL PROTECTED]
ohnlewis.co.uk> To
Sent by: Linux on [email protected]
390 Port cc
<[EMAIL PROTECTED]
IST.EDU> Subject
Question re communicating with VM
guest machine
28/03/2008 10:09
Please respond to
Linux on 390 Port
<[EMAIL PROTECTED]
IST.EDU>
Long time browser but comparative newbie to LINUX here
My question really relates to z/VM rather than LINUX, but we do run
multiple LINUX guests
I am trying to set up a guest z/VM 5.3 system under z/VM 5.2
I need to communicate with this system in order to transmit large files
(too large to cut and paste by screen) to and from it
I have tried defining real readers and punches on the 5.3 system (using
SET RDEVICE there) and using these to transmit punch files to and from the
5.3 system. They are defined at 000c and 000d respectively
The punch works just fine. Files I punch to it go through the "real" 000d
punch to the spool of the 5.2 system and can be accessed from there
however, whatever I do the reader at 000c does not seem to see the files
waiting on the 5.3 guest machine's virtual reader queue
I am sure this is some stupid "gotcha" but I can't find what I am doing
wrong
Anyone seen this before?????
**********************************************************************
This email is confidential and may contain copyright material of the John
Lewis Partnership.
If you are not the intended recipient, please notify us immediately and
delete all copies of this message.
(Please note that it is your responsibility to scan this message for
viruses). Email to and from the
John Lewis Partnership is automatically monitored for operational and
lawful business reasons.
**********************************************************************
John Lewis plc
Registered in England 233462
Registered office 171 Victoria Street London SW1E 5NN
Websites: http://www.johnlewis.com
http://www.waitrose.com
http://www.greenbee.com
http://www.johnlewispartnership.co.uk
**********************************************************************
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
<<inline: graycol.gif>>
<<inline: pic12433.gif>>
<<inline: ecblank.gif>>
