SUBSET

The optional keyword SUBSET allows a subset of the mapping fields to be used by the GET/SET fragment command and the GET/SET list command.

A single column working list is used to supply a list of fields to be used by the GET/SET fragment command. Additionally, when used with the GET fragment command, this working list is cleared and filled with the fields that where bound to the function. In this scenario, you supply a subset of fields to bind and then receive a subset of fields that where actually bound back in the same working list.

The default value for the SUBSET keyword is *NONE.

 

SUBSET

*NONE

No subsetting of bind fields.

*INCLUDE

Only use fields specified in list.

*EXCLUDE

Use all function exchanged fields, but exclude the fields specified in list.

 

Example

 

SET FRAGMENT SUBSET(*NONE) SERVICE_LIST(NAME)

 

GET FRAGMENT SUBSET(*INCLUDE) SERVICE_LIST(NAME)

 

SET LIST SUBSET(*INCLUDE) SUBSET_LIST(ACCOUNT,NAME)