You have to update PRIQTY and SECQTY in tablespace PTDB.PTITLOG2 and index PTI.PTLOG_MAIN_1500.
ALTER TABLESPACE DBOEMCA.PTITLOG2
ALTER INDEX PTI.PTLOG_MAIN_1500
Got an SQLCODE = -910 error message.
The problem is because when we run through Batch Processor it logs what is happening in the table you are trying to change (Table PTI.PTLOG_MAIN_1500 is in table space PTITLOG2). So the ALTER TABLESPACE statement executes but that generates an INSERT into PTI.PTLOG_MAIN_1500 table which we are not seeing. That is a DML update statement so when we issue the ALTER INDEX it fails.
The Batch Processor table PTI.PTLOG_MAIN_1500 has to be handle differently, with Batch Processor you have to add a command .OPTION NOLOG before the command .CONNECT SSID or you have to handle it with other DB2 Tools.