Skip to main content

Changing XDB Server Configuration information from a command prompt in Mainframe

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

To change the Server configuration settings for the XDB Server users currently go to Options - SQL for DB2 - XDB Server.  A request was made to allow these changes to be made from a command prompt.  This can now be done.

Resolution:

With MFE and the XDB Server up and running, go to the MFE Command Prompt and type

srvcmfe usage

This will list all the settings which can be changed.  If you would like to see current settings type

srvcmfe generatefile=file-name

This will dump all the settings on the current machine to a file specified by you.  You can then modify the file to make changes to the server configuration.  

Once you have modified the file, at the mfe command prompt type the following

srvcmfe UseFile=file-name

Now when you open the Server Configuration you should be able to see any changes made.  

For users that want to ensure all machines are set up the same, this file-name file can be moved from one machine to another with only the changes from the first machine kept in the file-name file and the UseFile command can be run on other MFE machines.

NOTE:  If changes are made to any of the Logging parameters these will not take affect until all the log files for the XDB location which is required to use these new parameters are deleted.  This includes the anchor.log file.

Old KB# 6678

#MFDS
#EnterpriseDeveloper