The FIND subcommand finds the hexadecimal offset of a string in
the block.
Syntax of the FIND subcommand of READ
where:
- string
- Specifies the string that is to be located.
The string can
be hexadecimal (which is specified as X'string')
or characters (which can be enclosed in quotation marks or not). Hexadecimal
strings are right-aligned and padded with zeros to a byte boundary.
Character strings are left-aligned and padded with zeros to a byte
boundary.
If string contains lowercase characters, string must
be enclosed in quotation marks. If string is not
enclosed in quotation marks, all characters are treated as uppercase
characters, regardless of the case in which you enter them.
- OLD
- specifies the original block obtained by the READ command. OLD
is the default.
- NEW
- specifies the copy of the block. NEW is valid only with the
READ UPDATE function.
After entering the FIND subcommand, enter the LIST subcommand to
see the actual data.