Synonyms [ HP ALLBASE/4GL Developer Administration Manual ] MPE/iX 5.0 Documentation
HP ALLBASE/4GL Developer Administration Manual
Synonyms
HP ALLBASE/4GL allows you to define synonyms for the names of all logic
commands and the names of communication area fields. Appendix A contains
a list of standard logic command names. Appendix B contains a list of
the communication area field names.
The logic command names synonyms screen allows you to disable particular
logic commands for your site.
Using Synonyms
Using site synonyms allows you to customize the name of the commands or
communication area fields to suit the needs of your site.
However, you do need to be careful with site synonyms if you are using
the same applications on two or more HP ALLBASE/4GL sites. If you do use
synonyms, both sites must use exactly the same synonyms or the
applications will probably fail.
Synonym definitions are not unloaded with the application when you use
the unloading facility.
Application developers cannot use synonyms to define system items on
screens or reports.
Defining Synonyms
To define a synonym for a logic command name, select the Logic Command
Synonyms option on the system-wide specifications menu. This selection
takes you to the logic command synonyms screen. Enter the standard
command name on this screen, and your chosen synonym. Press the Commit
Data function key to confirm the entries.
To define a synonym for a communication area field name, use the same
procedure with the communication area synonyms screen.
Disabling Logic Commands
The Permitted at this site? field on the logic command synonyms screen
allows you to disable a command. Enter N in this field to disable the
command. The entry in this field defaults to Y.
This facility allows you to impose a strict development regime by
restricting application developers to a selected set of logic commands.
However, you need to be careful if you decide to disable any of the HP
ALLBASE/4GL logic commands for your site. If you have disabled any logic
command at your site, any applications from other sites that use the
disabled command may fail.
If you disable a command, the synonym for that command (if you have
defined one) is deleted.
MPE/iX 5.0 Documentation