HP 3000 Manuals

Answers [ HP ALLBASE/4GL Developer Self-Paced Training Guide ] MPE/iX 5.0 Documentation


HP ALLBASE/4GL Developer Self-Paced Training Guide

Answers 

Answer 1.  A process is similar to a program in a conventional language.
It initializes the environment to a known state.

Answer 2.  A function does not affect the current environment.  When
processing of a function is complete, processing returns to where the
function was called from.  When a process starts, HP ALLBASE/4GL
initializes the environment to a known state.  It closes all data files,
clears all data buffers, and terminates any current non-background
process, screen, function, report or decision table.

Answer 3.  Logic blocks may contain a maximum of 30 lines.

Answer 4.  When a logic block is generated, HP ALLBASE/4GL checks for the
existence of data names, named records and files, and resolves pointers
to these items.  If you don't generate a logic block, these pointers
cannot be resolved.

Answer 5.  The SHOW command redisplays the screen with the contents of
the screen buffer.

The SHOW *REFRESH command performs the data movements specified and then
redisplays the fields on the current screen.

Answer 6. 

KSAM and HP TurboIMAGE/iX Developers Only 

This command reads a record from the file product where the key field
matches the contents of the current screen field.  The record is read
into the file buffer.  The * refers to the current screen field.

HP ALLBASE/SQL Developers Only 

If you use a SELECT command in an SQL logic block, you cannot use any
other command in the same logic block.

You cannot use the SELECT * FROM form of the SELECT command, and you
cannot use the INTO clause in a SELECT command.

Answer 7.  SCREEN test

Answer 8.  You can call and execute a function in the following ways.
Your answer should include any four of the following:

   *   From a VISIT command in a logic block.

   *   As a function on a screen field.

   *   As an action item on a menu or decision table.

   *   From a function key.

   *   From a report.

This completes the preparation of the application.  Now you can start
testing it.  The next lesson explains the procedures for testing your
application.



MPE/iX 5.0 Documentation