7.60.1 FIELD_MAP Parameters
FOR |
|---|
The FOR parameter may have one of the following values:
*INPUT | The FIELD specified will receive a value |
*OUTPUT | The value of the specified FIELD will be passed to the caller |
*BOTH | The FIELD will receive a value and will return a value at the end of the routine |
FIELD_MAPs defined as OUTPUT or BOTH will be forwarded to the subsequent webpage if the SRVROUTINE has a Response of *WebPage
FIELD |
|---|
pecifies the names of the field used in the FIELD_MAP.
When the SRVROUTINE is executed it is not necessary to use the same field name both in the caller and the SRVROUTINE. Values are mapped based on the position of the parameter. Provided the fields are compatible, the value will be passed.
DESC |
|---|
se the DESC parameter to write a brief description for the SRVROUTINE. It can be 40 characters long. By default, this description will be displayed in the Feature Help (F2) for the routine.
HELP |
|---|
56 byte string used to document the routine.
PARAMETER_NAME |
|---|
AREMETER_NAME allows for a more meaningful name to be provided for the parameter.
Rather than being limited to the name of the variable being used in the map, PARAMETER_NAME is used to make the parameter more readable when used. This is particularly useful for older systems where short field names and internal variables names are may not be overly user friendly.