This seems like a whole lot of work to go through to get around a
problem that shouldn't exist in the first place.  If the DHCP/DNS is
setup correctly, every PC should have a valid DNS name that resolves the
IP address correctly.  I don't remember any site I've worked at recently
(5 years) where I couldn't use a DNS name to address a desktop machine.

>>> Gary Green <[EMAIL PROTECTED]> 3/19/2008 10:59 AM >>>
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â€|

Note that my email domain has changed from jo-annstores.com to
joann.com.  Please update your address book and other records to reflect
this change.

CONFIDENTIALITY/EMAIL NOTICE: The material in this transmission contains
confidential and privileged information intended only for the addressee.
 If you are not the intended recipient, please be advised that you have
received this material in error and that any forwarding, copying,
printing, distribution, use or disclosure of the material is strictly
prohibited.  If you have received this material in error, please (i) do
not read it, (ii) reply to the sender that you received the message in
error, and (iii) erase or destroy the material. Emails are not secure
and can be intercepted, amended, lost or destroyed, or contain viruses.
You are deemed to have accepted these risks if you communicate with us
by email. Thank you.

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