Table of Contents

Release NG Update/Migration Information

This document contains relevant information required to upgrade your installation from 5.06 (SP 00) to DOKA-NG SP1 once the release has been installed. Please do a backup of your database and existing files of your doka directory before you proceed.

These instructions represent migration steps but do not represents the whole runbook. Please evaluate carefully your additionally required checks.
Old SPTs and transactions cannot be processed in the new version.
Therefore, ensure that all pending entries and transactions have been fully processed before starting the migration: No pending transactions, no messages in incoming/outgoing queue, no transactions on pause.
For that please check entries in SPTSEL for incoming, paused, SPTs in correction.
Please make sure that in MGRTSK / MQITSK / SWITSK are no transactions anymore to be processed.

The user who is proceeding with the migration/installation needs Security Admin rights (check DBIUSR, select User and check if the checkbox “Security Administrator” is set for the used user. Please check if this user has the right to start R506S1, if not give him the right to start the transaction in the Doka 5 installation before doing the upgrade.

Please consider following activities:

Please ensure that following Helptext will be reduced into a field size of 1952:
inr nam (Kein Spaltenname)
00007568 Freigabestatus 2125

1. Installation of Server/Client Components

DOKA-NG requires at least TradeDesign components with the following version numbers

Please note, that with DOKA-NG the older versions of TradeDesign are no longer supported.
After unpacking and installation of the technical components please check version numbers via SYSINF, Doka should work as before.

Adjust tdpara.ini as follows:
If line OldDispFrmVersion=48 exists ? delete it

Section [Compatibility] needs following settings: SaveDataUTF8=1
LoadDataLegacyEncoding=CP1252
ShowDisplayLegacyEncoding=CP1252
DBUseUnicode=1

2. Installation / Unpacking DNG Patch

The prerequisite for starting the DNG installation and migration: Have a working Doka 5 installation.

Delete all TTO files from ttolib. Make sure that no old ttos from previous installations are contained in that ttolib folder.
Install the upgrade patch. Please copy all files from the patch into your DOKA-NG installation.

! IMPORTANT !!!!
Please install carefully the TDPARA.INI-file which we distributed separately. Tdpara.ini, tdodbc.ini change datasource!!!

Please check if you have following:

3. Check Files

Tdpara.ini + tdodbc.ini need new database name.
Please change “ProfActive=1” to “=0” in tdpara.ini while doing the migration procedure.

4. Start DNG

Please start Doka with the known Sysadmin user.

You get a dump because the USR-table is not updated yet. Please click ”OK” and you will led to the SYSADM transaction. After the migration script runs for table USR this dump won’t occur anymore.

4.1 Converting the Data - R506S1 & SYSDBA

General:
The SQL script to be executed will be shown and can either be executed directly or first stored and then passed to the database administration group for execution. Please check logs carefully after each step you have done.

Please start transaction R506S1 via SYSADM transaction.
Press the buttons on the right-hand side in the following order (from top to bottom):

4.1.1 Script 1:

Generates and executes conversion script (Click on Execute button).
In case the error about dropping the index LTD_LEDINR is occuring please execute the rest of the script via SYSSQL.

4.1.2 Convert DB:

Adds all new columns to the tables shown in the grid (Click on Execute button). Close DOKA completely, restart it and start the R506S1 transaction again.

Continue with:

4.1.3 Convert:

Creates and, where required, executes the conversion scripts (Click on Execute button).

4.1.4 Conv. STB:

Converts Stickerbank in Import Documents and Import Collections

4.1.5 Migrate:

Creates and executes the standard database migration script in a similar way to SYSDBA, but only for the tables shown in the grid (Click on Execute button).

4.1.6 SYSDBA:

The standard SYSDBA is started.
If you were asked to delete / add module(s) in lists in sysdba.ini please sign them with “OK”.

Close DOKA completely, restart it.

Continue with:

Start the R506S1 transaction again:

4.1.7 REOSWH:

Creates Header Records for Mappings SWM.

4.1.8 View Log:

Check carefully if the conversion has been completed correctly and that there are no errors nor information.

4.1.9 Start SYSDBA

4.1.10 Start and Run REOSSN

Check the log files.

4.1.11 Run REOCCI

4.1.12 Start SYSDBA

and run Button “Convert to NCHAR”

4.2 Import data delivery

Importing code tables and ATP-Records:

Start SYSUPD.
Choose as „Mode of Operation“ – “Import Updates into Current Environment”. Create “Current Update Path” – in case no folder is mentioned, By default the option “Import” will be provided, please use as suggested.

Please make sure that the codetables - xmu files are stored in the selected directory.
Please make sure that atp.xmu is stored in the selected directory.

Switch to the panel “Import”
Check the 3 Checkboxes “InsertNew”, “Insert Overwrites Existing”, “Update existing”. So that only “Delete Existing” checkbox is unchecked. Mark all files and press import.

Then run the sql scripts from the patch from the “update” directory (apf-update.sql). This will add the missing settings to the APF configuration.
After you have imported the ATP-Records for the new transactions we have to setup new ETP entries for them. Start REOETP: Fills Table ETP for new Transactions

Start SYSDBA and run “Reorg NRM fields' for the database tables ATP and ETP.

Import Swift Mappings:
Start DBISWH and click Icon for “Import”.

Enter correct directory where the dbe files are saved.
Select the files and import them.

5. Checks

The cbsconf.ini has to be activated. Please check in REOCBS and activate cbsconf.ini.

With DOKA-NG the whole user interface has been redesigned.
Thus during the release upgrade project i.e. all screens in your overlay have to be updated (Retrofitting) by Surecomp.

The user profiles are now stored in ini\sysmnu*.* (former *.DOB/*.DOM files).
We provide with the first delivery those files. Please check them carefully after the first installation is done for missing transactions. The dob and dom files are not necessary anymore. You can delete them from the ini-folder. To adjust the profiles you can use DBIMNU.

Please undo your previous change to ProfActive=1” in tdpara.ini.

Please check if in the ini folder: seckey.ini with the correct Serial-Number is saved.