The GeneXus Menu option GAM - Update Connection File calls the GAMDeployTool with the option of "Update Connection File" in order to create or update the connection.gam file.
See GAMDeployTool:Creating connection.gam file for additional information.