Extended Duration Processing Sequences

LANSA Composer

Extended Duration Processing Sequences

A number of new features and enhancements are designed to further facilitate creation and management of extended duration Processing Sequences – for example, Processing Sequences that are intended to run indefinitely, perhaps monitoring a file system directory, data queue or message queue for new items to process.  These changes include:

  • A new example Processing Sequence, EXAMPLE_WATCH01, provides an example of a process using the new WATCH_DIRECTORY and WAIT_FILESREADY activities.  It demonstrates some suggested design techniques for extended duration Processing Sequences.
  • Large processing sequence logs will usually load faster and more reliably.  LANSA Composer reduces the initial loaded log size by "collapsing" detail associated with COMPLETED iterations for LOOP, WHILE/UNTIL directives and iterator activities, the premise being:

    - that a long-running process will almost invariable involve iteration in some form, and;
    - that the users interest when viewing the log will most often be on the latest or last iterations

    Collapsed items will still be capable of being expanded, on demand.
  • Associated with the previous item, the Processing Sequence Log window has been enhanced to have a better organized, consistent and simpler user interface.
  • The Processing Sequence Log window more clearly identifies a processing sequence run that is active and now allows "controlled end" to be initiated for the run.  Note the processing sequence must be designed to check and act on the value of the new *SHUTDOWN built-in variable for such requests to be effective.
  • When Print is selected in the Processing Sequence Log window, LANSA Composer will print the log as displayed – that is with detail log messages shown or not and with items collapsed or expanded as they presently are in the Processing Sequence Log window.