Running the SWAP_BASE_LANGUAGE Data Mover Command
Once you are ready to swap the base language, start PeopleSoft Data Mover in non-bootstrap mode by logging in using a regular PeopleSoft user ID (not the access ID). Once PeopleSoft Data Mover begins, type and run the SWAP_BASE_LANGUAGE command:
SWAP_BASE_LANGUAGE target_language;PeopleSoft Data Mover provides feedback during the swap process, including the name of the record currently being swapped and the number of records that remain to be swapped.
Even when SWPAUDIT completes with no errors, the swap base language process may fail. Typically, environmental issues, such as lack of database space, log space, or rollback segment space, causes any errors during this stage of the process. If a failure occurs, note the database-specific error message issued and take the appropriate action according to your database platform documentation.
PeopleSoft Data Mover stops when errors are encountered. Once you have corrected the problems that caused the failure in the swap base language process, you can restart the process without having to restore your database or remember where the first error occurred. To restart the swap process, rerun the SWAP_BASE_LANGUAGE command. PeopleSoft Data Mover recognizes the tables whose data has already been swapped and does not attempt to swap the data in those tables again; it will report that zero rows were swapped for those tables.
It is safe to rerun this command as many times as needed, correcting errors between runs, until the log file reports no errors.
In some situations, you may want to swap a specific record. Typically, you would swap a single record only if errors occurred during the swap base language process and you want to verify that the swap will succeed without having to re-swap all the records in the database or trace or troubleshoot the swap process.
To swap a specific table, use the following PeopleSoft Data Mover commands:
SET BASE_LANGUAGE target_language;
SWAP_BASE_LANGUAGE recname;Note:
You should swap individual tables only when there has been an error with system-wide swapping.
If you want PeopleSoft Data Mover to not stop when errors are encountered and continue the swap process, set the following:
SET IGNORE_ERRORS;
SWAP_BASE_LANGUAGE LANGUAGE_CD;If you chose to ignore errors during the swap, after the swap process is complete carefully review the log file to ensure that no errors occurred. If errors occur, fix the errors and then re-swap each table using the SWAP_BASE_LANGUAGE command in individual table mode for each table that failed.