Initializing help system before first use

App Attachments

App attachments are read-only from the Mosel model. They can be used as an alternative to model resources to provide a source of input data. The advantage they have over model resources is that an app attachment can be updated via the web client, whereas model resources are final once the app has been created.
Before a model can use an app attachment, it must download it from the Xpress Insight server:
insightgetappattach('input.dat')
After this call, a local copy of the file is available in Mosel's working directory where it can be read as you usually would in Mosel. For example:
initializations from 'input.dat' 
  MyData 
end-initializations
Note Attachment retrieval should always be accompanied by a status (error) check, for more see Adding an Attachment in Development. Bear in mind the routine will not work in standalone mode.

The model can also list all the available app attachments by calling insightlistappattach, and can retrieve information about a particular attachment using insightgetappattachinfo.