

Accessing Auxiliary Storage: FILE › The FILE Transaction and Menus › Change Data in the Work Area › The CHGE Function
The CHGE Function
Follow this procedure when using the CHGE function:
- To change data in the WORK AREA, position the first byte (character) of the data that is to be changed so that it is the first byte of the FILE display. There are two ways to do this:
- Type the desired location in the LOC field, and press Enter.
- Type a question mark (?) in the LOC field, position the cursor at the appropriate location in the record, and press Enter.
Delay pressing Enter until you complete Step 2.
- Fill in the FUNC= and DATA= fields as shown next:
FUNC=CHGE
DATA= new data
- Fill in the following optional field, if it applies to your situation:
CHGELEN = length of the data to be change
Use a hexadecimal number for FORMAT=D and a decimal number for all other FORMATs.
- Press Enter. The MESSAGE= field displays the following message and the displayed record shows the new data at the proper location.
xxx NUMBER OF BYTES CHANGED
Copyright © 2012 CA.
All rights reserved.
 
|
|