logo
Powered by QM on a Rpi server
Home
About OpenQM
Sales and Downloads
Help and Support
About
Login

KnowledgeBase 00049: Named Common

Last updated: 22 Jul 2016
Applies to: All versions
Search  
Top level index       Full Index Search Tips
Previous article     Next article

This article was originally published as a Tip of the Week.

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.


LIST.COMMON

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 


DELETE.COMMON

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 ALL 
A 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.


Related Articles

None.



Please tell us if this article was helpful
Very     Slightly     Not at all
Comments
Email (optional)