The MODIFY function allows an application program to change several of the processing characteristics associated with it and with the terminal. For example, the MODIFY function could be used by an application to change the definition of its terminal from upper-case to lower-case.
- Format
The format for using the MODIFY function is:
MODIFY (retcode,function[,option])
retcode Required.
A fullword where Com-plete places the return code upon completion of the operation.function Required.
A four-character field containing the code indicating the function to be performed. Valid function codes are described in the function code table below.Note that codes less than four characters are left-justified and padded with blanks to the right.option Optional.
An additional parameter that can be used by certain functions. The format of this parameter is described in the function code table below.- Return Codes
The following return codes are issued by the MODIFY function:
0 The function completed normally. 4 The request could not be completed. 8 The request is invalid. - Abends
There are no abends associated with the MODIFY function.
- Function Codes
The following table defines the valid MODIFY function codes and the actions associated with each. Also described are the optional parameters, if any, associated with each function code.