ASPL 1> tee -a /tmp/MQWTX/MQ_WTX_envcompare-pl.tee
ASPL 2> DEF FN cmp2sets := {gU {g\, %%1 %%2}{g\, %%2 %%1}{g&, %%1 %%2}}
define the function cmp2sets() to compare two groups
ASPL 3> timeout 60
set timeout to 60 seconds
ASPL 4> displayoff
turn off display
ASPL 5> localhost = ggenv(grp1,localhost)
get the environment of localhost and assign it to localhost
ASPL 6> mm01 = ggenvR(grp1,mm01,hostname,mm01)
get the environment of host mm01 and assign it to mm01
ASPL 7> displayon
turn on display
ASPL 8> fU localhost mm01
display the union of the environment of both hosts
ASPL 9> f&`c~ localhost mm01
display the intersection of the environment variables whose values differ
ASPL 10> sim localhost mm01
display the similarity of the environment variables
ASPL 11> v
display symbol table