ASPL 1> DEF FN cmp2sets := {gU {g\, %%1 %%2}{g\, %%2 %%1}{g&, %%1 %%2}}
a function definition to compare two sets
ASPL 2> displayoff
turn off display so next operations are quietly executed
ASPL 3> nynymqTESTA = ggqmgrchann(hostname,nynymq,qmgrname,TESTA)
assign to set variable nynymqTESTA the channels of qmgr TESTA hosted on NYNYMQ
ASPL 4> vavamqTESTA = ggqmgrchann(hostname,vavamq,qmgrname,TESTA)
assign to set variable vavamqTESTA the channels of qmgr TESTA hosted on VAVAMQ
ASPL 6> ks- ALTDATE,ALTTIME,chksum
delete from ks-vector attributes ALTDATE,ALTTIME,chksum,
this is not really a deletion, rather hiding them from
the set operations. See ASPL User Guide.
ASPL 7> printblock THE UNION OF THE CHANNELS IN THE QMGRS IS SHOWN BELOW
ASPL 8> fU, nynymqTESTA vavamqTESTA
print the labinated union of elements (channel names) between nynymqTESTA vavamqTESTA.
the result of the operation is pushed on the top of the answer stack
ASPL 9> v
print the symbol table
ASPL 10> setwriteformat MQ_Writer_ChannelsColor
set the writer to processor to MQ_Writer_ChannelsColor
ASPL 11> writeformat
print the channels report using the writer previously specified,
the input is read from the top of answer stack.