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:
- New activities mentioned previously: WATCH_DTAQ, WATCH_MSGQ, WATCH_DIRECTORY and WAIT_FILESREADY.
- 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.
- New documentation in the LANSA Composer Guide provides tips and suggestions for designing extended duration Processing Sequences in LANSA Composer. It can be found under the heading Considerations 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 window has been enhanced to have a better organized, consistent and simpler user interface.
- The 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 is selected in the 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 window.