PROCEED Command [ HP ALLBASE/4GL Developer Reference Manual Vol. 2 ] MPE/iX 5.0 Documentation
HP ALLBASE/4GL Developer Reference Manual Vol. 2
PROCEED Command
The PROCEED command executes a process logic block.
Formats
PROCEED {process_name}
{data_ref }
Parameters
process_name
The name of the process to be executed.
data_ref
May be one of the following which contains the name of the process to be
executed:
* A constant.
* A variable or calculated item.
* A screen field name.
* A scratch-pad field name.
Description
The PROCEED command executes a process logic block.
You must specify a valid process_name or a data_ref whose content is a
valid process name. If the contents of data_ref cannot be resolved to a
valid process name at run-time, the application aborts.
Whenever a new process starts, HP ALLBASE/4GL:
* Closes all open HP ALLBASE/SQL cursors, and rolls back any
incomplete HP ALLBASE/SQL transactions.
* Closes all HP TurboIMAGE/iX data sets and releases all locks held
on HP TurboIMAGE/iX data sets, records (data entries), or
databases.
* Closes all application data files.
* Clears the data from all file buffers, work area buffers, and
screen field buffers.
HP ALLBASE/4GL does not change the contents of the following whenever a
new process starts:
* Variables.
* Scratch-pad fields.
* User switches and indicators.
* Communication area fields other than *PROCESS.
At the end of a process, control returns to the last menu displayed
before the process commenced. If no menu has been executed, the
application terminates at the end of the process.
Example
PROCEED main_update
This command executes the process main_update.
MPE/iX 5.0 Documentation