Checking for Errors, Saving, and Cancelling

Applying Macro Changes

If you click outside of the macro editor or if you click Apply, the macro is automatically scanned for errors. If an error is found, you will need to fix it before moving on to another part of the application.

However, if less serious errors are detected, only a warning is given. For example, if your macro contains incomplete or unreferenced definitions to types or other macros, a warning message is displayed. Once you click Apply, any uncorrected warnings cause a warning icon to appear to the left of the macro name in the Rules and Macro Tree in the left pane.

Applying a macro does not mean that your macro is permanently saved. Applying will cause the validation process to check for errors and warnings.

Saving Resources inside an Interactive Workbench Session

  1. To save the changes you made to your resources during an interactive workbench session so you can get them next time you run your stream, you must:
    • Update your modeling node to make sure that you can get these same resources next time you execute your stream. See the topic Updating Modeling Nodes and Saving for more information. Then save your stream. To save your stream, do so in the main IBM® SPSS® Modeler window after updating the modeling node.
  2. To save the changes you made to your resources during an interactive workbench session so that you can use them in other streams, you can:

Saving Resources inside the Template Editor

  1. First, publish the library. See the topic Publishing Libraries for more information.
  2. Then, save the template through File > Save Resource Template in the menus.

Cancelling Macro Changes

  1. If you wish to discard the changes, click Cancel.