IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SCH_SCHEDULE_N' AND KSQL_COL_NAME ='FSABORTED')
ALTER TABLE T_SCH_SCHEDULE_N  ADD (FSABORTED CHAR(1));

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SCH_JOB_N' AND KSQL_COL_NAME ='FABORTED')
ALTER TABLE T_SCH_JOB_N  ADD (FABORTED CHAR(1));