5.23.6 SET
The SET command is used to create the return parameter object.
Syntax:
Command |
Keyword |
Value |
Developer notes for Command/Keyword/Value |
SET
|
PARAMETER |
*RETURN |
Optional. |
FRAGMENT |
value |
Optional. Fragment name. |
|
LIST |
value |
Optional. List name. |
If the return parameter is simple and requires no fragments or lists, then a SET PARAMETER(*RETURN) command will set the parameter value with the program field value.
If the parameter is a complex object, then the SET PARAMETER(*RETURN) command needs to be called to set the context of future calls to act on this parameter. Several SET FRAGMENT and SET LIST commands might need to be called to fully populate the return parameter object.
Example
SET PARAMETER(*RETURN)