XM Satellite Radio AA-RU5HC-TE manual Capture Validate, User functionality

Models: AA-RU5HC-TE

1 130
Download 130 pages 24.63 Kb
Page 52
Image 52

SSSU Command Reference

CAPTURE VALIDATE

Syntax

CAPTURE VALIDATE <file_name>

CAPTURE VALIDATE checks the specified script file for modification by calculating its checksum and comparing the result against the checksum saved in the file. A script may have been modified (failed the CAPTURE VALIDATE command) but may still work. SSSU runs a script even if its checksum shows file modification.

Example

CAPTURE VALIDATE c:\reconfigure_sales_dr_step2.txt

This example determines whether the reconfigure_sales_dr_step2.txt file was modified.

Syntax

CAPTURE VALIDATE file_name

User functionality

CAPTURE VALIDATE is a switch that determines if a captured script text file has been edited and modified after it was captured. This allows the user to determine whether the script is a perfect capture of the existing system or if someone has modified it after it was created.

Note that the specified script is not executed by this command; the script is checked only to see whether it's “original” or not.

When a script is captured by the CAPTURE commands, a header is written at the front of the text file and a checksum is written at the end. If CAPTURE VALIDATE does not see a correct header, it reports that the script specified is not a CAPTURE-generated script. If the checksum does not match, this command reports that the file has been modified.

If and only if a correct header is found and the checksum matches, this command reports that the CAPTURE script specified is unmodified.

52

Command View EVA Storage System Scripting Utility Reference Guide

Page 52
Image 52
XM Satellite Radio AA-RU5HC-TE manual Capture Validate, User functionality