You need to define some connections to the z/VM machine
in your *.devmap file add statements for addresses 240,241, 242
name awsosa 0023 --path=A0 --pathtype=OSD --tunnel_intf=y # needed for VM device 240 osa osa device 241 osa osa device 242 osa osa device 400 osa osa etc
IPL VM
awsstart vm.dev
ipl 200 parm 0700
If it complains about checkpoint data you need to reply
oprmsg force
Accessing the TCP files
logon to maint
to use netstat etc you need
- cp link tcpmaint 592 592 rr
- acc 592 p
To change the tcp config
- cp tcpmaint 198 198 mr
- acc 198 w
The tcp files are on the W disk.
Connect the external address to TCPIP virtual machine
xedit SYSTEM DTCPARMS W and specify the 024x address
.********************************************************************** .* SYSTEM DTCPARMS created by DTCIPWIZ EXEC on 3 May 2017 .* Configuration program run by MAINT640 at 17:27:20 .********************************************************************** :nick.TCPIP :type.server :class.stack :attach.0240 AS 0001,0241 AS 0002,0242 AS 0003
The :attach connects the 240 in the *.devfile to IO address 0001 in the TCP virtual machine.
Configure TCPIP
Xedit TCPIP CONFIG W, uncomment the FTPSERVE ports.
PORT
20 TCP FTPSERVE NOAUTOLOG ; FTP Server
21 TCP FTPSERVE ; FTP Server
23 TCP INTCLIEN ; TELNET Server
You need to tell TCP what address is should use. In the TCPIP CONFIG W file, there is text like
; DEVICE DEV@FRED OSD 0001 NONROUTER DEVICE DEV@FRED OSD 0001 LINK OSAFRED QDIOETHERNET DEV@FRED ; (End DEVICE and LINK statements) ; ---------------------------------------------------------------------- ; ---------------------------------------------------------------------- HOME 10.1.1.8 OSAFRED .. START DEV@FRED
The OSD 0001 matches up with the 0001 in the SYSTEM DTCPARMS W files.
You may have a different names for DEV@FRED and OSAFRED.
The address of the z/VM systems will be the value you put into the 10.1.1.8.
If you try to use 10.1.1.1 or 10.1.1.2 it may clash when you try to use z/OS second level
If you change the TCP configuration or it does not work as expected
logon TCPIP
If it was running type #cp logoff and logon again.
Make sure you include the #CP
Press enter… read the messages. If there are any problems, go to the MAINT screen and fix the files.
If you just changed the TCPIP CONFIG, then you can use the #CP IPL CMS command to restart the machine.
If you change the SYSTEM DTCPARMS you need to #cp logoff and logon again to pick up the changes.
Once it is all working you can issue #CP DISC … and the machine will continue running disconnected.
Logon to FTPSERVE
If it was already running type #cp logoff, and logon again
read the messages.
If you want fthe FTPSERVER to start up press enter.
Check there are no error messages.
You should now be able to FTP from your laptop to 10.1.1.8 ( or which ever address you specified above)
Next time you ipl z/VM
Check to see if TCPIP and FTPSERVE are running. Use
CP q TCPIP CP Query FTPSERVE
If it says not logged, on you can either logon to the machines as above, or use the command
autolog TCPIP autolog FTPSERVE