Well, at the site in question, there was no such updating of DNS for workstations. Why? I have no idea. So, another solution was necessary.
On Wed Mar 19 12:05 , Scott Rowe <[EMAIL PROTECTED]> sent: >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â€| > ---------------------------------------------------------------------- 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