HP 3000 Manuals

UPDATE Command [ HP ALLBASE/4GL Developer Reference Manual Vol. 2 ] MPE/iX 5.0 Documentation


HP ALLBASE/4GL Developer Reference Manual Vol. 2

UPDATE Command 

The UPDATE command writes changed data from all KSAM file buffers, serial
file buffers, and HP TurboIMAGE/iX file buffers that have been modified.

Format 

     UPDATE 

Description 

The UPDATE command updates each KSAM file, HP TurboIMAGE/iX data set, and
serial data file whose file buffers have been changed.  HP ALLBASE/4GL
writes the records as new records or modified records as appropriate.

You cannot update HP ALLBASE/SQL tables using the HP ALLBASE/4GL UPDATE
command.  Use the FILE *INSERT command or the SQL UPDATE command in an
SQL logic block to update HP ALLBASE/SQL tables.


NOTE You cannot use the UPDATE command with HP TurboIMAGE/iX data sets or KSAM files that allow duplicate primary keys.
The UPDATE command performs the same action as issuing a FILE command with a *WRITE argument for each file. For writing to a specific file buffer, refer to the FILE command.


MPE/iX 5.0 Documentation