Grouping data using the connection type identifier

You can use the GROUP command to reduce data according to the connection type of the thread.

First you must define the GROUP command for the identifier CONNTYPE, such as GROUP (CONNTYPE (ALLCTP(*))). Then use the REDUCE subcommand to get SAVE records with the variable group name. The conversion utility can handle the group name and passes it to the Save-File utility (including the predefined names of the connection types).

In the following example, data for the connection type group named ALLCTP is accumulated. Records created in the SAVE data set with DD name ACSAVDD1 contain name ALLCTP as part of their key. After converting this data, the loadable data contain ALLCTP as a connection type.


 
GROUP (CONNTYPE (ALLCTP(*)))
ACCOUNTING
  REDUCE
    INCLUDE (CONNTYPE (G(ALLCTP)))
  SAVE
    DDNAME(ACSAVDD1)