|
I like this solutions, nice job. This takes the data from the old file
into the new files with the IBM published interface.
- Larry
On 4/23/2010 10:47 AM, Chris Bipes wrote:
Since it is just a file, could you read the file and execute the
command:
QSYS/ADDTCPHTE INTNETADR(&INETADR)
HOSTNAME((&HOSTNAME1) (&HOSTNAME2) (&HOSTNAME3)
(&HOSTNAME4))
TEXT(&TEXT)
Chris Bipes
Director of Information Services
CrossCheck, Inc.
WELLLLLLLLLLL Here's the thing.
With V6R1 the file Qusrsys/QATHOHOST member HOSTS (Memory here, don't
quote me on that) is deprecitated, meaning the actual data is stored
somewhere else now. So if what you are really after is just the 'HOSTS'
file then this may not be your best option. You see the issue is that as
of V6R1 you can have more than 4 host names per IP address *AND you can
now put IPV6 addresses in there. As a consequence it's more than simply
restoring the correct ifle from QUSRSYS to get the hosts table updated.
I wish I could give you an awesome simple method to move just the hosts
file but sadly I cannot.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.