Test data example 2, Test data example 3, Test data example 4 – HP Integrity NonStop H-Series User Manual

Page 19

Advertising
background image

NSPDIAG Operation

NSPDIAG User Guide 529007-002

1-11

Option F – Data File Name

Test Data Example 2:

Because the + command is used, 373839#> are concatenated without packing, so the
actual command string sent to NSP is:

Test Data Example 3:

Because the & command is used, 373839 are packed into 789 before concatenating,
so the actual command string sent to NSP is:

Test Data Example 4:

This is an error case. The correct data is shown in example 3.

(#> is not ASCII-hex data. An error message Invalid command: & 373839#> appears).

When illegal data or commands are detected, an error message appears and the
testing process continues with the next command in the data file.

When -F is selected, and the current data file name exists, it is displayed and the
prompt for new data file name is displayed. When nothing but space(s) is entered, the
data file name is erased. Before the user starts testing (selecting option -S) either -B
(batch file) or -F (data file) must be specified

-

not both.

*The following command using command ‘+’ to split data
*line
S <00#This is a long data line 0123456
+ 373839#>
R <00#000070#This is a long data line 0123456373839#>

<00#This is a long data line 0123456373839#>

* The following command using command ‘&’ to split data
* line
S <00#This is a long data line 0123456
& 373839
+ #>
R <00#000070#This is a long data line 0123456789#>

<00#This is a long data line 0123456789#>

*Incorrectly using command ‘&’ to split data line
S <00#This is a long data line 0123456
& 373839#>

Advertising
This manual is related to the following products: