ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Making intermediate data managed data

In some cases, model tools are unable to create intermediate data. When a model is meant to create intermediate data but is unable to do so, the model will fail and display error messages. These error messages may contain statements like "Unexpected error" when the model cannot create its intermediate data, typically because the output folder or geodatabase does not exist.

One technique that ensures that models can create and delete intermediate data is to manage all intermediate data variables with the model. When data elements are managed by the model, they are stored by default in the scratch workspace (if this environment is set) or other system paths.

  1. In ModelBuilder, right-click all intermediate data variables one at a time and choose Managed. A check mark appears next to Managed.
  2. Click Model > Model Properties.
  3. Click the Environments tab.
  4. Expand the Workspace category and check Scratch Workspace.
  5. On the Environment Settings dialog box, navigate to the workspace file geodatabase that you want to use for writing the scratch data.
  6. Click OK.
  7. Execute your model.
  8. Making intermediate data managed will ensure that ModelBuilder manages the intermediate data, and setting the scratch workspace ensures that the intermediate data has a place to be created and deleted.

Related Topics

  • A quick tour of managing intermediate data
Feedback on this topic?

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal