How to delete the U tables after post-migration in Sage X3

By | June 23, 2021

Now days Every company wants to upgrade the system or data with newly functionality on the higher version. In Some industries the company wants to migrate the data from lower version to higher version in Sage X3. For those needs to done some steps in Sage X3 i.e., Execution of Pre-migration and Post-migration script in the source and destination system. After post-migration process user needs to delete the U tables (Temporary tables) which are created at the time of pre-migration process. This phase is manual It will be triggered by the execution of the TRTMIGDEL processing from the processing execution function. Its execution will provoke the deletion of all the tables bearing the activity code MIG.

As this phase is irreversible, it is important to have made sure, previously, that the migration processing routines have been carried out properly.

Since keeping temporary tables in the folder does not prevent from resuming operations (this supposes of course that there is enough space on the disk), it is possible to keep these tables in line during several weeks after resuming operations. Therefore, should any problem rise in the weeks following the migration, it will be possible to have some original data available for comparison or analysis.

This phase is manual It will be triggered by the execution of the TRTMIGDEL processing from the processing execution function. Its execution will provoke the deletion of all the tables bearing the activity code MIG.

As this phase is irreversible, it is important to have made sure, previously, that the migration processing routines have been carried out properly.

Since keeping temporary tables in the folder does not prevent from resuming operations (this supposes of course that there is enough space on the disk), it is possible to keep these tables in line during several weeks after resuming operations. Therefore, should any problem rise in the weeks following the migration, it will be possible to have some original data available for comparison or analysis.

Follow the below steps:

After migrated folder validation process one log will be generated with the below message as shown in below figure,

If the folder validation process is not successfully completed, we cannot proceed for further process, as shown in below figure,

  • After the folder validation process run the post-migration utility through a sequencing monitor screen from X3.
  • Once post-migration script process is successfully done, then we need to check the data are successfully transferred into the original tables.
  • Once your upgrade has been validated, you may drop the temporary U* tables which have the MIG activity code by launching the TRTMIGDEL program from process execution function.

Navigate to: Development> Utilities > Miscellaneous > Run process

Enter the TRTMIGDEL in a script file field and click on Ok button, as shown in below fig,

Now select the folder in which folder you want to run this script, as shown in below figure.

Clicking on the OK button the process will run and one log file will be generated.

With the help of above process, you can delete the Temporary tables (i.e., U tables) after post-migration process.