The batch queue GILDAS_BATCH should have a job limit of 1, so that all tasks submitted by command SUBMIT execute in sequence. There may even be intervening jobs from other users.
Tasks activate by command RUN must complete before control is returned to the user.
Command SPY can be used to monitor the execution of tasks activated by command RUN.