Help >
DDL Shared Procedures
Version
7.11
DDL Shared Procedures
Shared or Common Procedures
You can invoke a procedure that exists in a different Catalog from the currently executing procedure in a manner such that when it is through, control comes back to the next line of the current procedure. The syntax to do this is:
(full-path-name-of-foreign-interface) procedure-name
In other words, preceding the procedure name with the parenthetical insert that contains the name of the AI where it exists makes it happen.
If the full path is not supplied, the current directory is assumed.
All references within the foreign procedure to additional Menu, Report, Screen, or other Procedure names must exist in the foreign catalog.
Many people use this technique to have a common library of Procedures. They exist in an AI that is seldom opened directly, but several other applications for this same data base all use them.
You can nest simultaneously open foreign catalogs no more than three levels deep.
Copyright © 2019 , WhamTech, Inc. All rights reserved. This
document is provided for information purposes only and the contents hereof are
subject to change without notice. Names may be
trademarks of their respective owners.