( ** Go back to PARENTPAGE ../Comparing-JDBC-INFORMIX-JAR-Files.html)
( ** Go back to HOMESITE https://www.tcnd.com)
( ** Go back to SetSphere https://www.setsphere.com)

ASPL commands in Workspace JDBCINFORMIX to compare JDBC INFORMIX Jar files

This example starts ASPL by loading the sample workspace JDBCINFORMIX to show how to compare three JDBC INFORMIX Jar files.

ASPL 1> ifxjdbc1 = ggdir(dir,/tmp/JDBC/ifxjdbc1,nmdir,*,nmfl,*,calchksum,1,calentropy,1)
ifxjdbc1 is assigned to content of /tmp/JDBC/ifxjdbc1 with labeled group /tmp/JDBC/ifxjdbc1

ASPL 2> ifxjdbc2 = ggdir(dir,/tmp/JDBC/ifxjdbc2,nmdir,*,nmfl,*,calchksum,1,calentropy,1)
ifxjdbc2 is assigned to content of /tmp/JDBC/ifxjdbc2 with labeled group /tmp/JDBC/ifxjdbc2

ASPL 3> ifxjdbc3 = ggdir(dir,/tmp/JDBC/ifxjdbc3,nmdir,*,nmfl,*,calchksum,1,calentropy,1)
ifxjdbc3 is assigned to content of /tmp/JDBC/ifxjdbc3 with labeled group /tmp/JDBC/ifxjdbc3

ASPL 4> v
view the set variables

ASPL 5> sim ifxjdbc1 ifxjdbc2 ifxjdbc3
show similarities between ifxjdbc1 ifxjdbc2 ifxjdbc3

ASPL 6> sim`fflc ifxjdbc1 ifxjdbc2 ifxjdbc3
show similarities between the file checksums in ifxjdbc1 ifxjdbc2 ifxjdbc3

ASPL 7> density ifxjdbc1 ifxjdbc2 ifxjdbc3
show density histograms of ifxjdbc1 ifxjdbc2 ifxjdbc3

ASPL 8> ks
print the ks vector

ASPL 9> ks chksum ppdd ffl
set ks vector to chksum ppdd ffl, the ppdd and ffl are informational and do not affect the comparison algorithms

ASPL 10> fP ifxjdbc1 ifxjdbc2 ifxjdbc3
partition according to the elements ifxjdbc1 ifxjdbc2 ifxjdbc3

ASPL 11> fP`c= ifxjdbc1 ifxjdbc2 ifxjdbc3
partition according to the elements (w. equal checksums) ifxjdbc1 ifxjdbc2 ifxjdbc3

ASPL 12> fP`c~ ifxjdbc1 ifxjdbc2 ifxjdbc3
partition according to the elements (w. different checksums) fP`c= ifxjdbc1 ifxjdbc2 ifxjdbc3

ASPL 13> f%&`c= ifxjdbc1 ifxjdbc2
compare by showing the alignment (w. equal checksums) between ifxjdbc1 and ifxjdbc2

ASPL 14> f%&`c= ifxjdbc1 ifxjdbc3
compare by showing the alignment (w. equal checksums) between ifxjdbc1 and ifxjdbc3

ASPL 15> f%&`c~ ifxjdbc1 ifxjdbc2
compare by showing the alignment (w. different checksums) between ifxjdbc1 and ifxjdbc2

ASPL 16> f%U ifxjdbc1 ifxjdbc3
compare by showing the alignment between ifxjdbc1 and ifxjdbc3

ASPL 17> gP ifxjdbc1 ifxjdbc2 ifxjdbc3
partition according to the files and directories ifxjdbc1 ifxjdbc2 ifxjdbc3

ASPL 18> dP ifxjdbc1 ifxjdbc2 ifxjdbc3
partition according to subgroups or directories ifxjdbc1 ifxjdbc2 ifxjdbc3

ASPL 19> f\ ifxjdbc1 ifxjdbc2
show the difference between ifxjdbc1 and ifxjdbc2

ASPL 20> f\ ifxjdbc2 ifxjdbc1
show the difference between ifxjdbc2 and ifxjdbc1

ASPL 21> save
save workspace

ASPL 22> quit
done.. sweet!