Previous Topic: USER: Processing Before Data Read

Next Topic: USER: Processing if Data Record Already Exists

USER: Processing Before Data Update

Insert logic here to increment key values of records that you want to add. For example, to add records to a file with a sequential key: Retrieve the last written key value (for example, order line number) and increment it by one to obtain the key value of the next record to be written.