( ** Go back to PARENTPAGE ../Script-progenvshellsmerged-aspl.html)
( ** Go back to HOMESITE https://www.tcnd.com)
( ** Go back to SetSphere https://www.setsphere.com)

How to compare the environment variables set by shell scripts by merging them into groups and comparing them as elements of the groups

The script progenvshellsmerged.aspl uses the ASPL grouping class SYSENVGROUP to merge the environment variables of one or many programs into groups. The environment variables are treated like elements of a group, then we use ASPL set operators to compare these elements.

1 Cmd#1 on Machine mm01 User root
(ndxNo=1 Cmd# No=1 on Machine mm01 User root no_tm_u_h_cwd=2:58:18 root@mm01 /opt/ASPLv1.00/shared/NEW u_h=root@mm01)
BASH 2:58:18 root@mm01 /opt/ASPLv1.00/shared/NEW # progenvshellsmerged.aspl "/opt/IBM/WebSphere/AppServer/bin/stopNode.sh | /opt/IBM-was8-mm07-CRAP/WebSphere/AppServer/profiles/AppSrv01/bin/runConfigActions.sh"
Comparing the environment variables of stopNode.sh to unConfigActions.sh

2 Cmd#2 on Machine mm01 User root
(ndxNo=2 Cmd# No=2 on Machine mm01 User root no_tm_u_h_cwd=2:58:35 root@mm01 /opt/ASPLv1.00/shared/NEW u_h=root@mm01)
BASH 2:58:35 root@mm01 /opt/ASPLv1.00/shared/NEW #