
212 DB2 Recovery Expert for Multiplatforms
The DEMOAPP application
Example A-1 shows the DEMOAPP application. It should be run using the DB2
Command Line Processor (CLP), for example, if DEMOAPP was saved in the file
demoapp.db2:
db2 -tvf demoapp.db2
Example: A-1 DEMOAPP
connect to sample;
UPDATE COMMAND OPTIONS USING C OFF;
values (current time);
-- ****************************************************************************
-- * Organization maintenance *
-- ****************************************************************************
insert into department values ('Y99','PERSONNEL', '000110','Z00', 'CA');
update department set deptname='IT' where ...