Discussion:
TCPIP obeyfile question
(too old to reply)
william JANULIN
2006-01-19 16:42:12 UTC
Permalink
To list:
Is there a way to change the services for a TCPIP
port (515 in this case to use RSCS instead of LPSERVE)
without having to bring down TCPIP? I tried OBEYFILE
but it does not change the port to use the services I
need.

Thks,
Bill J.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Miguel Diaz
2006-01-19 17:13:09 UTC
Permalink
On Thursday, 01/19/2006 at 08:42 PST, william JANULIN
Post by william JANULIN
Is there a way to change the services for a TCPIP
port (515 in this case to use RSCS instead of LPSERVE)
without having to bring down TCPIP? I tried OBEYFILE
but it does not change the port to use the services I
need.
Your OBEYFILE must contain the entire PORT statement exactly as you want
it; all port definitions will be replaced. At that point you can take
down LPSERVE and bring up RSCS.
Alan Altmark
z/VM Development
IBM Endicott
Eek...I was hoping to respond to this before you got here ;-)

The book does in fact say that the OBEYFILE must containg the entire PORT
statement etc.

That's not correct (and it is being fixed).

There is currently no way, without taking the stack down, to remove a PORT
specification.

Based on a cursory look at the code, it seems as if you can have multiple
users specifying the same PORT/PROTOCOL combination and as long as they
aren't both trying to use it at the same time (or they use the
SO_REUSEADDR socket option), they should be able to function properly.

If you're running z/VM 5.2.0, you can use the NETSTAT CONFIG PORT command
to display the current PORT reservations on the TCP/IP stack.

Regards,
Miguel Diaz
z/VM TCP/IP Development

Loading...