|Powered by QM on a Linux server|
KnowledgeBase 00049: Named Common
Named common blocks are a standard feature of the Basic language on multivalue systems. QM adds two related commands that can be very useful in a development environment.
The LIST.COMMON command displays a list of all named common blocks currently defined within the QM session in which it is executed.
:LIST.COMMON SYS.FILES SCREEN.DATA
Because named common blocks are defined to persist until the user logs out, they can cause difficulties in a development environment if, for example, an additional data item is to be included in the common block. On most systems, the developer must logout and then back in again to discard the old version of the named common block.
QM includes a DELETE.COMMON statement to delete either a specific named common or all such blocks.
DELETE.COMMON name DELETE.COMMON ALLA named common cannot be deleted while a program is actively using it. This is only likely to occur if the DELETE.COMMON command is invoked from command processor level started from an EXECUTE operation.