First—Define input or work fields to hold argument values that are sent to the procedure module.
Second—Define input or work fields to receive values returned from the procedure module.
Usually, type 0 work fields are initialized to spaces (for alphanumeric fields) or zeros (for numeric fields).
Third—Issue a CALL statement from a type 7 parameter to the module being invoked:
All values must be specified in sequence. To omit an alphanumeric argument, specify a blank enclosed in single quotation marks. To omit a numeric value, specify a zero.
Fourth—Reset argument values before reissuing a CALL to the same module.
Copyright © 2014 CA.
All rights reserved.
|
|