southcarolina
IS-IT--Management
I've modified a copy of the userexport data mover script as below. What do I use in the userimport.dms to import the records in myuserexport.dat to merge the users into these tables; the "replace_data" will zap the table then load, I just want to add or append these users.
SET OUTPUT MYUSEREXPORT.DAT;
SET LOG AGFUSEREXPORT.LOG;
-- AGF USERS
EXPORT PSOPRDEFN WHERE OPRID LIKE 'AG%';
EXPORT PSOPRALIAS WHERE OPRID LIKE 'AG%';
EXPORT PSROLEUSER WHERE ROLEUSER LIKE 'AG%';
EXPORT PSUSERATTR WHERE OPRID LIKE 'AG%';
EXPORT PSUSEREMAIL WHERE OPRID LIKE 'AG%';
EXPORT PSUSERPRSNLOPTN WHERE OPRID LIKE 'AG%';
EXPORT PS_ROLEXLATOPR WHERE ROLEUSER LIKE 'AG%';
EXPORT PS_RTE_CNTL_RUSER WHERE ROLEUSER LIKE 'AG%';
SET OUTPUT MYUSEREXPORT.DAT;
SET LOG AGFUSEREXPORT.LOG;
-- AGF USERS
EXPORT PSOPRDEFN WHERE OPRID LIKE 'AG%';
EXPORT PSOPRALIAS WHERE OPRID LIKE 'AG%';
EXPORT PSROLEUSER WHERE ROLEUSER LIKE 'AG%';
EXPORT PSUSERATTR WHERE OPRID LIKE 'AG%';
EXPORT PSUSEREMAIL WHERE OPRID LIKE 'AG%';
EXPORT PSUSERPRSNLOPTN WHERE OPRID LIKE 'AG%';
EXPORT PS_ROLEXLATOPR WHERE ROLEUSER LIKE 'AG%';
EXPORT PS_RTE_CNTL_RUSER WHERE ROLEUSER LIKE 'AG%';