I want to drop a column called id which is an auto incrementing PK.
id
The SQL:
alter table \"CO88GT\".\"XGLCTL\" drop column id cascade;
Finally I found a solution:
CALL QSYS2.QCMDEXC('ADDRPYLE SEQNBR(1500) MSGID(CPA32B2) RPY(''I'')'); CALL QSYS2.QCMDEXC('CHGJOB INQMSGRPY(*SYSRPYL)'); ALTER TABLE DROP COLUMN ;