ASPL Guide to Operations v 1.00
© 2024 by SetSphere.COM


3. 30
   .=* transforms binned set variables and assign them to set variables

 

logo

setvar .=* binnedvar1 [binnedvar2 .. binnedvarN]       where setvar is set variable and binnedvar1 [binnedvar2 .. binnedvarN] are binned set variables

dotassignstar  setoid  1*          ins:H_H_AH  ous:H_H_H

●  Operator .=* transforms binned set variables and assign them to set variables

Use the .=* operator to assign a binned variable to a set variable. The operator will transform the binned variable into a set variable. Since binned variables can contain datasets with more information, the transform operator may create one or many set variables when mapping a binned dataset. If the transformation results in multiple set variables, then ASPL will create them by appending them with a dot followed by an incremental number.

 

.=* EXAMPLE

The following example shows the use of .=* operator.

 

.=* OPERATION

aspl WS1
    (start ASPL loading the sample workspace WS1)

①  aspl> tattler 1
    (turn on tattler so you can see the symbol tables being affected)

②  aspl> av
    (show the binned or augmented symbol table)

③  aspl> t .=* aa1 aa2 aa3
    (do a transform assigning the binned variables aa1 aa2 aa3 to t's)

④  aspl> v
    (show the regular symbol table)

⑤  aspl> au123 = gU a1 a2 a3
    (get the group union of a1 a2 and a3 in au123)

⑥  aspl> equal au123 t
    (check equality)

⑦  aspl> x .=* aa1 aa1 aa1
    (do a transform assigning the binned variables aa1 aa1 aa1 to x's)

⑧  aspl> v

⑨  aspl> equal a1 aa1

⑩  aspl> ccu123 = cU a1 a2 a3
    (get the checksum union of a1 a2 a3 and assign it to ccu123)

⑪  aspl> av
    (show the augmented (binned) symbol table)

⑫  aspl> r .=* ccu123
    (do a transform assigning the binned variable ccu123 to r's)

⑬  aspl> v
    (show the regular symbol table that will show r r.1 r.2 ..)