Assuming the environment variables SAS_CCFPATH, SAS_CCF and SAS_ODF have been properly defined to process a given ODF data set, you may proceed to run the omichain by simply executing the command omichain, without any parameter.
The location of the ODF files to be processed is obtained from the SAS summary file that is defined in the SAS_ODF environment variable. Should this variable not set or not set properly to be the SAS summary file, omichain will complain and exit with an error message.
All ODF files should be uncompressed. Oherwise some functions in the omichain will not work properly.
It is a good idea to ensure that the SAS environment variable SAS_VERBOSITY is set to at least 5 (setenv SAS_VERBOSITY 5), so that all messages, warnings and errors from the omichain are displayed.
It is also useful to redirect the output to a log file (omichain ...... omichain.log &, c-shell).
Some of the parameters for individual tasks can be set using the appropriate omichain parameter - the parameter names are the same as the task parameter names, prefixed with the name of the task - (see section 7).
It should be noted that if running omichain on a large mosaic field (more than around 2 degrees x 2 degrees), the source detection process may encounter memory limits when processing the mosaic images, and fail to complete. Large OM mosaics often have low filling factors and little overlap of exposures, and therefore add little in terms of source detection beyond that achieved from the individual exposure processing. In the case of large mosaics, therefore, it may be advisable to avoid source detection by setting processmosaicedimages=n. Where source detection on mosaics is performed, new detections will be added to the final observation source list.