setUserMacrosFile command

The setUserMacrosFile command defines the location of a user macro file. This command only applies to the editor session in which it is issued. Since all files that use the HLASM parser use the same user macros file, this command sets the user macros file for all files.

Note: If you are using target environments, do not use this command. This command sets the location of a user macro file as a tpfhlasm parser preference. It is recommended that you use the tpfhlasm+ parser; the tpfhlasm+ parser does not use the tpfhlasm parser preferences. The tpfhlasm+ parser uses the user macro file that is specified in the active target environment editor settings when a target environment is set. When no target environment is set, the tpfhlasm+ parser uses the HLASM parser preferences. If you issue this command, the file that you specify is only used for the remainder of the current editor session.
Syntax
setUserMacrosFile absolute_path

To set a user macros file, you must create a user macros definition file that contains all of your user macro definitions. Once you create this file, you can use this command to set the location of the user macros file.

Arguments
absolute_path
The drive letter location or UNC path of the user macros file that you want to use. This path can include environment variables. For example:
  • %ENVVARS%\hlasm_definitions.dat
  • C:\Program Files\IBM\Developer for zOS\Config\project\My_macros.dat
  • \\HOSTNAME\Folder1\macro_definitions.dat