You are on page 1of 1

To retrieve the logs from TSM

:
dsmc retrieve "/db2temp/pkeglx-logs/*.LOG" "/data/PK_BKP/" -subdir=yes
dsmc retrieve "/db2temp/pkebbs_logs/*.LOG" "/data/PK_BKP/" -subdir=yes
-------------------------------------------------------
before dropping the column :
alter table db2inst1.prd data capture none;
alter table DB2INST1.PRD drop column PRDTYPDGT;
reorg table DB2INST1.PRD use tempspace1;
ALTER TABLE DB2INST1.PRD ADD COLUMN PRDTYPDGT CHAR(1);
reorg table DB2INST1.PRD use tempspace1;
alter table db2inst1.prd data capture changes;

alter table DB2INST1.TPRD drop column PRDTYPDGT;
reorg table DB2INST1.TPRD use tempspace1;
ALTER TABLE DB2INST1.TPRD ADD COLUMN PRDTYPDGT CHAR(1);
reorg table DB2INST1.TPRD use tempspace1;
------------------------------------------------