Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

Running Clash Set as a scheduled batch job

  • Last UpdatedJan 02, 2024
  • 1 minute read

It is common for Administrators of large Marine projects to run clash sets overnight, as the desclash portion of a clash run can be very time-consuming, making it impractical to run during the day. For full details of this option, refer to Clash Manager Functions.

  1. Create a .bat file (using Windows notepad, or other text editor) in a folder of your choosing.

  2. The bat file should contain definitions of project evars, so the correct environment is set. See the example file C:\AVEVA\mmsA1.4\runSynchroIPE_evars.bat.

  3. Once the evars have been set, add the following command to the batch file to run the clash set. for example,

    C:\AVEVA\mmsA1.4\exe\mmscmd enr1 <password> IPEora IPE

    W:\IPE\PDMS\IPEDFLTS\IPE.cfg C:\AVEVA\Pdms11.5\pdmsuser\logfiles\IPE\clashlog.#date#.#time#.txt -clash set 123 "Batch Run"

    Where

    IPEora is the oracle connect string

    IPE is the Marine project

    IPE.cfg is the Model Management Configuration file

    clashlog.#date#.#time#.txt is a log file of the resulting clash run

    -clash set 123 is the clash option of mmscmd and you have specified clash set no 123

    "Batch Run" is a comment that will be stored against the clash run.

  4. The clash set can then be run by either double-clicking on the .bat file, or scheduling it to run later (for example, overnight) using Windows Scheduled Tasks.

  5. Multiple clash sets can be run from a single .bat file, by specifying a separate command line for each clash set.

Note that clash sets should be run consecutively, as there may be contention for some oracle data and processes if two clash sets are run in parallel.

Related Links
TitleResults for “How to create a CRG?”Also Available in