Searches through the services database for corrupted definitions. Displays invalid records and, with the /REPAIR qualifier, deletes them. Related commands: SET SERVICE, SHOW SERVICE Format ANALYZE SERVICE [ /[NO]CONFIRM ] [ /[NO]REPAIR ]
1 – Restrictions
Requires write access to the directory with the services database.
2 – Qualifiers
2.1 /CONFIRM
/CONFIRM /NOCONFIRM Optional. Default: /NOCONFIRM. Use only with the /REPAIR qualifier. When the software encounters a problem, it displays a description and a solution. If you specify the /CONFIRM qualifier, the software then requests confirmation before making a correction. Respond to the CONFIRM: prompt by entering one of the following: o Y to repair the problem o N to ignore the problem
2.2 /REPAIR
/REPAIR /NOREPAIR Optional. Default: /NOREPAIR Deletes the corrupted records.
3 – Examples
1.TCPIP> ANALYZE SERVICE Invalid IP option records Service Port Proto Process Address TOE 25 TCP TOED 0.0.0.0 NESTING 560 TCP NEW_EGGS_TCPIP 0.0.0.0 IP option records Total: 0 Invalid: 0 TCP option records Total: 7 Invalid: 2 Displays total and invalid protocol option records found in two service definitions, TOE and NESTING. 2.TCPIP> ANALYZE SERVICE /REPAIR /CONFIRM Invalid IP option records Service Port Proto Process Address TOE 67 UDP TOED 0.0.0.0 Remove? [N]: YES Service Port Proto Process Address NESTING 69 UDP NEW_EGGS_TCPIP 0.0.0.0 Remove? [N]: YES Displays the total protocol option records and deletes, after confirmation, the invalid records.