------------------<snip>-------------------

A lot has been said about MVS/DNS/etc..., knowing the IP address of the workstation in 
order for MVS to initiate the FTP "down" to the WS.  Most have said it needs to 
be a static IP address.

At this site, we use static IP addresses.  However, while I no longer have the VBS/WSF (a VB 
script) file, at a prior site I wrote a plain-ole BAT/CMD file which called CSCRIPT to 
process the VBS/WSF file which would parse a txt file that was the output of "IPCONFIG 
/ALL > IPINFO.TXT".  The data in the file contained the current WS IP address.

Once the file was parsed (I got the data I needed), I knew the IP address and 
would save it to a one-line TXT file which was then FTP'ed to the MVS host and 
stored in a flat file which was read, actually copied, into the 'host side' FTP 
SYSIN file.  Now, I had what I needed to know to initiate the FTP down to the 
workstation.  Using the Scheduled Tasks utility in XP, the BAT/CMD file would 
be kicked off at system started up (boot) and daily, about 10-15 minutes before 
the first MVS job of the day that produced the data I needed on the WS.

While there may have been a better solution, or one more robust/reliable, it 
was not as ugly as it seems and the end result was it worked!  In the time I 
was there using this process, there was only one occasion when the lease of a 
workstation expired between the time the IP address was FTPed to the host and 
the time the host needed the IP address to send the data down.  I had 
intentions of rewriting the script file, but you know how that is.

-----------------------------<unsnip>---------------------
This is all very interesting but it doesn't address the issue of security very well. I'm stuck with a direct COMCAST connection to my LAN that I can't disable without disabling my telephones as well. So how to I assure that some "hacker" from outside doesn't "ghost" a virus or some form of spyware onto my PC? Running WinXP Pro.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to