Use the VER command with a CHG command to prevent an incorrect change to storage. This command verifies that the specified data is stored at the specified location. Specify the VER command as follows:
CORE=loc=VERdata
The data in a VER command is specified using the following formats:
C'chardata'— character data
X'hexdata'—hexadecimal data
Example
Verify that the NAME field contains JIM before changing it to JAY. If JIM is not in the NAME field, the change command is rejected, enter:
CORE='NAME'=VERC'JIM'=CHGC'JAY'
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|