-g[h, o]pattern
|
Extracts transaction data and output
to file. Requires the -o option to provide
the output file name. You can provide an optional delimiter pattern
to separate transaction data within the output file. The delimiter
pattern can be hexadecimal or octal, with each byte separated by
a comma.
Example 1 – this sample extracts all transaction
data from the Complete.log and writes to the output.log file.
Each transaction data is separated by the hexidecimal pattern 41,
42, 43, 20, 31, 32, and 33:
ims sfmlog -fComplete.log -ooutput.log
-gh41,42,43,20,31,32,33
Example 2 – this sample performs the same operation
as the previous sample. The only difference is that the data pattern
is specified in octal format. Notice three digits are required for
each byte, thus 040 instead of 40 are in the pattern):
ims sfmlog -fComplete.log -output.log
-go101,102,103,040,061,052,063
|