What is the difference between camsave config, camsave persist and camsave explicit

Document ID : KB000018517
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

What is the difference between camsave persist,  camsave config,  and camsave explicit?

 

Environment: 

Client Automation : All Versions
 
 

Answer:

CAMSAVE EXPLICIT -  generates the file %CAI_MSQ%\cam.cfg with parameters in section *CONFIG which are used by cam.exe.
  The Paths and Routing section will be left blank.

explicit2.jpg

 NOTE: Since "camsave explicit" creates a cam,cfg file, if there is already one there, any lines in *PATHS and/or *ROUTING will be removed.

 

 

CAMSAVE PERSIST - generates the file %CAI_MSQ%\cam.cfg with parameters in section *CONFIG,
   but it also populates the Paths and Routing with any machines that is connected at the Time.
   Since UDP is the default protocol, agents that are showing to use UDP do not need to be in the cam.cfg file, only agents that show using TCP 4105.

NOTE: Since it does populate all machines that are connected at the time, this command has been known to freeze and create a corrupted CAM.CFG file

config.jpg

 

CAMSAVE CONFIG -  generates the file %CAI_MSQ%\save.cfg with parameters in section *CONFIG,
   but it also populates the Paths and Routing with any machines that is connected at the Time.
   Since UDP is the default protocol, agents that are showing to use UDP do not need to be in the cam.cfg file, only agents that show using TCP 4105.
 
   NOTE: Since this files does not populate create a cam.cfg, but save.cfg  it is less likely to have an issue when creating it, but you will have to rename the file
              to cam.cfg when done

 config.jpg

To update the cam.cfg you can do the following: 

1. Run the update commands before creating the cam.cfg 

-  To set CAM fragment size to 1024:
   camconfig fragment_size=1024
   camsave explicit

- To set CAM in trace
  camconfig trace=all
  camsave explicit
 
 
2.  Create the cam.cfg file and then added or change the parameters and save the file.   
 

Additional Information: 

After making any changes to the cam.cfg file, you will need to do the following:

CAF STOP
CAMCLOSE & CAM START -C -L
CAF START