cancel
Showing results for 
Search instead for 
Did you mean: 

How to regenerate replication code

Former Member
0 Kudos

Hello,

We are trying to add a new calculated field to a table which is replication is active. We added the new field to the table (using alter table…) and add it to the table structure (in LRTS). We also created a rule for it in LTRS but the rule doesn’t get generated to the replicating job:

I tried to stop the replication job and reset the runtime object flag but it doesn’t regenerate the replication program.

Please help!

Amir

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

We are in SP7.

Thanks,

Amir

Saritha_K
Contributor
0 Kudos

Hi,

Can you check your application logs for this table?

Please share the error message that is generated.

Regards,

Saritha K

Former Member
0 Kudos

Hi,

No error logs because the code was not included into the replication function group --> The code is not part of the replication. My question is how can we make the SLT regenerate the function group and include our new field and its new include.

Thanks,

Amir

Saritha_K
Contributor
0 Kudos

Hi,

I am able to meet a similar requirement like yours by using event related rule.

Can you try below option-

stop your replication-

create an include program and invoke it in event related BOR option

start your replication

note- in my case, since my table was small, i had stopped it and added the new field in LTRS -> table settings->table structure directly

In my example, CHK_FLD is the new column in my existing table.

and below are the screenshots for you to understand-

hope this helps you.

Regards,

Saritha K

Saritha_K
Contributor
0 Kudos

Hi,

Can you please share screenshots of your rule (LTRS)?

Please specify your DMIS version ?

Regards,

Saritha K