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


3. 27
   acopy copies a binned set variable into another binned set variable

 

logo

acopy binnedvar1 binnedvar2       where binnedvar1 binnedvar2 are binned set variables

binnedvar1 is the source binned variable and binnedvar2 is the target binned variable

acopy  asetoid  2          ins:H_H_AH  ous:H_H_AH

●  Operator acopy copies a binned set variable into another binned set variable

Use the operator acopy to copy a binned (also called augmented) set variable into another.

 

acopy EXAMPLE
The binned set variables are saved in the augmented symbol table. To display the variable in the augmented symbol table you will use the command av and to show the internals of a augmented set variable you will use the command av d as shown in the following example.

 

acopy OPERATION

aspl WS1
    (start ASPL loading the sample workspace WS1)

①  aspl> tattler 1
    (enable the tattler to see the activity done on ASPL symbol tables)

②  aspl> av
    (print the augmented symbol table)

③  aspl> acopy aa1 aaa1
    (copy the binned set variable aa1 into aaa1)

④  aspl> cu123 = cU a1 a2 a3
    (get the checksum union of a1 a2 a3 into cu123)

⑤  aspl> av
    (print the augmented symbol table)

⑥  aspl> acopy cu123 ccu123
    (copy the binned set variable cu123 into ccu123)

⑦  aspl> av
    (print the augmented symbol table)

⑧  aspl> av d cu123
    (display the descriptor of cu123)

⑨  aspl> av d ccu123
    (display the descriptor of ccu123)