Using an Existing Database [ HP ALLBASE/4GL Developer Administration Manual ] MPE/iX 5.0 Documentation
HP ALLBASE/4GL Developer Administration Manual
Using an Existing Database
Commonly, application developers will create HP ALLBASE/4GL applications
to access existing HP TurboIMAGE/iX databases. Developers can load the
definitions of the HP TurboIMAGE/iX data sets and data items into HP
ALLBASE/4GL to avoid redefining these items in the HP ALLBASE/4GL
application. To load the HP TurboIMAGE/iX schema file information into
the HP ALLBASE/4GL application system files (S-files), HP ALLBASE/4GL
provides several upload utilities. These upload utilities can also be
used to load administrator database definitions.
Upload Utilities
The HP4TUPLD utility converts information about data items, data entries
and data sets contained in an HP TurboIMAGE/iX schema to HP ALLBASE/4GL
field specifications, record layouts and data set definitions. The
converted data can be printed to the screen or redirected to a file.
The HP4TUPLD utility can also be used to convert database definition
information, which can be used to define databases within the HP
ALLBASE/4GL administrator application.
The output from HP4TUPLD can be easily added to the HP ALLBASE/4GL
S-files using a utility called HP4ATOS.
When you run HP4ATOS, these items are added to the S-files for the
application. During this procedure, any clashes between existing HP
ALLBASE/4GL names and HP TurboIMAGE/iX names are resolved, and HP
TurboIMAGE/iX characters that are illegal in HP ALLBASE/4GL names will be
converted.
For more information about using HP4TUPLD, refer to the HP TurboIMAGE/iX
Interface section of the HP HP ALLBASE/4GL Developer Reference Manual.
For information about using the HP4ATOS utility, refer to the Utilities
section of the HP ALLBASE/4GL Developer Reference Manual.
MPE/iX 5.0 Documentation