search cancel

How to know what folder Harvest is using for the CASHCOMP variable?


Article ID: 133805


Updated On:


CA Harvest Software Change Manager CA Harvest Software Change Manager - OpenMake Meister


We are installing Autosys on same AIX sever where we already have Harvest CMD installed. How can we verify CASHCOMP os Harvest installation? It is not in my .profile.


Release : 13.0

Component : CA Harvest Software Change Manager


I think the quickest way to find out what CASHCOMP is set to for Harvest is to

1. Login to the broker box as the user id that owns the Harvest software

2. cd $CA_SCM_HOME/bin

3. cp hserver test

4. vi test

5. Scroll to the bottom of the file named “Test”, comment out the last line that actually executes the hserver, and add a new last line that executes:

env | grep CASHCOMP

6. Save and close the file, then execute “test”

Here’s what it looks like on my test box:

*** Switch to the userid that owns the SCM Software

[[email protected] ~]# su - cascm

Last login: Mon Jun 24 13:21:19 EDT 2019 on pts/0

*** cd to the $CA_SCM_HOME/bin

[[email protected] ~]$ cd $CA_SCM_HOME/bin

*** make a copy of the “hserver” script (or any script in the bin folder would be ok)

[[email protected] bin]$ cp hserver test

*** edit the “test” script, comment out the last line, and create a new last line that contains “env | grep CASHCOMP”

[[email protected] bin]$ vi test

*** (the “tail” command shows the last few lines of the script so that we can verify the change)

[[email protected] bin]$ tail -n 5 test

# exec "${CA_SCM_DIR}"/lib/hserver "[email protected]"

env | grep CASHCOMP

*** execute the “test” script

[[email protected] bin]$ ./test


This should show you what value is set for CASHCOMP when Harvest is running.