> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Gary Green
> Sent: Wednesday, March 19, 2008 10:00 AM
> To: IBM-MAIN@bama.ua.edu
> Subject: Re: MVS initiated FTP to Windows
> 
> 
> 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 
> FTP'ed 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!

Good idea! I think that I'll do something similar for my Linux
workstation, which does not register itself in the Windows arena.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it. 

----------------------------------------------------------------------
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