RCCVHOST
RCCVHOST validates the host argument.
Purpose
When you use the RCCVHOST function, the following conditions will be tested:
- If the host argument is of the form num1.num2.num3.num4[.num], RCCVHOST assumes that the argument is an IPv4 address and verifies that each part (numi) is an integer between 0 and 255.
- If the host argument contains a colon (:), it is verified to conform to the IPv6 address formation rules. Otherwise, RCCVHOST assumes the argument to be a domain name for the system.
Syntax
RCCVHOST(host)
Arguments
You can use the following argument when you run the RCCVHOST:
- The TCP/IP address or DNS name of the machine that contains the DevOps Code ClearCase® VOB. This address must be a valid TCP/IP address or DNS name.
Result
The following table lists the return and reason codes that result from running the RCCVHOST function; it also provides a description of the meaning of the codes.
Return code | Reason code | Description |
---|---|---|
0 | 600 | Processing successful. |
8 | 611 | Distributed command failure. |
612 | Invalid argument value. | |
616 | Improper number of arguments. | |
12 | 698 | Internal error. |
699 | Internal error. |
Example
PARSE Value RCCVHOST(‘TEST.onsome.domain.com’)
With rccret rccrsn rccmsg
Output
None.