So since I have fix this missing value issue with below code
if cmiss(char_vars[i]) then char_vars[i]=' '; if nmiss(num_vars[j]) then num_vars[j]='1';
Now as I tried to do the proc append am getting different error
ERROR: CLI execute error: [IBM][CLI Driver][DB2] SQL0803N One or more values in the INSERT statement, UPDATE statement, or foreign key update caused by a DELETE statement are not valid because the primary key, unique constraint or unique index identified by "YGRT1KL1" constrains table "0000004201" from having duplicate values for the index key. SQLSTATE=23505.
Is there are any fix other than this ?
... View more